/* ==========================================================================
   SRI BALAJI GEARS — ENTERPRISE INDUSTRIAL DESIGN SYSTEM
   Precision Automotive Welding, Seating Systems & Pressing | Hosur, India
   Fully Responsive for Mobile, Tablet, Laptop, Desktop & Ultra-wide
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

/* --- Design Tokens --- */
:root {
  --bg-dark: #050b14;
  --bg-primary: #07111e;
  --bg-surface: #0c1a2c;
  --bg-surface-elevated: #11233b;
  --bg-card: linear-gradient(145deg, #122238 0%, #0a1626 100%);
  --bg-card-hover: linear-gradient(145deg, #172d4a 0%, #0f1e33 100%);
  --bg-card-alt: #0a1524;
  
  --ink-primary: #f8fafc;
  --ink-secondary: #cbd5e1;
  --ink-muted: #94a3b8;
  --ink-dim: #64748b;
  
  --gold-300: #ffe394;
  --gold-400: #ffd36d;
  --gold-500: #efad2d;
  --gold-600: #d69112;
  --gold-700: #9e6405;
  --gold-glow: rgba(239, 173, 45, 0.28);
  --gold-gradient: linear-gradient(135deg, #ffd875 0%, #efad2d 50%, #b87508 100%);
  
  --accent-cyan: #38bdf8;
  --accent-cyan-glow: rgba(56, 189, 248, 0.2);
  --accent-emerald: #10b981;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-gold: rgba(239, 173, 45, 0.35);
  --border-gold-bright: rgba(255, 211, 109, 0.7);
  
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px -6px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 12px 36px -4px rgba(239, 173, 45, 0.3);
  --shadow-inner: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  
  --font-display: 'Barlow Condensed', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --container-max: 2560px;
  --container-gutter: clamp(14px, 2.5vw, 44px);
  --max-width: var(--container-max);
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Reset & Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(20, 38, 64, 0.4) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  color: var(--ink-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* Safe area padding for mobile notch */
body {
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

/* Images & Media */
img, svg, picture, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

ul, ol {
  list-style: none;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

/* --- Container Utility (Fluid Screen Auto-Fitting System) --- */
.container {
  width: 100%;
  max-width: min(var(--container-max), calc(100% - 2 * var(--container-gutter)));
  margin-inline: auto;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
}

h1 {
  font-size: clamp(2.8rem, 6.5vw + 0.5rem, 5.8rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.2rem, 4.2vw + 0.2rem, 3.8rem);
  font-weight: 800;
  line-height: 1.02;
}

h3 {
  font-size: clamp(1.4rem, 2.2vw + 0.1rem, 2rem);
  font-weight: 700;
  line-height: 1.15;
}

h4 {
  font-size: clamp(1.15rem, 1.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 em, h2 em, h3 em, .highlight-gold {
  font-style: normal;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.lead {
  font-size: clamp(1rem, 1.15vw + 0.2rem, 1.25rem);
  color: var(--ink-secondary);
  line-height: 1.65;
  max-width: 90ch;
}

.text-muted {
  color: var(--ink-muted);
}

.text-gold {
  color: var(--gold-400);
}

.text-mono {
  font-family: var(--font-mono);
}

/* --- Eyebrow & Badges --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: var(--radius-pill);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: rgba(239, 173, 45, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pill-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 8px var(--gold-400);
  animation: pulseDot 2s infinite ease-in-out;
}

.pill-badge.cyan {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
}
.pill-badge.cyan .dot {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.pill-badge.emerald {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}
.pill-badge.emerald .dot {
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* --- Top Utility Bar (Removed) --- */
.topline {
  display: none !important;
}

.topline .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topline-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

.topline-item svg {
  width: 14px;
  height: 14px;
  color: var(--gold-400);
  flex-shrink: 0;
}

.topline a:hover {
  color: var(--gold-300);
}

.topline-badge {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--gold-300);
}

/* --- Main Header & Sticky Nav --- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 17, 30, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: padding var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
  background: rgba(5, 11, 20, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--border-medium);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 1.8vw, 32px);
  width: 100%;
  transition: height var(--transition-base);
}

.header.scrolled .nav {
  height: 68px;
}

/* Brand Identity */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  outline: none;
}

.brand-emblem {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(239, 173, 45, 0.3));
  transition: transform var(--transition-fast);
}

.brand:hover .brand-emblem {
  transform: rotate(18deg) scale(1.05);
}

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

.brand-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  color: #ffffff;
}

.brand-title span {
  color: var(--gold-400);
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-top: 3px;
  text-transform: uppercase;
}

/* Desktop Navigation Menu */
.menu {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.5vw, 10px);
}

.menu a {
  padding: 8px clamp(8px, 0.75vw, 15px);
  font-size: clamp(0.8rem, 0.82vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-secondary);
  border-radius: var(--radius-xs);
  position: relative;
  transition: color var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
}

.menu a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.menu a.active {
  color: var(--gold-300);
  font-weight: 700;
  background: rgba(239, 173, 45, 0.1);
}

.menu a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: var(--radius-pill);
}

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

/* Mobile Hamburger Toggle */
.hamb {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 60;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.hamb:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-gold);
}

.hamb-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.hamb.open .hamb-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--gold-400);
}
.hamb.open .hamb-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamb.open .hamb-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--gold-400);
}

