/* ============================================
   MUNITECH PRECAST LLP - Main Stylesheet
   ============================================ */

/* ----------------------------------------
   CSS CUSTOM PROPERTIES
   ---------------------------------------- */
:root {
  /* Primary Colors */
  --charcoal: #333333;
  --industrial-blue: #3E3E3E;
  --amber: #D4930D;
  --white: #FAFAF8;

  /* Secondary Colors */
  --concrete-gray: #EDEBE7;
  --steel-gray: #777777;
  --whatsapp-green: #25D366;
  --error-red: #DC3545;

  /* Amber Variations */
  --amber-dark: #B87E0B;
  --amber-light: rgba(212, 147, 13, 0.1);

  /* Overlay */
  --overlay-dark: rgba(40, 40, 40, 0.75);
  --overlay-medium: rgba(40, 40, 40, 0.5);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.16);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --gutter: 24px;
  --nav-height: 100px;
  --utility-bar-height: 40px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* ============================================
     INDUSTRIAL DESIGN TOKENS
     ============================================ */

  /* Extended Colors */
  --steel-dark: #282828;
  --steel-mid: #333333;
  --concrete-dark: #4A4A4A;
  --concrete-mid: #666666;
  --spark-amber: #E8A817;
  --spark-amber-dim: rgba(232, 168, 23, 0.3);
  --amber-glow: 0 0 30px rgba(212, 147, 13, 0.2);
  --border-steel: rgba(0, 0, 0, 0.08);
  --border-steel-light: rgba(0, 0, 0, 0.06);

  /* Blueprint Grid */
  --blueprint-grid-color: rgba(0, 0, 0, 0.03);
  --blueprint-grid-size: 60px;
  --blueprint-line-color: rgba(0, 0, 0, 0.06);
  --blueprint-line-width: 1px;

  /* 3D Depth */
  --perspective: 1200px;
  --perspective-origin: center center;
  --depth-sm: 5px;
  --depth-md: 15px;
  --depth-lg: 30px;
  --depth-xl: 60px;
  --tilt-max: 8deg;

  /* Industrial Borders */
  --border-plate: 3px solid var(--concrete-dark);
  --border-plate-amber: 3px solid var(--amber);
  --border-rivet: 1px solid rgba(0, 0, 0, 0.1);

  /* Textures */
  --noise-opacity: 0.03;

  /* Rivet */
  --rivet-size: 8px;
}

/* ----------------------------------------
   RESET & BASE
   ---------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--white);
  background-image: linear-gradient(rgba(250,250,248,0.85), rgba(250,250,248,0.85)), url("../images/shared/concrete-bg.png");
  background-size: 300px;
  background-repeat: repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 600;
}

/* ----------------------------------------
   UTILITIES
   ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--dark {
  background-color: var(--steel-dark);
  color: var(--white);
}

.section--gray {
  background-color: var(--concrete-gray);
  background-image: linear-gradient(rgba(237,235,231,0.7), rgba(237,235,231,0.7)), url("../images/shared/concrete-bg.png");
  background-size: 300px;
  background-repeat: repeat;
  background-attachment: fixed;
}

.section--py-sm {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.text-center {
  text-align: center;
}

.text-amber {
  color: var(--amber);
}

.text-white {
  color: var(--white);
}

.text-gray {
  color: var(--steel-gray);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ----------------------------------------
   TYPOGRAPHY
   ---------------------------------------- */
.h1, h1 {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  line-height: 1.1;
}

.h2, h2 {
  font-size: var(--font-size-4xl);
  font-weight: 600;
}

.h3, h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
}

.h4, h4 {
  font-size: var(--font-size-xl);
  font-weight: 500;
}

.h5, h5 {
  font-size: var(--font-size-lg);
  font-weight: 500;
}

.section-label {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--amber);
  margin-bottom: var(--space-md);
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--steel-gray);
  max-width: 600px;
  line-height: 1.7;
}

.section--dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------
   GRID SYSTEM
   ---------------------------------------- */
.grid {
  display: grid;
  gap: var(--gutter);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--auto {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ----------------------------------------
   HEADER & NAVIGATION
   ---------------------------------------- */
.utility-bar {
  background-color: var(--charcoal);
  color: var(--white);
  font-size: var(--font-size-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-bar__left,
.utility-bar__right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.utility-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.utility-bar__item svg {
  width: 14px;
  height: 14px;
  fill: var(--amber);
  flex-shrink: 0;
}

.utility-bar__item a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
}

.utility-bar__item a:hover {
  color: var(--amber);
}

/* Main Navigation */
.main-nav {
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.main-nav.scrolled {
  background-color: var(--charcoal);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border-bottom: 2px solid var(--amber);
}

.main-nav.scrolled .container {
  height: calc(var(--nav-height) - 20px);
}

.main-nav.scrolled .nav-logo {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.main-nav.scrolled .nav-logo img,
.main-nav.scrolled .nav-logo svg {
  height: 64px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.85));
}

.main-nav.scrolled .nav-link,
.main-nav.scrolled .nav-cta .btn {
  color: var(--white);
}

.main-nav.scrolled .nav-toggle span {
  background-color: var(--white);
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
  transition: height var(--transition-base);
}

.nav-logo {
  display: flex;
  align-items: center;
  padding: 4px 28px 4px 0;
  margin-right: 12px;
  border-right: 1px solid var(--border-steel);
  position: relative;
}

.nav-logo::after {
  content: "";
  position: absolute;
  left: -12px;
  right: 16px;
  bottom: -6px;
  height: 2px;
  background: var(--amber);
  opacity: 0.75;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-logo:hover::after {
  transform: scaleX(1);
}

.nav-logo img,
.nav-logo svg {
  transition: height var(--transition-base), filter var(--transition-base);
}

.nav-logo img {
  height: 80px;
  width: auto;
}

.nav-logo svg {
  height: 58px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--charcoal);
  transition: color var(--transition-fast);
  position: relative;
  padding: var(--space-md) var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--amber);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--amber);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.nav-item--dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 1001;
}

.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__link {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-sm);
  color: var(--charcoal);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown__link:hover {
  background-color: var(--amber-light);
  color: var(--amber);
}

.nav-dropdown__divider {
  height: 1px;
  background: var(--concrete-gray);
  margin: var(--space-sm) 0;
}

.nav-dropdown__all {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--amber);
}

