/* ============================================
   HRHE - Modern Design System
   Hindustan Radiators & Heat Exchangers Pvt. Ltd.
   ============================================ */

/* --- CSS Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Primary Palette */
  --navy: #0f1c2e;
  --navy-light: #1a2d47;
  --steel: #2d5f8a;
  --steel-light: #3a7bb5;
  --sky: #e8f1f8;

  /* Accent */
  --gold: #c8963e;
  --gold-light: #dbb36a;
  --gold-dark: #a67a2e;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;

  /* Status */
  --success: #28a745;
  --danger: #dc3545;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', Monaco, monospace;

  /* Spacing scale */
  --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;

  /* Sizing */
  --container-max: 1280px;
  --container-narrow: 900px;
  --header-height: 80px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--steel);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: var(--space-md);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p {
  margin-bottom: var(--space-md);
  color: var(--gray-700);
}

.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-steel { color: var(--steel); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-top: var(--space-sm);
}

.section-title.centered::after {
  margin-left: auto;
  margin-right: auto;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--gray-600);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-gray {
  background: var(--gray-50);
}

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

.section-navy h2,
.section-navy h3,
.section-navy h4 {
  color: var(--white);
}

.section-navy p {
  color: var(--gray-300);
}

.section-navy .section-title::after {
  background: var(--gold);
}

/* Grid system */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 { display: grid; gap: var(--space-xl); grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; gap: var(--space-xl); grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; gap: var(--space-xl); grid-template-columns: repeat(4, 1fr); }

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

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex {
  display: flex;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-gap {
  gap: var(--space-lg);
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 10000;
  transition: all var(--duration) var(--ease);
  overflow: visible;
}

.site-header.transparent {
  background: transparent;
}

.site-header.scrolled {
  background: rgba(15, 28, 46, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.site-logo img {
  height: 45px;
  width: auto;
}

.site-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.site-logo .logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  position: fixed;
  top: 0;
  right: 0;
  height: var(--header-height);
  z-index: 10000;
  padding-right: var(--space-xl);
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.3px;
  transition: color var(--duration) var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--duration) var(--ease);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 60%;
}

.nav-cta {
  margin-left: var(--space-md);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--duration) var(--ease);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
  .menu-toggle { display: flex; position: relative; z-index: 1001; }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(15, 28, 46, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-xl);
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--duration) var(--ease);
    overflow-y: auto;
    z-index: 10000;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .menu-toggle.active {
    z-index: 10001;
  }

  .main-nav a {
    font-size: 1.1rem;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
  }

  .main-nav a::after { display: none; }

  .nav-cta {
    margin-left: 0;
    margin-top: var(--space-lg);
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Top Bar --- */
.top-bar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  padding: var(--space-xs) 0;
  color: var(--gray-400);
}

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

.top-bar a:hover {
  color: var(--gold);
}

.top-bar i {
  color: var(--gold);
  margin-right: var(--space-xs);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,28,46,0.92) 0%, rgba(45,95,138,0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding-top: var(--header-height);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-lg);
  line-height: 1.15;
}

.hero h1 span {
  color: var(--gold);
}

.hero .lead {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  margin-bottom: var(--space-2xl);
  max-width: 550px;
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .hero { min-height: 100svh; }
  .hero-stats {
    gap: var(--space-xl);
    flex-wrap: wrap;
  }
  .hero-stat .number { font-size: 2rem; }
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,150,62,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

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

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

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

.card-body {
  padding: var(--space-lg);
}

.card-body h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.card-body p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: var(--space-md);
}

/* Product card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease);
  border: 1px solid var(--gray-200);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.product-card .card-img {
  aspect-ratio: 1;
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
}

.product-card .card-img img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
}

.product-card .card-body {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--gray-100);
}

.product-card .card-body h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.product-card .card-actions {
  display: flex;
  border-top: 1px solid var(--gray-100);
}

.product-card .card-actions a {
  flex: 1;
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--duration) var(--ease);
}

.product-card .card-actions a:first-child {
  border-right: 1px solid var(--gray-100);
  color: var(--steel);
}

.product-card .card-actions a:last-child {
  color: var(--gold-dark);
}

.product-card .card-actions a:hover {
  background: var(--gray-50);
}

/* Feature card */
.feature-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: var(--radius-lg);
  background: var(--sky);
  color: var(--steel);
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  transition: all var(--duration) var(--ease);
}

