/* =============================================
   VAE — Valve Actuation Engineering
   Modern Industrial Design
   ============================================= */

:root {
  --dark:        #0d1b2a;
  --navy:        #122B6E;
  --blue:        #1B3B8E;
  --accent:      #C1202B;
  --accent-dark: #A0191F;
  --light:       #f4f6f9;
  --text:        #2c3e50;
  --muted:       #6c757d;
  --white:       #ffffff;
  --border:      #e1e8ed;
  --shadow:      0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.15);
  --radius:      8px;
  --trans:       all .3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

a { text-decoration: none; transition: var(--trans); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---- Utility ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section        { padding: 80px 0; }
.section-light  { background: var(--light); }
.section-dark   { background: var(--dark); }

.section-label {
  display: inline-block;
  background: rgba(193,32,43,.12);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
}

.section-header { text-align: center; margin-bottom: 52px; }
.section-header .section-desc { margin: 0 auto; }

/* =============================================
   HEADER
   ============================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
}

/* Top bar */
.header-topbar {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 9px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-contact {
  display: flex;
  gap: 28px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  font-weight: 400;
}

.topbar-item i { color: var(--accent); font-size: 11px; }

.topbar-item a {
  color: rgba(255,255,255,.68);
}
.topbar-item a:hover { color: var(--accent); }

.topbar-tagline {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Main nav bar */
.header-main { background: var(--navy); }

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo-wrap { padding: 12px 0; flex-shrink: 0; }
.logo-wrap img { height: 58px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav li a {
  display: block;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 28px 18px;
  position: relative;
  transition: var(--trans);
}

.main-nav li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: var(--accent);
  transition: var(--trans);
}

.main-nav li a:hover,
.main-nav li.active a {
  color: var(--white);
}

.main-nav li a:hover::after,
.main-nav li.active a::after {
  left: 0; right: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,.3);
  color: var(--white);
  width: 40px; height: 40px;
  border-radius: var(--radius);
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
}

.nav-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .4px;
  transition: var(--trans);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193,32,43,.35);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* =============================================
   PAGE BANNER
   ============================================= */

.page-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--blue) 100%);
  padding: 65px 0;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.page-banner .container { position: relative; }

.page-banner h1 {
  color: var(--white);
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  gap: 6px;
  align-items: center;
  color: rgba(255,255,255,.55);
  font-size: 13px;
}

.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,.35); }

/* =============================================
   HERO SLIDER
   ============================================= */

.hero-slider {
  position: relative;
  height: 580px;
  overflow: hidden;
  background: var(--dark);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(13,27,42,.82) 0%,
    rgba(27,79,114,.52) 55%,
    rgba(0,0,0,.25) 100%);
  display: flex;
  align-items: center;
}

.slide-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.slide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(193,32,43,.25);
  border: 1px solid rgba(193,32,43,.4);
  color: #e87a80;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.slide-content h2 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
  margin-bottom: 16px;
  max-width: 620px;
}

.slide-content p {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  margin-bottom: 30px;
  max-width: 520px;
  line-height: 1.7;
}

.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 18px;
  z-index: 20;
  transition: var(--trans);
  backdrop-filter: blur(6px);
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 20;
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  border: none;
  transition: var(--trans);
}
.dot.active {
  background: var(--accent);
  transform: scale(1.35);
}

/* =============================================
   HOME — INTRO
   ============================================= */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-text h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 20px;
}

.intro-text h2 em { font-style: normal; color: var(--accent); }

.intro-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

.intro-cta { margin-top: 28px; }

/* Stats */
.stats-panel {
  background: var(--dark);
  border-radius: 20px;
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
}

.stats-panel::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(193,32,43,.2) 0%, transparent 70%);
}

.stats-panel-title {
  color: rgba(255,255,255,.55);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 32px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  transition: var(--trans);
}

.stat-item:hover {
  background: rgba(193,32,43,.12);
  border-color: rgba(193,32,43,.3);
}

.stat-number {
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* =============================================
   HOME — INDUSTRIES
   ============================================= */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}

.industry-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  transform: scaleX(0);
  transition: var(--trans);
}

.industry-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}

.industry-card:hover::after { transform: scaleX(1); }