/* CTA Button in Nav */
.nav-cta .btn {
  padding: 10px 24px;
  font-size: var(--font-size-sm);
}

/* Hamburger Menu (Mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  z-index: 1002;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 1001;
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-xl) var(--space-xl);
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu__link {
  display: block;
  padding: var(--space-md) 0;
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid var(--concrete-gray);
}

.mobile-menu__link:hover {
  color: var(--amber);
}

.mobile-menu__sublinks {
  padding-left: var(--space-lg);
}

.mobile-menu__sublinks a {
  display: block;
  padding: var(--space-sm) 0;
  font-size: var(--font-size-base);
  color: var(--steel-gray);
}

.mobile-menu__sublinks a:hover {
  color: var(--amber);
}

/* ----------------------------------------
   BUTTONS
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background-color: var(--amber);
  color: var(--charcoal);
}

.btn--primary:hover {
  background-color: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 185, 49, 0.35);
}

.btn--secondary {
  background: transparent;
  border: 2px solid var(--amber);
  color: var(--amber);
  padding: 12px 30px;
}

.btn--secondary:hover {
  background-color: var(--amber);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 185, 49, 0.2);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn--full {
  width: 100%;
}

.btn--lg {
  padding: 18px 40px;
  font-size: var(--font-size-base);
}

.btn--sm {
  padding: 10px 20px;
  font-size: var(--font-size-xs);
}

/* ----------------------------------------
   HERO SECTION
   ---------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__bg img,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-dark);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-xl);
}

.hero__content h1 {
  font-size: var(--font-size-6xl);
  margin-bottom: var(--space-lg);
}

.hero__content p {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-2xl);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.hero__scroll svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
  opacity: 0.7;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Page Hero (Sub-pages) */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 50vh;
  overflow: hidden;
  color: var(--white);
  padding: var(--space-5xl) 0 var(--space-3xl);
}

.page-hero .hero__overlay {
  background: linear-gradient(135deg, rgba(40, 40, 40, 0.85), rgba(50, 50, 50, 0.75));
}

.page-hero__content {
  position: relative;
  z-index: 3;
}

.page-hero__content h1 {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--space-md);
}

.page-hero__content p {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  font-size: var(--font-size-sm);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--amber);
}

.breadcrumb__separator {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb__current {
  color: var(--white);
}

/* ----------------------------------------
   STATS COUNTER
   ---------------------------------------- */
.stats {
  background: var(--industrial-blue);
  padding: var(--space-3xl) 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat__number {
  font-size: var(--font-size-6xl);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat__suffix {
  font-size: var(--font-size-3xl);
}

.stat__label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat__divider {
  width: 40px;
  height: 3px;
  background: var(--amber);
  margin: var(--space-md) auto 0;
  border-radius: var(--radius-full);
}

/* ----------------------------------------
   CARDS
   ---------------------------------------- */

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.product-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image img {
  transform: scale(1.08);
}

.product-card__body {
  padding: var(--space-lg) var(--space-xl);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-xs);
  color: var(--steel-dark);
}

.product-card__spec {
  font-size: var(--font-size-sm);
  color: var(--steel-gray);
  margin-bottom: var(--space-md);
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: var(--font-size-xs);
  font-weight: 500;
  background: var(--concrete-gray);
  border-radius: var(--radius-sm);
  color: var(--steel-gray);
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber);
  margin-top: auto;
}

.product-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.product-card__link:hover svg,
.product-card:hover .product-card__link svg {
  transform: translateX(6px);
}

/* Feature Card */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border-steel-light);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-light);
  border-radius: var(--radius-md);
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
  fill: var(--amber);
}

.feature-card__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.feature-card__text {
  font-size: var(--font-size-sm);
  color: var(--steel-gray);
  line-height: 1.6;
}

/* Project Card */
.project-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-card__image img {
  transform: scale(1.05);
}

.project-card__body {
  padding: var(--space-xl);
}

.project-card__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.project-card__location {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  color: var(--steel-gray);
  margin-bottom: var(--space-md);
}

.project-card__location svg {
  width: 14px;
  height: 14px;
  fill: var(--amber);
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--amber);
}

/* Certification Card */
.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-2xl);
  background: var(--white);
  border: 1px solid var(--border-steel-light);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.cert-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cert-card__icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-card__icon img {
  max-width: 100%;
  max-height: 100%;
}

.cert-card__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.cert-card__text {
  font-size: var(--font-size-sm);
  color: var(--steel-gray);
}

/* ----------------------------------------
   SPECIFICATION TABLE
   ---------------------------------------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec-table thead {
  background: var(--charcoal);
  color: var(--white);
}

.spec-table th {
  padding: var(--space-md) var(--space-lg);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-table td {
  padding: var(--space-md) var(--space-lg);
  font-size: var(--font-size-sm);
  border-bottom: 1px solid var(--border-steel-light);
}

.spec-table tbody tr:nth-child(even) {
  background-color: var(--concrete-gray);
}

.spec-table tbody tr:hover {
  background-color: var(--amber-light);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ----------------------------------------
   TWO-COLUMN LAYOUT
   ---------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.two-col--wide {
  grid-template-columns: 52% 48%;
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

.two-col__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.two-col__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-col__content {
  padding: var(--space-xl) 0;
}

/* ----------------------------------------
   TIMELINE
   ---------------------------------------- */