.feature-card:hover .feature-icon {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.1);
}

/* --- Page Banner --- */
.page-banner {
  position: relative;
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: linear-gradient(160deg, #1a2d47 0%, #2d5f8a 100%);
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1" fill="rgba(200,150,62,0.1)"/></svg>');
  background-size: 40px 40px;
}

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

.page-banner h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: var(--space-sm);
}

.page-banner .breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--gray-400);
}

.page-banner .breadcrumb a {
  color: var(--gold);
}

.page-banner .breadcrumb span {
  color: var(--gray-500);
}

/* --- Content pages --- */
.content-page {
  padding: var(--space-4xl) 0;
}

.content-page h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.content-page h2:first-child {
  margin-top: 0;
}

.content-page p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.content-page ul, .content-page ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.content-page li {
  margin-bottom: var(--space-sm);
  color: var(--gray-700);
  line-height: 1.7;
}

.content-sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-2xl);
}

@media (max-width: 900px) {
  .content-sidebar {
    grid-template-columns: 1fr;
  }
}

/* --- Sidebar --- */
.sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
  align-self: start;
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-xl);
}

.sidebar-widget-title {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  border-bottom: 1px solid var(--gray-100);
}

.sidebar-nav li:last-child {
  border-bottom: none;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: all var(--duration) var(--ease);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--sky);
  color: var(--steel);
  padding-left: calc(var(--space-lg) + 4px);
}

.sidebar-nav .main-cat {
  background: var(--steel);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--space-sm) var(--space-lg);
}

.sidebar-nav .main-cat:hover {
  background: var(--steel-light);
  color: var(--white);
  padding-left: var(--space-lg);
}

.sidebar-nav .sub-cat a {
  padding-left: calc(var(--space-lg) + var(--space-md));
  font-size: 0.85rem;
}

.sidebar-nav .sub-cat a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-300);
  margin-right: var(--space-sm);
  flex-shrink: 0;
  transition: background var(--duration) var(--ease);
}

.sidebar-nav .sub-cat a:hover::before {
  background: var(--gold);
}

/* --- Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.product-grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Product category header */
.category-header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 2px solid var(--gray-200);
}

.category-header h2 {
  margin-bottom: var(--space-sm);
}

.category-header p {
  font-size: 0.95rem;
  max-width: 700px;
}

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: var(--gray-400);
  padding-top: var(--space-4xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-2xl);
}

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

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

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.7;
}

.footer-col .footer-logo {
  margin-bottom: var(--space-lg);
}

.footer-col .footer-logo img {
  height: 50px;
}

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

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-400);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  transition: all var(--duration) var(--ease);
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-links a i {
  font-size: 0.7rem;
  color: var(--gold);
}

.footer-contact li {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}

.footer-contact li i {
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: var(--space-2xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: var(--space-md);
}

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

.footer-certifications {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-certifications span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Forms --- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
  outline: none;
}

.form-control:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(45,95,138,0.12);
}

.form-control::placeholder {
  color: var(--gray-400);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-error {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: var(--space-xs);
}

/* --- Client Logo Grid --- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-md);
}

.client-item {
  display: flex;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--gray-700);
  transition: all var(--duration) var(--ease);
}

.client-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.client-item i {
  color: var(--gold);
  margin-right: var(--space-sm);
}

/* --- Awards / Certifications --- */
.award-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease);
}

.award-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.award-card img {
  max-height: 220px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-md);
}

.award-card h4 {
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

.award-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,28,46,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

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

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.25);
}

/* --- Utility classes --- */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.mb-4 { margin-bottom: var(--space-3xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.hidden { display: none !important; }
.visible { display: block !important; }

.rounded { border-radius: var(--radius-md); }
.shadow { box-shadow: var(--shadow-md); }

.bg-white { background: var(--white); }
.bg-gray { background: var(--gray-50); }
.bg-navy { background: var(--navy); }

/* Info box */
.info-box {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--sky);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--steel);
  margin-bottom: var(--space-xl);
}

.info-box i {
  font-size: 1.5rem;
  color: var(--steel);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Equipment/Infrastructure list */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-sm);
}

.equipment-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.equipment-item::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--gold);
  flex-shrink: 0;
}