.industry-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--accent), #E05060);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 28px;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(193,32,43,.3);
}

.industry-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* =============================================
   CTA BANNER
   ============================================= */

.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--blue) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(193,32,43,.18) 0%, transparent 55%);
}

.cta-banner .container { position: relative; }

.cta-banner h2 {
  color: var(--white);
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,.78);
  font-size: 17px;
  margin-bottom: 34px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   ABOUT PAGE
   ============================================= */

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 24px;
}

.about-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-feature-box {
  background: var(--dark);
  border-radius: 20px;
  padding: 40px;
  color: var(--white);
}

.about-feature-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(255,255,255,.1);
  color: var(--white);
}

.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 15px;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
}

.feature-list li:last-child { border-bottom: none; }

.feature-list li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 14px;
}

/* Value cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 22px;
  text-align: center;
  transition: var(--trans);
}

.value-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}

.value-card .icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--accent), #E05060);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: var(--white);
}

.value-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* =============================================
   PRODUCTS PAGE
   ============================================= */

.products-categories-bar {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  overflow-x: hidden;
  position: sticky;
  top: 89px;
  z-index: 90;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.cat-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  white-space: normal;
  padding: 4px 8px 0;
}

.cat-link {
  display: inline-block;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  text-transform: uppercase;
  letter-spacing: .7px;
  transition: var(--trans);
}

.cat-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Product sections */
.product-section { padding: 56px 0; }
.product-section + .product-section { border-top: 1px solid var(--border); }

.product-section-header { margin-bottom: 28px; }

.product-section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--accent) 0%, transparent 100%);
  border-radius: 2px;
}

.product-sub-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  margin: 24px 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--trans);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.product-img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--light);
  position: relative;
}

.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-zoom-icon {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: var(--trans);
}

.product-zoom-icon i { color: var(--white); font-size: 28px; }
.product-card:hover .product-zoom-icon { opacity: 1; }

.product-card-body {
  padding: 16px 18px;
}

.product-card-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* =============================================
   GALLERY PAGE
   ============================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--light);
  position: relative;
}

.gallery-item a { display: block; width: 100%; height: 100%; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-hover {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: var(--trans);
}

.gallery-hover svg { color: var(--white); width: 32px; height: 32px; }

.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-hover { opacity: 1; }

/* =============================================
   CONTACT PAGE
   ============================================= */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px;
  box-shadow: var(--shadow);
}

.contact-form-card h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-subtitle {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 32px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--light);
  transition: var(--trans);
  outline: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(193,32,43,.1);
}

textarea.form-control { resize: vertical; min-height: 130px; }

.form-msg { margin: 0 0 16px; font-size: 15px; font-weight: 600; border-radius: var(--radius); padding: 14px 16px; display: none; }
.form-msg.success { display: block; background: #d4edda; color: #155724; }
.form-msg.error   { display: block; background: #f8d7da; color: #721c24; }
.form-msg.pending { display: block; background: #e8eef7; color: var(--navy); }
.btn:disabled { opacity: .65; cursor: not-allowed; }

.form-success-panel {
  text-align: center;
  padding: 28px 12px 8px;
}
.form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #1e7e34;
  color: #fff;
  font-size: 32px;
  line-height: 64px;
  font-weight: 700;
}
.form-success-panel h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-success-panel p { color: var(--text); font-size: 16px; margin-bottom: 10px; }
.form-success-email { color: var(--muted); font-size: 14px; }
.form-success-email a { color: var(--accent); font-weight: 700; }

/* Sidebar info */
.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }

.contact-info-card {
  background: var(--dark);
  border-radius: 20px;
  padding: 36px;
  color: var(--white);
}

.contact-info-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: var(--white);
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.contact-detail:last-child { margin-bottom: 0; }

.cd-icon {
  width: 44px; height: 44px;
  background: rgba(193,32,43,.18);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
}

.cd-text h5 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.45);
  margin-bottom: 5px;
}

.cd-text p,
.cd-text a {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  line-height: 1.65;
}

.cd-text a:hover { color: var(--accent); }

/* =============================================
   FOOTER
   ============================================= */

