/* ==========================================================================
   OEM / ODM PAGE
   Layout primitives (.section-container, .section-content, .section-head,
   .section-title, .eyebrow, .btn, .bg1) all come from common/header.css.
   Only page-specific blocks are defined here.
   ========================================================================== */

/* Unified vertical rhythm for every band on this page */
.oem-page .section-container {
  padding: 64px 0;
}

/* Section titles: 32px from header.css is too heavy for this dense page */
.oem-page .section-title {
  font-size: clamp(24px, 2vw, 30px);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.oem-hero {
  position: relative;
  margin-top: 80px;
  overflow: hidden;
  background: #0b1220 url('/dist/img/banner/product-banner.webp') right center / cover no-repeat;
}

.oem-page .oem-hero {
  padding: 88px 0;
}

.oem-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
          90deg,
          rgba(6, 9, 16, 0.95) 0%,
          rgba(6, 9, 16, 0.9) 38%,
          rgba(6, 9, 16, 0.62) 62%,
          rgba(6, 9, 16, 0.3) 100%
  );
  pointer-events: none;
}

.oem-hero-inner {
  position: relative;
  z-index: 2;
}

.oem-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  margin-bottom: 14px;
}

.oem-hero-eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--secondary-color);
}

.oem-hero h1 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.16;
  font-weight: 700;
  color: #fff;
  max-width: 760px;
}

.oem-accent {
  color: var(--secondary-color);
}

.oem-hero-desc {
  max-width: 560px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

/* Feature strip */
.oem-hero-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}

.oem-hero-feats li {
  display: flex;
  align-items: center;
  gap: 11px;
}

.oem-feat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(190, 40, 48, 0.6);
  background: rgba(176, 13, 21, 0.12);
  color: #e2565c;
  font-size: 15px;
}

.oem-hero-feats strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.oem-hero-feats div > span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.56);
  line-height: 1.4;
}

.oem-hero-btn {
  margin-top: 2px;
}

/* ==========================================================================
   Why choose us — light band with a faint factory photo on the right
   ========================================================================== */
.oem-why {
  position: relative;
  overflow: hidden;
  background: #f7f8f9;
}

/* Photo layer pinned to the right edge, kept deliberately light */
.oem-why-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: url('/dist/img/company.webp') right center / cover no-repeat;
  opacity: 0.4;
  z-index: 0;
}

/* Veil: solid on the copy side, fading out over the photo */
.oem-why::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
          90deg,
          #f7f8f9 0%,
          #f7f8f9 70%,
          rgba(247, 248, 249, 0.95) 80%,
          rgba(247, 248, 249, 0.6) 90%,
          rgba(247, 248, 249, 0.24) 100%
  );
  pointer-events: none;
}

.oem-why .section-content {
  position: relative;
  z-index: 2;
}

.oem-why-inner {
  max-width: 1160px;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.oem-page .oem-why-copy h2 {
  margin: 6px 0 16px;
  font-size: clamp(20px, 1.6vw, 23px);
}

.oem-why-copy p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-color);
}

/* Four stats separated by thin vertical rules */
.oem-why-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.oem-why-stats li {
  padding: 0 14px;
  border-left: 1px solid #dcdcdc;
}

.oem-why-stats li:first-child {
  padding-left: 0;
  border-left: 0;
}

.oem-stat-icon {
  display: block;
  margin-bottom: 12px;
  color: var(--secondary-color);
  font-size: 26px;
  line-height: 1;
}

.oem-why-stats strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--secondary-color);
}

.oem-why-stats li > span:last-child {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-color);
}

/* ==========================================================================
   Capabilities
   ========================================================================== */
.oem-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oem-cap-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid #e8e8e8;
  border-radius: 5px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.oem-cap-card:hover {
  border-color: #d2d2d2;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.oem-cap-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--secondary-color);
  font-size: 18px;
}

.oem-cap-card strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--title-color);
  line-height: 1.4;
}

.oem-cap-card div > span {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-color);
}

/* ==========================================================================
   Process
   ========================================================================== */
.oem-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.oem-steps li {
  position: relative;
  text-align: center;
}

.oem-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50px;
  left: calc(50% + 32px);
  right: calc(-50% + 32px);
  border-top: 1px dashed #d6d6d6;
  z-index: 0;
}

.oem-step-num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--secondary-color);
  line-height: 1.2;
}

.oem-step-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 10px auto 12px;
  border-radius: 50%;
  border: 1px solid #f0d2d4;
  background: #fff;
  color: var(--secondary-color);
  font-size: 19px;
}

.oem-steps strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--title-color);
  line-height: 1.35;
}

.oem-steps li > span:last-child {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-color);
}

/* Custom products include */
.oem-include {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  align-items: center;
  margin-top: 44px;
  padding: 22px 30px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 5px;
}

.oem-include-media img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.oem-include-body strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 500;
  color: var(--title-color);
}

.oem-include-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}

.oem-include-body li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-color);
}

.oem-include-body li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary-color);
  font-size: 12px;
}

/* ==========================================================================
   Industries
   ========================================================================== */
.oem-ind-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: start;
}

.oem-ind-copy h2 {
  margin: 6px 0 16px;
}

.oem-ind-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-color);
}

.oem-ind-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.oem-ind-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.4;
}