/* Testing list */
.test-list {
  list-style: none;
  padding: 0;
}

.test-list li {
  position: relative;
  padding: var(--space-sm) 0 var(--space-sm) var(--space-xl);
  border-bottom: 1px solid var(--gray-100);
}

.test-list li::before {
  content: '\f0a3';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
}

/* Map container */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact info cards */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky);
  color: var(--steel);
  border-radius: var(--radius-md);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: var(--space-xs);
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

/* Associate locations */
.associates-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.associates-list span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: var(--sky);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--steel);
}

/* --- Animations (only when JS adds .js-ready to body) --- */
body.js-ready .fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

body.js-ready .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
body.js-ready .stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

body.js-ready .stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
body.js-ready .stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
body.js-ready .stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
body.js-ready .stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
body.js-ready .stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }
body.js-ready .stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }

body.js-ready .stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Home Product Showcase --- */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

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

.showcase-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.showcase-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.showcase-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,28,46,0.7) 0%, rgba(15,28,46,0.1) 60%, transparent 100%);
}

.showcase-card-img .showcase-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 2;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.showcase-card-img .showcase-count {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-lg);
  z-index: 2;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
}

.showcase-card-img .showcase-count strong {
  font-size: 1.6rem;
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}

.showcase-card-body {
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.showcase-card-body h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--navy);
}

.showcase-card-body p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-lg);
}

.showcase-tags span {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--steel);
  background: var(--sky);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.showcase-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--duration) var(--ease);
}

.showcase-card:hover .showcase-card-link {
  color: var(--steel);
  gap: 10px;
}

/* First card (Heat Exchangers) spans full width for emphasis */
.product-showcase .showcase-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-showcase .showcase-card:first-child .showcase-card-img {
  height: 100%;
  min-height: 280px;
}

.product-showcase .showcase-card:first-child .showcase-card-body {
  justify-content: center;
}

@media (max-width: 768px) {
  .product-showcase .showcase-card:first-child {
    grid-template-columns: 1fr;
  }
  .product-showcase .showcase-card:first-child .showcase-card-img {
    min-height: 200px;
  }
}

/* --- Why Choose / Trust Section --- */
.trust-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.trust-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15,28,46,0.95) 0%, rgba(26,45,71,0.88) 40%, rgba(45,95,138,0.82) 100%);
  z-index: 1;
}

.trust-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(40%);
}

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

.trust-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.trust-top-text {
  max-width: 550px;
}

.trust-top-text .section-label {
  color: var(--gold);
}

.trust-top-text h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
}

.trust-top-text h2 span {
  color: var(--gold);
}

.trust-top p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  max-width: 350px;
  margin-bottom: 0;
}

/* Stat cards */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 900px) {
  .trust-stats { grid-template-columns: repeat(2, 1fr); }
  .trust-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 500px) {
  .trust-stats { grid-template-columns: 1fr; }
}

.trust-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.trust-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(200,150,62,0.3);
  transform: translateY(-6px);
}

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

.trust-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: rgba(200,150,62,0.15);
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: var(--space-lg);
  transition: all 0.4s var(--ease);
}

.trust-card:hover .trust-card-icon {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
}

.trust-card-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.trust-card-number span {
  color: var(--gold);
  font-size: 1.6rem;
}

.trust-card h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.trust-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Divider line */
.trust-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  margin: 50px 0;
}

/* Certifications ribbon */
.cert-ribbon {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.cert-badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  border: 1px solid rgba(255,255,255,0.08);
  border-left: none;
  transition: all 0.4s var(--ease);
  cursor: default;
}

.cert-badge:first-child {
  border-left: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.cert-badge:last-child {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.cert-badge:hover {
  background: rgba(200,150,62,0.1);
  border-color: rgba(200,150,62,0.25);
}

.cert-badge:hover + .cert-badge {
  border-left-color: rgba(200,150,62,0.25);
}

.cert-badge-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,150,62,0.2), rgba(200,150,62,0.05));
  border: 1.5px solid rgba(200,150,62,0.3);
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.4s var(--ease);
}

.cert-badge:hover .cert-badge-icon {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(200,150,62,0.3);
}

.cert-badge-text {
  line-height: 1.2;
}

.cert-badge-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.3px;
}