.footer-accent { height: 4px; background: linear-gradient(90deg, var(--accent) 0%, var(--blue) 60%, var(--dark) 100%); }

.site-footer { background: var(--dark); color: rgba(255,255,255,.72); }

.footer-main { padding: 70px 0 48px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 52px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-logo { margin-bottom: 18px; }
.footer-logo img {
  height: 50px;
}

.footer-about-text {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,255,255,.55);
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }

.footer-links a {
  color: rgba(255,255,255,.58);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: var(--trans);
}

.footer-links a:hover { color: var(--accent); padding-left: 5px; }

.footer-links a i {
  color: var(--accent);
  font-size: 10px;
  flex-shrink: 0;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
  width: 15px;
}

.footer-contact-item span,
.footer-contact-item a { color: rgba(255,255,255,.58); line-height: 1.65; }
.footer-contact-item a:hover { color: var(--accent); }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

.footer-bottom a { color: var(--accent); }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .intro-grid,
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .products-categories-bar { top: 68px; }
}

@media (max-width: 768px) {
  .header-topbar { display: none; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    z-index: 100;
  }

  .main-nav.open { display: flex; }

  .main-nav li a {
    padding: 14px 24px;
    font-size: 14px;
    border-left: 3px solid transparent;
  }

  .main-nav li a:hover,
  .main-nav li.active a {
    border-left-color: var(--accent);
  }

  .main-nav li a::after { display: none; }

  .header-main .container { position: relative; }

  .nav-toggle { display: flex; }

  .hero-slider { height: 380px; }
  .slide-content h2 { font-size: 30px; }
  .slide-content p { font-size: 15px; }
  .slide-eyebrow { display: none; }

  .section { padding: 52px 0; }
  .section-title { font-size: 28px; }
  .page-banner { padding: 48px 0; }
  .page-banner h1 { font-size: 32px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom .container { flex-direction: column; gap: 6px; text-align: center; }

  .cta-banner h2 { font-size: 28px; }

  .form-row-2 { grid-template-columns: 1fr; }

  .contact-form-card { padding: 28px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .slider-arrow { width: 40px; height: 40px; font-size: 15px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 300px; }
  .slide-content h2 { font-size: 24px; }
  .slide-actions { flex-direction: column; }
  .slide-content { padding: 0 20px; }
}

/* =============================================
   INLINE SVG ICONS
   ============================================= */

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
  fill: currentColor;
}

/* =============================================
   CSS HAMBURGER (replaces FA fa-bars)
   ============================================= */

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,.3);
  color: var(--white);
  width: 40px; height: 40px;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  transition: var(--trans);
}

.nav-toggle:hover { border-color: var(--accent); }

.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}

.nav-toggle:hover span { background: var(--accent); }

/* gallery / product hover icon */
.gallery-hover .icon,
.product-zoom-icon .icon { color: var(--white); font-size: 28px; width: 1.8em; height: 1.8em; }

/* =============================================
   CUSTOM LIGHTBOX
   ============================================= */

#vae-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#vae-lightbox.open { display: flex; }

#vae-lb-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.92);
  cursor: pointer;
}

#vae-lb-box {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
  animation: lbFadeIn .25s ease;
}

@keyframes lbFadeIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

#vae-lb-img {
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

#vae-lb-caption {
  color: rgba(255,255,255,.8);
  font-size: 13px;
  margin-top: 14px;
  max-width: 680px;
  line-height: 1.6;
}

#vae-lb-close {
  position: absolute;
  top: -44px; right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s;
  padding: 0;
  font-family: inherit;
}

#vae-lb-close:hover { color: var(--white); }

#vae-lb-prev,
#vae-lb-next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  cursor: pointer;
  font-size: 22px;
  transition: var(--trans);
  z-index: 2;
  backdrop-filter: blur(4px);
}

#vae-lb-prev:hover,
#vae-lb-next:hover { background: var(--accent); border-color: var(--accent); }

#vae-lb-prev { left: 16px; }
#vae-lb-next { right: 16px; }

@media (max-width: 768px) {
  #vae-lb-prev { left: 6px; }
  #vae-lb-next { right: 6px; }
  #vae-lb-prev, #vae-lb-next { width: 38px; height: 38px; font-size: 16px; }
}