/* --- Mobile Nav Drawer & Backdrop --- */
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 13, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 52;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  width: min(380px, 88vw);
  background: #091524;
  border-left: 1px solid var(--border-medium);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  overflow-y: auto;
  transition: right var(--transition-slow);
}

.mobile-drawer.open {
  right: 0;
}

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

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--ink-secondary);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-secondary);
  border-left: 3px solid transparent;
  transition: all var(--transition-fast);
}

.drawer-nav a:hover, .drawer-nav a.active {
  background: rgba(239, 173, 45, 0.1);
  color: #ffffff;
  border-left-color: var(--gold-400);
}

.drawer-nav a.active {
  color: var(--gold-300);
  font-weight: 700;
}

.drawer-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-secondary);
}

.drawer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold-400);
  flex-shrink: 0;
}

/* Prevent body scroll when drawer open */
body.drawer-open {
  overflow: hidden;
}

/* --- Buttons & CTAs --- */
.button, .nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  cursor: pointer;
  background: var(--gold-gradient);
  color: #0c1524;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(239, 173, 45, 0.28), var(--shadow-inner);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.button:hover, .nav-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(239, 173, 45, 0.42), var(--shadow-inner);
  color: #040912;
}

.button:active, .nav-button:active {
  transform: translateY(0);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid var(--border-medium);
  box-shadow: none;
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.button.sm {
  padding: 8px 14px;
  font-size: 0.76rem;
}

.button.lg {
  padding: 16px 28px;
  font-size: 0.94rem;
}

.button-icon {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.button:hover .button-icon {
  transform: translate(2px, -2px);
}

.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: calc(88vh - 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(60px, 8vw, 100px) 0;
  background: 
    radial-gradient(ellipse at 80% 40%, rgba(26, 52, 84, 0.55) 0%, rgba(12, 26, 44, 0.75) 45%, var(--bg-dark) 80%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, #050b14f6 0%, #050b14e0 45%, #050b1477 100%),
    url('../img/bus-seats-welding-concept.png') 75% center / cover no-repeat;
  opacity: 0.85;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 10%;
  width: 55vw;
  height: 55vw;
  max-width: 720px;
  max-height: 720px;
  border: 1px dashed rgba(239, 173, 45, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.02), 0 0 0 95px rgba(255, 255, 255, 0.015);
  pointer-events: none;
  z-index: 1;
  animation: slowSpin 90s linear infinite;
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.hero-copy {
  max-width: min(1360px, 100%);
  width: 100%;
}

.hero-copy h1 {
  margin: 18px 0;
  max-width: min(1420px, 100%);
}

.hero-copy .lead {
  margin-bottom: 24px;
  max-width: min(1180px, 100%);
}

/* Hero Quick Spec Pillars */
.hero-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

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

.pillar-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  background: rgba(239, 173, 45, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.pillar-copy strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
}

.pillar-copy span {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

/* Metric Counter Cards in Hero */
.hero-metrics {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 20px 24px;
  background: rgba(12, 26, 44, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.hero-metric-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-metric-item span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
  display: block;
}

/* --- Page Heroes (Inner Pages) --- */
.page-hero {
  padding: clamp(56px, 7vw, 92px) 0 clamp(36px, 4vw, 56px);
  background: 
    radial-gradient(ellipse at 85% 15%, rgba(28, 54, 88, 0.55) 0%, rgba(10, 20, 34, 0.85) 60%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.page-hero h1 {
  max-width: min(1400px, 100%);
}

.page-hero .lead {
  max-width: min(1180px, 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(239, 173, 45, 0.03));
  pointer-events: none;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 16px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.breadcrumbs a {
  color: var(--gold-300);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span.separator {
  color: var(--ink-dim);
  font-size: 0.7rem;
}

/* --- Section Layouts --- */
.section {
  padding: clamp(54px, 7vw, 90px) 0;
  position: relative;
}

.section.alternate {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(20px, 3vw, 48px);
  margin-bottom: clamp(32px, 4vw, 48px);
  flex-wrap: wrap;
  width: 100%;
}

.section-heading.centered {
  text-align: center;
  justify-content: center;
  align-items: center;
}

.section-heading.centered p {
  margin-inline: auto;
}

.section-heading > div:first-child {
  flex: 1 1 520px;
}

.section-heading p {
  flex: 1 1 360px;
  max-width: min(840px, 100%);
  color: var(--ink-secondary);
  font-size: clamp(1rem, 1.05vw, 1.15rem);
  line-height: 1.6;
}

/* --- Grids (Auto-Adjusted Fluid Auto-Fitting System) --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: clamp(18px, 2vw, 28px);
  width: 100%;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(18px, 2vw, 28px);
  width: 100%;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
  width: 100%;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
  width: 100%;
}

/* Split Row */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.split.reverse {
  direction: rtl;
}
.split.reverse > * {
  direction: ltr;
}

/* --- Interactive Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(22px, 3vw, 32px);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(239, 173, 45, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(239, 173, 45, 0.15);
}

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

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(239, 173, 45, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  margin-bottom: 20px;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.card:hover .card-icon {
  transform: scale(1.08) rotate(3deg);
  background: rgba(239, 173, 45, 0.2);
  color: var(--gold-300);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--ink-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
}

.card-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-400);
}

/* Feature Checklist */
.list-check {
  margin: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-secondary);
  font-size: 0.94rem;
  line-height: 1.5;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.list-check li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(239, 173, 45, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- Image Frames & Visual Showcase --- */
.image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.image-frame:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.7), 0 0 24px rgba(239, 173, 45, 0.2);
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 540px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.imglabel {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(7, 17, 30, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.imglabel::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold-400);
  border-radius: 50%;
}

/* Visual Card Grid (Welding / Process Showcase - Auto-Fitted) */
.visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
  width: 100%;
}

.visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.visual-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 20px rgba(239, 173, 45, 0.15);
}

.visual-card-media {
  position: relative;
  background: #081320;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.visual-card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.visual-card:hover .visual-card-media img {
  transform: scale(1.04);
}

.visual-card .copy {
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.visual-card h3 {
  margin-bottom: 8px;
}

.visual-card p {
  color: var(--ink-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
}

.visual-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.spec-chip {
  font-size: 0.73rem;
  font-family: var(--font-mono);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  color: var(--ink-secondary);
}

/* --- Animated Stats Counter Grid (Auto-Fitted) --- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  width: 100%;
}

.stat {
  padding: clamp(22px, 3vw, 32px);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.stat::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
}

.stat:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.stat strong {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.2vw, 3.8rem);
  font-weight: 900;
  line-height: 0.95;
  color: #ffffff;
  display: block;
  letter-spacing: -0.01em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-top: 8px;
  display: block;
}

.stat small {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-dim);
  margin-top: 4px;
}

/* --- Client / OEM Showcase Tiles (Auto-Fitted) --- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: clamp(18px, 2vw, 30px);
  width: 100%;
}

.brand-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  position: relative;
  transition: all var(--transition-base);
}

.brand-tile:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 22px rgba(239, 173, 45, 0.15);
}

.brand-tile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.brand-tile-header .brand-badge {
  margin-bottom: 0;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 54px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.brand-tile:hover .brand-logo-wrap {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 16px rgba(239, 173, 45, 0.3);
  border-color: var(--gold-400);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  max-width: 138px;
  max-height: 40px;
  object-fit: contain;
  display: block;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold-400);
  background: rgba(239, 173, 45, 0.12);
  border: 1px solid var(--border-gold);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
  margin-bottom: 16px;
}

.brand-tile strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffffff;
  display: block;
  line-height: 1.1;
}

.brand-tile small {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-300);
  margin-top: 6px;
  text-transform: uppercase;
}

.brand-tile p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  margin-top: 12px;
  line-height: 1.5;
}

.brand-tile-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Interactive Tabs Component --- */
.tabs-wrapper {
  margin: 32px 0;
}

.tabs-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-medium);
}

.tab-btn.active {
  color: #0c1524;
  background: var(--gold-gradient);
  border-color: var(--gold-400);
  box-shadow: 0 4px 14px rgba(239, 173, 45, 0.35);
}

.tab-content {
  display: none;
  animation: fadeInTab 0.35s ease-out forwards;
  padding-top: 24px;
}

.tab-content.active {
  display: block;
}

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

/* --- Interactive Spec Table Component --- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
  min-width: 620px;
}

.spec-table th, .spec-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-table th {
  background: #081320;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-300);
  position: sticky;
  top: 0;
}

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

.spec-table tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.spec-table td.strong-cell {
  font-weight: 700;
  color: #ffffff;
}

.spec-table td.tag-cell {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

/* --- Process Timeline / Stepper (Manufacturing Flow) --- */
.timeline-stepper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 36px 0;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.9;
}

.step-card h4 {
  margin-bottom: 8px;
  color: #ffffff;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* --- Certifications Interactive Grid (Auto-Fitted) --- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
  width: 100%;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 20px;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(239, 173, 45, 0.15);
}

.cert-preview-wrap {
  position: relative;
  background: #0d1b2d;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-preview-wrap img {
  width: 100%;
  height: auto;
  min-height: 220px;
  aspect-ratio: 16 / 11;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-slow);
}

.cert-card:hover .cert-preview-wrap img {
  transform: scale(1.02);
}

.cert-zoom-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(7, 17, 30, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-medium);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  color: var(--gold-300);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cert-card h3 {
  margin: 18px 0 6px;
}

.cert-card p {
  color: var(--ink-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cert-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  color: var(--ink-muted);
}

/* Lightbox Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 7, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: #0b1828;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.modal-close:hover {
  background: rgba(239, 173, 45, 0.25);
  color: var(--gold-300);
}

.modal-body {
  padding: 24px;
}

.modal-body img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  display: block;
}

.modal-details {
  margin-top: 18px;
}

/* --- Interactive Accordion / FAQ Component --- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.accordion-item.open {
  border-color: var(--border-gold);
}

.accordion-trigger {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  background: none;
  cursor: pointer;
}

.accordion-trigger:hover {
  color: var(--gold-300);
}

.accordion-chevron {
  width: 20px;
  height: 20px;
  color: var(--gold-400);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
  padding: 0 24px;
  color: var(--ink-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
}

.accordion-item.open .accordion-body {
  padding-bottom: 22px;
}

/* --- Contact & Enquiry Form Layout --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: flex-start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 36px);
}

.contact-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.contact-label small {
  color: var(--gold-400);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.copy-btn {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  color: #ffffff;
  border-color: var(--border-gold);
  background: rgba(239, 173, 45, 0.15);
}

.contact-item p {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.contact-item p a:hover {
  color: var(--gold-300);
}

/* Form Styles */
.form {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-md);
}

.form h3 {
  margin-bottom: 8px;
}

.form-subtitle {
  color: var(--ink-secondary);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

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

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

.form label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.form label span.req {
  color: var(--gold-400);
}

.form input, .form textarea, .form select {
  width: 100%;
  padding: 13px 16px;
  background: #060e19;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#otherCategoryWrap {
  animation: fadeInDown 0.25s ease-out;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(239, 173, 45, 0.18);
}

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

.form-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.note {
  color: var(--ink-muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

/* File Upload Box */
.file-upload-box {
  background: #060e19;
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.file-upload-box:hover, .file-upload-box:focus-within {
  border-color: var(--gold-400);
  background: rgba(239, 173, 45, 0.04);
}

.file-upload-box input[type="file"] {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  color: #cbd5e1;
  cursor: pointer;
  box-shadow: none;
}

.file-upload-box input[type="file"]::file-selector-button {
  background: rgba(239, 173, 45, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
  padding: 6px 14px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  margin-right: 12px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.file-upload-box input[type="file"]::file-selector-button:hover {
  background: var(--gold-500);
  color: #07111e;
}

.file-help-text {
  font-size: 0.76rem;
  color: var(--ink-dim);
  margin-top: 6px;
  line-height: 1.4;
}

/* Form Status Message */
.form-status {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  line-height: 1.5;
  display: none;
  animation: fadeInDown 0.3s ease-out;
}

.form-status.info {
  display: block;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #e2e8f0;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.rfq-success-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.rfq-check-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #10b981;
  color: #07111e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  flex-shrink: 0;
}

.rfq-ref-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  color: var(--gold-300);
  background: rgba(239, 173, 45, 0.1);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(239, 173, 45, 0.25);
  margin-top: 2px;
}

.rfq-success-msg {
  color: #cbd5e1;
  font-size: 0.88rem;
  margin: 0 0 14px 0;
  line-height: 1.55;
}

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

.rfq-meta {
  font-size: 0.78rem;
  color: var(--gold-300);
}

.btn-reset-form {
  background: transparent;
  border: 1px solid var(--border-medium);
  color: #e2e8f0;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.btn-reset-form:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-400);
  color: #ffffff;
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- High Impact Call to Action (CTA) Banner --- */
.cta {
  background: linear-gradient(135deg, #122137 0%, #1a3355 50%, #0d1a2c 100%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: clamp(48px, 6vw, 72px) 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(239, 173, 45, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.cta-copy {
  flex: 1 1 540px;
  max-width: min(960px, 100%);
}

.cta h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  color: #ffffff;
}

.cta p {
  color: var(--ink-secondary);
  font-size: 1.05rem;
  margin-top: 8px;
}

.cta .actions {
  margin-top: 0;
}

/* --- Footer --- */
footer {
  background: #03070d;
  border-top: 1px solid var(--border-subtle);
  padding: clamp(54px, 7vw, 76px) 0 24px;
  position: relative;
}

.footgrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 48px);
  margin-bottom: 48px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 18px;
}

.footer-col p {
  color: var(--ink-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-col a {
  display: block;
  color: var(--ink-secondary);
  font-size: 0.88rem;
  margin-bottom: 9px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-col a:hover {
  color: var(--gold-300);
  transform: translateX(3px);
}

.footer-cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--ink-muted);
  flex-wrap: wrap;
}

.bottom a:hover {
  color: var(--gold-300);
}

/* --- Floating Utilities: Scroll-to-Top & FAB --- */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-scroll-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(12, 26, 44, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-medium);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.btn-scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-scroll-top:hover {
  background: var(--gold-gradient);
  color: #0c1524;
  border-color: var(--gold-400);
  transform: translateY(-3px);
}

.quick-rfq-fab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--gold-gradient);
  color: #0c1524;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(239, 173, 45, 0.4);
  transition: all var(--transition-fast);
}

.quick-rfq-fab:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(239, 173, 45, 0.55);
}

/* --- Toast Notification System --- */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 110;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: max-content;
  max-width: 90vw;
}

.toast {
  background: rgba(9, 21, 36, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(239, 173, 45, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition-base);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  color: var(--gold-400);
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.reveal.show {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* Stagger delay classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Small warning note utility */
.smallnote {
  font-size: 0.78rem;
  color: var(--ink-dim);
  margin-top: 18px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--border-gold);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (All Devices Fitted)
   ========================================================================== */

/* --- Large Screens & Ultra-Wide Auto-Fitting Refinements --- */
@media (min-width: 1440px) {
  .menu {
    gap: 8px;
  }
  .menu a {
    padding: 8px 14px;
    font-size: 0.86rem;
  }
}

@media (min-width: 1920px) {
  .menu {
    gap: 10px;
  }
  .menu a {
    padding: 9px 16px;
    font-size: 0.9rem;
  }
}

/* Laptop / Desktop (max-width: 1200px) */
@media (max-width: 1200px) {
  .footgrid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footgrid .footer-col:last-child {
    grid-column: span 3;
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
  }
}

/* Tablet Landscape / Small Laptop (max-width: 1024px) */
@media (max-width: 1024px) {
  .menu, .nav-button {
    display: none;
  }
  .hamb {
    display: flex;
  }
  .mobile-backdrop {
    display: block;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Tablet Portrait & Mobile Landscape (max-width: 768px) */
@media (max-width: 768px) {
  .topline .container {
    justify-content: center;
    text-align: center;
  }
  .topline-badge {
    display: none;
  }
  .nav {
    height: 70px;
  }
  .header.scrolled .nav {
    height: 64px;
  }
  .brand-emblem {
    width: 38px;
    height: 38px;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .brand-tagline {
    font-size: 0.52rem;
  }
  .hero {
    min-height: auto;
    padding: 56px 0 64px;
  }
  .hero-metrics {
    gap: 18px;
    padding: 16px;
  }
  .grid, .grid-2, .grid-3, .visual-grid, .cert-grid {
    grid-template-columns: 1fr;
  }
  .formrow {
    grid-template-columns: 1fr;
  }
  .cta .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta .actions {
    margin-top: 18px;
    width: 100%;
  }
  .cta .button {
    width: 100%;
  }
  .footgrid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footgrid .footer-col:last-child {
    grid-column: span 1;
  }
  .bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .floating-actions {
    bottom: 16px;
    right: 16px;
  }
  .quick-rfq-fab span.fab-text {
    display: none;
  }
  .quick-rfq-fab {
    padding: 12px;
    border-radius: 50%;
  }
}

/* Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
  .topline {
    font-size: 0.72rem;
  }
  .topline-info {
    gap: 10px;
    justify-content: center;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .brand-tagline {
    display: none;
  }
  .hero-metrics {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .actions .button {
    width: 100%;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stat strong {
    font-size: 2.8rem;
  }
  .timeline-stepper {
    grid-template-columns: 1fr;
  }
}
