/* ============================================
   OEM Page Styles — 1:1 Recreation + Enhanced
   ============================================ */

/* --- Section 1: Hero --- */
.zs-oem-hero {
  padding-bottom: 60px;
  background-image: url('../img/oem_services_bg.webp');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
}

.zs-oem-breadcrumb {
  padding: 16px 0 0;
  font-size: var(--zs-font-size-sm);
  color: var(--zs-color-text-light);
}

.zs-oem-breadcrumb a {
  color: var(--zs-color-text);
}

.zs-oem-breadcrumb a:hover {
  color: var(--zs-color-primary);
}

.zs-oem-breadcrumb span {
  color: var(--zs-color-text-dark);
}

.zs-oem-hero-wrap {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.zs-oem-hero-title {
  font-size: 56px;
  font-weight: 700;
  color: var(--zs-color-text-dark);
  margin: 40px 0 48px;
  letter-spacing: -0.5px;
  text-align: center;
}

.zs-oem-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.zs-oem-hero-text {
  max-width: 640px;
}

.zs-oem-hero-subtitle {
  font-size: var(--zs-font-size-3xl);
  font-weight: 600;
  color: var(--zs-color-text-dark);
  margin-bottom: 32px;
}

.zs-oem-hero-text p {
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--zs-color-text);
}

/* --- Water Button (outline style from original) --- */
.zs-oem-btn-water {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 14px 32px;
  border: 1px solid var(--zs-color-primary);
  color: var(--zs-color-primary);
  font-size: var(--zs-font-size-sm);
  font-weight: 600;
  text-align: center;
  transition: var(--zs-transition);
  margin-top: 16px;
}

.zs-oem-btn-water:hover {
  background: var(--zs-color-primary);
  color: #fff;
}

.zs-oem-hero-img {
  flex-shrink: 0;
  max-width: 376px;
}

.zs-oem-hero-img img {
  width: 100%;
  border-radius: 4px;
}

/* --- Section 2: Split Panel --- */
.zs-oem-split {
  display: flex;
}

.zs-oem-split-img {
  width: 50%;
  overflow: hidden;
}

.zs-oem-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.zs-oem-split-img:hover img {
  transform: scale(1.03);
}

.zs-oem-split-content {
  width: 50%;
  background: linear-gradient(180deg, #006db1 0%, #5490AB 100%);
  background-image: url('../img/img_oem_bg.jpg');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.zs-oem-split-inner {
  padding: 12.5%;
  max-width: 890px;
  color: #697a78;
}

.zs-oem-split-inner p {
  line-height: 1.9;
  font-size: var(--zs-font-size-base);
  margin-bottom: 40px;
}

.zs-oem-split .zs-oem-btn-water {
  border-color: #c8161d;
  color: #c8161d;
}

.zs-oem-split .zs-oem-btn-water:hover {
  background: #c8161d;
  color: #fff;
}

/* --- Section 3: Products Grid --- */
.zs-oem-products {
  padding: 80px 0;
}

.zs-oem-products-header {
  max-width: 936px;
  margin: 0 auto 40px;
  text-align: center;
}

.zs-oem-products-header h2 {
  font-size: var(--zs-font-size-3xl);
  font-weight: 600;
  color: var(--zs-color-text-dark);
  margin-bottom: 16px;
}

.zs-oem-products-header p {
  color: var(--zs-color-text);
}

.zs-oem-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.zs-oem-product-card a {
  display: block;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: var(--zs-transition);
}

.zs-oem-product-card a:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.zs-oem-product-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f6f8fc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zs-oem-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.zs-oem-product-card:hover .zs-oem-product-img img {
  transform: scale(1.06);
}

.zs-oem-product-info {
  padding: 20px 24px 28px;
  text-align: center;
}

.zs-oem-product-btn {
  display: inline-block;
  padding: 10px 36px;
  border: 1px solid var(--zs-color-primary);
  color: var(--zs-color-primary);
  font-size: var(--zs-font-size-sm);
  font-weight: 600;
  background: #fff;
  transition: var(--zs-transition);
}

.zs-oem-product-card:hover .zs-oem-product-btn {
  background: var(--zs-color-primary);
  color: #fff;
}

.zs-oem-product-info h3 {
  font-size: var(--zs-font-size-xl);
  font-weight: 600;
  color: var(--zs-color-text-dark);
  margin-top: 16px;
}

.zs-oem-product-info p {
  margin-top: 4px;
  color: var(--zs-color-text-light);
  font-size: var(--zs-font-size-sm);
}

/* --- Section 4: CTA --- */
.zs-oem-cta {
  padding: 80px 0;
  background: #f2f6f5;
}

.zs-oem-cta-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.zs-oem-cta-line {
  flex: 1;
  height: 1px;
  background: var(--zs-color-primary);
  opacity: 0.3;
}

.zs-oem-cta-header h2 {
  position: relative;
  z-index: 1;
  padding: 12px 32px;
  background: #f2f6f5;
  font-size: 40px;
  font-weight: 700;
  color: var(--zs-color-primary);
  white-space: nowrap;
  line-height: 1.3;
}

.zs-oem-cta-desc {
  text-align: center;
  margin-top: 12px;
  font-size: var(--zs-font-size-base);
  color: var(--zs-color-text);
}

.zs-oem-cta-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 480px;
  margin: 40px auto 0;
}

.zs-oem-cta-row {
  display: flex;
  gap: 16px;
  width: 100%;
}

.zs-oem-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  padding: 14px 24px;
  border: 1px solid var(--zs-color-border-light);
  border-radius: 6px;
  color: var(--zs-color-text-dark);
  font-size: var(--zs-font-size-sm);
  font-weight: 500;
  background: #fff;
  transition: var(--zs-transition);
}

