﻿/* ============================================================
   KRISHNARAJ ENTERPRISES — GLOBAL STYLESHEET (style.css)
   Precision Engineering - Moulding - Manufacturing
   White-First Premium B2B Industrial Design System
   v2.0 — Visual Redesign
   ============================================================ */

/* ------------------------------------------------------------
   01. DESIGN TOKENS & CSS VARIABLES
   ------------------------------------------------------------ */
:root {
  /* Brand Color Palette */
  --navy-deep:   #031A36;
  --navy:        #062B5C;
  --navy-light:  #0B376D;
  --orange:      #F36A21;
  --orange-hover:#DC5812;
  --orange-subtle: rgba(243, 106, 33, 0.08);
  --green:       #087A3D;
  --green-light: #0C9E50;

  /* Neutral — White-First (70% of site) */
  --white:       #FFFFFF;
  --off-white:   #FAFBFC;
  --light-grey:  #F3F5F7;
  --cool-grey:   #E7EBEF;
  --border-color:#DDE3EA;
  --border-light:#EEF2F6;

  /* Typography Colors */
  --text-dark:   #10233F;
  --text-body:   #374355;
  --text-muted:  #687386;
  --text-light:  #8E9BAE;

  /* Industrial Metallic Accents */
  --graphite:    #252B32;
  --metal:       #A8AEB6;
  --gunmetal:    #3D444C;
  --steel-bg:    #EAEFF5;

  /* Typography */
  --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Refined Shadow System — only where depth matters */
  --shadow-sm:       0 2px 8px rgba(3, 26, 54, 0.04);
  --shadow-subtle:   0 6px 24px rgba(3, 26, 54, 0.07);
  --shadow-card:     0 12px 35px rgba(3, 26, 54, 0.08);
  --shadow-hover:    0 20px 48px rgba(3, 26, 54, 0.12);
  --shadow-dropdown: 0 20px 50px rgba(3, 26, 54, 0.10);
  --shadow-lightbox: 0 30px 70px rgba(3, 26, 54, 0.30);

  /* Borders & Radius — restrained */
  --radius-xs:  3px;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;

  /* Layout */
  --container-max:           1320px;
  --header-height:           82px;
  --header-height-scrolled:  70px;

  /* Spacing Scale */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  64px;
  --space-xxl: 96px;

  /* Section Padding (varies by content importance) */
  --section-pad-hero: 120px;
  --section-pad-xl:   100px;
  --section-pad-lg:   88px;
  --section-pad-md:   68px;
  --section-pad-sm:   52px;

  /* Transitions */
  --transition-fast:   0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-normal: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------------------------------------
   02. RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--text-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img, svg, picture, video {
  max-width: 100%;
  display: block;
  height: auto;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button { cursor: pointer; }
ul, ol { list-style: none; }

/* ------------------------------------------------------------
   03. TYPOGRAPHY SYSTEM
   Premium industrial — mixed case, controlled weight hierarchy
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.12;
}

/* H1: Large, confident, NOT uppercase — reads authoritative */
h1 {
  font-size: clamp(2.75rem, 5.5vw + 0.5rem, 4.5rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
}

/* H2: Clear section statement — mixed case */
h2 {
  font-size: clamp(2rem, 3vw + 0.6rem, 3.2rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

h3 {
  font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.75rem);
  letter-spacing: -0.015em;
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  font-size: clamp(0.9375rem, 0.3vw + 0.88rem, 1.0625rem);
  color: var(--text-body);
  line-height: 1.7;
  max-width: 68ch;
}

.text-lead {
  font-size: clamp(1.0625rem, 0.5vw + 0.95rem, 1.25rem);
  color: var(--text-dark);
  font-weight: 400;
  line-height: 1.65;
  max-width: 60ch;
}

/* Section eyebrow — small technical label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background-color: currentColor;
  flex-shrink: 0;
}

.eyebrow-navy { color: var(--navy); }
.eyebrow-navy::before { background-color: var(--navy); }
.eyebrow-green { color: var(--green); }
.eyebrow-green::before { background-color: var(--green); }

/* ------------------------------------------------------------
   04. CONTAINER & LAYOUT UTILITIES
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

/* Section with clear rhythm */
.section {
  padding-top: var(--section-pad-lg);
  padding-bottom: var(--section-pad-lg);
  position: relative;
}

.section-xl {
  padding-top: var(--section-pad-xl);
  padding-bottom: var(--section-pad-xl);
}

.section-sm {
  padding-top: var(--section-pad-sm);
  padding-bottom: var(--section-pad-sm);
}

.bg-white       { background-color: var(--white); }
.bg-off-white   { background-color: var(--off-white); }
.bg-light-grey  { background-color: var(--light-grey); }

.bg-navy-deep {
  background-color: var(--navy-deep);
  color: var(--white);
}

/* Clean separator — replaces border-boxed bg sections */
.section-rule {
  border-top: 1px solid var(--border-color);
}

.section-rule-bottom {
  border-bottom: 1px solid var(--border-color);
}

/* Grid utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  align-items: center;
}

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

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

/* ------------------------------------------------------------
   05. BUTTON SYSTEM
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.btn-primary {
  background-color: var(--orange);
  color: var(--white);
  border: 1.5px solid var(--orange);
}

.btn-primary:hover {
  background-color: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(243, 106, 33, 0.30);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-white {
  background-color: var(--white);
  color: var(--navy-deep);
  border: 1.5px solid var(--white);
}

.btn-white:hover {
  background-color: var(--off-white);
  border-color: var(--off-white);
  transform: translateY(-1px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--navy-deep);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.8125rem;
}

.btn-icon {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon { transform: translateX(3px); }

/* ------------------------------------------------------------
   06. GLOBAL HEADER — Precise and balanced
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cool-grey);
  z-index: 1000;
  transition: height var(--transition-normal),
              box-shadow var(--transition-normal),
              border-color var(--transition-normal);
}

.site-header.scrolled {
  height: var(--header-height-scrolled);
  box-shadow: var(--shadow-subtle);
  border-color: var(--border-color);
}

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

/* Logo */
.brand-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-img {
  height: 64px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  transition: transform var(--transition-fast), height var(--transition-normal);
}

.site-header.scrolled .brand-logo-img { height: 52px; }

/* Desktop Nav */
.desktop-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-item { position: relative; }

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 26px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
  transition: color var(--transition-fast);
  letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-item.is-active .nav-link,
.nav-link.active {
  color: var(--orange);
}

/* Underline — grows from left on hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--orange);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-item.is-active .nav-link::after {
  width: 100%;
}

.nav-link-dropdown-arrow {
  width: 11px;
  height: 11px;
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
  margin-left: 1px;
}

.nav-item:hover .nav-link-dropdown-arrow {
  transform: rotate(180deg);
  color: var(--orange);
}

/* Header right CTA */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   07. CAPABILITIES & RESOURCES MEGA-MENUS — Precision Alignment
   ------------------------------------------------------------ */
.mega-menu-wrapper {
  position: absolute;
  top: calc(100% + 2px);
  width: 820px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 48px -8px rgba(3, 26, 54, 0.16), 0 0 0 1px rgba(3, 26, 54, 0.04);
  padding: 20px 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s;
  z-index: 1150;
}

/* Capabilities Menu (5 items + preview) */
.mega-menu-capabilities {
  width: 820px;
  left: -20px;
  right: auto;
}

/* Products & Components Mega Menu (4 items + preview) */
.mega-menu-products {
  width: 780px;
  left: -100px;
  right: auto;
}

/* Resources Mega Menu (3 items + preview) */
.mega-menu-resources {
  width: 740px;
  right: -20px;
  left: auto;
}

.nav-item-dropdown:hover .mega-menu-wrapper,
.nav-item-dropdown:focus-within .mega-menu-wrapper,
.mega-menu-wrapper.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.mega-menu-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mega-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background-color: transparent;
  border-left: 2px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
  gap: 12px;
}

.mega-menu-item:hover,
.mega-menu-item.active-hover {
  background-color: var(--light-grey);
  border-left-color: var(--orange);
}

.mega-menu-item-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mega-menu-item-number {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  padding-top: 2px;
}

.mega-menu-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-menu-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

.mega-menu-item:hover .mega-menu-item-title { color: var(--navy-deep); }

.mega-menu-item-sub {
  font-size: 0.735rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.mega-menu-footer-link {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.mega-menu-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.mega-menu-all-link:hover {
  color: var(--orange-hover);
  transform: translateX(4px);
}

.mega-menu-item-arrow {
  width: 14px;
  height: 14px;
  color: var(--metal);
  flex-shrink: 0;
  opacity: 0.4;
  transition: transform var(--transition-fast), opacity var(--transition-fast), color var(--transition-fast);
  margin-top: 3px;
}

.mega-menu-item:hover .mega-menu-item-arrow {
  transform: translateX(4px);
  opacity: 1;
  color: var(--orange);
}

/* Mega Menu Preview Panel */
.mega-menu-preview {
  background-color: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.mega-preview-image-box {
  width: 100%;
  height: 145px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--steel-bg);
  position: relative;
}

.mega-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.mega-preview-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mega-preview-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  display: block;
}

.mega-preview-title {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.mega-preview-desc {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 10px;
}

.mega-preview-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  margin-top: auto;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.mega-preview-cta:hover {
  color: var(--orange);
  transform: translateX(3px);
}

.resources-menu-item-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.resources-menu-item-number {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
}

.resources-menu-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

.resources-menu-item:hover .resources-menu-item-title {
  color: var(--navy-deep);
}

.resources-menu-item-sub {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.resources-menu-item-arrow {
  width: 14px;
  height: 14px;
  color: var(--metal);
  flex-shrink: 0;
  opacity: 0.4;
  transition: transform var(--transition-fast), opacity var(--transition-fast), color var(--transition-fast);
}

.resources-menu-item:hover .resources-menu-item-arrow {
  transform: translateX(3px);
  opacity: 1;
  color: var(--orange);
}

/* ------------------------------------------------------------
   08. MOBILE DRAWER NAVIGATION
   ------------------------------------------------------------ */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background-color: var(--white);
  cursor: pointer;
  z-index: 1100;
  gap: 5px;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle:hover {
  border-color: var(--orange);
  background-color: rgba(243, 106, 33, 0.05);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--navy-deep);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background-color var(--transition-fast);
  border-radius: 2px;
}

.mobile-nav-toggle.is-active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--orange);
}
.mobile-nav-toggle.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-nav-toggle.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--orange);
}

/* ============================================================
   MOBILE BACKDROP — Backlight Opacity & Radial Glow
   ============================================================ */
.mobile-nav-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: radial-gradient(circle at 90% 15%, rgba(243, 106, 33, 0.22) 0%, rgba(3, 26, 54, 0.75) 65%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  z-index: 1070;
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ============================================================
   MOBILE DRAWER — Smooth GPU Slide-in with Backlight Shadow
   ============================================================ */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  box-shadow: -16px 0 48px rgba(3, 26, 54, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.7);
  z-index: 1080;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 20px;
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.mobile-nav-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 4px;
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  font-size: 26px;
  color: var(--navy-deep);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  line-height: 1;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.mobile-drawer-close:hover {
  color: var(--orange);
  background-color: rgba(243, 106, 33, 0.08);
}

/* Staggered Entrance Animations for Menu Items */
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border-light);
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.is-open .mobile-nav-item:nth-child(1) { transition-delay: 0.08s; opacity: 1; transform: translateX(0); }
.mobile-nav-drawer.is-open .mobile-nav-item:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateX(0); }
.mobile-nav-drawer.is-open .mobile-nav-item:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateX(0); }
.mobile-nav-drawer.is-open .mobile-nav-item:nth-child(4) { transition-delay: 0.20s; opacity: 1; transform: translateX(0); }
.mobile-nav-drawer.is-open .mobile-nav-item:nth-child(5) { transition-delay: 0.24s; opacity: 1; transform: translateX(0); }
.mobile-nav-drawer.is-open .mobile-nav-item:nth-child(6) { transition-delay: 0.28s; opacity: 1; transform: translateX(0); }
.mobile-nav-drawer.is-open .mobile-nav-item:nth-child(7) { transition-delay: 0.32s; opacity: 1; transform: translateX(0); }
.mobile-nav-drawer.is-open .mobile-nav-item:nth-child(8) { transition-delay: 0.36s; opacity: 1; transform: translateX(0); }
.mobile-nav-drawer.is-open .mobile-nav-item:nth-child(9) { transition-delay: 0.40s; opacity: 1; transform: translateX(0); }

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-deep);
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--orange);
  background-color: rgba(243, 106, 33, 0.06);
  padding-left: 10px;
}