.timeline {
  position: relative;
  padding: var(--space-xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--amber);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: var(--space-xl);
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: var(--space-3xl);
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: var(--space-3xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: var(--space-xl);
  width: 16px;
  height: 16px;
  background: var(--amber);
  border-radius: var(--radius-full);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(odd)::before {
  right: -8px;
}

.timeline-item:nth-child(even)::before {
  left: -8px;
}

.timeline-item__year {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--amber);
  margin-bottom: var(--space-sm);
}

.timeline-item__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.timeline-item__text {
  font-size: var(--font-size-sm);
  color: var(--steel-gray);
}

/* ----------------------------------------
   MANUFACTURING STEPS
   ---------------------------------------- */
.process-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--border-steel-light);
}

.process-step:last-child {
  border-bottom: none;
}

.process-step--reverse {
  direction: rtl;
}

.process-step--reverse > * {
  direction: ltr;
}

.process-step__number {
  font-size: var(--font-size-6xl);
  font-weight: 700;
  color: var(--amber);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.process-step__title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.process-step__text {
  font-size: var(--font-size-base);
  color: var(--steel-gray);
  line-height: 1.7;
}

.process-step__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process-step__image img,
.process-step__image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ----------------------------------------
   CTA BANNER
   ---------------------------------------- */
.cta-banner {
  position: relative;
  padding: var(--space-5xl) var(--space-xl);
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background: var(--steel-dark);
}

.cta-banner__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-dark);
}

.cta-banner__content {
  position: relative;
  z-index: 2;
}

.cta-banner__content h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-lg);
}

.cta-banner__content p {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.cta-banner__phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--white);
}

.cta-banner__phone svg {
  width: 20px;
  height: 20px;
  fill: var(--amber);
}

/* ----------------------------------------
   GALLERY
   ---------------------------------------- */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.gallery-tab {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--steel-gray);
  background: var(--concrete-gray);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.gallery-tab:hover,
.gallery-tab.active {
  background: var(--amber);
  color: var(--charcoal);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__overlay svg {
  width: 40px;
  height: 40px;
  fill: var(--white);
}

/* Video Thumbnail */
.video-thumb {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: var(--amber);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
}

.video-thumb:hover .video-thumb__play {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-thumb__play svg {
  width: 24px;
  height: 24px;
  fill: var(--charcoal);
  margin-left: 3px;
}

/* Video Thumbnail Label */
.video-thumb__label {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  color: var(--white);
  font-weight: 600;
  font-size: var(--font-size-base);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
}

.lightbox.active {
  display: flex;
}

.lightbox__close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-2xl);
  z-index: 10001;
}

.lightbox__content {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox__content video {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-2xl);
}

.lightbox__prev { left: var(--space-xl); }
.lightbox__next { right: var(--space-xl); }

/* ----------------------------------------
   CONTACT FORM
   ---------------------------------------- */
.contact-form {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--charcoal);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px var(--space-md);
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 185, 49, 0.15);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: var(--error-red);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group .error-message {
  font-size: var(--font-size-xs);
  color: var(--error-red);
  margin-top: var(--space-xs);
  display: none;
}

.form-group input.error + .error-message,
.form-group textarea.error + .error-message,
.form-group select.error + .error-message {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-2xl);
}

.form-success.active {
  display: block;
}

.form-success svg {
  width: 64px;
  height: 64px;
  fill: var(--whatsapp-green);
  margin: 0 auto var(--space-lg);
}

.form-success h3 {
  margin-bottom: var(--space-sm);
}

.form-success p {
  color: var(--steel-gray);
}

/* Contact Cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  margin-bottom: var(--space-3xl);
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  padding: var(--space-2xl) var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-light);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.contact-card__icon svg {
  width: 26px;
  height: 26px;
  fill: var(--amber);
}

.contact-card__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-card__text {
  font-size: var(--font-size-sm);
  color: var(--steel-gray);
  line-height: 1.8;
}

.contact-card__text a {
  color: var(--charcoal);
  font-weight: 500;
  display: block;
  line-height: 2;
  transition: color var(--transition-fast);
}

.contact-card__text a:hover {
  color: var(--amber);
}

/* Map */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----------------------------------------
   FOOTER
   ---------------------------------------- */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: var(--space-4xl) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  margin-bottom: var(--space-lg);
}

.footer__logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.85));
}

.footer__desc {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.footer__social a:hover {
  background: var(--amber);
}

.footer__social a svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer__heading {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--amber);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--amber);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer__contact-item a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  line-height: 1.8;
}

.footer__contact-item a:hover {
  color: var(--amber);
}

.footer__bottom {
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a {
  color: var(--amber);
}

/* ----------------------------------------
   WHATSAPP BUTTON
   ---------------------------------------- */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--whatsapp-green);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  animation: whatsappBounce 0.6s ease 1s;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

@keyframes whatsappBounce {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ----------------------------------------
   CLIENT LOGOS
   ---------------------------------------- */
.clients-section {
  padding: var(--space-3xl) 0;
  background: var(--concrete-gray);
}

.clients-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3xl);
  opacity: 0.6;
}

.clients-logos img {
  height: 50px;
  width: auto;
  filter: grayscale(100%);
  transition: filter var(--transition-base), opacity var(--transition-base);
}

.clients-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ----------------------------------------
   SCROLL ANIMATIONS
   ---------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }

/* ----------------------------------------
   PARALLAX
   ---------------------------------------- */