.zs-oem-cta-btn:hover {
  border-color: var(--zs-color-primary);
  color: var(--zs-color-primary);
}

.zs-oem-cta-btn:hover svg {
  stroke: var(--zs-color-primary);
}

.zs-oem-cta-btn svg {
  stroke: var(--zs-color-text-dark);
  flex-shrink: 0;
  transition: var(--zs-transition);
}

.zs-oem-cta-btn-full {
  width: 100%;
  flex: none;
  background: var(--zs-color-primary);
  color: #fff;
  border-color: var(--zs-color-primary);
  border-radius: 6px;
  font-weight: 600;
  padding: 16px 24px;
}

.zs-oem-cta-btn-full:hover {
  background: var(--zs-color-primary-dark);
  border-color: var(--zs-color-primary-dark);
  color: #fff;
}

/* --- Animations --- */
.zs-oem-fadeUp {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.zs-oem-fadeUp.zs-visible {
  opacity: 1;
  transform: translateY(0);
}

.zs-oem-fadeRight {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s cubic-bezier(0.5, 0, 0, 1), transform 0.6s cubic-bezier(0.5, 0, 0, 1);
}

.zs-oem-fadeRight.zs-visible {
  opacity: 1;
  transform: translateX(0);
}

.zs-oem-fadeLeft {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s cubic-bezier(0.5, 0, 0, 1), transform 0.6s cubic-bezier(0.5, 0, 0, 1);
}

.zs-oem-fadeLeft.zs-visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .zs-oem-hero {
    background-image: none;
  }
  .zs-oem-hero-title {
    font-size: 40px;
    margin: 32px 0 36px;
  }
  .zs-oem-hero-subtitle {
    font-size: var(--zs-font-size-2xl);
  }
  .zs-oem-hero-row {
    flex-direction: column-reverse;
    text-align: center;
  }
  .zs-oem-hero-img {
    max-width: 280px;
    margin: 0 auto;
  }
  .zs-oem-hero-text {
    max-width: 100%;
  }
  .zs-oem-btn-water {
    margin: 16px auto 0;
  }
  .zs-oem-split {
    flex-direction: column;
  }
  .zs-oem-split-img,
  .zs-oem-split-content {
    width: 100%;
  }
  .zs-oem-split-inner {
    text-align: center;
    padding: 48px 24px;
  }
  .zs-oem-split .zs-oem-btn-water {
    margin: 0 auto;
  }
  .zs-oem-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .zs-oem-cta-header h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .zs-oem-hero {
    padding-bottom: 40px;
  }
  .zs-oem-hero-title {
    font-size: 28px;
    margin: 24px 0 28px;
  }
  .zs-oem-hero-subtitle {
    font-size: var(--zs-font-size-xl);
  }
  .zs-oem-products {
    padding: 40px 0;
  }
  .zs-oem-products-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .zs-oem-cta {
    padding: 40px 0;
  }
  .zs-oem-cta-header h2 {
    font-size: 24px;
  }
  .zs-oem-cta-row {
    flex-direction: column;
  }
}