/* Accordion Controls & Submenus */
.mobile-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-deep);
  background: transparent;
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: color var(--transition-fast), background-color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-accordion-btn:hover,
.mobile-accordion-btn.is-expanded {
  color: var(--orange);
  background-color: rgba(243, 106, 33, 0.06);
  padding-left: 10px;
}

.mobile-accordion-icon {
  width: 16px; height: 16px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color var(--transition-fast);
}

.mobile-accordion-btn.is-expanded .mobile-accordion-icon {
  transform: rotate(180deg);
  color: var(--orange);
}

.mobile-accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, transform 0.35s ease, padding 0.3s ease;
  background-color: var(--bg-light-grey);
  border-radius: var(--radius-xs);
  padding: 0 10px;
  border-left: 2px solid transparent;
}

.mobile-accordion-content.is-open {
  max-height: 380px;
  opacity: 1;
  transform: translateY(0);
  padding: 8px 10px;
  border-left-color: var(--orange);
  box-shadow: inset 0 2px 6px rgba(3, 26, 54, 0.03);
}

.mobile-subnav-link {
  display: block;
  padding: 8px 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.mobile-subnav-link:hover,
.mobile-subnav-link.active {
  color: var(--orange);
  background-color: rgba(243, 106, 33, 0.08);
  transform: translateX(4px);
}

.mobile-drawer-footer {
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ------------------------------------------------------------
   09. BREADCRUMBS
   ------------------------------------------------------------ */
.breadcrumb-nav {
  padding: 13px 0;
  background-color: var(--off-white);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.breadcrumb-separator { color: var(--metal); font-size: 0.7rem; }

.breadcrumb-item.current {
  color: var(--navy-deep);
  font-weight: 600;
}

/* ------------------------------------------------------------
   10. HERO SECTIONS
   ------------------------------------------------------------ */

/* ——— HOME HERO — True editorial asymmetry ——— */
.home-hero {
  position: relative;
  background-color: var(--white);
  padding-top: var(--section-pad-hero);
  padding-bottom: var(--section-pad-hero);
  overflow: hidden;
}

/* Subtle right-panel tint — extremely light */
.home-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 48%;
  height: 100%;
  background: var(--light-grey);
  z-index: 0;
}

.home-hero .container {
  position: relative;
  z-index: 1;
}

.home-hero .grid-2 {
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-title {
  margin-bottom: 24px;
  color: var(--navy-deep);
}

.hero-title-highlight {
  color: var(--orange);
  display: block;
}

.hero-lead {
  font-size: clamp(1rem, 0.5vw + 0.92rem, 1.2rem);
  color: var(--text-body);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 54ch;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* Visual — clean image with only a subtle drop shadow, no card border */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero-visual-box {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.hero-visual-box:hover {
  box-shadow: var(--shadow-hover);
}

.hero-visual-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

/* Small caption badge — restrained, no pulse animation */
.hero-visual-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(3, 26, 54, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--orange);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--orange);
  flex-shrink: 0;
}

/* ——— INNER PAGE HERO — Refined editorial layout ——— */
.page-hero {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding-top: 72px;
  padding-bottom: 72px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.page-hero-title {
  color: var(--navy-deep);
  margin-bottom: 16px;
}

.page-hero-desc {
  font-size: 1.0625rem;
  color: var(--text-body);
  max-width: 56ch;
  line-height: 1.7;
}

/* Page hero image — no card boxing, just clean overflow-hidden radius */
.page-hero-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  background-color: var(--steel-bg);
  box-shadow: var(--shadow-card);
}

.page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.page-hero-img-box:hover .page-hero-img {
  transform: scale(1.03);
}

/* ------------------------------------------------------------
   11. SECTION HEADERS & EDITORIAL BLOCKS
   ------------------------------------------------------------ */
.section-header { margin-bottom: 52px; }

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

.section-header.text-center p,
.section-header.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  color: var(--navy-deep);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 60ch;
}

/* Accent rule under heading — minimal, not heavy */
.heading-rule {
  width: 36px;
  height: 2px;
  background-color: var(--orange);
  margin: 18px 0 0;
}

.heading-rule.center {
  margin-left: auto;
  margin-right: auto;
}

/* Legacy class support */
.heading-divider {
  width: 36px;
  height: 2px;
  background-color: var(--orange);
  margin: 18px 0 0;
}
.heading-divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------
   12. CORE CAPABILITIES — Clean interactive list
   (Home page — replaces previous icon cards)
   ------------------------------------------------------------ */
.capabilities-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-color);
}

.capability-row {
  display: grid;
  grid-template-columns: 72px 1.1fr 1.8fr 52px;
  align-items: center;
  gap: 36px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
  background-color: transparent;
  position: relative;
  text-decoration: none;
  transition: background-color var(--transition-normal);
  overflow: hidden;
}

/* Orange reveal line on left — animates in height */
.capability-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: -2px;
  width: 2px;
  height: 100%;
  background-color: var(--orange);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.capability-row:hover,
.capability-row.active-hover {
  background-color: rgba(3, 26, 54, 0.03);
}

.capability-row:hover::before,
.capability-row.active-hover::before {
  opacity: 1;
}