.cert-badge-text small {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .cert-ribbon { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .cert-badge {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md) !important;
    padding: 14px 20px;
  }
}

/* --- Industries Section --- */
.industries-section {
  position: relative;
  padding: 100px 0 80px;
  background: var(--gray-50);
  overflow: hidden;
}

.industries-header {
  text-align: center;
  margin-bottom: 56px;
}

.industries-header h2 {
  margin-bottom: var(--space-sm);
}

.industries-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Industry hex grid */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

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

@media (max-width: 500px) {
  .ind-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

.ind-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  border: 1.5px solid var(--gray-200);
  transition: all 0.4s var(--ease);
  overflow: hidden;
}

.ind-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 0;
}

.ind-card:hover {
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(15,28,46,0.18);
}

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

.ind-card > * {
  position: relative;
  z-index: 1;
}

.ind-card-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--sky);
  color: var(--steel);
  font-size: 1.2rem;
  margin-bottom: 14px;
  transition: all 0.4s var(--ease);
}

.ind-card:hover .ind-card-icon {
  background: rgba(200,150,62,0.2);
  color: var(--gold);
}

.ind-card h4 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  transition: color 0.4s var(--ease);
}

.ind-card:hover h4 {
  color: var(--white);
}

.ind-card p {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-bottom: 0;
  line-height: 1.5;
  transition: color 0.4s var(--ease);
}

.ind-card:hover p {
  color: rgba(255,255,255,0.6);
}

/* Client marquee */
.client-marquee-wrap {
  position: relative;
  padding: 36px 0 0;
  border-top: 1px solid var(--gray-200);
}

.client-marquee-wrap::before,
.client-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.client-marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--gray-50), transparent);
}

.client-marquee-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--gray-50), transparent);
}

.client-marquee-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.client-marquee {
  display: flex;
  gap: 20px;
  animation: marquee 35s linear infinite;
  width: max-content;
}

.client-marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-700);
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}

.client-marquee-item:hover {
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 2px 12px rgba(200,150,62,0.15);
}

.client-marquee-item i {
  color: var(--gold);
  font-size: 0.65rem;
}

/* --- About Section --- */
.about-section {
  padding: 100px 0;
  overflow: hidden;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.about-img-secondary {
  width: 75%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-top: -40px;
  margin-left: auto;
  border: 4px solid var(--white);
  position: relative;
  z-index: 2;
}

.about-img-secondary img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.about-badge {
  position: absolute;
  top: 20px;
  left: -16px;
  z-index: 3;
  background: var(--navy);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-badge .badge-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.about-badge .badge-text {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.about-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--gray-200);
}

.about-mini-stat {
  text-align: center;
}

.about-mini-stat .stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.about-mini-stat .stat-num span {
  color: var(--gold);
}

.about-mini-stat .stat-label {
  font-size: 0.72rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* --- Profile / About Page --- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--gray-200));
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-item .year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.timeline-item p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

/* Leader cards */
.leader-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: visible;
  box-shadow: var(--shadow-md);
  transition: all 0.4s var(--ease);
  border: 1.5px solid var(--gray-200);
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold);
}

.leader-card-top {
  position: relative;
  height: 110px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.leader-card-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(200,150,62,0.12)'/%3E%3C/svg%3E");
  background-size: 30px 30px;
}

.leader-card-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  border: 4px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  margin-top: -45px;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(15,28,46,0.25);
}

.leader-card-avatar i {
  font-size: 2.2rem;
  color: var(--gold);
}

.leader-card-body {
  padding: 16px 28px 32px;
  text-align: center;
}

.leader-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.leader-card-body .role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  background: var(--gold);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.leader-card-body p {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 0;
  line-height: 1.7;
}

/* Leader card awards tag */
.leader-awards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.leader-awards span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--steel);
  background: var(--sky);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* Specialty row */
.specialty-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

@media (max-width: 480px) {
  .specialty-row { grid-template-columns: 1fr; }
}

.specialty-item {
  text-align: center;
  padding: 24px 12px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  transition: all 0.35s var(--ease);
}

.specialty-item:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.specialty-item i {
  font-size: 1.6rem;
  color: var(--steel);
  margin-bottom: 10px;
  display: block;
  transition: color 0.3s var(--ease);
}

