/* ONPOW OEM & ODM page */

.onpow-oem-page {
  --onpow-oem-red: #c82126;
  --onpow-oem-text: #1a1a1a;
  --onpow-oem-muted: #6b7280;
  --onpow-oem-border: #e8ebef;
  --onpow-oem-soft: #f4f6f8;
  --onpow-oem-card: #ffffff;
  color: var(--onpow-oem-text);
}

.onpow-oem-ban {
  background-position: center;
  background-size: cover;
}

.onpow-oem-section-head {
  display: block;
  margin-bottom: 48px;
}

.onpow-oem-heading {
  position: relative;
  padding-left: 0;
  margin: 0;
}

.onpow-oem-heading::before {
  content: none !important;
  display: none !important;
}

.onpow-oem-heading-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--onpow-oem-text);
}

.onpow-oem-heading-title::after {
  content: none;
  display: none;
}

.onpow-oem-heading-light .onpow-oem-heading-title {
  color: #fff;
}

.onpow-oem-section-intro {
  max-width: 720px;
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--onpow-oem-muted);
}

/* Intro: copy left + media right */
.onpow-oem-intro {
  background: #fff;
}

.onpow-oem-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px 56px;
  align-items: center;
}

.onpow-oem-intro-copy .onpow-oem-heading {
  margin-bottom: 16px;
}

.onpow-oem-kicker {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--onpow-oem-muted);
}

.onpow-oem-intro-copy > p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.85;
  color: #4b5563;
}

.onpow-oem-lead {
  margin: 0 0 18px !important;
  font-size: 20px !important;
  line-height: 1.45 !important;
  font-weight: 600;
  color: var(--onpow-oem-text) !important;
}

.onpow-oem-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.onpow-oem-intro-media {
  position: relative;
  min-width: 0;
  padding: 0 0 18px 18px;
}

.onpow-oem-intro-media::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  height: 46%;
  border: 1px solid rgba(200, 33, 38, 0.2);
  border-radius: 16px;
  z-index: 0;
  pointer-events: none;
}

.onpow-oem-intro-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 16px;
  background: var(--onpow-oem-soft);
  aspect-ratio: 3 / 2;
  box-shadow:
    0 4px 12px rgba(17, 24, 39, 0.04),
    0 22px 56px rgba(17, 24, 39, 0.1);
}

.onpow-oem-intro-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: inherit;
  pointer-events: none;
}

.onpow-oem-intro-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.onpow-oem-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.onpow-oem-btn:hover {
  transform: translateY(-1px);
}

.onpow-oem-btn-primary {
  background: var(--onpow-oem-red);
  color: #fff !important;
  border: 1px solid var(--onpow-oem-red);
}

.onpow-oem-btn-primary:hover {
  background: #a81b1f;
  border-color: #a81b1f;
}

.onpow-oem-btn-ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.65);
}

.onpow-oem-btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

/* Capabilities */
.onpow-oem-capabilities {
  background: var(--onpow-oem-soft);
}

.onpow-oem-cap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.onpow-oem-cap-card {
  background: var(--onpow-oem-card);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 28px 22px 22px;
  min-height: 100%;
  box-sizing: border-box;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.onpow-oem-cap-card:hover {
  border-color: rgba(200, 33, 38, .22);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.07);
  transform: translateY(-2px);
}

.onpow-oem-cap-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  min-height: 56px;
}

.onpow-oem-cap-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #eceff3;
  background: #fafbfc;
}

.onpow-oem-cap-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.onpow-oem-cap-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.onpow-oem-cap-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.onpow-oem-cap-card li {
  position: relative;
  padding: 9px 0 9px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #556070;
  border-top: 1px solid #f0f2f5;
}

.onpow-oem-cap-card li:first-child {
  border-top: 0;
  padding-top: 0;
}

.onpow-oem-cap-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--onpow-oem-red);
}

.onpow-oem-cap-card li:first-child::before {
  top: 0.55em;
}

/* Process — white for clean handoff into inquiry */
.onpow-oem-process {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.onpow-oem-process > .w16 {
  position: relative;
  z-index: 1;
}

.onpow-oem-process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}

.onpow-oem-process-track::before {
  content: "";
  position: absolute;
  left: 44px;
  right: 44px;
  top: 49px;
  height: 1px;
  background: linear-gradient(90deg, #e5e9ef 0%, #cfd6df 50%, #e5e9ef 100%);
}

.onpow-oem-process-step {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
}

.onpow-oem-process-dot {
  display: flex;
  width: 84px;
  height: 84px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e9ef;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.05);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.onpow-oem-process-step:hover .onpow-oem-process-dot {
  border-color: rgba(200, 33, 38, 0.35);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.onpow-oem-process-dot img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.onpow-oem-process-num {
  display: none;
}

.onpow-oem-process-step h3 {
  max-width: 170px;
  margin: 18px auto 0;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
}

.onpow-oem-process-step > p {
  max-width: 180px;
  margin: 10px auto 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--onpow-oem-muted);
}

/* Inquiry */
.onpow-oem-inquiry {
  padding: 0 0 80px;
  background: #fff;
}

.onpow-oem-inquiry-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(200, 33, 38, 0.35) 0%, transparent 55%),
    linear-gradient(115deg, #141414 0%, #231012 52%, #7a171c 130%);
  border-radius: 16px;
  padding: 56px 52px;
  gap: 36px;
  color: #fff;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.12);
}

.onpow-oem-inquiry-copy {
  flex: 1 1 520px;
  max-width: 700px;
}

.onpow-oem-inquiry-desc {
  margin: 14px 0 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,.84);
}

.onpow-oem-inquiry-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 250px;
}

@media (max-width: 1200px) {
  .onpow-oem-intro-layout {
    gap: 36px;
  }

  .onpow-oem-cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .onpow-oem-process-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 36px;
  }

  .onpow-oem-process-track::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .onpow-oem-intro-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .onpow-oem-intro-media {
    order: -1;
    padding: 0 0 14px 14px;
  }

  .onpow-oem-intro-frame {
    aspect-ratio: 16 / 10;
    max-height: 360px;
  }
}

@media (max-width: 780px) {
  .onpow-oem-heading-title {
    font-size: 28px;
  }

  .onpow-oem-section-head {
    margin-bottom: 32px;
  }

  .onpow-oem-section-intro {
    max-width: none;
  }

  .onpow-oem-lead {
    font-size: 18px !important;
  }

  .onpow-oem-cap-grid,
  .onpow-oem-process-track {
    grid-template-columns: 1fr;
  }

  .onpow-oem-process-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: start;
    text-align: left;
  }

  .onpow-oem-process-dot {
    grid-row: 1 / span 2;
    width: 64px;
    height: 64px;
    margin: 0;
  }

  .onpow-oem-process-dot img {
    width: 36px;
    height: 36px;
  }

  .onpow-oem-process-step h3,
  .onpow-oem-process-step > p {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .onpow-oem-process-step h3 {
    grid-column: 2;
    margin-top: 4px;
  }

  .onpow-oem-process-step > p {
    grid-column: 2;
    margin-top: 8px;
  }

  .onpow-oem-inquiry {
    padding-bottom: 48px;
  }

  .onpow-oem-inquiry-inner {
    display: block;
    padding: 28px 22px;
  }

  .onpow-oem-inquiry-actions {
    width: 100%;
    margin-top: 22px;
  }

  .onpow-oem-btn {
    width: 100%;
  }
}