.capability-num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--metal);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  font-feature-settings: "tnum";
}

.capability-row:hover .capability-num,
.capability-row.active-hover .capability-num { color: var(--orange); }

.capability-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.015em;
  transition: color var(--transition-fast);
}

.capability-row:hover .capability-name,
.capability-row.active-hover .capability-name { color: var(--navy); }

.capability-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 55ch;
}

.capability-arrow-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background-color: transparent;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.capability-row:hover .capability-arrow-box,
.capability-row.active-hover .capability-arrow-box {
  background-color: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateX(4px);
}

/* ------------------------------------------------------------
   13. HOME PILLARS — Editorial numbered approach
   (replaces generic 3-column icon card grid)
   ------------------------------------------------------------ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.pillar-item {
  padding: 40px 36px;
  border-right: 1px solid var(--border-color);
  position: relative;
  transition: background-color var(--transition-normal);
}

.pillar-item:last-child { border-right: none; }

.pillar-item:hover { background-color: var(--off-white); }

.pillar-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--border-color);
  line-height: 1;
  margin-bottom: 24px;
  font-feature-settings: "tnum";
  letter-spacing: -0.02em;
  display: block;
  transition: color var(--transition-fast);
}

.pillar-item:hover .pillar-number { color: var(--orange); }

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 38ch;
}

/* Accent line that appears on hover */
.pillar-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--orange);
  transition: width var(--transition-smooth);
}

.pillar-item:hover::after { width: 100%; }

/* ------------------------------------------------------------
   14. EDITORIAL ALTERNATING BLOCKS — Open, no card boxing
   ------------------------------------------------------------ */
.editorial-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Open editorial split — no border, no padding wrapper, no shadow */
.editorial-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Reverse alternating */
.editorial-block.reverse {
  direction: rtl;
}

.editorial-block.reverse > * {
  direction: ltr;
}

/* Asymmetric ratios */
.editorial-block.ratio-55-45 {
  grid-template-columns: 1.1fr 0.9fr;
}

.editorial-block.ratio-45-55 {
  grid-template-columns: 0.9fr 1.1fr;
}

/* Professional Image Presentation System */
.content-image-wrapper,
.editorial-img-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 280px;
  max-height: 440px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background-color: var(--steel-bg);
  box-shadow: 0 10px 30px rgba(3, 26, 54, 0.08);
  border: 1px solid var(--border-color);
  transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.content-image-wrapper::after,
.editorial-img-box::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-top: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity var(--transition-fast), width var(--transition-fast), height var(--transition-fast);
}

.editorial-block:hover .editorial-img-box,
.content-image-wrapper:hover,
.editorial-img-box:hover {
  box-shadow: 0 16px 40px rgba(3, 26, 54, 0.14);
  border-color: rgba(243, 106, 33, 0.3);
}

.editorial-block:hover .editorial-img-box::after,
.content-image-wrapper:hover::after,
.editorial-img-box:hover::after {
  width: 38px;
  height: 38px;
  opacity: 1;
}

.content-image,
.editorial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-block:hover .editorial-img,
.content-image-wrapper:hover .content-image,
.editorial-img-box:hover .editorial-img {
  transform: scale(1.03);
}

/* ------------------------------------------------------------
   ADVANCED INDUSTRIAL IMAGE COMPOSITION PATTERNS
   ------------------------------------------------------------ */

/* Pattern 1: Feature Image Break (Full-width / Cinematic frame) */
.feature-image-break {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 40px 0;
  box-shadow: 0 16px 40px rgba(3, 26, 54, 0.12);
  border: 1px solid var(--border-color);
}

.feature-image-break-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-image-break:hover .feature-image-break-img {
  transform: scale(1.02);
}

.feature-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 26, 54, 0.88) 0%, rgba(3, 26, 54, 0.35) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 36px;
  color: #FFFFFF;
}

.feature-image-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 8px;
}

.feature-image-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 8px;
}

.feature-image-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 54ch;
  line-height: 1.5;
}

/* Pattern 2: Asymmetric Split 60/40 & 40/60 */
.asymmetric-split-60-40 {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 52px;
  align-items: center;
}

.asymmetric-split-40-60 {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
  gap: 52px;
  align-items: center;
}

/* Pattern 3: Image with Overlapping Technical Panel */
.image-overlap-wrapper {
  position: relative;
  width: 100%;
}

.image-overlap-main {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 35px rgba(3, 26, 54, 0.09);
  border: 1px solid var(--border-color);
}

.image-overlap-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.image-overlap-wrapper:hover .image-overlap-main img {
  transform: scale(1.03);
}

.image-overlap-panel {
  position: absolute;
  bottom: -20px;
  right: -16px;
  background: rgba(3, 26, 54, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(243, 106, 33, 0.5);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: #FFFFFF;
  max-width: 280px;
  z-index: 5;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.image-overlap-panel-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 6px;
}

.image-overlap-panel-text {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.45;
  margin: 0;
}

/* Pattern 4: Dual Image Composition (Large + Supporting Spec Detail) */
.dual-image-composition {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.dual-image-primary {
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(3, 26, 54, 0.08);
  border: 1px solid var(--border-color);
}

.dual-image-primary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.dual-image-secondary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dual-image-sub {
  height: 182px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(3, 26, 54, 0.06);
  border: 1px solid var(--border-color);
}

.dual-image-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.dual-image-composition:hover img {
  transform: scale(1.02);
}

/* Pattern 5: Product Showcase Technical Row */
.product-showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.product-showcase-row:last-child {
  border-bottom: none;
}

.product-showcase-row.reverse {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  direction: rtl;
}

.product-showcase-row.reverse > * {
  direction: ltr;
}

.product-showcase-img-box {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background-color: var(--steel-bg);
  box-shadow: 0 10px 30px rgba(3, 26, 54, 0.08);
  border: 1px solid var(--border-color);
}

.product-showcase-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.editorial-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.editorial-eyebrow { margin-bottom: 14px; }

.editorial-title {
  color: var(--navy-deep);
  margin-bottom: 16px;
}

.editorial-desc {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 24px;
  line-height: 1.7;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin-bottom: 28px;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.4;
}

.spec-icon {
  width: 14px;
  height: 14px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ------------------------------------------------------------
   15. PROCESS STEPS — Horizontal timeline
   ------------------------------------------------------------ */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  padding-top: 20px;
}

/* Horizontal connector line */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--orange) 0%, var(--border-color) 100%);
}

.process-step {
  padding: 32px 28px 28px 0;
  position: relative;
}

/* Step dot on the timeline */
.process-step::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--orange);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--orange);
}

.process-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.process-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.process-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 28ch;
}