.parallax {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

[data-parallax] {
  position: relative;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  will-change: transform;
}

.parallax-layer > img,
.parallax-layer > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------
   INQUIRY CTA (End of product pages)
   ---------------------------------------- */
.inquiry-cta {
  background: var(--industrial-blue);
  color: var(--white);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
}

.inquiry-cta h3 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-md);
}

.inquiry-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-xl);
  font-size: var(--font-size-lg);
}

.inquiry-cta__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.inquiry-cta__phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--white);
  font-size: var(--font-size-lg);
}

.inquiry-cta__phone svg {
  width: 20px;
  height: 20px;
  fill: var(--amber);
}

/* ----------------------------------------
   404 PAGE
   ---------------------------------------- */
.page-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: var(--space-3xl);
}

.page-404__number {
  font-size: 120px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  opacity: 0.3;
}

.page-404 h2 {
  margin: var(--space-lg) 0 var(--space-md);
}

.page-404 p {
  color: var(--steel-gray);
  margin-bottom: var(--space-xl);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------
   RESPONSIVE
   ---------------------------------------- */

/* Tablet Landscape */
@media (max-width: 1199px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step {
    gap: var(--space-xl);
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 70px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  .timeline-item::before {
    left: 22px !important;
    right: auto !important;
  }
}

/* Tablet Portrait */
@media (max-width: 991px) {
  :root {
    --font-size-5xl: 2.5rem;
    --font-size-6xl: 3rem;
    --font-size-4xl: 2rem;
  }

  .utility-bar {
    display: none;
  }

  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-logo img,
  .nav-logo svg {
    height: 60px;
  }
  
  .nav-logo {
    padding-right: 16px;
    margin-right: 0;
    border-right: none;
  }
  
  .nav-logo::after {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hero__content h1 {
    font-size: var(--font-size-4xl);
  }

  .hero__content p {
    font-size: var(--font-size-base);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .two-col--reverse {
    direction: ltr;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .process-step--reverse {
    direction: ltr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --font-size-5xl: 2rem;
    --font-size-6xl: 2.5rem;
    --font-size-4xl: 1.75rem;
    --font-size-3xl: 1.5rem;
    --space-4xl: 4rem;
    --space-5xl: 5rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .stat__number {
    font-size: var(--font-size-4xl);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn--lg {
    padding: 14px 28px;
    font-size: var(--font-size-sm);
  }

  .cta-banner__actions {
    flex-direction: column;
    gap: var(--space-md);
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .inquiry-cta__actions {
    flex-direction: column;
  }

  .page-404__number {
    font-size: 80px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: var(--space-lg);
  }
}

/* ============================================
   INDUSTRIAL DESIGN SYSTEM - Phase 1
   ============================================ */

/* ----------------------------------------
   1B: BLUEPRINT GRID BACKGROUND
   ---------------------------------------- */
.blueprint-bg {
  position: relative;
}

.blueprint-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--blueprint-line-color) var(--blueprint-line-width), transparent var(--blueprint-line-width)),
    linear-gradient(90deg, var(--blueprint-line-color) var(--blueprint-line-width), transparent var(--blueprint-line-width)),
    linear-gradient(var(--blueprint-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-grid-color) 1px, transparent 1px);
  background-size:
    var(--blueprint-grid-size) var(--blueprint-grid-size),
    var(--blueprint-grid-size) var(--blueprint-grid-size),
    calc(var(--blueprint-grid-size) / 5) calc(var(--blueprint-grid-size) / 5),
    calc(var(--blueprint-grid-size) / 5) calc(var(--blueprint-grid-size) / 5);
  pointer-events: none;
  z-index: 1;
}

/* ----------------------------------------
   1C: NOISE TEXTURE OVERLAY
   ---------------------------------------- */
.noise-overlay {
  position: relative;
}

.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 1;
}

/* ----------------------------------------
   1D: INDUSTRIAL MICRO-COMPONENTS
   ---------------------------------------- */

/* --- Rivet Dots --- */
.rivets {
  position: relative;
}

.rivets::before,
.rivets::after {
  content: '';
  position: absolute;
  width: var(--rivet-size);
  height: var(--rivet-size);
  border-radius: 50%;
  background: var(--amber);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
  z-index: 5;
}

.rivets::before {
  top: 20px;
  left: 20px;
}

.rivets::after {
  top: 20px;
  right: 20px;
}

.rivet-bottom {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.rivet-bottom::before,
.rivet-bottom::after {
  content: '';
  position: absolute;
  width: var(--rivet-size);
  height: var(--rivet-size);
  border-radius: 50%;
  background: var(--amber);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.rivet-bottom::before {
  bottom: 20px;
  left: 20px;
}

.rivet-bottom::after {
  bottom: 20px;
  right: 20px;
}

/* --- Steel Plate Card --- */
.steel-card {
  background: var(--white);
  color: var(--steel-dark);
  border: 3px solid var(--steel-dark);
  border-radius: var(--radius-sm);
  padding: var(--space-xl);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

/* Machined edge highlight */
.steel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.2) 80%,
    transparent
  );
  z-index: 2;
}

.steel-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 40px rgba(0, 0, 0, 0.2);
}

/* Dark variant */
.steel-card--dark {
  background: var(--steel-dark);
  border-color: var(--concrete-mid);
  color: var(--white);
}

/* --- Caution Stripe Divider --- */
.caution-divider {
  height: 12px;
  background: repeating-linear-gradient(
    -45deg,
    var(--amber),
    var(--amber) 10px,
    var(--steel-dark) 10px,
    var(--steel-dark) 20px
  );
  opacity: 0.6;
}

/* --- Measurement Annotation Line --- */
.measure-line {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-size: var(--font-size-xs);
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
  z-index: 5;
  opacity: 0.6;
}

.measure-line::before,
.measure-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--amber);
  opacity: 0.5;
  min-width: 20px;
}

.measure-line--vertical {
  writing-mode: vertical-rl;
  flex-direction: column;
}

/* --- Industrial Gauge Indicator --- */
.gauge {
  width: 120px;
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gauge__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--border-steel);
}