.specialty-item:hover i {
  color: var(--gold);
}

.specialty-item span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.3;
}

/* --- Facilities Page --- */
.facility-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 900px) {
  .facility-highlight { grid-template-columns: 1fr; }
}

.facility-highlight-img {
  min-height: 320px;
  background-size: cover;
  background-position: center;
}

@media (max-width: 900px) {
  .facility-highlight-img { min-height: 220px; }
}

.facility-highlight-content {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.facility-highlight-content .section-label {
  color: var(--gold);
}

.facility-highlight-content h2 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
}

.facility-highlight-content p {
  color: var(--gray-300);
  font-size: 0.92rem;
}

/* Facility stat bar */
.facility-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .facility-stats-bar { grid-template-columns: repeat(2, 1fr); margin-top: -20px; }
}

.facility-stat {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--gray-100);
  transition: background 0.3s var(--ease);
}

.facility-stat:last-child { border-right: none; }

.facility-stat:hover {
  background: var(--sky);
}

.facility-stat i {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.facility-stat .val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.facility-stat .lbl {
  font-size: 0.72rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Equipment cards for facilities */
.equip-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1.5px solid var(--gray-200);
  transition: all 0.35s var(--ease);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.equip-card:hover {
  border-color: var(--steel);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.equip-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--steel);
  font-size: 1.1rem;
  transition: all 0.3s var(--ease);
}

.equip-card:hover .equip-card-icon {
  background: var(--navy);
  color: var(--gold);
}

.equip-card h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.equip-card p {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

/* Special machinery cards */
.sp-machine-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s var(--ease);
}

.sp-machine-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.sp-machine-card-header {
  padding: 28px 28px 20px;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  position: relative;
}

.sp-machine-card-header .sp-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  line-height: 1;
}

.sp-machine-card-header i {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.sp-machine-card-header h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0;
}

.sp-machine-card-body {
  padding: 24px 28px 28px;
}

.sp-machine-card-body p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.sp-machine-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--steel);
  background: var(--sky);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-right: 6px;
  margin-bottom: 6px;
}

/* --- Products Page Premium --- */
.products-page {
  padding: 40px 0 80px;
}

.products-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 1024px) {
  .products-layout { grid-template-columns: 1fr; }
}

/* Product banner with stats */
.product-banner-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.product-banner-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-banner-stat i {
  color: var(--gold);
  font-size: 1.1rem;
}

.product-banner-stat .pbs-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1;
}

.product-banner-stat .pbs-lbl {
  font-size: 0.7rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sidebar enhanced */
.products-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.cat-nav {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.cat-nav-title {
  background: var(--navy);
  color: var(--white);
  padding: 18px 22px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-nav-title i {
  color: var(--gold);
}

.cat-main {
  display: block;
  padding: 12px 22px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  background: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s var(--ease);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cat-main:hover {
  background: var(--steel-light);
  color: var(--white);
  padding-left: 26px;
}

.cat-main.active {
  background: var(--gold);
  color: var(--white);
}

.cat-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px 10px 32px;
  font-size: 0.84rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  transition: all 0.3s var(--ease);
}

.cat-sub::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}

.cat-sub:hover {
  background: var(--sky);
  color: var(--steel);
  padding-left: 36px;
}

.cat-sub:hover::before {
  background: var(--gold);
  transform: scale(1.4);
}

.cat-sub.active {
  background: var(--sky);
  color: var(--steel);
  font-weight: 600;
}

.cat-sub.active::before {
  background: var(--gold);
  width: 6px;
  height: 6px;
}

.cat-sub-count {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Help CTA sidebar */
.sidebar-cta {
  margin-top: 20px;
  padding: 28px;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.sidebar-cta i.cta-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.sidebar-cta h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.sidebar-cta p {
  color: var(--gray-300);
  font-size: 0.78rem;
  margin-bottom: 16px;
}

.sidebar-cta .btn {
  width: 100%;
  justify-content: center;
}

/* Product items grid */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.prod-grid-cats {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* Product item card premium */
.prod-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.prod-item:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.prod-item-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.prod-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}

.prod-item:hover .prod-item-img img {
  transform: scale(1.06);
}

.prod-item-img .prod-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,28,46,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

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

.prod-overlay-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.85rem;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
}

.prod-overlay-btn:hover {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.1);
}

.prod-item-body {
  padding: 14px 16px;
  border-top: 1px solid var(--gray-100);
  flex: 1;
  display: flex;
  align-items: center;
}

.prod-item-body h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0;
  line-height: 1.4;
}

/* Category card on products main page */
.cat-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.cat-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.cat-card-img {
  aspect-ratio: 4/3;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.cat-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}

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

.cat-card-img .cat-card-arrow {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  opacity: 0;
  transform: translate(8px, 8px);
  transition: all 0.35s var(--ease);
}

.cat-card:hover .cat-card-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.cat-card-body {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--gray-100);
  text-align: center;
}

