/*
Theme Name: FM Instruments
Theme URI: https://fminstruments.com
Author: FM Instruments
Author URI: https://fminstruments.com
Description: Professional Industrial Process Instrumentation Theme for FM Instruments
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fm-instruments
Tags: industrial, business, custom-menu, featured-images, full-width-template
*/

/* ========== CSS VARIABLES ========== */
:root {
  --red: #DC1F29;
  --red-dark: #b81820;
  --grey: #5D5D5F;
  --dark: #1E1E1E;
  --dark2: #2a2a2a;
  --light: #F7F7F7;
  --white: #FFFFFF;
  --black: #111111;
  --border: #e0e0e0;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  color: #333;
  background: #fff;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--dark);
  color: #ccc;
  font-size: 12.5px;
  padding: 7px 0;
  font-family: var(--font-body);
}
.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #bbb;
  font-size: 12px;
}
.top-bar-left .divider { color: #555; }
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-bar-right a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ccc;
  font-size: 12px;
  transition: color 0.2s;
}
.top-bar-right a:hover { color: #fff; }
.top-bar-right .whatsapp-btn {
  background: #25D366;
  color: #fff;
  padding: 4px 14px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.top-bar-right .whatsapp-btn:hover { background: #1ebe5d; }

/* ========== MAIN HEADER / NAV ========== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0;
}
.site-logo .logo-fm {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -1px;
  line-height: 1;
}
.site-logo .logo-fm span { color: var(--red); }
.site-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--grey);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  line-height: 1.2;
  margin-left: 4px;
  margin-top: 4px;
}
.site-logo .logo-tagline {
  font-size: 9px;
  color: #aaa;
  letter-spacing: 1.5px;
  font-family: var(--font-body);
  display: block;
}

/* Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav ul li { position: relative; }
.main-nav ul li > a {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dark);
  padding: 8px 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
  white-space: nowrap;
}
.main-nav ul li > a:hover,
.main-nav ul li.current-menu-item > a { color: var(--red); }
.main-nav ul li > a .arrow {
  font-size: 9px;
  margin-top: 1px;
}
/* Dropdown */
.main-nav ul li .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-top: 2px solid var(--red);
  z-index: 999;
  padding: 6px 0;
}
.main-nav ul li:hover .sub-menu { display: block; }
.main-nav ul li .sub-menu li a {
  font-size: 12.5px;
  padding: 8px 18px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  display: block;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}
.main-nav ul li .sub-menu li a:hover {
  color: var(--red);
  border-left-color: var(--red);
  background: #fafafa;
}
.submenu-toggle {
  display: none;
}
.header-cta {
  background: var(--red);
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 3px;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s !important;
  white-space: nowrap;
}
.header-cta:hover { background: var(--red-dark) !important; color: #fff !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s;
}

/* ========== HERO SECTION ========== */
.hero-section {
  position: relative;
  min-height: 520px;
  background: linear-gradient(100deg, #111 0%, #1a1a1a 40%, #2a2a2a 70%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.22;
}
.hero-red-accent {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(135deg, transparent 0%, rgba(220,31,41,0.12) 40%, rgba(220,31,41,0.22) 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero-content { max-width: 580px; }
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.hero-content p {
  font-size: 15px;
  color: #ccc;
  margin-bottom: 28px;
  line-height: 1.7;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 14px;
  border-radius: 3px;
}
.hero-badge .badge-icon { font-size: 18px; color: var(--red); }
.hero-badge .badge-text {
  font-size: 11px;
  color: #ccc;
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.3;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: #fff;
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 3px;
  border: 2px solid rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-instruments-grid {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
.instrument-placeholder {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  font-family: var(--font-body);
  text-align: center;
  padding: 10px;
}
.instrument-placeholder .inst-icon { font-size: 36px; color: rgba(255,255,255,0.3); }

/* ========== SECTION COMMON ========== */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.section-header .red-line {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 8px auto 0;
  border-radius: 2px;
}
.section-header p {
  color: #666;
  font-size: 14.5px;
  max-width: 600px;
  margin: 10px auto 0;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HOMEPAGE PRODUCT CATEGORIES ========== */
.product-categories-section {
  padding: 60px 0 50px;
  background: var(--white);
}
.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.home-cat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.home-cat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.home-cat-card:hover {
  box-shadow: 0 8px 22px rgba(0,0,0,0.10);
  transform: translateY(-2px);
  border-color: var(--red);
}
.home-cat-card:hover::after { transform: scaleX(1); }
.home-cat-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  width: 100%;
}
.home-cat-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--light);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--red);
}
.home-cat-card-head h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0;
}
.home-cat-desc {
  font-size: 12px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}
.home-cat-card .cat-link {
  font-size: 11.5px;
  color: var(--red);
  font-weight: 600;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ========== TRUST BAR ========== */
.trust-bar {
  background: var(--dark);
  padding: 22px 0;
}
.trust-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
  color: #fff;
}
.trust-item:last-child { border-right: none; }
.trust-item .ti-icon { font-size: 30px; color: var(--red); flex-shrink: 0; }
.trust-item .ti-text h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}
.trust-item .ti-text p {
  font-size: 11.5px;
  color: #aaa;
  line-height: 1.4;
}
.trust-item.download-item { cursor: pointer; transition: opacity 0.2s; }
.trust-item.download-item:hover { opacity: 0.85; }
.trust-item.download-item .ti-icon { color: #aaa; }

/* ========== ABOUT + CERTS + FEATURED ========== */
.about-cert-featured {
  padding: 55px 0;
  background: var(--white);
}
.acf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 30px;
  align-items: start;
}
/* About */
.about-block h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-block h2::before {
  content: '';
  display: block;
  width: 4px;
  height: 22px;
  background: var(--red);
  border-radius: 2px;
}
.about-block p {
  font-size: 13.5px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 18px;
}
.about-block .know-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--red);
  color: #fff;
  padding: 10px 20px;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.about-block .know-more-btn:hover { background: var(--red-dark); }

/* Certs */
.certs-block h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.certs-block h2::before {
  content: '';
  display: block;
  width: 4px;
  height: 22px;
  background: var(--red);
  border-radius: 2px;
}
.certs-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cert-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cert-badge {
  width: 70px;
  height: 70px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 9px;
  font-weight: 700;
  color: var(--grey);
  text-align: center;
  padding: 8px;
  font-family: var(--font-heading);
  line-height: 1.2;
  transition: border-color 0.2s;
  cursor: pointer;
}
.cert-badge:hover { border-color: var(--red); }
.cert-badge .cert-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.cert-item span {
  font-size: 10.5px;
  color: #777;
  font-weight: 600;
  font-family: var(--font-body);
}

/* Featured Products */
.featured-block h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.featured-block h2::before {
  content: '';
  display: block;
  width: 4px;
  height: 22px;
  background: var(--red);
  border-radius: 2px;
}
.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.feat-product-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.feat-product-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.10); transform: translateY(-2px); }
.feat-product-img {
  background: var(--light);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: #bbb;
  overflow: hidden;
}
.feat-product-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.feat-product-info { padding: 10px 12px 14px; }
.feat-product-info h4 {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
  line-height: 1.3;
}
.feat-product-info .view-link {
  font-size: 11px;
  color: var(--red);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--red);
  padding: 28px 0;
}
.cta-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-text h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}
.cta-text p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
}
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-white {
  background: #fff;
  color: var(--red);
  padding: 11px 22px;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-white:hover { background: #f0f0f0; }
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 11px 22px;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-whatsapp:hover { background: #1ebe5d; }

/* ========== INDUSTRIES ========== */
.industries-section {
  padding: 60px 0;
  background: var(--light);
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}
.industry-card {
  background: #fff;
  border-radius: 4px;
  padding: 20px 10px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.industry-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.10); border-color: var(--red); }
.industry-card .ind-icon { font-size: 30px; margin-bottom: 8px; }
.industry-card h4 {
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

/* ========== WHY CHOOSE ========== */
.why-section {
  padding: 60px 0;
  background: #fff;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--light);
  border-radius: 4px;
  padding: 30px 24px;
  text-align: center;
  border-top: 4px solid var(--red);
  transition: box-shadow 0.2s;
}
.why-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.why-card .why-icon { font-size: 36px; margin-bottom: 14px; color: var(--red); }
.why-card h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.why-card p { font-size: 13px; color: #666; line-height: 1.6; }

/* ========== BLOG ========== */
.blog-section {
  padding: 60px 0;
  background: var(--light);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.blog-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.blog-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.10); transform: translateY(-2px); }
.blog-img {
  background: var(--dark);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  overflow: hidden;
}
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-info { padding: 16px; }
.blog-info .blog-cat {
  font-size: 10.5px;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-family: var(--font-body);
}
.blog-info h4 {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 10px;
}
.blog-info .read-more {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--dark);
  color: #ccc;
  padding: 50px 0 0;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-about .footer-logo {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}
.footer-about .footer-logo span { color: var(--red); }
.footer-about p { font-size: 13px; color: #aaa; line-height: 1.7; margin-bottom: 16px; }
.footer-contact-info { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-info a {
  font-size: 13px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.footer-contact-info a:hover { color: #fff; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 13px;
  color: #aaa;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: #fff; }
.footer-col ul li a::before {
  content: '›';
  color: var(--red);
  font-size: 16px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 20px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 12.5px; color: #777; }
.footer-bottom-right {
  display: flex;
  gap: 14px;
}
.footer-bottom-right a { font-size: 12.5px; color: #777; transition: color 0.2s; }
.footer-bottom-right a:hover { color: #ccc; }
.footer-copy-wrapper {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ========== FLOATING WHATSAPP ========== */
.float-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  z-index: 9999;
  transition: transform 0.2s;
  text-decoration: none;
}
.float-whatsapp:hover { transform: scale(1.1); }
.float-whatsapp svg { width: 28px; height: 28px; fill: #fff; }

/* ========== INNER PAGE HERO ========== */
.page-hero {
  background: linear-gradient(100deg, #111 0%, #222 100%);
  padding: 42px 0;
  position: relative;
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #aaa;
}
.breadcrumb a { color: #ccc; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--red); }

/* ========== CONTACT PAGE ========== */
.contact-section { padding: 60px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.contact-info-block h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}
.contact-details { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.contact-detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-detail-item .cd-icon {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-detail-item .cd-text h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}
.contact-detail-item .cd-text p,
.contact-detail-item .cd-text a {
  font-size: 13.5px;
  color: #555;
  line-height: 1.5;
}
.rfq-form-block { background: var(--light); padding: 30px; border-radius: 4px; }
.rfq-form-block h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #444;
  margin-bottom: 5px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 13.5px;
  font-family: var(--font-body);
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ========== PRODUCTS PAGE ========== */
.products-section { padding: 55px 0; }
.products-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; }
.products-sidebar { background: var(--light); border-radius: 4px; padding: 20px; }
.sidebar-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}
.sidebar-menu li { border-bottom: 1px solid #e5e5e5; }
.sidebar-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  font-size: 13px;
  color: #444;
  font-family: var(--font-body);
  font-weight: 500;
  transition: color 0.2s;
}
.sidebar-menu li a:hover,
.sidebar-menu li.active a { color: var(--red); font-weight: 600; }
.sidebar-menu li a .count {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 10px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.10); transform: translateY(-2px); }
.product-card-img {
  background: var(--light);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  color: #ccc;
  overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.product-card-body { padding: 16px; }
.product-card-body h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.product-card-body p { font-size: 12.5px; color: #666; line-height: 1.6; margin-bottom: 12px; }
.product-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-sm-red {
  background: var(--red);
  color: #fff;
  padding: 7px 14px;
  border-radius: 3px;
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-sm-red:hover { background: var(--red-dark); }
.btn-sm-outline {
  background: transparent;
  color: var(--red);
  padding: 7px 14px;
  border-radius: 3px;
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  border: 1.5px solid var(--red);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-sm-outline:hover { background: var(--red); color: #fff; }

/* ========== SINGLE PRODUCT PAGE ========== */
.single-product-section { padding: 55px 0; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-gallery { position: sticky; top: 90px; }
.main-product-img {
  background: var(--light);
  border-radius: 4px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: #ccc;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.main-product-img img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.thumb-row { display: flex; gap: 10px; }
.thumb-item {
  width: 64px;
  height: 64px;
  background: var(--light);
  border: 2px solid var(--border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ccc;
  cursor: pointer;
  transition: border-color 0.2s;
}
.thumb-item:hover, .thumb-item.active { border-color: var(--red); }
.product-details-right h1 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.2;
}
.product-meta { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.product-meta span {
  background: var(--light);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  color: #555;
  font-weight: 600;
}
.product-description { font-size: 13.5px; color: #555; line-height: 1.75; margin-bottom: 22px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: 13px; }
.spec-table tr { border-bottom: 1px solid #eee; }
.spec-table td { padding: 9px 12px; }
.spec-table td:first-child { color: #555; font-weight: 600; width: 40%; background: var(--light); }
.spec-table td:last-child { color: #333; }
.product-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ========== ABOUT PAGE ========== */
.about-section { padding: 60px 0; }
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 50px; }
.about-text h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.about-text p { font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 14px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.stat-box {
  background: var(--light);
  border-left: 4px solid var(--red);
  padding: 16px;
  border-radius: 0 4px 4px 0;
}
.stat-box h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.stat-box p { font-size: 12px; color: #666; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.about-image {
  background: var(--light);
  height: 320px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 70px;
  color: #ccc;
  overflow: hidden;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .home-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-inner { grid-template-columns: repeat(3, 1fr); }
  .acf-grid { grid-template-columns: 1fr 1fr; }
  .featured-block { grid-column: 1 / -1; }
  .featured-products-grid { grid-template-columns: repeat(4, 1fr); }
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .top-bar-left { display: none; }
  .main-nav { display: none; position: fixed; top: 68px; left: 0; right: 0; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 999; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 12px 0; }
  .main-nav ul li > a { padding: 14px 20px; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
  .main-nav ul li.menu-item-has-children { position: relative; }
  .main-nav ul li.menu-item-has-children > a { padding-right: 56px; }
  .main-nav ul li.menu-item-has-children > a .arrow { display: none; }
  .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 2px;
    right: 0;
    width: 50px;
    height: 49px;
    background: none;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    color: var(--dark);
    font-size: 13px;
    z-index: 2;
  }
  .submenu-toggle .arrow {
    display: inline-block;
    transition: transform 0.25s ease;
  }
  .submenu-toggle[aria-expanded="true"] {
    color: var(--red);
  }
  .submenu-toggle[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
  }
  .main-nav ul li .sub-menu {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    border-top: none;
    background: #f9f9f9;
  }
  .main-nav ul li .sub-menu.submenu-open {
    display: block;
  }
  .main-nav ul li .sub-menu li a {
    padding: 12px 28px;
    font-size: 13.5px;
    color: #555;
    line-height: 1.4;
    border-bottom: 1px solid #eee;
  }
  .main-nav ul li:hover .sub-menu { display: none; }
  .main-nav ul li .sub-menu.submenu-open { display: block !important; }
  .hamburger { display: flex; }
  .hero-inner { flex-direction: column; padding: 40px 20px; }
  .hero-content h1 { font-size: 28px; }
  .hero-image { display: none; }
  .home-cat-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-cat-card { padding: 18px; }
  .home-cat-icon { width: 40px; height: 40px; font-size: 18px; }
  .home-cat-card-head h3 { font-size: 13.5px; }
  .home-cat-desc { font-size: 12.5px; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .acf-grid { grid-template-columns: 1fr; }
  .featured-products-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .products-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-cta { display: none; }
}
@media (max-width: 480px) {
  .home-cat-card { padding: 16px; }
  .home-cat-card-head { gap: 10px; margin-bottom: 8px; }
  .home-cat-icon { width: 36px; height: 36px; font-size: 16px; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .featured-products-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 24px; }
}