.gauge__fill {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--amber);
  clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
  transition: clip-path 1.5s ease-out;
}

.gauge__value {
  position: relative;
  z-index: 2;
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--amber);
}

/* --- Corner Brackets --- */
.hero__bracket {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 5;
  pointer-events: none;
}

.hero__bracket--tl {
  top: 40px;
  left: 40px;
  border-top: 2px solid var(--amber);
  border-left: 2px solid var(--amber);
}

.hero__bracket--tr {
  top: 40px;
  right: 40px;
  border-top: 2px solid var(--amber);
  border-right: 2px solid var(--amber);
}

.hero__bracket--bl {
  bottom: 80px;
  left: 40px;
  border-bottom: 2px solid var(--amber);
  border-left: 2px solid var(--amber);
}

.hero__bracket--br {
  bottom: 80px;
  right: 40px;
  border-bottom: 2px solid var(--amber);
  border-right: 2px solid var(--amber);
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--amber);
  z-index: 10001;
  box-shadow: 0 0 10px rgba(232, 185, 49, 0.5);
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ----------------------------------------
   1E: SECTION STYLING MODES
   ---------------------------------------- */

/* Dark Industrial Section */
.section--industrial {
  background: var(--concrete-gray);
  color: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.section--industrial .section-subtitle {
  color: var(--steel-gray);
}

.section--industrial .section-label {
  color: var(--amber);
}

/* Blueprint Section */
.section--blueprint {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* --- QA Flow Stepper --- */
.qa-flow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-md);
  max-width: 1100px;
  margin: 0 auto;
}

.qa-flow__node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.qa-flow__node::before {
  content: '';
  position: absolute;
  top: 22px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: rgba(40, 40, 40, 0.14);
}

.qa-flow__node:first-child::before {
  display: none;
}

.qa-flow__dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--amber);
  color: var(--steel-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.qa-flow__node:hover .qa-flow__dot {
  transform: translateY(-3px);
  box-shadow: var(--amber-glow);
}

.qa-flow__node--final .qa-flow__dot {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 0 6px rgba(232, 168, 23, 0.18);
}

.qa-flow__node--final .qa-flow__dot svg {
  width: 22px;
  height: 22px;
  fill: var(--steel-dark);
}

.qa-flow__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel-dark);
  text-align: center;
  line-height: 1.35;
  max-width: 120px;
}

@media (max-width: 992px) {
  .qa-flow {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
  .qa-flow__node::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .qa-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ----------------------------------------
   1F: ENHANCED BUTTON STYLES
   ---------------------------------------- */

/* Industrial Button */
.btn--industrial {
  background: var(--amber);
  color: var(--steel-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(232, 185, 49, 0.3);
}

.btn--industrial:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(232, 185, 49, 0.4);
}

.btn--industrial:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(232, 185, 49, 0.3);
}

/* Glowing Border Button */
.btn--glow {
  background: transparent;
  border: 2px solid var(--amber);
  color: var(--amber);
  box-shadow: 0 0 15px rgba(232, 185, 49, 0.15);
}

.btn--glow:hover {
  background: var(--amber);
  color: var(--steel-dark);
  box-shadow: 0 0 30px rgba(232, 185, 49, 0.35);
}

/* 3D Switch Button (Contact Form) */
.btn--switch {
  background: linear-gradient(to bottom, #4a4a5c, #2a2a3c);
  border: 2px solid var(--amber);
  color: var(--amber);
  padding: 16px 48px;
  font-size: var(--font-size-base);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  box-shadow:
    0 6px 0 #1a1a2c,
    0 8px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.15s ease;
  position: relative;
}

.btn--switch:hover {
  box-shadow:
    0 8px 0 #1a1a2c,
    0 0 30px rgba(232, 185, 49, 0.3);
}

.btn--switch:active {
  transform: translateY(4px);
  box-shadow:
    0 2px 0 #1a1a2c,
    0 4px 10px rgba(0, 0, 0, 0.4);
}

/* ----------------------------------------
   1G: ENHANCED CARD HOVER STATES
   ---------------------------------------- */

.product-card,
.feature-card,
.project-card,
.cert-card {
  transform-style: preserve-3d;
}

.product-card:hover,
.feature-card:hover,
.project-card:hover {
  box-shadow: var(--shadow-lg);
}

.product-card__image img,
.project-card__image img {
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image img,
.project-card:hover .project-card__image img {
  transform: scale(1.08);
}

/* Blueprint overlay on card hover */
.product-card__image::after,
.project-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 185, 49, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 185, 49, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  z-index: 1;
}

.product-card:hover .product-card__image::after,
.project-card:hover .project-card__image::after {
  opacity: 1;
}

.product-card__image,
.project-card__image {
  position: relative;
  overflow: hidden;
}

/* ----------------------------------------
   SCROLL REVEAL ANIMATIONS
   ---------------------------------------- */

[data-reveal] {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-reveal="up"] {
  transform: translateY(40px);
}

[data-reveal="left"] {
  transform: translateX(-60px);
}

[data-reveal="right"] {
  transform: translateX(60px);
}

[data-reveal="scale"] {
  transform: scale(0.9);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-children > *.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------
   PRELOADER
   ---------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--steel-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.preloader.done {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.preloader__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 185, 49, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 185, 49, 0.12) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0;
  animation: preloaderGridIn 0.8s ease forwards 0.2s;
}

@keyframes preloaderGridIn {
  to { opacity: 1; }
}

.preloader__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.preloader__logo {
  position: relative;
  display: inline-block;
  height: 60px;
  width: auto;
  opacity: 0;
  animation: preloaderLogoIn 0.6s ease forwards 0.4s;
}

@keyframes preloaderLogoIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.preloader__logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: preloaderShimmer 1.5s ease forwards 0.8s;
}

@keyframes preloaderShimmer {
  to { left: 100%; }
}

.preloader__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
  letter-spacing: 4px;
  margin-top: var(--space-lg);
  font-weight: 600;
  opacity: 0;
  animation: preloaderFadeIn 0.4s ease forwards 0.6s;
}