.cat-card-body h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0;
}

/* Results bar */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--sky);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 0.84rem;
  color: var(--gray-600);
  flex-wrap: wrap;
  gap: 10px;
}

.results-bar strong {
  color: var(--navy);
}

.results-bar .back-link {
  font-weight: 600;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.results-bar .back-link:hover {
  color: var(--gold);
}

/* --- Product Lightbox Modal --- */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: modalFadeIn 0.3s ease;
}

.product-modal-overlay.active {
  display: flex;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.product-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: modalSlideUp 0.35s ease;
  position: relative;
}

@media (max-width: 768px) {
  .product-modal {
    grid-template-columns: 1fr;
    max-height: 95vh;
    overflow-y: auto;
  }
}

.pm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-600);
  font-size: 0.9rem;
  z-index: 10;
  transition: all 0.3s var(--ease);
}

.pm-close:hover {
  background: var(--danger);
  color: var(--white);
}

/* Image side */
.pm-image {
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
  min-height: 300px;
}

.pm-image img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.pm-image .pm-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

/* Info side */
.pm-info {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  max-height: 90vh;
}

@media (max-width: 768px) {
  .pm-info { max-height: none; }
}

.pm-cat {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.pm-info h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.pm-divider {
  width: 45px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 18px;
}

.pm-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 24px;
  max-height: 200px;
  overflow-y: auto;
}

.pm-desc::-webkit-scrollbar { width: 3px; }
.pm-desc::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }

.pm-no-desc {
  padding: 16px 20px;
  background: var(--sky);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--steel);
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.pm-no-desc i {
  color: var(--steel);
  margin-right: 6px;
}

.pm-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pm-pid {
  font-size: 0.68rem;
  color: var(--gray-400);
  letter-spacing: 0.5px;
}

.pm-pid strong {
  color: var(--gray-600);
}

/* Loading state */
.pm-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray-500);
}

.pm-loading i {
  font-size: 1.5rem;
  color: var(--gold);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* --- Clients / Applications Page --- */
.clients-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 20px 0;
  margin-top: 20px;
  flex-wrap: wrap;
}

.clients-counter-item {
  text-align: center;
}

.clients-counter-item .cc-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.clients-counter-item .cc-lbl {
  font-size: 0.7rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* Government org cards */
.gov-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

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

.gov-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 1.5px solid var(--gray-200);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.gov-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}

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

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

.gov-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--steel);
  margin-bottom: 14px;
  transition: all 0.35s var(--ease);
}

.gov-card:hover .gov-card-icon {
  background: var(--navy);
  color: var(--gold);
  transform: scale(1.1);
}

.gov-card h4 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0;
}

/* Client logo card */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

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

.logo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  padding: 16px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  transition: all 0.35s var(--ease);
  text-align: left;
}

.logo-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.logo-card-icon {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.logo-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

/* Fallback monogram when no logo image */
.logo-card-icon.monogram {
  font-size: 1rem;
  border: none;
}

.logo-card-text {
  flex: 1;
  min-width: 0;
}

.logo-card h4 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  line-height: 1.3;
}

.logo-card .lc-sector {
  font-size: 0.68rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Sector tabs */
/* Sector / Category filter tabs */
.sector-tabs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
  padding: 28px 24px;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
}

.sector-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.sector-tab i {
  font-size: 0.75rem;
  opacity: 0.5;
}

.sector-tab:hover {
  border-color: var(--steel);
  color: var(--steel);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.sector-tab:hover i {
  opacity: 1;
}

.sector-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(15,28,46,0.25);
  transform: translateY(-2px);
}

.sector-tab.active i {
  color: var(--gold);
  opacity: 1;
}

