/* =============================================
   ACI Theme — Main Stylesheet
   Matching Replit design reference
   Red: #c41e1e | Dark: #111111 | Light: #f5f5f5
   Fonts: Montserrat / Lato / Playfair Display
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #1a1a1a;
  background: #fff;
}

h1, h2, h3, h4 { line-height: 1.2; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: #c41e1e; text-decoration: none; }
a:hover { color: #a01818; }
ul { list-style: none; padding: 0; }
img { max-width: 100%; height: auto; display: block; }


/* =============================================
   HEADER & NAV
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img,
.header-logo .custom-logo,
.site-logo-img {
  height: 36px;
  width: auto;
}

.logo-text-mark {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #111;
  letter-spacing: -1px;
  line-height: 1;
}
.logo-text-mark.sm { font-size: 16px; }

.header-site-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: #444;
  letter-spacing: 0.5px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
}

.primary-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  padding: 0 14px;
  line-height: 64px;
  display: block;
  transition: color 0.2s;
}
.primary-nav a:hover { color: #c41e1e; }

.primary-nav .nav-cta a {
  background: #c41e1e;
  color: #fff !important;
  border-radius: 6px;
  padding: 10px 20px;
  line-height: 1;
  font-weight: 700;
  font-size: 13px;
  margin-left: 8px;
  transition: background 0.2s;
}
.primary-nav .nav-cta a:hover { background: #a01818; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #333;
  border-radius: 2px;
}


/* =============================================
   SHARED UTILITIES
   ============================================= */
.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c41e1e;
  margin-bottom: 12px;
  display: block;
}

.eyebrow-light {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
  display: block;
}

.btn-primary {
  display: inline-block;
  background: #c41e1e;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: 6px;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #a01818; color: #fff; }
.btn-primary.btn-full { width: 100%; text-align: center; }

.btn-outline-light {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }

.btn-outline-dark {
  display: inline-block;
  background: transparent;
  color: #111;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 6px;
  border: 1.5px solid #333;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-dark:hover { border-color: #111; background: #f5f5f5; color: #111; }


/* =============================================
   HERO
   Set background-image below to your warehouse photo URL
   ============================================= */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  /* Hero photo set via inline style in front-page.php */
  background-image: none;
  background-size: cover;
  background-position: center;
  padding: 80px 32px 64px;
}

/* Dark overlay over the hero photo */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-breadcrumb span {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.bc-sep { opacity: 0.3; }

.hero-h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-red { color: #c41e1e; }

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
}

.trust-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  white-space: nowrap;
}

.trust-logos { display: flex; align-items: center; gap: 24px; }

.trust-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 2px;
}


/* =============================================
   SERVICES — WHAT WE DO
   ============================================= */
.services-section {
  background: #fff;
  padding: 64px 32px;
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.services-header {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.services-header-left { flex: 0 0 auto; }

.services-header-left h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #111;
  line-height: 1.15;
}

.services-header-right {
  flex: 1;
  padding-top: 48px;
}

.services-header-right p {
  font-size: 1rem;
  color: #666;
  line-height: 1.75;
  max-width: 400px;
}

.svc-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.svc-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 28px 24px;
  transition: box-shadow 0.25s, transform 0.2s;
}
.svc-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.svc-icon {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #555;
}

.svc-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  line-height: 1.3;
}

.svc-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
}

/* Production Capabilities dark subsection */
.prod-cap {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  min-height: 300px;
  background: #111;
}

.prod-cap-img {
  flex: 0 0 45%;
  background-color: #222;
  /* PRODUCTION CAPABILITIES IMAGE: replace with your warehouse photo */
  background-image: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  background-size: cover;
  background-position: center;
  min-height: 260px;
}

.prod-cap-content {
  flex: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prod-cap-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.prod-cap-content p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 24px;
}

.prod-checks {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.prod-checks span {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 6px;
}

.prod-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #c41e1e;
  border: 1px solid #c41e1e;
  padding: 6px 16px;
  border-radius: 4px;
  transition: background 0.2s;
}
.prod-link:hover { background: rgba(196,30,30,0.1); color: #c41e1e; }


/* =============================================
   WHY ACI
   ============================================= */
.why-section {
  background: #fff;
  padding: 0;
}

.why-inner {
  display: flex;
  min-height: 480px;
}

.why-left {
  flex: 1;
  padding: 64px 64px 64px 48px;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-left h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #111;
  line-height: 1.15;
  margin-bottom: 16px;
}

.why-sub {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 40px;
}

.why-stats { display: flex; flex-direction: column; gap: 28px; }

.why-stat {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.why-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #c41e1e;
  flex-shrink: 0;
  min-width: 56px;
  line-height: 1.3;
}

.why-mwbe { font-size: 1rem; letter-spacing: 1px; }

.why-stat p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
  padding-top: 4px;
}

.why-right {
  flex: 1;
  position: relative;
}

