:root {
    --navy: #0B2A3C;
    --navy-mid: #0e3347;
    --blue: #1F5A7A;
    --process-blue: #2C8DBF;
    --steel: #6B7C86;
    --light-gray: #E6ECEF;
    --white: #FFFFFF;
    --amber: #C8872A;
    --text-dark: #0B2A3C;
    --text-muted: #6B7C86;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
  }


  /* ===================== NAV ===================== */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--navy);
    border-bottom: 2px solid var(--process-blue);
    padding: 0 5%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-logo img {
    height: 48px;
    width: auto;
  }

  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
  }

  .nav-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--process-blue); }

  .nav-cta {
    background: var(--process-blue);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 2px;
    transition: background 0.2s !important;
  }

  .nav-cta:hover { background: var(--blue) !important; color: var(--white) !important; }

  .nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
  }

  .nav-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
  }

  /* ===================== HERO ===================== */
  .hero {
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }

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

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

  .hero-slide:nth-child(1) {
    background-image: url('/images/lamella-pump.webp');
  }
  .hero-slide:nth-child(2) {
    background-image: url('/images/enviroflex-peristaltic.webp');
  }
  .hero-slide:nth-child(3) {
    background-image: url('/images/marlen-twin-piston.webp');
  }
  .hero-slide:nth-child(4) {
    background-image: url('/images/vump-system.webp');
  }

  .hero-slide:nth-child(5) {
    background-image: url('/images/enviroflex-aodd.png');
  }

  .hero-slide:nth-child(6) {
    background-image: url('/images/JS-Unloading.png');
  }

  .hero-slide:nth-child(7) {
    background-image: url('/images/ampco-pump.jpg');
  }

  /* Flow line SVG animation */
  .hero-flow {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    overflow: hidden;
    pointer-events: none;
  }

  .hero-flow svg {
    width: 100%;
    height: 100%;
  }

  .flow-path {
    stroke: var(--process-blue);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: flowDraw 3s ease-out 0.5s forwards;
    opacity: 0.6;
  }

  @keyframes flowDraw {
    to { stroke-dashoffset: 0; }
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding: 5% 5% 8%;
    max-width: 900px;
  }

  .hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--process-blue);
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.3s forwards;
  }

  .hero-h1 {
    font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    color: var(--white);
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.5s forwards;
  }

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

  .hero-subhead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #ffffff;
    max-width: 560px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.7s forwards;
  }

  .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.9s forwards;
  }

  .btn-primary {
    background: var(--process-blue);
    color: var(--white);
    padding: 0.875rem 2rem;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
  }

  .btn-primary:hover { background: var(--blue); transform: translateY(-1px); }

  .btn-ghost {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 0.875rem 2rem;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: border-color 0.2s, background 0.2s;
    display: inline-block;
  }

  .btn-ghost:hover { border-color: var(--process-blue); background: rgba(44,141,191,0.08); }

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

  /* ===================== TRUST BAR ===================== */
  .trust-bar {
    background: var(--navy-mid);
    border-top: 1px solid rgba(44,141,191,0.2);
    border-bottom: 1px solid rgba(44,141,191,0.2);
    padding: 1.25rem 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
  }

  .trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--light-gray);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
  }

  .trust-icon {
    width: 20px;
    height: 20px;
    fill: var(--process-blue);
    flex-shrink: 0;
  }

  /* ===================== SECTIONS ===================== */
  section { padding: 5rem 5%; }

  .section-label {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--process-blue);
    font-weight: 600;
    margin-bottom: 0.75rem;
  }

  .section-title {
    font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--navy);
    line-height: 1;
    letter-spacing: 0.03em;
    margin-bottom: 1.25rem;
  }

  .section-title.light { color: var(--white); }

  .section-body {
    font-size: 1rem;
    color: var(--steel);
    max-width: 580px;
    line-height: 1.75;
  }

  .section-divider {
    width: 48px;
    height: 3px;
    background: var(--process-blue);
    margin: 1.25rem 0;
  }

  /* ===================== PRODUCTS ===================== */
  .products-section {
    background: var(--light-gray);
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .product-card {
    background: var(--white);
    border-top: 3px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    overflow: hidden;
  }

  .product-card:hover {
    border-top-color: var(--process-blue);
    box-shadow: 0 12px 40px rgba(11,42,60,0.12);
    transform: translateY(-4px);
  }

  .product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    filter: brightness(0.95) saturate(0.9);
    transition: filter 0.3s;
  }

  .product-card:hover .product-img { filter: brightness(1) saturate(1); }

  .product-body {
    padding: 1.5rem;
  }

  .product-tag {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--process-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
  }

  .product-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--navy);
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
    line-height: 1.1;
  }

  .product-desc {
    font-size: 0.88rem;
    color: var(--steel);
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  .product-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }

  .product-specs li {
    font-size: 0.78rem;
    color: var(--navy);
    padding-left: 1rem;
    position: relative;
    font-weight: 500;
  }

  .product-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--process-blue);
  }

  /* ===================== ABOUT (E-E-A-T) ===================== */
  .about-section {
    background: var(--navy);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 6rem 5%;
  }

  .about-image-wrap {
    position: relative;
  }

  .about-image-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    filter: brightness(0.85) saturate(0.8);
  }

  .about-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--process-blue);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
    min-width: 140px;
  }

  .about-badge-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    line-height: 1;
    display: block;
  }

  .about-badge-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.9;
  }

  .about-content { }

  .about-credentials {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .credential-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(255,255,255,0.04);
    border-left: 2px solid var(--process-blue);
  }

  .credential-icon {
    width: 20px;
    height: 20px;
    fill: var(--process-blue);
    flex-shrink: 0;
    margin-top: 2px;
  }

  .credential-text strong {
    display: block;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
  }

  .credential-text span {
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1.5;
  }

  /* ===================== GALLERY ===================== */
  .gallery-section { background: var(--white); }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 280px 280px;
    gap: 0.5rem;
    margin-top: 3rem;
  }

  .gallery-item {
    overflow: hidden;
    position: relative;
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.75) brightness(0.9);
    transition: filter 0.4s, transform 0.5s;
  }

  .gallery-item:hover img {
    filter: saturate(1) brightness(1);
    transform: scale(1.04);
  }

  .gallery-item:nth-child(1) { grid-column: span 5; }
  .gallery-item:nth-child(2) { grid-column: span 4; }
  .gallery-item:nth-child(3) { grid-column: span 3; }
  .gallery-item:nth-child(4) { grid-column: span 3; }
  .gallery-item:nth-child(5) { grid-column: span 5; }
  .gallery-item:nth-child(6) { grid-column: span 4; }
  .gallery-item:nth-child(7) { grid-column: span 6; }
  .gallery-item:nth-child(8) { grid-column: span 6; }
  .gallery-item:nth-child(9) { grid-column: span 4; }

  .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,42,60,0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
  }

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

  .gallery-overlay span {
    color: var(--white);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
  }

  /* ===================== FAQ (GEO FIX) ===================== */
  .faq-section {
    background: var(--light-gray);
  }

  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
  }

  .faq-item {
    background: var(--white);
    border-left: 3px solid var(--process-blue);
    padding: 1.5rem;
  }

  .faq-q {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.6rem;
    line-height: 1.4;
  }

  .faq-a {
    font-size: 0.86rem;
    color: var(--steel);
    line-height: 1.7;
  }

  /* ===================== INDUSTRIES ===================== */
  .industries-section {
    background: var(--navy);
    padding: 5rem 5%;
  }

  .industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
  }

  .industry-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(44,141,191,0.2);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: background 0.2s, border-color 0.2s;
  }

  .industry-card:hover {
    background: rgba(44,141,191,0.1);
    border-color: var(--process-blue);
  }

  .industry-icon {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto 0.75rem;
    fill: var(--process-blue);
  }

  .industry-name {
    font-size: 0.8rem;
    color: var(--light-gray);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.3;
  }

  /* ===================== CONTACT ===================== */
  .contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 520px;
  }

  .contact-info {
    background: var(--navy);
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }

  .contact-icon {
    width: 20px;
    height: 20px;
    fill: var(--process-blue);
    flex-shrink: 0;
    margin-top: 2px;
  }

  .contact-detail-text strong {
    display: block;
    color: var(--light-gray);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    font-weight: 600;
  }

  .contact-detail-text a,
  .contact-detail-text span {
    color: var(--white);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 400;
    transition: color 0.2s;
  }

  .contact-detail-text a:hover { color: var(--process-blue); }

  .contact-form-wrap {
    background: var(--light-gray);
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .form-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--navy);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
  }

  .form-subtitle {
    font-size: 0.85rem;
    color: var(--steel);
    margin-bottom: 2rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-group label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 0.4rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #c8d4da;
    background: var(--white);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--navy);
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--process-blue);
  }

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

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

  .form-submit {
    width: 100%;
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 0.9rem;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s;
    margin-top: 0.5rem;
  }

  .form-submit:hover { background: var(--process-blue); }

  /* ===================== FOOTER ===================== */
  footer {
    background: #071d29;
    padding: 3rem 5% 1.5rem;
    border-top: 2px solid var(--process-blue);
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
  }

  .footer-brand img { height: 40px; margin-bottom: 1rem; }

  .footer-tagline {
    font-size: 0.8rem;
    color: #ffffff;
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: 1rem;
  }

  .footer-col h4 {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--process-blue);
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .footer-col a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
  }

  .footer-col a:hover { color: var(--white); }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .footer-copy {
    font-size: 0.75rem;
    color: #ffffff;
  }

  .footer-flow {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--process-blue), transparent);
    margin-bottom: 2rem;
    opacity: 0.4;
  }

  /* ===================== FLOW ACCENT LINE ===================== */
  .flow-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--process-blue), var(--blue), transparent);
    width: 100%;
  }

  /* ===================== RESPONSIVE ===================== */
  @media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-links.open {
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 72px; left: 0; right: 0;
      background: var(--navy);
      padding: 2rem;
      gap: 1.25rem;
      border-top: 1px solid rgba(44,141,191,0.3);
    }
    .nav-mobile-toggle { display: flex; }

    .about-section { grid-template-columns: 1fr; gap: 3rem; }
    .about-badge { bottom: 0; right: 0; }

    .gallery-grid {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto;
    }

    .gallery-item { grid-column: span 1 !important; height: 200px; }

    .faq-grid { grid-template-columns: 1fr; }

    .contact-section { grid-template-columns: 1fr; }
    .contact-info { padding: 3rem 5%; }
    .contact-form-wrap { padding: 3rem 5%; }

    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

    .form-row { grid-template-columns: 1fr; }
  }

  /* ===================== SCROLL REVEAL ===================== */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