/* ============================================
   RESPONSIVE GRID CLASSES
   ============================================ */
.resp-grid-2 { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
.resp-grid-3 { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; }
.resp-grid-4 { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; }
.resp-grid-5 { display: grid !important; grid-template-columns: repeat(5, 1fr) !important; gap: 16px !important; }

.home-products-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; }
.home-certs-grid { display: grid !important; grid-template-columns: repeat(5, 1fr) !important; gap: 14px !important; margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.08); }

@media (max-width: 1024px) {
  .resp-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .resp-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .home-products-grid { grid-template-columns: repeat(2, 1fr); }
  .home-certs-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .resp-grid-2 { grid-template-columns: 1fr !important; gap: 20px !important; }
  .resp-grid-3 { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .resp-grid-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .resp-grid-5 { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .home-products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .home-certs-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }

  /* Force ALL inline grids to stack */
  [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  [style*="grid-template-columns:repeat(5"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 480px) {
  .resp-grid-2 { grid-template-columns: 1fr !important; gap: 16px !important; }
  .resp-grid-3 { grid-template-columns: 1fr !important; gap: 16px !important; }
  .resp-grid-4 { grid-template-columns: 1fr !important; gap: 16px !important; }
  .resp-grid-5 { grid-template-columns: 1fr !important; gap: 16px !important; }
  .home-products-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .home-certs-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }

  /* Force ALL inline grids to single column */
  [style*="grid-template-columns:repeat(2"],
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns:repeat(5"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ============================================
   MOBILE RESPONSIVE OVERRIDES
   ============================================ */

/* --- Tablet (max 1024px) --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  /* Force ALL inline grid overrides to stack */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  [style*="repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  [style*="repeat(5, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Enquiry page sidebar */
  [style*="grid-template-columns:1fr 380px"] {
    grid-template-columns: 1fr !important;
  }

  /* Hero */
  .hero-content { max-width: 100%; }
  .hero-stats { gap: var(--space-xl); }

  /* About section */
  .about-layout {
    grid-template-columns: 1fr !important;
  }

  /* Products page layout */
  .products-layout {
    grid-template-columns: 1fr !important;
  }

  .products-sidebar {
    position: static !important;
  }

  /* Trust section */
  .trust-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Floating stats bar */
  [style*="margin-top:-36px"] {
    margin-top: -24px !important;
  }

  /* Facilities navy section grid */
  .facility-highlight {
    grid-template-columns: 1fr !important;
  }

  .facility-stats-bar {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Leader cards */
  .grid-3 {
    grid-template-columns: 1fr !important;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Awards zigzag */
  [style*="direction:rtl"] {
    direction: ltr !important;
  }

  /* Content sidebar */
  .content-sidebar {
    grid-template-columns: 1fr !important;
  }
}

/* --- Mobile (max 768px) --- */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  h1 { font-size: 1.6rem !important; }
  h2 { font-size: 1.3rem !important; }
  h3 { font-size: 1.1rem !important; }

  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-xl) 0;
  }

  /* Header */
  .site-logo img {
    height: 35px;
  }

  /* Page banner */
  .page-banner {
    padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 20px);
  }

  .hero h1 {
    font-size: 1.6rem !important;
    line-height: 1.25;
  }

  .hero .lead {
    font-size: 0.92rem;
  }

  .hero .btn-lg {
    padding: 0.7rem 1.4rem;
    font-size: 0.8rem;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
  }

  .hero-stat .number {
    font-size: 1.6rem;
  }

  .hero-stat .label {
    font-size: 0.7rem;
  }

  .hero-scroll {
    display: none;
  }

  /* All multi-column grids → single column */
  [style*="repeat(3, 1fr)"],
  [style*="repeat(4, 1fr)"],
  [style*="repeat(5, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* 2-column inline grids */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* About images */
  .about-images {
    max-width: 100%;
  }

  .about-badge {
    top: 10px;
    left: 10px;
    padding: 12px 16px;
  }

  .about-badge .badge-number {
    font-size: 1.6rem;
  }

  .about-mini-stats {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Trust section */
  .trust-section {
    padding: 60px 0;
  }

  .trust-stats {
    grid-template-columns: 1fr !important;
  }

  .trust-card {
    padding: 24px 20px;
  }

  .trust-card-number {
    font-size: 2rem;
  }

  /* Certifications row */
  .cert-ribbon {
    flex-direction: column;
    gap: 8px;
  }

  .cert-badge {
    border-radius: var(--radius-md) !important;
    border-left: 1px solid rgba(255,255,255,0.08) !important;
  }

  /* Industry cards */
  .ind-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Client marquee */
  .client-marquee {
    animation-duration: 20s;
  }

  /* Sector tabs */
  .sector-tabs {
    padding: 16px;
    gap: 8px;
  }

  .sector-tab {
    padding: 8px 16px;
    font-size: 0.75rem;
  }

  /* Product grid */
  .prod-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Floating stats bar */
  [style*="box-shadow:0 10px 40px"] {
    grid-template-columns: repeat(2, 1fr) !important;
    margin-top: -20px !important;
    border-radius: 12px !important;
  }

  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Logo grid */
  .logo-grid {
    grid-template-columns: 1fr !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Buttons */
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }

  /* Columns layout */
  [style*="columns:3"] {
    columns: 1 !important;
  }

  /* Product modal */
  .product-modal {
    grid-template-columns: 1fr !important;
    max-height: 95vh;
    overflow-y: auto;
  }

  .pm-image {
    min-height: 200px;
    padding: 20px;
  }

  .pm-info {
    padding: 24px 20px;
  }

  /* Specialty row */
  .specialty-row {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Nav CTA in mobile */
  .nav-cta {
    margin-left: 0;
    margin-top: var(--space-md);
    width: 100%;
  }

  /* Equipment grid */
  .equipment-grid {
    grid-template-columns: 1fr !important;
  }

  /* Gov grid */
  .gov-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Awards 2-col cards */
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Form rows */
  .form-row {
    grid-template-columns: 1fr !important;
  }

  /* Map */
  .map-container {
    aspect-ratio: 4/3;
  }

  /* CTA sections reduce padding */
  [style*="padding:var(--space-3xl) 0"] {
    padding: 40px 0 !important;
  }
}

/* Force spacing between stacked items on mobile */
@media (max-width: 768px) {
  .resp-grid-2 > *,
  .resp-grid-3 > *,
  .resp-grid-4 > *,
  .resp-grid-5 > *,
  .home-products-grid > *,
  .home-certs-grid > * {
    margin-bottom: 16px !important;
  }

  .resp-grid-2 > *:last-child,
  .resp-grid-3 > *:last-child,
  .resp-grid-4 > *:last-child,
  .resp-grid-5 > *:last-child,
  .home-products-grid > *:last-child,
  .home-certs-grid > *:last-child {
    margin-bottom: 0 !important;
  }

  /* Also target inline grid containers by their common parent patterns */
  .container > div[style*="display:grid"] > *,
  .container > div > div[style*="display:grid"] > *,
  section div[style*="grid-template-columns"] > * {
    margin-bottom: 16px !important;
  }

  .container > div[style*="display:grid"] > *:last-child,
  .container > div > div[style*="display:grid"] > *:last-child,
  section div[style*="grid-template-columns"] > *:last-child {
    margin-bottom: 0 !important;
  }
}

/* --- Small Mobile (max 480px) --- */
@media (max-width: 480px) {
  h1 { font-size: 1.4rem !important; }

  .hero h1 { font-size: 1.5rem !important; }

  .hero-content {
    padding-left: 8px;
    padding-right: 8px;
  }

  .about-mini-stats {
    grid-template-columns: 1fr !important;
    text-align: left;
  }

  .about-mini-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
  }

  .ind-grid {
    grid-template-columns: 1fr !important;
  }

  .prod-grid {
    grid-template-columns: 1fr !important;
  }

  .gov-grid {
    grid-template-columns: 1fr !important;
  }

  [style*="box-shadow:0 10px 40px"] {
    grid-template-columns: 1fr !important;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  [style*="display:flex"][style*="gap:var(--space-md)"][style*="justify-content:center"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .sector-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
  }

  .sector-tabs::-webkit-scrollbar { display: none; }

  .sector-tab {
    flex-shrink: 0;
  }
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .menu-toggle, .hero-scroll { display: none; }
  .hero { min-height: auto; padding: 2rem 0; }
  body { font-size: 12pt; color: #000; }
}