.why-img {
  position: absolute;
  inset: 0;
  /* Why ACI photo set via inline style in front-page.php */
  background-image: none;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
}

.why-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}

.pe-badge {
  position: absolute;
  top: 28px;
  right: -12px;
  background: #c41e1e;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 4px;
  text-align: center;
  line-height: 1.4;
  z-index: 1;
  transform: rotate(0deg);
}

.pe-badge small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 2px;
}

.why-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  padding: 40px 32px 28px;
  z-index: 1;
  color: #fff;
}

.why-img-caption strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.why-img-caption small {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}


/* =============================================
   INDUSTRIES
   ============================================= */
.industries-section {
  background: #111;
  padding: 64px 32px;
}

.industries-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.industries-left { flex: 0 0 340px; }

.industries-left h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.industries-left p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 0;
}

.industries-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.industry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.industry-row:first-child { border-top: 1px solid rgba(255,255,255,0.08); }

.ind-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

.ind-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #c41e1e;
  border: 1px solid rgba(196,30,30,0.4);
  border-radius: 4px;
  padding: 4px 10px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}


/* =============================================
   QUALITY
   ============================================= */
.quality-section {
  background: #fff;
  padding: 64px 32px;
}

.quality-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 64px;
  align-items: center;
}

.quality-left { flex: 0 0 45%; }

.quality-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
  /* Quality photo set via inline style in front-page.php */
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.quality-img-label,
.quality-img-label-right {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.5);
  padding: 6px 10px;
  border-radius: 4px;
  line-height: 1.4;
  max-width: 160px;
}

.quality-img-label-right { align-self: flex-end; }
.quality-img-label small,
.quality-img-label-right small { display: block; opacity: 0.7; }

.quality-right { flex: 1; }

.quality-right h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: #111;
  line-height: 1.2;
  margin-bottom: 16px;
}

.quality-right > p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.75;
  margin-bottom: 32px;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.cert-item {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 18px 20px;
  border: 1px solid #ebebeb;
}

.cert-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

.cert-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
  margin: 0;
}


/* =============================================
   CTA BAR
   ============================================= */
.cta-bar {
  background: #c41e1e;
  padding: 48px 32px;
}

.cta-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-bar-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.cta-bar-text p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

.cta-bar-btns {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cta-bar .btn-primary {
  background: #fff;
  color: #c41e1e;
}
.cta-bar .btn-primary:hover { background: #f5f5f5; color: #a01818; }

.cta-bar .btn-outline-light {
  border-color: rgba(255,255,255,0.5);
}


/* =============================================
   CONTACT
   ============================================= */
.contact-section {
  background: #fff;
  padding: 64px 32px;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.contact-left { flex: 1; }

.contact-left h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #111;
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact-left > p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 400px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.5);
}

.ci-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 3px;
}

.ci-val {
  font-size: 0.93rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.contact-cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-cert-badges span {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #555;
  background: #f5f5f5;
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.contact-right {
  flex: 0 0 460px;
}

.contact-form-card {
  background: #111;
  border-radius: 12px;
  padding: 40px 36px;
}

.contact-form-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.form-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
}

/* CF7 form styling inside dark card */
.contact-form-card .wpcf7-form label,
.contact-form-card label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
  margin-top: 16px;
}
.contact-form-card .wpcf7-form label:first-of-type,
.contact-form-card label:first-of-type { margin-top: 0; }

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card textarea,
.contact-form-card .wpcf7-form input[type="text"],
.contact-form-card .wpcf7-form input[type="email"],
.contact-form-card .wpcf7-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 11px 14px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #fff;
  transition: border-color 0.2s;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus,
.contact-form-card .wpcf7-form input:focus,
.contact-form-card .wpcf7-form textarea:focus {
  border-color: rgba(255,255,255,0.35);
  outline: none;
}
.contact-form-card textarea,
.contact-form-card .wpcf7-form textarea { height: 110px; resize: vertical; }

.contact-form-card input[type="submit"],
.contact-form-card .wpcf7-form input[type="submit"] {
  width: 100%;
  background: #c41e1e;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 13px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.2s;
}
.contact-form-card input[type="submit"]:hover,
.contact-form-card .wpcf7-form input[type="submit"]:hover { background: #a01818; }

/* Fallback form 2-column row */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.form-group { margin-bottom: 0; }

.fallback-form label { margin-top: 16px; }
.contact-form-card .fallback-form .form-row-2 .form-group label { margin-top: 0 !important; }
.fallback-form .form-row-2 + * label { margin-top: 16px; }

.fallback-form button {
  margin-top: 20px;
  width: 100%;
}

.form-success {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  margin-top: 8px;
}

.form-error-msg {
  background: rgba(196,30,30,0.15);
  border: 1px solid rgba(196,30,30,0.4);
  color: #f99;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  margin-bottom: 16px;
}


/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #0a0a0a;
  padding-top: 64px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
}
.footer-logo-link img,
.footer-logo-link .custom-logo,
.footer-logo-img { height: 28px; width: auto; filter: brightness(0) invert(1); }