@keyframes preloaderFadeIn {
  to { opacity: 1; }
}

.preloader__gauge {
  width: 80px;
  height: 80px;
  margin: var(--space-xl) auto;
  position: relative;
  opacity: 0;
  animation: preloaderFadeIn 0.4s ease forwards 0.8s;
}

.preloader__gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 3;
}

.preloader__gauge-fill {
  fill: none;
  stroke: var(--amber);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transform: rotate(-90deg);
  transform-origin: center;
  animation: preloaderGaugeFill 2s ease forwards 1s;
}

@keyframes preloaderGaugeFill {
  to { stroke-dashoffset: 0; }
}

.preloader__gauge-percent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--amber);
}

.preloader__status {
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--font-size-xs);
  letter-spacing: 2px;
  opacity: 0;
  animation: preloaderFadeIn 0.4s ease forwards 1s, preloaderPulse 1.5s ease infinite 1.4s;
}

@keyframes preloaderPulse {
  50% { opacity: 0.4; }
}

/* ----------------------------------------
   CUSTOM INDUSTRIAL CURSOR
   ---------------------------------------- */
.cursor-outer,
.cursor-inner {
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  border-radius: 50%;
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease,
              border-color 0.3s ease, background-color 0.3s ease,
              opacity 0.3s ease;
  will-change: transform;
}

.cursor-outer {
  width: 32px;
  height: 32px;
  border: 2px solid var(--amber);
  transform: translate(-50%, -50%);
}

.cursor-inner {
  width: 6px;
  height: 6px;
  background: var(--amber);
  transform: translate(-50%, -50%);
}

.cursor-hover-link .cursor-outer {
  width: 50px;
  height: 50px;
  border-color: rgba(232, 185, 49, 0.5);
  background: rgba(232, 185, 49, 0.05);
}

.cursor-hover-link .cursor-inner {
  width: 4px;
  height: 4px;
  background: rgba(232, 185, 49, 0.8);
}

.cursor-hover-card .cursor-outer {
  width: 50px;
  height: 50px;
  border-style: dashed;
  border-width: 1px;
  background: rgba(232, 185, 49, 0.03);
}

.cursor-active .cursor-inner {
  transform: translate(-50%, -50%) scale(2);
}

a, button, .product-card, .gallery-item, .video-thumb,
input, textarea, select, [role="button"] {
  cursor: none;
}

@media (hover: none), (pointer: coarse) {
  .cursor-outer,
  .cursor-inner {
    display: none !important;
  }

  a, button, input, textarea, select, [role="button"] {
    cursor: auto;
  }
}

/* ----------------------------------------
   PROCESS PIPE CONNECTOR
   ---------------------------------------- */
.process-connector {
  position: relative;
  padding-left: 60px;
}

.process-connector::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--amber), rgba(232, 185, 49, 0.3));
}

.process-connector__joint {
  position: absolute;
  left: 18px;
  top: 30px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--steel-dark);
  border: 3px solid var(--amber);
  z-index: 2;
}

.process-connector__joint::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--amber);
}

/* ----------------------------------------
   SPEC TABLE - INDUSTRIAL STYLE
   ---------------------------------------- */
.spec-table {
  border-collapse: collapse;
  width: 100%;
  border: 2px solid var(--steel-dark);
}

.spec-table th {
  background: var(--steel-dark);
  color: var(--amber);
  padding: 12px 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: var(--font-size-sm);
  text-align: left;
  border-bottom: 3px solid var(--amber);
}

.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-steel-light);
  position: relative;
}

.spec-table tr:hover td {
  background: rgba(232, 185, 49, 0.05);
}

.spec-table td:first-child {
  padding-left: 28px;
}

.spec-table td:first-child::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--amber);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* ----------------------------------------
   CONTACT FORM - CONTROL PANEL
   ---------------------------------------- */
.contact-form--industrial {
  background: var(--concrete-dark);
  border: 2px solid var(--concrete-mid);
  border-radius: var(--radius-md);
  padding: var(--space-3xl) var(--space-3xl) var(--space-2xl);
  position: relative;
}

.contact-form--industrial::before {
  content: 'INQUIRY CONSOLE';
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--concrete-dark);
  padding: 0 12px;
  font-size: var(--font-size-xs);
  letter-spacing: 3px;
  color: var(--amber);
  font-weight: 600;
}

.contact-form--industrial label {
  font-size: var(--font-size-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
  display: block;
  font-weight: 600;
}

.contact-form--industrial input,
.contact-form--industrial textarea,
.contact-form--industrial select {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  border-radius: var(--radius-sm);
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
  font-size: var(--font-size-sm);
}

.contact-form--industrial input::placeholder,
.contact-form--industrial textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form--industrial input:focus,
.contact-form--industrial textarea:focus,
.contact-form--industrial select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(212, 147, 13, 0.15);
  outline: none;
}

.contact-form--industrial .contact-form__group {
  margin-bottom: var(--space-lg);
}

.contact-form--industrial .contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.contact-form--industrial .btn {
  margin-top: var(--space-md);
}

