/* ==============================================================================
   FLOWLINE PUMPS AND ENGINEERING - HIGH-PERFORMANCE INDUSTRIAL THEME
   Hardware-Accelerated & Optimized for 60fps Smooth Scroll
   ============================================================================== */
:root {
  --fl-orange: #E66804;
  --fl-orange-hover: #C75600;
  --fl-orange-soft: #FFF7ED;
  --fl-charcoal: #1A1817;
  --fl-steel: #9E9D99;

  --fl-bg-body: #FFFFFF;
  --fl-bg-subtle: #F8FAFC;
  --fl-border: #E2E8F0;
  --fl-border-dark: #334155;

  --fl-text-main: #0F172A;
  --fl-text-muted: #475569;
  --fl-text-light: #94A3B8;

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: var(--font-family);
  background-color: var(--fl-bg-body);
  color: var(--fl-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { 
  max-width: 1260px; 
  margin: 0 auto; 
  padding: 0 1.25rem; 
}

a { 
  text-decoration: none; 
  color: inherit; 
}

/* 1. TOP ANNOUNCEMENT BAR */
.header-top-bar {
  background: var(--fl-charcoal);
  color: var(--fl-text-light);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #262626;
}
.top-flex { display: flex; justify-content: space-between; align-items: center; }
.top-tag { font-weight: 500; color: #CBD5E1; }
.top-contacts span { margin-left: 1.25rem; }
.top-contacts a { color: #F1F5F9; font-weight: 500; transition: color 0.15s; }
.top-contacts a:hover { color: var(--fl-orange); }

/* 2. MAIN HEADER */
.header-main-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--fl-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.nav-flex { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  height: 80px; 
}

.brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo-main {
  height: 40px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

/* DESKTOP NAVIGATION */
.primary-nav { display: flex; align-items: center; }
.nav-list { 
  display: flex; 
  list-style: none; 
  align-items: center; 
  gap: 0.35rem; 
  margin: 0; 
  padding: 0; 
}
.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--fl-text-main);
  padding: 0.6rem 0.85rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--fl-orange);
  background: var(--fl-orange-soft);
}
.nav-arrow { font-size: 0.65rem; transition: transform 0.2s ease; }
.has-dropdown:hover .nav-arrow { transform: rotate(180deg); }

/* DROPDOWN MENU */
.has-dropdown { position: relative; }
.dropdown-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
  z-index: 1001;
}
.has-dropdown:hover .dropdown-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-menu {
  background: #FFFFFF;
  border: 1px solid var(--fl-border);
  border-top: 3px solid var(--fl-orange);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  min-width: 320px;
  list-style: none;
  padding: 0.5rem 0;
}
.dropdown-menu li a {
  display: block;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #F1F5F9;
  transition: background 0.15s ease;
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a strong { display: block; font-size: 0.95rem; color: var(--fl-text-main); }
.dropdown-menu li a span { font-size: 0.75rem; color: var(--fl-text-muted); }
.dropdown-menu li a:hover {
  background: var(--fl-orange-soft);
}
.dropdown-menu li a:hover strong { color: var(--fl-orange); }

.desktop-cta-box { flex-shrink: 0; }
.btn-nav-rfq {
  background: var(--fl-orange);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.4rem;
  border-radius: 4px;
  white-space: nowrap;
  display: inline-block;
  transition: background 0.15s ease;
}
.btn-nav-rfq:hover {
  background: var(--fl-orange-hover);
}

/* MOBILE TOGGLE */
.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.mobile-toggle-btn .bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--fl-text-main);
}
.mobile-nav-cta { display: none; margin-top: 1.5rem; }