/* Legacy: card-style process steps for pages that use them */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-grid .process-step {
  background-color: var(--off-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  padding-top: 28px;
}

.process-grid .process-step::before { display: none; }

/* ------------------------------------------------------------
   16. FEATURE CARDS (service & quality pages)
   ------------------------------------------------------------ */
.feature-card {
  background-color: var(--off-white);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  border-bottom: 2px solid transparent;
}

.feature-card:hover {
  background-color: var(--white);
  border-bottom-color: var(--orange);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.feature-card-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 20px;
}

.feature-card-title {
  font-size: 1.1rem;
  color: var(--navy-deep);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ------------------------------------------------------------
   17. 3D MOULD VISUALIZATION
   ------------------------------------------------------------ */
/* ============================================================
   3D INTERACTIVE INJECTION MOULD SIMULATOR
   ============================================================ */
.mould-visual-container {
  background: linear-gradient(180deg, #0D1622 0%, #070D14 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(3, 26, 54, 0.35);
  color: #FFFFFF;
}

.mould-3d-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}

.mould-3d-header h3 {
  color: #FFFFFF !important;
}

.mould-3d-badges {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.mould-3d-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  background: radial-gradient(circle at center, #1B2533 0%, #090E16 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: grab;
  user-select: none;
}

.mould-3d-wrapper:active {
  cursor: grabbing;
}

.mould-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.mould-3d-hud-top {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.mould-3d-hint {
  background: rgba(3, 26, 54, 0.8);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
}

.mould-3d-hud-btn {
  background: rgba(3, 26, 54, 0.8);
  backdrop-filter: blur(6px);
  color: var(--orange);
  border: 1px solid rgba(243, 106, 33, 0.4);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  pointer-events: auto;
  transition: all var(--transition-fast);
}

.mould-3d-hud-btn.active,
.mould-3d-hud-btn:hover {
  background: var(--orange);
  color: #FFFFFF;
  border-color: var(--orange);
}

.mould-3d-hud-bottom {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
  pointer-events: none;
  z-index: 10;
}

.mould-3d-status-bar {
  background: rgba(3, 26, 54, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--orange);
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  color: #E5EBF2;
  line-height: 1.4;
}

.mould-3d-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.mould-3d-btn {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.mould-3d-btn.active,
.mould-3d-btn:hover {
  background-color: var(--orange);
  border-color: var(--orange);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(243, 106, 33, 0.35);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------
   18. GALLERY — Editorial masonry, refined hover
   ------------------------------------------------------------ */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: 40px;
  background-color: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

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

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background-color: var(--steel-bg);
  transition: box-shadow var(--transition-smooth);
}

.gallery-item:hover {
  box-shadow: var(--shadow-hover);
}

/* Spans */
.gallery-span-8  { grid-column: span 8;  height: 400px; }
.gallery-span-4  { grid-column: span 4;  height: 400px; }
.gallery-span-6  { grid-column: span 6;  height: 340px; }
.gallery-span-12 { grid-column: span 12; height: 440px; }

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-item:hover .gallery-img { transform: scale(1.04); }

/* Overlay — slides caption up from bottom */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(3, 26, 54, 0.88) 0%,
    rgba(3, 26, 54, 0.35) 45%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Content inside overlay slides up on appear */
.gallery-overlay-inner {
  transform: translateY(8px);
  transition: transform var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay-inner { transform: translateY(0); }

.gallery-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--orange);
  letter-spacing: 0.12em;
  margin-bottom: 5px;
  display: block;
}

.gallery-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.gallery-caption {
  font-size: 0.8125rem;
  color: rgba(168, 174, 182, 0.85);
  line-height: 1.4;
  margin-bottom: 10px;
}

.gallery-view-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 10px;
  margin-top: 6px;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(3, 26, 54, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  padding: 32px;
}

.lightbox-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 1080px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrapper {
  max-height: 75vh;
  width: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lightbox);
}

.lightbox-img {
  max-height: 75vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-details {
  margin-top: 20px;
  text-align: center;
  color: var(--white);
}

.lightbox-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.lightbox-desc { font-size: 0.875rem; color: var(--metal); }

.lightbox-close-btn {
  position: absolute;
  top: -48px;
  right: 0;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: background var(--transition-fast);
}

.lightbox-close-btn:hover { background: var(--orange); }

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover { background-color: var(--orange); }

.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }

/* ------------------------------------------------------------
   19. B2B CONTACT FORM — Clean, open layout
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: flex-start;
}

/* Left info panel — no card boxing */
.contact-info-panel {
  padding-top: 8px;
}

.contact-step-list {
  display: flex;
  flex-direction: column;
  margin-top: 36px;
}

.contact-step-item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-step-item:first-child { padding-top: 0; }

.contact-step-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 3px;
  flex-shrink: 0;
  min-width: 28px;
}

.contact-step-content h4 {
  color: var(--navy-deep);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.contact-step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: none;
}

/* Right form panel — clean white, no card */
.form-panel {
  background-color: var(--white);
}

.form-panel h3 { letter-spacing: -0.02em; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group.col-span-2 { grid-column: span 2; }

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.form-label .required { color: var(--orange); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  background-color: var(--white);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--text-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  line-height: 1.5;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(243, 106, 33, 0.10);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #D93025;
}

.form-error-msg {
  font-size: 0.75rem;
  color: #D93025;
  margin-top: 2px;
  display: none;
}

.form-input.is-invalid + .form-error-msg,
.form-select.is-invalid + .form-error-msg,
.form-textarea.is-invalid + .form-error-msg {
  display: block;
}

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

.form-status-box {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.form-status-box.success {
  display: block;
  background-color: #E6F4EA;
  border: 1px solid #A8DAB5;
  color: var(--green);
}

.form-status-box.error {
  display: block;
  background-color: #FCE8E6;
  border: 1px solid #F5C2C7;
  color: #C5221F;
}

/* ------------------------------------------------------------
   20. CTA BAND — Restrained, premium dark
   ------------------------------------------------------------ */
.cta-band {
  background-color: var(--navy-deep);
  color: var(--white);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal tech pattern — very light */
.cta-band::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 106, 33, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

/* Top border accent instead of left sidebar bar */
.cta-band::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--orange) 0%, rgba(243,106,33,0.2) 60%, transparent 100%);
}

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

.cta-title {
  color: var(--white);
  font-size: clamp(1.65rem, 2.5vw + 0.5rem, 2.5rem);
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}

.cta-subtitle {
  color: var(--metal);
  font-size: 1rem;
  max-width: 56ch;
  line-height: 1.65;
}

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

/* ------------------------------------------------------------
   21. GLOBAL FOOTER — Deep Navy Theme & Crisp Branding
   ------------------------------------------------------------ */
.site-footer {
  background: linear-gradient(180deg, #031A36 0%, #021226 100%);
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 0;
  margin-top: auto;
  border-top: 2px solid var(--orange);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Authentic, full-color brand logo in clean white card container */
.footer-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-logo-img {
  height: 52px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  filter: none !important;
  display: block;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 34ch;
}

.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  background: rgba(243, 106, 33, 0.12);
  border: 1px solid rgba(243, 106, 33, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--orange);
}

.footer-col-title {
  font-size: 0.78125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  line-height: 1.5;
  transition: color var(--transition-fast);
}

.footer-contact-item:hover {
  color: #FFFFFF;
}

.footer-contact-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--orange);
  margin-top: 3px;
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 16px;
  background-color: var(--orange);
  color: #FFFFFF !important;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  width: fit-content;
}

.footer-contact-btn:hover {
  background-color: var(--orange-hover);
  transform: translateY(-1px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: var(--orange);
}

/* ------------------------------------------------------------
   22. PULSE MARKER (hero badge dot)
   ------------------------------------------------------------ */
.pulse-marker {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--orange);
  display: inline-block;
  flex-shrink: 0;
}


/* ============================================================
   24. HERO SLIDER — Full-bleed industrial editorial
   ============================================================ */
.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--navy-deep);
  min-height: 560px;
  height: 88vh;
  max-height: 900px;
}

/* Track holds all slides */
.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Each slide — full-size, absolutely positioned */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* Slide transitions — cross-fade + slight horizontal drift */
.hero-slide.slide-out-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 800ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
}

.hero-slide.slide-out-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 800ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
}

.hero-slide.is-next {
  z-index: 1;
}

.hero-slide.slide-in-right {
  transform: translateX(24px);
}

.hero-slide.slide-in-left {
  transform: translateX(-24px);
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Background image — Ken Burns handled via JS transform */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 7000ms ease-out;
  will-change: transform;
  display: block;
}

/* Dark gradient overlay — centered radial + linear vignette for balanced text legibility */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(3, 26, 54, 0.55) 0%,
    rgba(3, 26, 54, 0.82) 100%
  ),
  linear-gradient(
    to bottom,
    rgba(3, 26, 54, 0.40) 0%,
    rgba(3, 26, 54, 0.55) 50%,
    rgba(3, 26, 54, 0.85) 100%
  );
  z-index: 1;
}

/* Subtle top vignette for polish */
.hero-slide-overlay::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(3,26,54,0.4) 0%, transparent 100%);
}

/* Content — centered alignment */
.hero-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 48px;
  padding-right: 48px;
  padding-top: 40px;
  padding-bottom: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Hero text — initially hidden, JS adds .slide-text-visible */
.hero-slide-eyebrow,
.hero-slide-title,
.hero-slide-desc,
.hero-slide-btns {
  max-width: 780px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide-eyebrow.slide-text-visible,
.hero-slide-title.slide-text-visible,
.hero-slide-desc.slide-text-visible,
.hero-slide-btns.slide-text-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Eyebrow on dark background — symmetrically centered */
.hero-slide-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 22px;
  text-align: center;
}

.hero-slide-eyebrow::before,
.hero-slide-eyebrow::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: currentColor;
  flex-shrink: 0;
  opacity: 0.9;
}

/* Main heading */
.hero-slide-title {
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 24px;
  text-align: center;
}

.hero-slide-desc {
  font-size: clamp(1.125rem, 0.5vw + 1rem, 1.25rem);
  color: rgba(232, 236, 241, 0.95);
  line-height: 1.7;
  margin-bottom: 38px;
  max-width: 62ch;
  text-align: center;
}

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