/* ----------------------------------------
   ACCESSIBILITY
   ---------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--steel-dark);
  padding: 8px 16px;
  z-index: 100000;
  font-weight: 600;
  transition: top 0.3s;
  text-decoration: none;
}

.skip-link:focus {
  top: 10px;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* ----------------------------------------
   IMAGE FALLBACKS - Placeholder backgrounds
   ============================================ */

/* Broken/missing image fallback */
img {
  background: var(--concrete-gray);
}

/* Hero backgrounds */
.hero__bg img,
.page-hero img {
  background: var(--charcoal);
}

/* Product card images */
.product-card img,
.project-card img,
.gallery-item img,
.feature-card img,
.cert-card img {
  background: var(--concrete-gray);
}

/* Process step images */
.process-step__image img {
  background: var(--concrete-gray);
}

/* Infrastructure images */
.infrastructure-row img {
  background: var(--concrete-gray);
}

/* About features grid */
.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-lg);
}

/* Two-column layout images */
.two-col__image img {
  background: var(--concrete-gray);
}

/* Logo fallback */
.nav-logo img,
.footer__logo img {
  background: transparent;
}

/* ============================================
   MOBILE OVERRIDES - Industrial Elements
   ============================================ */
@media (max-width: 767px) {
    
    html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .parallax-layer {
    transform: none !important;
  }

  .cursor-outer,
  .cursor-inner {
    display: none !important;
  }

  .hero__bracket {
    display: none;
  }

  .measure-line {
    display: none;
  }

  .caution-divider {
    height: 6px;
  }

  [data-reveal="left"],
  [data-reveal="right"] {
    transform: translateY(20px);
  }

  .preloader__gauge {
    display: none;
  }

  .preloader__status {
    display: none;
  }

  .scroll-progress {
    height: 2px;
  }

  .gauge {
    width: 90px;
    height: 90px;
  }

  .gauge__value {
    font-size: var(--font-size-xl);
  }

  .spec-table {
    font-size: var(--font-size-sm);
  }

  .spec-table th,
  .spec-table td {
    padding: 8px 10px;
  }

  .contact-form--industrial {
    padding: var(--space-xl);
  }

  .steel-card {
    border-width: 2px;
  }

  a, button, .product-card, .gallery-item, .video-thumb {
    cursor: auto;
  }
  
    .about-features-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }
  .about-features-grid > div > div:last-child {
    font-size: 11px !important;
  }


    .spec-table {
    min-width: 600px;
  }

   .content--glass-panel {
    padding: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .btn {
    white-space: normal;
    height: auto;
    text-align: center;
  }


  .stats-strip {
    padding: 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }

}

/* ============================================
   REDUCED MOTION - Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .parallax-layer {
    transform: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .stagger-children > * {
    opacity: 1;
    transform: none;
  }

  .scroll-progress {
    display: none;
  }

  .preloader {
    display: none;
  }

  .cursor-outer,
  .cursor-inner {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   VIDEO INTEGRATION STYLES
   ============================================ */

.video-embed {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-lg);
  background: var(--charcoal);
}

.video-embed video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-feature {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.video-feature video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-ambient {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.video-ambient video {
  width: 100%;
  display: block;
  opacity: 0.85;
}

.contact-video-strip {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-top: var(--space-xl);
  box-shadow: var(--shadow-md);
}

/* ============================================
   GLOBAL ANIMATIONS & INTERACTIONS
   ============================================ */

.img-zoom-hover {
  overflow: hidden;
}

.img-zoom-hover img {
  transition: transform 0.8s ease;
  will-change: transform;
}

.img-zoom-hover:hover img {
  transform: scale(1.05);
}

.card-elevate {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform, box-shadow;
}

.card-elevate:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, visibility;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
}

/* Applications Strip */
.applications-strip {
  background: var(--charcoal);
  color: var(--white);
  padding: var(--space-xl) 0;
  border-top: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
}

.applications-strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.applications-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0.8;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.applications-strip__item:hover {
  opacity: 1;
  color: var(--amber);
}

.applications-strip__item svg {
  fill: var(--amber);
}

/* Cinematic Hero Banner for Products */
.product-hero-banner {
  position: relative;
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background-color: var(--steel-dark);
}

.product-hero-banner__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.product-hero-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.product-hero-banner__content {
  position: relative;
  z-index: 2;
  padding: var(--space-4xl) var(--space-xl);
  max-width: 800px;
  color: var(--white);
}

.product-hero-banner__title {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--space-md);
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.product-hero-banner__desc {
  font-size: var(--font-size-xl);
  opacity: 0.9;
  line-height: 1.6;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-right { opacity: 0; transform: translateX(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.scale-in { opacity: 0; transform: scale(0.95); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }

.fade-up.is-visible,
.fade-left.is-visible,
.fade-right.is-visible,
.scale-in.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Base fade-in-section added previously */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out, visibility 0.8s ease-out;
  will-change: opacity, visibility;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
}


/* ============================================
   MOBILE EXPERIENCE OPTIMIZATIONS (Phase 2)
   ============================================ */
@media (max-width: 768px) {
  /* Typography */
  h1, .h1 { font-size: 2.2rem; }
  h2, .h2 { font-size: 1.8rem; }
  .section-subtitle { font-size: 1rem; }
  
  /* Hero Video Responsiveness */
  .hero__video { object-position: center; }
  
  /* Product Cards */
  .product-card {
    margin-bottom: var(--space-md);
  }
  .product-card__image {
    aspect-ratio: 16 / 9; /* Slightly wider on mobile for better framing */
  }
  .product-card__body {
    padding: var(--space-md) var(--space-lg);
  }
  .product-card__title {
    font-size: 1.15rem;
  }
  
  /* Statistics */
  .stats-strip { padding: var(--space-xl) 0; }
  .stat { margin-bottom: var(--space-lg); }
  .stat:last-child { margin-bottom: 0; }
  .stat__number { font-size: 2.5rem; }
  
  /* Navigation Spacing */
  .mobile-menu {
    padding: var(--space-2xl) var(--space-xl);
  }
  .mobile-menu__link {
    font-size: 1.15rem;
    padding: var(--space-md) 0;
  }
  
  /* Section Spacing */
  .section { padding: var(--space-2xl) 0; }
  
  /* Manufacturing Banner */
  .cta-banner { padding: 80px 0 !important; }
  .cta-banner__content h2 { font-size: 2rem !important; }
  .cta-banner__content p { font-size: 1rem !important; margin-bottom: var(--space-lg) !important; }
  
  /* Trust Strip */
  .trust-strip__items {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm) !important;
  }
}

.footer__contact-item a[href^="tel:"] { white-space: nowrap; }



/* ==========================================================================
   HERO BANNER READABILITY OVERHAUL
   ========================================================================== */

/* 1. Button Updates */
.btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  transition: all 0.35s ease;
}
.btn--ghost:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
}