/* 3. HERO SECTION (HARDWARE-ACCELERATED) */
.hero-section {
  padding: 4.5rem 0;
  background: radial-gradient(circle at 85% 20%, rgba(230, 104, 4, 0.05) 0%, #FFFFFF 50%, var(--fl-bg-subtle) 100%);
  border-bottom: 1px solid var(--fl-border);
  position: relative;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center; }
.hero-tag-wrap { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }

.badge-oem {
  background: var(--fl-orange-soft);
  color: var(--fl-orange);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  border: 1px solid #FED7AA;
}
.badge-live-pulse {
  background: #F1F5F9;
  color: #334155;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #CBD5E1;
}

/* GPU-friendly pulse */
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22C55E;
  border-radius: 50%;
  transform: translate3d(0, 0, 0);
  animation: pulseGPU 2s infinite ease-out;
}
@keyframes pulseGPU {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-content h1 {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--fl-text-main);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}
.hero-lead {
  font-size: 1.125rem;
  color: var(--fl-text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 0.85rem; margin-bottom: 2.5rem; flex-wrap: wrap; }

.btn {
  padding: 0.85rem 1.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 4px;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--fl-orange); color: #FFF; }
.btn-primary:hover { background: var(--fl-orange-hover); transform: translateY(-2px); }
.btn-secondary { background: #E2E8F0; color: var(--fl-text-main); }
.btn-secondary:hover { background: #CBD5E1; }
.btn-outline { border: 1.5px solid var(--fl-border-dark); color: var(--fl-text-main); }
.btn-outline:hover { background: var(--fl-charcoal); color: #FFF; }

.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  border-top: 1px solid var(--fl-border);
  padding-top: 1.75rem;
}
.badge-item strong { display: block; font-size: 1.35rem; color: var(--fl-charcoal); font-weight: 800; }
.badge-item span { font-size: 0.75rem; color: var(--fl-text-muted); text-transform: uppercase; font-weight: 600; }

.cad-display-card {
  background: #FFFFFF;
  border: 1px solid var(--fl-border);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  text-align: center;
  position: relative;
}
.visual-interactive-wrap { position: relative; display: inline-block; width: 100%; }
.pump-render-main { 
  width: 100%; 
  height: auto; 
  max-height: 400px; 
  object-fit: contain; 
  margin: 0 auto; 
  display: block; 
}

.pump-hotspot { position: absolute; cursor: pointer; z-index: 10; }
.hotspot-seal { top: 48%; right: 28%; }
.hotspot-flange { top: 18%; left: 28%; }
.hotspot-pin {
  width: 14px;
  height: 14px;
  background-color: var(--fl-orange);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 0 3px rgba(230, 104, 4, 0.3);
}

.hotspot-tooltip {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fl-charcoal);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.pump-hotspot:hover .hotspot-tooltip { opacity: 1; visibility: visible; }
.cad-tag { margin-top: 1.25rem; font-size: 0.8rem; font-weight: 800; color: var(--fl-orange); letter-spacing: 0.5px; text-transform: uppercase; }

/* 4. REAL-TIME ENGINEERING MARQUEE (GPU OPTIMIZED) */
.engineering-ticker {
  background-color: var(--fl-charcoal);
  border-top: 2px solid var(--fl-orange);
  color: #CBD5E1;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.75rem 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.ticker-content { 
  display: inline-block; 
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: marqueeGPU 30s linear infinite; 
}
.ticker-content span { margin-right: 2.5rem; }
@keyframes marqueeGPU {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* 5. GENERAL SECTION SYSTEM */
.section-container { padding: 4.5rem 0; }
.bg-light { background: var(--fl-bg-subtle); }
.section-header { margin-bottom: 3rem; text-align: center; }
.section-subtitle { font-size: 0.8rem; font-weight: 800; color: var(--fl-orange); text-transform: uppercase; letter-spacing: 1.5px; }
.section-header h2 { font-size: 2.35rem; font-weight: 800; margin: 0.5rem 0; }
.section-header p { color: var(--fl-text-muted); font-size: 1.05rem; }

/* 6. PRODUCT CARDS */
.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  align-items: stretch;
}
.product-card {
  background: #FFFFFF;
  border: 1px solid var(--fl-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.card-image-box {
  height: 260px;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--fl-border);
  position: relative;
  overflow: hidden;
}
.card-image-box picture { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.card-image-box img {
  max-height: 210px;
  max-width: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.stock-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  font-size: 0.7rem;
  font-weight: 700;
  color: #334155;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}
.card-body { padding: 1.75rem; display: flex; flex-direction: column; flex-grow: 1; }
.series-tag { font-size: 0.75rem; font-weight: 800; color: var(--fl-orange); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.4rem; display: block; }
.card-body h3 { font-size: 1.35rem; font-weight: 800; color: var(--fl-text-main); margin: 0 0 0.5rem 0; }
.card-body p { font-size: 0.885rem; color: var(--fl-text-muted); line-height: 1.55; margin-bottom: 1.25rem; }
.card-spec-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin-top: auto; margin-bottom: 1.5rem; }
.card-spec-table td { padding: 0.45rem 0; border-bottom: 1px solid #F1F5F9; }
.card-btn { font-size: 0.9rem; font-weight: 700; color: var(--fl-orange); display: inline-block; margin-top: auto; }
.card-btn:hover { color: var(--fl-orange-hover); }

/* 7. TECHNICAL METALLURGY MATRIX */
.metallurgy-section-block {
  margin-top: 4.5rem;
  background: #FFFFFF;
  border: 1px solid var(--fl-border);
  border-radius: 8px;
  padding: 2rem;
}
.metallurgy-header { margin-bottom: 1.5rem; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; }
.metallurgy-header h3 { font-size: 1.6rem; font-weight: 800; margin-top: 0.25rem; }
.metallurgy-header p { color: var(--fl-text-muted); font-size: 0.95rem; }
.table-responsive-wrapper { overflow-x: auto; }
.spec-matrix-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.spec-matrix-table th { background: var(--fl-charcoal); color: #FFFFFF; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; padding: 1rem; text-align: left; }
.spec-matrix-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--fl-border); font-size: 0.9rem; color: var(--fl-text-main); }
.spec-matrix-table tr:hover td { background-color: var(--fl-orange-soft); }

/* 8. CAPTIVE FOUNDRY BAND */
.foundry-band { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 3.5rem; align-items: center; }
.foundry-text h2 { font-size: 2.2rem; font-weight: 800; margin: 0.5rem 0 1rem; }
.foundry-text p { color: var(--fl-text-muted); margin-bottom: 1rem; font-size: 1rem; line-height: 1.7; }
.check-list { list-style: none; margin: 1.5rem 0; }
.check-list li { margin-bottom: 0.6rem; font-size: 0.95rem; font-weight: 600; color: #334155; }
.check-list li::before { content: "✓ "; color: var(--fl-orange); font-weight: 900; }
.foundry-stat-card { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.stat-box { background: var(--fl-bg-subtle); border: 1px solid var(--fl-border); padding: 1.75rem 1rem; border-radius: 6px; text-align: center; }
.stat-number { display: block; font-size: 2.2rem; font-weight: 900; color: var(--fl-orange); }
.stat-label { font-size: 0.75rem; text-transform: uppercase; color: var(--fl-text-muted); font-weight: 700; }

/* 9. APPLICATION LANDSCAPES */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; }
.industry-card {
  background: #FFFFFF;
  border: 1px solid var(--fl-border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}
.industry-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: transparent; }
.industry-card:hover { transform: translateY(-4px); border-color: #FED7AA; }
.industry-card:hover::before { background: var(--fl-orange); }
.industry-icon-box {
  width: 54px;
  height: 54px;
  background-color: var(--fl-bg-subtle);
  border: 1px solid var(--fl-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fl-charcoal);
  flex-shrink: 0;
}
.industry-card:hover .industry-icon-box { background-color: var(--fl-orange-soft); color: var(--fl-orange); }
.industry-content { display: flex; flex-direction: column; gap: 0.5rem; }
.industry-title { font-size: 1.25rem; font-weight: 800; color: var(--fl-text-main); }
.industry-card:hover .industry-title { color: var(--fl-orange); }
.industry-text { font-size: 0.9rem; color: var(--fl-text-muted); line-height: 1.6; }

/* 10. PAGE TITLE BANNERS */
.page-title-banner {
  background: radial-gradient(circle at 90% 10%, rgba(230, 104, 4, 0.08) 0%, #FFFFFF 40%, var(--fl-bg-subtle) 100%);
  padding: 3.5rem 0 3rem 0;
  border-bottom: 1px solid var(--fl-border);
}
.page-subtitle { font-size: 0.8rem; font-weight: 800; color: var(--fl-orange); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 0.5rem; }
.page-title-banner h1 { font-size: 2.5rem; font-weight: 900; color: var(--fl-text-main); line-height: 1.2; margin-bottom: 0.75rem; }
.lead-banner-text { font-size: 1.1rem; color: var(--fl-text-muted); max-width: 800px; }
.breadcrumb-nav { font-size: 0.85rem; color: var(--fl-text-muted); margin-bottom: 1rem; }
.breadcrumb-nav a { color: var(--fl-text-main); font-weight: 600; }
.breadcrumb-nav a:hover { color: var(--fl-orange); }

/* 11. ABOUT PAGE & GALLERY */
.about-intro-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 3.5rem; align-items: center; }
.about-narrative h2 { font-size: 2.15rem; font-weight: 800; margin-bottom: 1.25rem; }
.about-narrative p { font-size: 1.05rem; color: var(--fl-text-muted); margin-bottom: 1.25rem; line-height: 1.7; }
.pillar-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.5rem; }
.pillar-box { background: var(--fl-bg-subtle); border: 1px solid var(--fl-border); border-left: 3px solid var(--fl-orange); padding: 1.25rem; border-radius: 4px; }
.pillar-box strong { display: block; font-size: 0.95rem; color: var(--fl-text-main); margin-bottom: 0.35rem; }
.pillar-box p { font-size: 0.85rem; margin: 0; line-height: 1.5; }

.about-hero-stat-card { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.stat-banner-box { background: #FFFFFF; border: 1px solid var(--fl-border); padding: 1.75rem 1.25rem; border-radius: 8px; text-align: center; }
.big-metric { font-size: 2.4rem; font-weight: 900; color: var(--fl-orange); display: block; }
.metric-caption { font-size: 0.8rem; color: var(--fl-text-muted); font-weight: 700; text-transform: uppercase; margin-top: 0.35rem; display: block; }

.photo-equipment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; align-items: stretch; }
.equipment-card {
  background: #FFFFFF;
  border: 1px solid var(--fl-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease;
}
.equipment-card:hover { transform: translateY(-4px); }
.equipment-img-wrap {
  height: 240px;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--fl-border);
  position: relative;
  overflow: hidden;
}
.equipment-img-wrap img {
  max-height: 190px !important;
  max-width: 85% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block;
}
.equipment-card figcaption { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.eq-tag { font-size: 0.7rem; font-weight: 800; color: var(--fl-orange); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.4rem; }
.equipment-card h4 { font-size: 1.15rem; font-weight: 800; color: var(--fl-text-main); margin-bottom: 0.5rem; }
.equipment-card p { font-size: 0.85rem; color: var(--fl-text-muted); line-height: 1.55; }

/* 12. HIGH-PERFORMANCE RFQ FORM (NO LAG) */
.contact-grid-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2.75rem;
  align-items: flex-start;
}

.modern-rfq-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.modern-rfq-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--fl-orange);
}

.rfq-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.rfq-sla-pill {
  font-size: 0.75rem;
  font-weight: 700;
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

.form-intro-header h2 {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--fl-text-main);
  letter-spacing: -0.5px;
  margin: 0.35rem 0;
}

.form-intro-header p {
  color: var(--fl-text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
}

/* FORM STEP SECTIONS */
.form-section-block {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #F1F5F9;
}

.section-legend {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.step-num {
  font-size: 0.8rem;
  font-weight: 900;
  color: #FFFFFF;
  background: var(--fl-charcoal);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-legend strong {
  display: block;
  font-size: 0.95rem;
  color: var(--fl-text-main);
  font-weight: 800;
}

.step-sub {
  font-size: 0.775rem;
  color: var(--fl-text-muted);
}

/* RADIO CARDS */
.pump-pill-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.pill-radio-item {
  cursor: pointer;
  position: relative;
}

.pill-radio-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-content {
  display: block;
  padding: 0.75rem 1rem;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pill-content strong {
  display: block;
  font-size: 0.875rem;
  color: var(--fl-text-main);
  font-weight: 700;
}

.pill-content span {
  display: block;
  font-size: 0.75rem;
  color: var(--fl-text-muted);
  margin-top: 0.15rem;
}

.pill-radio-item input:checked + .pill-content {
  background: #FFF7ED;
  border-color: var(--fl-orange);
}

.pill-radio-item input:checked + .pill-content strong {
  color: var(--fl-orange);
}

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group-modern { margin-bottom: 1.15rem; }
.form-group-modern label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.35rem;
}

.input-with-icon { position: relative; }
.input-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  opacity: 0.7;
  pointer-events: none;
}
.input-with-icon input { padding-left: 2.5rem !important; }

.form-group-modern input,
.form-group-modern textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background-color: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 6px;
  color: var(--fl-text-main);
  font-family: inherit;
  font-size: 0.925rem;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.form-group-modern input:focus,
.form-group-modern textarea:focus {
  background-color: #FFFFFF;
  border-color: var(--fl-orange);
  outline: none;
}

/* SUBMIT BUTTON */
.btn-rfq-submit-modern {
  width: 100%;
  padding: 0.95rem 1.5rem;
  background: var(--fl-orange);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  transition: background 0.15s ease;
}

.btn-rfq-submit-modern:hover {
  background: var(--fl-orange-hover);
}

.btn-main-label { font-size: 1.05rem; font-weight: 800; }
.btn-sub-label { font-size: 0.775rem; opacity: 0.9; }
.form-security-note {
  text-align: center;
  font-size: 0.775rem;
  color: var(--fl-text-muted);
  margin-top: 0.75rem;
}

/* RIGHT COLUMN WHATSAPP CARD */
.direct-wa-card-modern {
  background: #FFFFFF;
  border: 1.5px solid #BBF7D0;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.direct-wa-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #25D366;
  border-radius: 12px 12px 0 0;
}

.wa-badge-pulse {
  display: inline-block;
  background: #F0FDF4;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  border: 1px solid #BBF7D0;
  margin-bottom: 1rem;
}

.wa-icon-large {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
  color: #FFFFFF;
}

.direct-wa-card-modern h3 { font-size: 1.25rem; font-weight: 800; color: #14532D; margin-bottom: 0.35rem; }
.direct-wa-card-modern p { font-size: 0.85rem; color: #166534; line-height: 1.55; margin-bottom: 1.25rem; }

.btn-wa-direct-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: #25D366;
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.8rem 1.25rem;
  border-radius: 6px;
  transition: background 0.15s ease;
}
.btn-wa-direct-modern:hover { background: #1EBE5D; }

.contact-card-box {
  background: #FFFFFF;
  border: 1px solid var(--fl-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.contact-card-box h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--fl-text-main);
  border-bottom: 2px solid var(--fl-orange);
  display: inline-block;
  padding-bottom: 0.2rem;
  margin-bottom: 0.85rem;
}
.contact-card-box address { font-style: normal; font-size: 0.85rem; line-height: 1.7; color: var(--fl-text-muted); }
.contact-card-box address a { color: var(--fl-text-main); font-weight: 600; }
.contact-card-box address a:hover { color: var(--fl-orange); }

/* 13. FOOTER (DARK & CLEAN) */
.site-footer {
  background-color: var(--fl-charcoal) !important;
  color: var(--fl-text-light) !important;
  padding-top: 4rem !important;
  display: block !important;
  width: 100% !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1fr 1fr !important;
  gap: 2.5rem !important;
  margin-bottom: 3.5rem !important;
}

.footer-logo-img {
  height: 40px !important;
  width: auto !important;
  max-width: 240px !important;
  max-height: 45px !important;
  object-fit: contain !important;
  margin-bottom: 1.25rem !important;
  display: block !important;
}

.footer-desc {
  font-size: 0.85rem !important;
  line-height: 1.7 !important;
  margin-bottom: 1.5rem !important;
  color: #94A3B8 !important;
}

.social-pills a {
  display: inline-block !important;
  background: #262626 !important;
  color: #F1F5F9 !important;
  font-size: 0.8rem !important;
  padding: 0.35rem 0.75rem !important;
  border-radius: 4px !important;
  margin-right: 0.5rem !important;
  transition: background 0.15s ease !important;
}
.social-pills a:hover {
  background: var(--fl-orange) !important;
  color: #FFFFFF !important;
}

.footer-col h4 {
  color: #FFFFFF !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.25rem !important;
  border-bottom: 2px solid var(--fl-orange) !important;
  display: inline-block !important;
  padding-bottom: 0.3rem !important;
}

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

.footer-links li {
  margin-bottom: 0.6rem !important;
  font-size: 0.85rem !important;
}

.footer-links a {
  color: #CBD5E1 !important;
  transition: color 0.15s ease !important;
}
.footer-links a:hover {
  color: var(--fl-orange) !important;
}

.footer-col address {
  font-style: normal !important;
  font-size: 0.85rem !important;
  line-height: 1.75 !important;
  color: #94A3B8 !important;
}
.footer-col address strong { color: #F1F5F9 !important; }

.footer-bottom {
  border-top: 1px solid #262626 !important;
  padding: 1.5rem 0 !important;
  font-size: 0.85rem !important;
  background-color: #141312 !important;
}

.bottom-flex {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  color: #64748B !important;
}

.admin-link {
  color: #64748B !important;
  font-size: 0.8rem !important;
}
.admin-link:hover { color: var(--fl-orange) !important; }

/* 14. FLOATING WHATSAPP BUTTON */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: transform 0.15s ease;
}
.floating-whatsapp-btn:hover {
  transform: translateY(-2px);
}
.floating-wa-label {
  font-weight: 700;
  font-size: 0.9rem;
}

/* 15. RESPONSIVE BREAKPOINTS */
@media (max-width: 1023px) {
  .mobile-toggle-btn { display: flex; }
  .desktop-cta-box { display: none; }

  .primary-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: #FFFFFF;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    transform: translate3d(-100%, 0, 0);
    transition: transform 0.25s ease-in-out;
    overflow-y: auto;
  }
  .primary-nav.is-open { transform: translate3d(0, 0, 0); }

  .nav-list { flex-direction: column; width: 100%; align-items: flex-start; gap: 0.5rem; }
  .nav-list li { width: 100%; }
  .nav-link { width: 100%; padding: 0.85rem 1rem; font-size: 1.05rem; border-bottom: 1px solid var(--fl-border); }

  .dropdown-wrapper {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding-top: 0;
  }
  .dropdown-wrapper.mobile-expanded { display: block; }
  .dropdown-menu { border: none; box-shadow: none; padding-left: 1rem; background: var(--fl-bg-subtle); }
  .mobile-nav-cta { display: block; width: 100%; }

  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-content h1 { font-size: 2.3rem; }
  .hero-badges { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .foundry-band { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 2rem; }
  .industry-grid { grid-template-columns: 1fr 1fr; }

  .about-intro-grid, .contact-grid-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .pillar-points { grid-template-columns: 1fr; }
  .pump-pill-selector { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .hide-mobile { display: none; }
  .top-flex { justify-content: center; text-align: center; flex-direction: column; gap: 0.25rem; }
  .top-contacts span { margin: 0 0.5rem; }

  .nav-flex { height: 70px; }
  .site-logo-main { max-width: 165px; height: 32px; }

  .hero-section { padding: 2.5rem 0; }
  .hero-content h1 { font-size: 1.85rem; line-height: 1.25; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .product-cards-grid { grid-template-columns: 1fr; }
  .photo-equipment-grid { grid-template-columns: 1fr; }
  .foundry-stat-card { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .modern-rfq-card { padding: 1.75rem 1.25rem; }

  .footer-grid { grid-template-columns: 1fr !important; }
  .bottom-flex { flex-direction: column; text-align: center; gap: 0.75rem; }
  
  .floating-wa-label { display: none; }
  .floating-whatsapp-btn { padding: 0.75rem; border-radius: 50%; }
}