/* HERO BACKGROUND IMAGE */
.hero {
  background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(30,58,95,0.85) 100%),
              url('/images/factory-exterior.jpg') center/cover no-repeat;
}

/* FACTORY SHOWCASE SECTION */
.factory-showcase {
  padding: 80px 0;
}
.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-radius: 12px;
  overflow: hidden;
}
.factory-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
.factory-caption {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #334155;
}

/* PRODUCT HERO BACKGROUND */
.product-hero {
  background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(30,58,95,0.88) 100%),
              url('/images/reactor-closeup.jpg') center/cover no-repeat;
}

/* PRODUCT IMAGE IN LOGISTICS */
.product-photo {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.product-photo img {
  width: 100%;
  height: auto;
  display: block;
}

@media(max-width:768px) {
  .factory-grid {
    grid-template-columns: 1fr;
  }
  .factory-grid img {
    height: 220px;
  }
  .mfg-gallery {
    grid-template-columns: 1fr !important;
  }
  .mfg-grid {
    grid-template-columns: 1fr !important;
  }
  .compliance-grid {
    grid-template-columns: 1fr !important;
  }
  .mfg-product-grid {
    grid-template-columns: 1fr !important;
  }
  .logistics-grid {
    grid-template-columns: 1fr !important;
  }
  .mfg-hero h1 {
    font-size: 28px !important;
  }
  .mfg-sub {
    font-size: 16px !important;
  }
  .mfg-num {
    font-size: 26px !important;
  }
  .mfg-card p,
  .compliance-item p,
  .mfg-product-card ul li,
  .logistics-item p {
    font-size: 16px !important;
    color: #1e293b !important;
  }
  .mfg-card h3 {
    font-size: 13px !important;
  }
  .mfg-product-card h3 {
    font-size: 17px !important;
  }
  .mfg-product-card > p {
    font-size: 14px !important;
    color: #334155 !important;
  }
  .compliance-item strong {
    font-size: 17px !important;
  }
  .logistics-item h4 {
    font-size: 16px !important;
  }
  .mfg-img img {
    height: 200px !important;
  }
  .mfg-img-large img {
    min-height: auto !important;
    height: 240px !important;
  }
  .mfg-card {
    padding: 24px 18px !important;
  }
  .compliance-item {
    padding: 20px 16px !important;
  }
}

/* MANUFACTURING PAGE */
.mfg-hero {
  background: linear-gradient(135deg, rgba(10,18,32,0.94) 0%, rgba(20,40,65,0.94) 100%),
              url('/images/factory/plant-overview.jpg') center/cover no-repeat;
  color: #fff;
  padding: 100px 0 64px;
  text-align: center;
}
.mfg-hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,.3);
}
.mfg-sub {
  font-size: 17px;
  color: #fff;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

.mfg-photos {
  padding: 64px 0;
  background: #fff;
}
.mfg-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.mfg-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.mfg-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.mfg-img:hover img {
  transform: scale(1.03);
}
.mfg-img span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.3) 70%, transparent 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.mfg-img-large {
  grid-row: span 2;
}
.mfg-img-large img {
  height: 100%;
  min-height: 652px;
}

.mfg-specs {
  padding: 80px 0;
  background: #f8fafc;
}
.mfg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mfg-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  border: 1px solid #e2e8f0;
}
.mfg-card h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #334155;
  margin-bottom: 12px;
}
.mfg-num {
  font-size: 32px;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 12px;
}
.mfg-card p {
  font-size: 14px;
  color: #334155;
  line-height: 1.7;
}

.mfg-compliance {
  padding: 80px 0;
  background: #fff;
}
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.compliance-item {
  padding: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  border-left: 4px solid #2563eb;
}
.compliance-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}
.compliance-item p {
  font-size: 14px;
  color: #334155;
  line-height: 1.7;
}

.mfg-products {
  padding: 80px 0;
  background: #f8fafc;
}
.mfg-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mfg-product-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid #e2e8f0;
  position: relative;
}
.mfg-product-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.mfg-product-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  padding-right: 80px;
}
.mfg-product-card > p {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 16px;
}
.mfg-product-card ul {
  list-style: none;
  margin-bottom: 20px;
}
.mfg-product-card ul li {
  font-size: 14px;
  color: #374151;
  padding: 3px 0;
}

.mfg-logistics {
  padding: 80px 0;
  background: #fff;
}
.logistics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.logistics-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 8px;
}
.logistics-item p {
  font-size: 14px;
  color: #334155;
  line-height: 1.7;
}