/* 2. Differentiated Text Shadows */
.hero__content h1,
.page-hero__content h1,
.cta-banner__content h2 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero__content p,
.page-hero__content p,
.cta-banner__content p {
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  max-width: min(700px, 90%);
  line-height: 1.6;
}

/* 3. Z-Index Alignment */
.hero__content,
.page-hero__content,
.cta-banner__content {
  position: relative;
  z-index: 2;
}

/* 4. Adaptive Overlay Strategies */
.overlay--linear-left {
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.65) 35%,
    rgba(0,0,0,0.45) 65%,
    rgba(0,0,0,0.15) 100%
  ) !important;
}

.overlay--radial-center {
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.75)) !important;
}

.content--glass-panel {
  padding: var(--space-3xl);
  background: rgba(15, 15, 15, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-block;
}

.hero__overlay, .page-hero__overlay, .cta-banner__overlay { 
  z-index: 1 !important;
}


/* --- Premium Split Layout (Product Overview) --- */
.premium-split {
  position: relative;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 992px) {
  .premium-split {
    flex-direction: row;
    min-height: 700px;
    align-items: center;
  }
}
.premium-split__content {
  padding: var(--space-2xl) var(--space-md);
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 992px) {
  .premium-split__content {
    width: 50vw;
    flex: 0 0 50vw;
    padding: var(--space-4xl) var(--space-xl);
    justify-content: flex-end;
  }
}
.premium-split__inner {
  max-width: 550px;
  width: 100%;
}
@media (min-width: 992px) {
  .premium-split__inner {
    margin-right: 2rem;
  }
}
.premium-split__image-wrap {
  position: relative;
  flex: 1;
  min-height: 300px;
}
@media (min-width: 992px) {
  .premium-split__image-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50vw;
  }
}
.premium-split__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.premium-split__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 150px;
  background: linear-gradient(to right, var(--white) 0%, rgba(250,250,248,0) 100%);
  pointer-events: none;
}
@media (max-width: 991px) {
  .premium-split__fade {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--white) 0%, rgba(250,250,248,0) 100%);
  }
}

/* Premium Features List */
.premium-features-header {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--charcoal);
}
.premium-features-header .icon-wrap {
  width: 28px;
  height: 28px;
  background-color: var(--amber);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.premium-features-header .icon-wrap svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.premium-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.premium-features-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--charcoal);
  font-weight: 500;
}
.premium-features-list .icon-box {
  width: 20px;
  height: 20px;
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.premium-features-list .icon-box svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Bottom Advantages Strip */
.advantages-strip {
  background-color: #111;
  color: #fff;
  padding: 30px 0;
}
.advantages-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.advantage-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}
.advantage-item__icon {
  width: 32px;
  height: 32px;
  color: var(--amber);
  flex-shrink: 0;
}
.advantage-item__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.advantage-item__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.advantage-item__title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.advantage-item__subtitle {
  font-size: 12px;
  color: #aaa;
}


/* ==========================================================================
   FLOATING TRUST BAR
   ========================================================================== */
.floating-trust-bar-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -30px; /* Pull it up over the hero banner slightly */
  margin-bottom: var(--space-xl);
  display: flex;
  justify-content: center;
  padding: 0 var(--space-md);
}

.floating-trust-bar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.03);
  border-radius: 50px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 12px;
  gap: 16px;
  max-width: 1100px;
  width: 100%;
  justify-content: space-between;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  padding: 8px 16px;
}

.trust-item svg {
  color: var(--amber);
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-btn {
  background: var(--charcoal);
  color: var(--white);
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.trust-btn:hover {
  background: var(--amber);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(212, 147, 13, 0.3);
}

@media (max-width: 991px) {
  .floating-trust-bar {
    border-radius: 20px;
    padding: 16px;
    justify-content: center;
    margin-top: -20px;
  }
  .trust-item {
    font-size: 13px;
    padding: 6px 10px;
    width: calc(50% - 10px);
  }
  .trust-btn {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}
@media (max-width: 500px) {
  .trust-item {
    width: 100%;
    justify-content: flex-start;
  }
}

.contact-form--industrial select option { background-color: var(--steel-dark); color: var(--white); padding: 12px; }

/* ----------------------------------------
   PREMIUM CTA BANNER
   ---------------------------------------- */
.premium-cta {
    position: relative;
    background-color: var(--primary-dark, #1f2937);
    background-image: radial-gradient(circle at center, rgba(31, 41, 55, 0.9) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    color: var(--white);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.premium-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}
.premium-cta .container {
    position: relative;
    z-index: 2;
}
.premium-cta h3 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.premium-cta p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 650px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}
.premium-cta__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