.oem-ind-list i {
  width: 18px;
  flex-shrink: 0;
  text-align: center;
  font-size: 15px;
  color: var(--title-color);
}

/* Slanted (parallelogram) photo strip: each tile is clipped on both sides
   and pulled left so the slanted edges interlock without gaps */
.oem-ind-collage {
  display: flex;
  align-items: stretch;
}

.oem-ind-collage img {
  flex: 0 0 calc(25% + 22.5px);
  height: 190px;
  margin-left: -30px;
  object-fit: cover;
  clip-path: polygon(30px 0, 100% 0, calc(100% - 30px) 100%, 0 100%);
}

.oem-ind-collage img:first-child {
  margin-left: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0 100%);
}

.oem-ind-collage img:last-child {
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%);
}

.oem-ind-caption {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 10px 14px;
  background: #171a21;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-radius: 0 0 3px 3px;
}

.oem-ind-caption span + span::before {
  content: '\00b7';
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Product samples
   ========================================================================== */
.oem-samples-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 46px;
  align-items: center;
}

.oem-samples-copy h2 {
  margin: 6px 0 14px;
}

.oem-samples-copy p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color);
}

.oem-sample-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oem-sample-list li {
  display: block;
}

/* Whole card is a link to the related product category */
.oem-sample-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.oem-sample-card:hover {
  border-color: #d6d6d6;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
}

.oem-sample-media {
  display: block;
  width: 100%;
  height: 170px;
  overflow: hidden;
  background: #fff;
}

.oem-sample-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s;
}

/* The only cut-out product shot is low-res, so show it whole instead of cropping/upscaling */
.oem-sample-list li:first-child .oem-sample-media img {
  object-fit: contain;
  padding: 14px;
}

.oem-sample-card:hover .oem-sample-media img {
  transform: scale(1.05);
}

.oem-sample-title {
  padding: 13px 10px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--title-color);
}

.oem-sample-title:hover{
  color: var(--secondary-hover-color);
}

/* ==========================================================================
   FAQ + CTA
   ========================================================================== */
.oem-faq-inner {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 56px;
  align-items: start;
}

.oem-faq-col h2 {
  margin: 6px 0 18px;
  font-size: clamp(22px, 1.85vw, 27px);
}

.oem-faq-col .faq-list {
  border-top: 1px solid var(--border-color);
}

.oem-faq-col .faq-item {
  border-bottom: 1px solid var(--border-color);
}

.oem-faq-col .faq-item h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.oem-faq-col .faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  color: var(--title-color);
  transition: color 0.2s;
}

.oem-faq-col .faq-q:hover {
  color: var(--secondary-color);
}

.oem-faq-col .faq-icon {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-color);
  transition: transform 0.25s;
}

.oem-faq-col .faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.oem-faq-col .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.oem-faq-col .faq-item.open .faq-a {
  max-height: 320px;
}

.oem-faq-col .faq-a > div {
  padding: 0 0 18px;
}

.oem-faq-col .faq-a p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--text-color);
}

/* CTA card */
.oem-cta {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  background: radial-gradient(circle at 78% 62%, #2b2b2b 0%, #141414 62%);
}

.oem-cta-copy {
  position: relative;
  z-index: 2;
  max-width: 72%;
  padding: 34px;
}

.oem-cta-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.32;
  font-weight: 700;
  color: #fff;
}

.oem-cta-copy p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.68);
}

.oem-cta-media {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.95;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 42%, transparent 90%);
  mask-image: linear-gradient(to left, #000 42%, transparent 90%);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .oem-why-bg {
    display: none;
  }

  .oem-why::before {
    display: none;
  }

  .oem-why-inner {
    max-width: none;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .oem-ind-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .oem-samples-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .oem-faq-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .oem-cta {
    min-height: 240px;
  }
}

@media (max-width: 992px) {
  .oem-page .section-container {
    padding: 48px 0;
  }

  .oem-page .oem-hero {
    padding: 56px 0;
  }

  .oem-why-inner {
    grid-template-columns: 1fr;
  }

  .oem-why-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
  }

  .oem-why-stats li {
    padding: 0 20px;
  }

  .oem-why-stats li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .oem-cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .oem-steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 26px;
  }

  .oem-steps li::after {
    display: none;
  }

  .oem-include {
    grid-template-columns: 160px 1fr;
    gap: 24px;
  }

  .oem-include-body ul {
    grid-template-columns: 1fr;
  }

  .oem-ind-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .oem-ind-collage img {
    height: 140px;
  }

  .oem-sample-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .oem-cta-copy {
    max-width: 100%;
  }

  .oem-cta-media {
    width: 60%;
    opacity: 0.22;
  }
}

@media (max-width: 600px) {
  .oem-hero-feats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .oem-cap-grid {
    grid-template-columns: 1fr;
  }

  .oem-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .oem-include {
    grid-template-columns: 1fr;
  }

  .oem-include-media {
    max-width: 150px;
  }

  .oem-sample-list {
    grid-template-columns: 1fr;
  }

  .oem-sample-media {
    height: 200px;
  }

  .oem-ind-collage img {
    flex-basis: calc(25% + 9px);
    height: 96px;
    margin-left: -12px;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  }

  .oem-ind-collage img:first-child {
    margin-left: 0;
    clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  }

  .oem-ind-collage img:last-child {
    clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
  }

  .oem-ind-caption {
    font-size: 12px;
  }
}