.hero-slide-btns .btn {
  padding: 15px 30px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ── Hero Slide Number indicator ────────────────────────── */
.hero-slide-num {
  position: absolute;
  bottom: 52px;
  right: 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(168, 174, 182, 0.5);
  letter-spacing: 0.15em;
  font-feature-settings: "tnum";
}

/* ── Hero Controls (Arrows) ─────────────────────────────── */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(3, 26, 54, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-arrow:hover {
  background-color: var(--orange);
  border-color: var(--orange);
  transform: translateY(-50%) scale(1.06);
}

.hero-arrow-prev { left: 32px; }
.hero-arrow-next { right: 32px; }

/* ── Hero Indicators (01/04 + progress) ─────────────────── */
.hero-indicators {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  gap: 16px;
}

.hero-current-num,
.hero-total-num {
  font-size: 0.875rem;
  font-weight: 700;
  font-feature-settings: "tnum";
  color: var(--white);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-total-num {
  color: rgba(232, 236, 241, 0.65);
  font-weight: 500;
}

.hero-progress-track {
  flex: 1;
  max-width: 160px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  overflow: hidden;
}

.hero-progress-fill {
  width: 0%;
  height: 100%;
  background-color: var(--orange);
  border-radius: 1px;
  transition: width 6s linear;
}

/* ── Thin orange technical line on hero left ─────────────── */
.hero-slider-section::after {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  width: 2px;
  height: 30%;
  background: linear-gradient(to bottom, transparent, var(--orange) 30%, var(--orange) 70%, transparent);
  z-index: 10;
  opacity: 0.5;
}

/* ============================================================
   25. FULL-WIDTH IMAGE BREAK SECTION
   ============================================================ */
.fullwidth-break {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--navy-deep);
}

.fullwidth-break-img-wrapper {
  width: 100%;
  height: 520px;
  position: relative;
}

.fullwidth-break-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s ease-out;
  filter: brightness(0.6);
}

.fullwidth-break:hover .fullwidth-break-img {
  transform: scale(1.02);
}

.fullwidth-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(3, 26, 54, 0.88) 0%,
    rgba(3, 26, 54, 0.60) 50%,
    rgba(3, 26, 54, 0.30) 100%
  );
  display: flex;
  align-items: center;
}

.fullwidth-break-content {
  max-width: 600px;
}

.fullwidth-break .eyebrow {
  color: var(--orange);
  margin-bottom: 16px;
}

.fullwidth-break-title {
  font-size: clamp(2rem, 3vw + 0.5rem, 3.2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 18px;
}

.fullwidth-break-desc {
  color: rgba(232, 236, 241, 0.8);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 52ch;
}

/* ============================================================
   26. QUALITY DARK SECTION — navy bg, split layout
   ============================================================ */
.quality-dark-section {
  background-color: var(--navy-deep);
  padding: var(--section-pad-xl) 0;
  position: relative;
  overflow: hidden;
}

/* Subtle background geometry */
.quality-dark-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 122, 61, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.quality-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.quality-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 440px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.quality-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.quality-img-box:hover img {
  transform: scale(1.03);
}

/* Thin orange accent line on left of image */
.quality-img-box::before {
  content: '';
  position: absolute;
  top: 12%;
  left: -2px;
  width: 2px;
  height: 76%;
  background: linear-gradient(to bottom, transparent, var(--orange) 20%, var(--orange) 80%, transparent);
  z-index: 2;
}

.quality-dark-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.quality-dark-content .eyebrow { color: var(--green); }
.quality-dark-content .eyebrow::before { background-color: var(--green); }

.quality-dark-title {
  font-size: clamp(2rem, 3vw + 0.4rem, 3.2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 24px;
}

.quality-dark-desc {
  color: rgba(168, 174, 182, 0.85);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 52ch;
}

.quality-spec-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.quality-spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: rgba(232, 236, 241, 0.85);
  font-weight: 500;
}

.quality-spec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--green);
  flex-shrink: 0;
}

/* ============================================================
   27. CAPABILITY PREVIEW PANEL — Interactive Preview Card
   ============================================================ */
.capability-section-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: start;
}

.capability-preview-box {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 380px;
  background-color: var(--navy-deep);
  box-shadow: 0 16px 40px rgba(3, 26, 54, 0.14);
  border: 1px solid var(--border-color);
  transition: box-shadow var(--transition-normal);
}

.capability-preview-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background-color: rgba(3, 26, 54, 0.88);
  backdrop-filter: blur(8px);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(243, 106, 33, 0.35);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease;
}

.capability-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1);
  opacity: 1;
}

.capability-preview-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 22px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 26, 54, 0.95) 100%);
  z-index: 2;
  color: #FFFFFF;
  transition: opacity 0.3s ease;
}

.capability-preview-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.capability-preview-meta {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
  line-height: 1.45;
}

/* ============================================================
   28. SIX-STEP PROCESS TIMELINE (Home page)
   ============================================================ */
.process-timeline-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
  padding-top: 24px;
}

.process-timeline-6::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    var(--orange) 0%,
    var(--border-color) 60%,
    transparent 100%
  );
}

.process-step-6 {
  padding: 28px 20px 24px 0;
  position: relative;
}

.process-step-6::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--orange);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--orange);
}

.process-step-6:nth-child(n+4)::before {
  background-color: var(--border-color);
  border-color: var(--white);
  box-shadow: 0 0 0 1px var(--border-color);
}

.process-step-num-6 {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.process-step-6:nth-child(n+4) .process-step-num-6 {
  color: var(--text-muted);
}

.process-step-title-6 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.process-step-desc-6 {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   29. SCROLL PROGRESS BAR — Thin orange top indicator
   ============================================================ */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(to right, var(--orange) 0%, #F89B5A 100%);
  z-index: 9999;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ============================================================
   30a. BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 96px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-card);
}

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

.back-to-top:hover {
  background-color: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(243, 106, 33, 0.3);
}

/* ============================================================
   30b. FLOATING WHATSAPP BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 900;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: #FFFFFF;
}

.whatsapp-float-tooltip {
  position: absolute;
  right: 60px;
  background: var(--navy-deep);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   30c. GOOGLE MAPS EMBED CONTAINER
   ============================================================ */
.map-section {
  padding: 48px 0 0 0;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(3, 26, 54, 0.08);
  border: 1px solid var(--border-color);
  background-color: var(--steel-bg);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Contact Info Quick Tiles */
.contact-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.contact-tile {
  background-color: var(--steel-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all var(--transition-normal);
}

.contact-tile:hover {
  background-color: #FFFFFF;
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(3, 26, 54, 0.08);
  transform: translateY(-2px);
}

.contact-tile-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.contact-tile-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-deep);
  text-decoration: none;
  word-break: break-word;
}

.contact-tile-value:hover {
  color: var(--orange);
}

.contact-tile-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* ============================================================
   30d. COMPANY PROFILE DOWNLOAD CALLOUT
   ============================================================ */
.company-profile-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 40px 0;
  border: 1px solid rgba(243, 106, 33, 0.35);
  box-shadow: 0 12px 36px rgba(3, 26, 54, 0.16);
  color: #FFFFFF;
}

.company-profile-text h3 {
  color: #FFFFFF;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.company-profile-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  margin: 0;
  max-width: 58ch;
}

/* ============================================================
   31. PAGE LOADER — Minimal initial load overlay with brand logo
   ============================================================ */
/* ============================================================
   31. PAGE LOADER — Modern Industrial Engineering Preloader
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  background-color: var(--white);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.015);
}

.loader-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 40px;
}

.loader-logo-wrap {
  position: relative;
  margin-bottom: 22px;
}

.loader-logo {
  height: 72px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  animation: loaderPulse 1.8s ease-in-out infinite alternate;
}

@keyframes loaderPulse {
  0% { transform: scale(0.98); opacity: 0.92; }
  100% { transform: scale(1.02); opacity: 1; }
}

.loader-progress-track {
  width: 200px;
  height: 3px;
  background-color: #E2E8F0;
  border-radius: 99px;
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange) 0%, #FF8A3D 50%, var(--navy-deep) 100%);
  border-radius: 99px;
  animation: loaderSweep 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loaderSweep {
  0%   { width: 0%; }
  50%  { width: 70%; }
  100% { width: 100%; }
}

.loader-caption {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: inherit;
}

/* ============================================================
   32. IMAGE HOVER SYSTEM — Consistent across all pages
   Apply .img-hover-wrap + .img-hover-img to any image container
   ============================================================ */
.img-hover-wrap {
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg);
  background-color: var(--steel-bg);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-normal);
}

.img-hover-wrap:hover {
  box-shadow: var(--shadow-hover);
}

.img-hover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* ============================================================
   33. TECHNICAL ACCENT DECORATION — subtle grid marks
   ============================================================ */
.tech-corner-mark {
  position: relative;
}

.tech-corner-mark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-top: 1.5px solid var(--orange);
  border-left: 1.5px solid var(--orange);
  opacity: 0.4;
  pointer-events: none;
}

/* ============================================================
   34. STICKY HEADER HEIGHT ADJUSTMENT
   When top-bar is visible, account for total header height
   ============================================================ */
.site-header {
  top: 0; /* stays at 0 relative to its stacking context */
}

/* Combined height utility for JS offset calculation */
:root {
  --top-bar-height: 40px;
  --total-header-height: calc(var(--header-height) + var(--top-bar-height));
}

/* ============================================================
   35. INNER PAGE HERO — FULL-WIDTH BACKGROUND IMAGE SYSTEM
   ============================================================ */
.inner-page-hero,
.page-hero-cinematic {
  position: relative;
  width: 100%;
  min-height: 520px;
  max-height: 600px;
  background-color: var(--navy-deep);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
  box-sizing: border-box;
}

/* Background image entrance animation */
.page-hero-bg-layer {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: var(--hero-pos, center center);
  background-repeat: no-repeat;
  transform: scale(1.03);
  animation: heroBgEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform;
}