.footer-co-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.5px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.65;
  margin: 0;
  max-width: 220px;
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li,
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.9); }

.footer-phone {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-top: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  margin: 0;
}


/* =============================================
   INTERIOR PAGE HERO BANNER
   ============================================= */
.page-hero {
  background: #111;
  padding: 56px 32px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.page-hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.page-hero-eyebrow a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
}
.page-hero-eyebrow a:hover { color: rgba(255,255,255,0.7); }

.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}

.page-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 620px;
  margin: 0;
}

/* =============================================
   INTERIOR PAGE CONTENT
   ============================================= */
.page-main { padding: 0; }

.page-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 32px 72px;
}

/* Hide the WP editor h1 since we show it in the page hero */
.page-content > h1:first-child,
.page-content > .wp-block-heading:first-child h1,
.page-content h1 {
  display: none;
}

.page-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #111;
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}
.page-content h2:first-child { margin-top: 0; }

.page-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin: 28px 0 8px;
}
.page-content h3 a { color: #111; text-decoration: none; }
.page-content h3 a:hover { color: #c41e1e; }

.page-content h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #c41e1e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
}

.page-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.page-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.page-content ul li {
  position: relative;
  padding-left: 20px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.7;
  font-size: 0.97rem;
}
.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #c41e1e;
  border-radius: 50%;
}

/* WordPress block columns */
.page-content .wp-block-columns {
  display: flex;
  gap: 32px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.page-content .wp-block-column {
  flex: 1;
  min-width: 200px;
  background: #f8f8f8;
  border-left: 3px solid #c41e1e;
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
}

.page-content .wp-block-column h3 { margin-top: 0; }
.page-content .wp-block-column h4 { margin-top: 0; }
.page-content .wp-block-column p { margin-bottom: 0; font-size: 0.93rem; }

/* Contact page specific */
.page-content .wpcf7-form label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  margin-bottom: 6px;
  margin-top: 16px;
}
.page-content .wpcf7-form label:first-of-type { margin-top: 0; }

.page-content .wpcf7-form input[type="text"],
.page-content .wpcf7-form input[type="email"],
.page-content .wpcf7-form input[type="tel"],
.page-content .wpcf7-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 11px 14px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #333;
  background: #fafafa;
  transition: border-color 0.2s;
  margin-bottom: 4px;
}
.page-content .wpcf7-form input:focus,
.page-content .wpcf7-form textarea:focus {
  border-color: #c41e1e;
  outline: none;
  background: #fff;
}
.page-content .wpcf7-form textarea { height: 120px; resize: vertical; }

.page-content .wpcf7-form input[type="submit"] {
  background: #c41e1e;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.2s;
}
.page-content .wpcf7-form input[type="submit"]:hover { background: #a01818; }

@media (max-width: 768px) {
  .page-hero { padding: 40px 24px 36px; }
  .page-inner { padding: 40px 24px 56px; }
  .page-content .wp-block-columns { flex-direction: column; gap: 16px; }
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .why-left { padding: 64px 40px 64px 32px; }
}

@media (max-width: 900px) {
  .why-inner { flex-direction: column; }
  .why-left { max-width: 100%; padding: 64px 32px 48px; }
  .why-right { min-height: 360px; position: relative; }
  .why-img { position: relative; min-height: 360px; }

  .industries-inner { flex-direction: column; gap: 40px; }
  .industries-left { flex: none; }

  .quality-inner { flex-direction: column; }
  .quality-left { flex: none; width: 100%; }

  .contact-inner { flex-direction: column; }
  .contact-right { flex: none; width: 100%; }

  .services-header { flex-direction: column; gap: 24px; }
  .services-header-right { padding-top: 0; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 20px; }
  .header-site-name { display: none; }
  .nav-toggle { display: flex; }

  .primary-nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 998;
  }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; padding: 12px 0; }
  .primary-nav a { line-height: 1; padding: 14px 24px; }
  .primary-nav .nav-cta a { margin: 12px 20px; padding: 12px 20px; display: block; text-align: center; }

  .hero { padding: 80px 24px 60px; min-height: auto; }
  .hero-h1 { font-size: 2.4rem; }
  .hero-btns { flex-direction: column; }

  .services-section,
  .why-section,
  .quality-section,
  .contact-section { padding: 48px 24px; }
  .industries-section { padding: 48px 24px; }

  .svc-cards { grid-template-columns: 1fr; }
  .prod-cap { flex-direction: column; }
  .prod-cap-img { min-height: 200px; flex: none; }

  .cta-bar { padding: 40px 24px; }
  .cta-bar-inner { flex-direction: column; }
  .cta-bar-btns { flex-direction: column; width: 100%; }
  .cta-bar-btns a { text-align: center; }

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

  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer-bottom { padding: 20px 24px; }
}