@keyframes heroBgEntrance {
  0%   { transform: scale(1.04); }
  100% { transform: scale(1.00); }
}

/* Dark Navy Overlay — ensures text readability while keeping machinery/tooling clearly visible */
.inner-page-hero__overlay,
.page-hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    90deg,
    rgba(3, 26, 54, 0.85) 0%,
    rgba(3, 26, 54, 0.70) 45%,
    rgba(3, 26, 54, 0.45) 75%,
    rgba(3, 26, 54, 0.22) 100%
  ) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.inner-page-hero__overlay::after,
.page-hero-overlay::after {
  content: '';
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    to bottom,
    rgba(3, 26, 54, 0.35) 0%,
    transparent 20%,
    transparent 70%,
    rgba(3, 26, 54, 0.50) 100%
  ) !important;
}

/* Content Container — Explicitly elevated above the dark overlay */
.inner-page-hero .container,
.inner-page-hero__container,
.page-hero-container {
  position: relative !important;
  z-index: 10 !important;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 48px;
}

.inner-page-hero__content,
.page-hero-content {
  position: relative !important;
  z-index: 10 !important;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Breadcrumb */
.inner-page-hero__breadcrumb,
.hero-breadcrumb {
  position: relative !important;
  z-index: 10 !important;
  margin-bottom: 14px;
}

.hero-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.hero-breadcrumb-item a {
  color: rgba(255, 255, 255, 0.90) !important;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  transition: color var(--transition-fast);
}

.hero-breadcrumb-item a:hover {
  color: var(--orange) !important;
}

.hero-breadcrumb-sep {
  color: #FF7728 !important;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  user-select: none;
  font-size: 0.8rem;
}

.hero-breadcrumb-item.current {
  color: #FFFFFF !important;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* Technical Eyebrow */
.inner-page-hero__eyebrow,
.hero-tech-eyebrow {
  position: relative !important;
  z-index: 10 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FF7728 !important;
  margin-bottom: 16px;
  background: rgba(3, 26, 54, 0.7) !important;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(243, 106, 33, 0.5) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-tech-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--orange) !important;
  display: inline-block;
  flex-shrink: 0;
}

.hero-tech-num {
  font-feature-settings: "tnum";
  font-weight: 700;
}

.hero-tech-sep {
  opacity: 0.8;
}

/* Headline — Brilliant White over overlay */
.inner-page-hero h1,
.inner-page-hero .inner-page-hero__title,
.inner-page-hero__title,
.page-hero-headline {
  position: relative !important;
  z-index: 10 !important;
  font-size: clamp(2.6rem, 4.5vw + 0.4rem, 4.2rem) !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  line-height: 1.06 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 18px !important;
  text-transform: uppercase !important;
  word-wrap: break-word !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.95) !important;
}

/* Description — Crisp readable white text */
.inner-page-hero p,
.inner-page-hero .inner-page-hero__description,
.inner-page-hero__description,
.page-hero-lead {
  position: relative !important;
  z-index: 10 !important;
  font-size: clamp(1rem, 0.35vw + 0.9rem, 1.15rem) !important;
  line-height: 1.7 !important;
  color: #FFFFFF !important;
  opacity: 0.95 !important;
  max-width: 620px !important;
  margin-bottom: 28px !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.95) !important;
}

/* CTA Buttons */
.inner-page-hero__cta,
.page-hero-actions {
  position: relative !important;
  z-index: 10 !important;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.inner-page-hero .btn-primary {
  background-color: var(--orange) !important;
  color: #FFFFFF !important;
  border-color: var(--orange) !important;
  box-shadow: 0 4px 16px rgba(243, 106, 33, 0.45) !important;
}

.inner-page-hero .btn-primary:hover {
  background-color: var(--orange-hover) !important;
  border-color: var(--orange-hover) !important;
  color: #FFFFFF !important;
}

.inner-page-hero .btn-outline-white {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(4px);
}

.inner-page-hero .btn-outline-white:hover {
  background-color: #FFFFFF !important;
  color: var(--navy-deep) !important;
}

/* Technical Coordinates */
.hero-tech-coords {
  position: absolute !important;
  bottom: 24px !important;
  right: 48px !important;
  z-index: 10 !important;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #FFFFFF !important;
  opacity: 0.9 !important;
  text-transform: uppercase;
  font-feature-settings: "tnum";
  pointer-events: none;
  background: rgba(3, 26, 54, 0.65) !important;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.coords-bar {
  width: 1px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.3);
}

/* Bottom Accent Bar */
.inner-page-hero::after,
.hero-bottom-accent-bar {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--orange) 0%,
    rgba(243, 106, 33, 0.4) 30%,
    transparent 70%
  );
  z-index: 3;
}

/* ============================================================
   PAGE-SPECIFIC BACKGROUND IMAGES & POSITIONS (Isolated to inner pages)
   ============================================================ */
.page-about .inner-page-hero,
.page-about .page-hero-cinematic,
.hero-bg-about {
  background-image: url('../assets/images/hero/about-hero.jpg');
  background-position: center center;
}

.page-services .inner-page-hero,
.page-services .page-hero-cinematic,
.hero-bg-services {
  background-image: url('../assets/images/hero/services-hero.jpg');
  background-position: center right;
}

.page-injection-moulding .inner-page-hero,
.page-injection-moulding .page-hero-cinematic,
.hero-bg-injection-moulding {
  background-image: url('../assets/images/hero/injection-moulding-hero.jpg');
  background-position: center right;
}

.page-mould-manufacturing .inner-page-hero,
.page-mould-manufacturing .page-hero-cinematic,
.hero-bg-mould-manufacturing {
  background-image: url('../assets/images/hero/mould-manufacturing-hero.jpg');
  background-position: center center;
}

.page-tooling .inner-page-hero,
.page-tooling .page-hero-cinematic,
.hero-bg-tooling {
  background-image: url('../assets/images/hero/tooling-hero.jpg');
  background-position: center right;
}

.page-components .inner-page-hero,
.page-components .page-hero-cinematic,
.hero-bg-components {
  background-image: url('../assets/images/hero/components-hero.jpg');
  background-position: center center;
}

.page-products .inner-page-hero,
.page-products .page-hero-cinematic,
.hero-bg-products {
  background-image: url('../assets/images/hero/products-hero.jpg');
  background-position: center 35%;
}

.page-quality .inner-page-hero,
.page-quality .page-hero-cinematic,
.hero-bg-quality {
  background-image: url('../assets/images/hero/quality-hero.jpg');
  background-position: center left;
}

.page-industries .inner-page-hero,
.page-industries .page-hero-cinematic,
.hero-bg-industries {
  background-image: url('../assets/images/hero/industries-hero.jpg');
  background-position: center center;
}

.page-gallery .inner-page-hero,
.page-gallery .page-hero-cinematic,
.hero-bg-gallery {
  background-image: url('../assets/images/hero/gallery-hero.jpg');
  background-position: center center;
}

.page-contact .inner-page-hero,
.page-contact .page-hero-cinematic,
.hero-bg-contact {
  background-image: url('../assets/images/hero/contact-hero.jpg');
  background-position: center center;
}



/* ============================================================
   TOP CONTACT BAR — Professional multi-item slim strip
   ============================================================ */
.top-bar {
  width: 100%;
  background-color: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.775rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1010;
  position: relative;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  gap: 16px;
}

.top-bar-left {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 0;
}

.top-bar-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 38px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.775rem;
  font-weight: 400;
  transition: color var(--transition-fast), background-color var(--transition-fast);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.top-bar-contact-item:first-child { border-left: none; }

.top-bar-contact-item:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.06);
}

.top-bar-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.7;
}

.top-bar-intl {
  background-color: rgba(243, 106, 33, 0.15);
  color: var(--orange) !important;
  border-color: rgba(243, 106, 33, 0.2) !important;
  font-weight: 600;
}

.top-bar-intl:hover {
  background-color: rgba(243, 106, 33, 0.25) !important;
  color: #FFFFFF !important;
}

.top-bar-intl .top-bar-icon { opacity: 1; color: var(--orange); }

/* Hide .top-bar-cta (legacy) — replaced by .top-bar-contact-item */
.top-bar-cta {
  display: none;
}

/* Also handle the .top-bar-link used by index.html update */
.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 38px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.775rem;
  font-weight: 400;
  transition: color var(--transition-fast), background-color var(--transition-fast);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-link:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.06);
}

/* ============================================================
   FLOATING ACTION DOCK
   ============================================================ */
.floating-action-dock {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.float-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  height: 48px;
  border-radius: 48px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: #FFFFFF;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.20);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.float-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

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

.float-action-whatsapp {
  background-color: #25D366;
}

.float-action-call {
  background-color: var(--navy);
  display: none; /* shown on mobile */
}

.float-action-label {
  display: inline;
}

/* Icon-only on smaller viewports */
.float-action-icon-only {
  width: 48px;
  padding: 0;
  justify-content: center;
}

.float-action-icon-only .float-action-label { display: none; }

/* ============================================================
   CAPABILITIES HUB — Interactive tab selector (services page)
   ============================================================ */
.capabilities-hub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 520px;
}

.capabilities-hub__tabs {
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.cap-tab {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 28px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  background-color: transparent;
  transition: background-color var(--transition-fast);
  text-align: left;
  width: 100%;
  position: relative;
}

.cap-tab:last-child { border-bottom: none; }

.cap-tab::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: transparent;
  transition: background-color var(--transition-fast);
}

.cap-tab.is-active {
  background-color: var(--off-white);
}

.cap-tab.is-active::before {
  background-color: var(--orange);
}

.cap-tab:hover {
  background-color: var(--light-grey);
}

.cap-tab-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--metal);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  margin-top: 3px;
  transition: color var(--transition-fast);
  font-feature-settings: "tnum";
}

.cap-tab.is-active .cap-tab-num { color: var(--orange); }

.cap-tab-content { flex: 1; }

.cap-tab-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}

.cap-tab.is-active .cap-tab-title { color: var(--navy); }

.cap-tab-short {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 36ch;
}

.cap-tab-arrow {
  width: 16px;
  height: 16px;
  color: var(--metal);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition-fast);
  margin-top: 4px;
}

.cap-tab.is-active .cap-tab-arrow,
.cap-tab:hover .cap-tab-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--orange);
}

.capabilities-hub__panel {
  background-color: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.cap-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cap-panel.is-active {
  opacity: 1;
  pointer-events: auto;
}

.cap-panel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cap-panel.is-active .cap-panel__img {
  transform: scale(1.02);
}

.cap-panel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 26, 54, 0.92) 0%, rgba(3, 26, 54, 0.5) 40%, transparent 80%);
}

.cap-panel__content {
  position: relative;
  z-index: 2;
  padding: 32px;
  color: #FFFFFF;
}

.cap-panel__tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 10px;
  display: block;
}

.cap-panel__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cap-panel__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  max-width: 44ch;
  margin-bottom: 20px;
}

.cap-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 20px;
  background-color: var(--orange);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.cap-panel__cta:hover {
  background-color: var(--orange-hover);
  transform: translateY(-1px);
}

/* ============================================================
   GALLERY — Editorial Mixed Layout
   ============================================================ */
.gallery-editorial {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-featured-row {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-featured-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-featured-row:hover img { transform: scale(1.03); }

.gallery-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 26, 54, 0.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 28px 32px;
  color: #FFFFFF;
}

.gallery-featured-caption {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.gallery-featured-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

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

.gallery-masonry-3 .gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background-color: var(--steel-bg);
}

.gallery-masonry-3 .gallery-item:first-child {
  height: 340px;
}

.gallery-masonry-3 .gallery-item:not(:first-child) {
  height: 260px;
}

.gallery-2col {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
}

.gallery-2col .gallery-item {
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-2col .gallery-item:first-child { height: 400px; }
.gallery-2col .gallery-item:last-child { height: 400px; }

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

.gallery-grid-3 .gallery-item {
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

/* Unified hover for all gallery items */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 26, 54, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.gallery-item:hover .gallery-item__overlay {
  background: rgba(3, 26, 54, 0.35);
}

.gallery-item__view {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
}

.gallery-item:hover .gallery-item__view {
  opacity: 1;
  transform: scale(1);
}

.gallery-item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(3, 26, 54, 0.8) 0%, transparent 100%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.775rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-item__label {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   STRUCTURED DATA HINT — Hidden element for SEO
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================================
   COMPANY PROFILE & TECHNICAL DOSSIER STYLING
   ============================================================ */
/* Dossier Hub Card */
.dossier-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.dossier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.dossier-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--orange);
  letter-spacing: 0.08em;
  display: block;
}

.dossier-title {
  color: var(--navy-deep);
  margin: 4px 0 0 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.dossier-tag-pill {
  background-color: var(--navy-deep);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
}

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

.dossier-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
}

.dossier-item-icon {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.dossier-meta-box {
  background-color: var(--bg-light-grey);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

/* Factsheet Table */
.factsheet-table-wrap {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.factsheet-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.factsheet-table th,
.factsheet-table td {
  padding: 16px 20px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-light);
}

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

.factsheet-table tr:nth-child(even) {
  background-color: var(--bg-light-grey);
}

.factsheet-label {
  font-weight: 700;
  color: var(--navy-deep);
  width: 28%;
  background-color: rgba(3, 26, 54, 0.02);
}

.factsheet-value {
  color: var(--text-body);
  line-height: 1.5;
}

.factsheet-tag {
  display: inline-block;
  background-color: var(--orange-subtle);
  color: var(--orange);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  margin-right: 6px;
  margin-bottom: 4px;
}

/* Equipment Registry Grid */
.equipment-registry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.equipment-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.equipment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(243, 106, 33, 0.4);
}

.equipment-card-img-box {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  background-color: var(--navy-deep);
}

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

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

.equipment-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: rgba(3, 26, 54, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.equipment-card-body {
  padding: 24px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.equipment-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.equipment-icon-box {
  width: 40px;
  height: 40px;
  background-color: var(--orange-subtle);
  color: var(--orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.equipment-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0;
}

.equipment-card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.equipment-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.equipment-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.45;
}

.equipment-bullet {
  color: var(--orange);
  font-weight: 700;
  line-height: 1;
  font-size: 1rem;
}

/* Dossier Image Thumbnail */
.dossier-preview-img-box {
  width: 100%;
  height: 140px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  margin-bottom: 18px;
}

.dossier-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dossier-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 26, 54, 0.2) 0%, rgba(3, 26, 54, 0.75) 100%);
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
}

.dossier-preview-text {
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Procurement Step Card Grid (5 Visual Cards) */
.procurement-workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: stretch;
}

.procurement-step-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.procurement-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.procurement-step-card-img-box {
  width: 100%;
  height: 135px;
  position: relative;
  overflow: hidden;
  background-color: var(--navy-deep);
  flex-shrink: 0;
}

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

.procurement-step-card:hover .procurement-step-card-img {
  transform: scale(1.08);
}

.procurement-step-card-num {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--orange);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.05em;
}

.procurement-step-card-body {
  padding: 16px 14px 18px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.procurement-step-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 6px;
  line-height: 1.3;
}

.procurement-step-card-desc {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.45;
  margin: 0;
}

/* Quality Assurance Image Cards Grid (4 Visual Cards) */
.qa-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.qa-image-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.qa-image-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(243, 106, 33, 0.45);
}

.qa-image-card-img-box {
  width: 100%;
  height: 150px;
  position: relative;
  overflow: hidden;
  background-color: var(--navy-deep);
  flex-shrink: 0;
}

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

.qa-image-card:hover .qa-image-card-img {
  transform: scale(1.08);
}

.qa-image-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(3, 26, 54, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.qa-image-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.qa-image-card-desc {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
}

/* Export Logistics Visual Grid (4 Visual Cards) */
.export-logistics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 32px;
}

.export-logistics-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.export-logistics-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(243, 106, 33, 0.45);
}

.export-logistics-img-box {
  width: 100%;
  height: 140px;
  position: relative;
  overflow: hidden;
  background-color: var(--navy-deep);
  flex-shrink: 0;
}

.export-logistics-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.export-logistics-card:hover .export-logistics-img {
  transform: scale(1.08);
}

.export-logistics-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--orange);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.export-logistics-body {
  padding: 16px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.export-logistics-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.export-logistics-desc {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.45;
  margin: 0;
}

/* Photo Strip in Overview (Section 1) */
.overview-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  width: 100%;
}

.overview-photo-item {
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  background-color: var(--navy-deep);
}

.overview-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.overview-photo-item:hover .overview-photo-img {
  transform: scale(1.08);
}

.overview-photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 26, 54, 0.9) 100%);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 20px 10px 8px 10px;
  text-align: center;
  text-transform: uppercase;
}

/* Facility Showcase Box in Company Profile */
.facility-showcase-box,
.feature-image-break {
  margin-top: 36px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.facility-showcase-img,
.feature-image-break-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.facility-showcase-overlay,
.feature-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 26, 54, 0.2) 0%, rgba(3, 26, 54, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 32px;
}

.facility-showcase-badge,
.feature-image-badge {
  display: inline-block;
  background-color: var(--orange);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  margin-bottom: 8px;
  width: fit-content;
}

.facility-showcase-title,
.feature-image-title {
  color: #FFFFFF;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.facility-showcase-desc,
.feature-image-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 65ch;
  margin: 0;
}

/* Facility Zones (Plant, Office, Machineries, Tools & Moulds) */
.facility-zones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}

.facility-zone-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.facility-zone-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(243, 106, 33, 0.45);
}

.facility-zone-img-box {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background-color: var(--navy-deep);
  flex-shrink: 0;
}

.facility-zone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.facility-zone-card:hover .facility-zone-img {
  transform: scale(1.06);
}

.facility-zone-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: rgba(3, 26, 54, 0.88);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.facility-zone-num {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-size: 1.85rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.facility-zone-body {
  padding: 24px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.facility-zone-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.facility-zone-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 16px;
}

.facility-zone-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  flex-grow: 1;
}

.facility-zone-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.facility-zone-bullet {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
}



/* ============================================================
   CONNECTED MANUFACTURING WORKFLOW & PROCESS JOURNEY
   ============================================================ */
.workflow-journey {
  position: relative;
  margin-top: 48px;
}

.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

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

@media (max-width: 600px) {
  .workflow-steps-grid {
    grid-template-columns: 1fr;
  }
}

.workflow-step-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

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

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

.workflow-step-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  background-color: var(--orange-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workflow-step-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cool-grey);
  line-height: 1;
}

.workflow-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 12px;
}

.workflow-step-desc {
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.workflow-step-features {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.workflow-step-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.workflow-step-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--orange);
  flex-shrink: 0;
}

/* ============================================================
   INTERNATIONAL ENQUIRY POPUP MODAL
   ============================================================ */
.intl-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(3, 26, 54, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.intl-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.intl-modal-dialog {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--orange);
  box-shadow: 0 24px 60px rgba(3, 26, 54, 0.35);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.intl-modal-overlay.is-open .intl-modal-dialog {
  transform: translateY(0) scale(1);
}

.intl-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-light-grey);
  border: 1px solid var(--border-color);
  color: var(--navy-deep);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.intl-modal-close:hover {
  background-color: var(--orange);
  color: #FFFFFF;
  border-color: var(--orange);
  transform: rotate(90deg);
}

.intl-modal-header {
  padding: 32px 32px 20px 32px;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(180deg, rgba(243, 106, 33, 0.03) 0%, transparent 100%);
}

.intl-modal-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--orange-subtle);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  margin-bottom: 10px;
}

.intl-modal-title {
  color: var(--navy-deep);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
}

.intl-modal-subtitle {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0;
  max-width: 65ch;
}

.intl-modal-body {
  padding: 24px 32px 32px 32px;
}

.intl-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}

.intl-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.intl-form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-deep);
}

.intl-form-label .req {
  color: var(--orange);
}

.intl-form-input,
.intl-form-select,
.intl-form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xs);
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--text-body);
  background-color: #FFFFFF;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
}

.intl-form-input:focus,
.intl-form-select:focus,
.intl-form-textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(243, 106, 33, 0.15);
}

.intl-form-input.is-invalid,
.intl-form-select.is-invalid,
.intl-form-textarea.is-invalid {
  border-color: #DC3545;
  background-color: #FFF8F8;
}

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

.intl-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background-color: var(--bg-light-grey);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 18px;
  margin-bottom: 22px;
}

.intl-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-body);
  line-height: 1.4;
}

.intl-trust-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.intl-form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.intl-form-status-box {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 18px;
}

.intl-form-status-box.success {
  background-color: #E8F7EE;
  border: 1px solid #28A745;
  color: #155724;
}

.intl-form-status-box.error {
  background-color: #FDE8E8;
  border: 1px solid #DC3545;
  color: #721C24;
}

/* ============================================================
   INDUSTRIAL ENGINEERING CHATBOT WIDGET
   ============================================================ */
.chat-widget-wrapper {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 2100;
  font-family: inherit;
}

.chat-toggle-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #FFFFFF;
  border: 2px solid rgba(243, 106, 33, 0.4);
  box-shadow: 0 8px 26px rgba(3, 26, 54, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.chat-toggle-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(243, 106, 33, 0.35);
  border-color: var(--orange);
}

.chat-toggle-btn .chat-toggle-icon-open {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.chat-toggle-btn .chat-toggle-icon-close {
  display: none;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.chat-toggle-btn.is-active .chat-toggle-icon-open { display: none; }
.chat-toggle-btn.is-active .chat-toggle-icon-close { display: flex; }

.chat-status-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #28A745;
  border: 2px solid #FFFFFF;
}

.chat-teaser-bubble {
  position: absolute;
  bottom: 68px;
  right: 0;
  background-color: var(--navy-deep);
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(3, 26, 54, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.chat-teaser-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 22px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--navy-deep);
}

.chat-teaser-bubble.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chat-teaser-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  cursor: pointer;
  padding: 0 0 0 4px;
  line-height: 1;
}

.chat-teaser-close:hover { color: #FFFFFF; }

.chat-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 380px;
  height: 520px;
  max-height: calc(100vh - 120px);
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(3, 26, 54, 0.28);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2200;
}

.chat-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-panel-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #FFFFFF;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--orange);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.chat-avatar-icon { font-size: 1rem; }

.chat-avatar-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #28A745;
  border: 1.5px solid var(--navy-deep);
}

.chat-header-title {
  color: #FFFFFF;
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.chat-header-status {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.7);
  display: block;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-action-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.chat-action-btn:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.12);
}

.chat-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background-color: var(--bg-light-grey);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  display: flex;
  gap: 8px;
  width: 100%;
}

.chat-msg-bot {
  align-items: flex-start;
}

.chat-msg-user {
  justify-content: flex-end;
}

.chat-msg-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--navy-deep);
  color: var(--orange);
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.chat-msg-bot .chat-msg-bubble {
  background-color: #FFFFFF;
  color: var(--text-body);
  padding: 12px 14px;
  border-radius: 12px 12px 12px 2px;
  font-size: 0.835rem;
  line-height: 1.45;
  box-shadow: 0 2px 6px rgba(3, 26, 54, 0.05);
  border: 1px solid var(--border-light);
  max-width: 86%;
}

.chat-msg-bot .chat-msg-bubble p {
  margin: 0 0 6px 0;
}

.chat-msg-bot .chat-msg-bubble p:last-child {
  margin-bottom: 0;
}

.chat-msg-user .chat-msg-bubble {
  background-color: var(--orange);
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: 12px 12px 2px 12px;
  font-size: 0.835rem;
  font-weight: 500;
  max-width: 82%;
  box-shadow: 0 2px 6px rgba(243, 106, 33, 0.2);
}

.chat-link {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
}

.chat-link:hover { color: var(--navy-deep); }

.chat-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  padding-top: 6px;
}

.chat-chip {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy-deep);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.chat-chip:hover {
  background-color: var(--navy-deep);
  color: #FFFFFF;
  border-color: var(--navy-deep);
  transform: translateY(-1px);
}

.chat-typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background-color: #FFFFFF;
  border-radius: 12px;
  width: fit-content;
  margin-left: 34px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.chat-typing-indicator span {
  width: 6px;
  height: 6px;
  background-color: var(--orange);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite ease-in-out both;
}

.chat-typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.chat-typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.chat-panel-footer {
  padding: 10px 12px;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-input-field {
  flex: 1;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xs);
  padding: 9px 12px;
  font-size: 0.835rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast);
}

.chat-input-field:focus {
  border-color: var(--orange);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  background-color: var(--orange);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
}

.chat-send-btn:hover {
  background-color: var(--orange-hover);
  transform: scale(1.05);
}

/* Chatbot Lead Intake Form */
.chat-lead-form {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: var(--bg-light-grey);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: var(--radius-sm);
}

.chat-lead-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chat-lead-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.chat-lead-label .req {
  color: var(--orange);
}

.chat-lead-input {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xs);
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--text-body);
  background-color: #FFFFFF;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
}

.chat-lead-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(243, 106, 33, 0.15);
}

.chat-lead-error-text {
  color: #DC3545;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 6px;
  background-color: #FFF2F2;
  border-radius: var(--radius-xs);
  border: 1px solid #FFD6D6;
}

.chat-lead-submit-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.8rem;
  padding: 8px 12px;
  margin-top: 4px;
}

.chat-input-field:disabled {
  background-color: #F4F6F9;
  cursor: not-allowed;
  color: #999999;
}

.chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   NEUMORPHIC SOCIAL ICONS (FOOTER)
   ============================================================ */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-bottom p {
  margin: 0;
}

/* ============================================================
   FEATURED COMPONENTS (HOME PAGE)
   ============================================================ */
.component-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.component-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.component-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 32px rgba(3, 26, 54, 0.08);
}

.component-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--bg-off-white);
}

.component-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.component-card:hover .component-card-img img {
  transform: scale(1.05);
}

.component-card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.component-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 0;
}

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

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

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

.neo-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #031A36; /* Matches the top of the linear gradient */
  color: rgba(255, 255, 255, 0.75);
  box-shadow: 
    -4px -4px 10px rgba(5, 34, 70, 0.6),
    4px 4px 10px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
  text-decoration: none;
}

.neo-social-btn:hover {
  color: var(--orange);
  box-shadow: 
    inset -3px -3px 8px rgba(5, 34, 70, 0.5), 
    inset 3px 3px 8px rgba(0, 0, 0, 0.8);
}

.neo-social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
}

