/* OEM 页指定浅色板块。 */
.oem-why-section {
  padding: 94px 0 110px;
  background: #faf8f3;
}

.oem-why-section .sec-head {
  position: relative;
  margin-bottom: 96px;
}

.oem-why-section .sec-head::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -44px;
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(201, 164, 92, .68), transparent);
}

.oem-why-list {
  width: min(1040px, 100%);
  margin: 0 auto;
  counter-reset: why-item;
}

.oem-why-item {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
  margin-bottom: 86px;
  counter-increment: why-item;
}

.oem-why-item:last-child { margin-bottom: 0; }

.oem-why-item:nth-child(even) .oem-why-media { order: 2; }
.oem-why-item:nth-child(even) .oem-why-copy { order: 1; }

.oem-why-media {
  position: relative;
  margin: 0;
}

.oem-why-media::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -12px;
  bottom: -12px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(201, 164, 92, .56);
}

.oem-why-media img {
  width: 100%;
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
  background: #eee9df;
}

.oem-why-item:nth-child(1) .oem-why-media img { object-position: center 42%; }
.oem-why-item:nth-child(5) .oem-why-media img { object-position: center 55%; }

.oem-why-copy {
  position: relative;
  padding-top: 38px;
}

.oem-why-copy::before {
  content: "0" counter(why-item);
  position: absolute;
  top: 0;
  left: 0;
  color: #b58b4d;
  font: italic 1rem/1 var(--font-accent);
  letter-spacing: .12em;
}

.oem-why-copy::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 48px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 164, 92, .55), rgba(201, 164, 92, .12));
}

.oem-why-copy h3 {
  margin: 0 0 15px;
  color: #15408b;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.35;
}

.oem-why-copy p {
  margin: 0;
  color: #737c89;
  font-size: .96rem;
  line-height: 2;
}

@media (max-width: 760px) {
  .oem-why-section { padding: 72px 0 82px; }
  .oem-why-section .sec-head { margin-bottom: 76px; }

  .oem-why-item {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 68px;
  }

  .oem-why-item:nth-child(even) .oem-why-media,
  .oem-why-item:nth-child(even) .oem-why-copy {
    order: initial;
  }

  .oem-why-copy { padding-top: 34px; }
  .oem-why-copy h3 { font-size: 1.5rem; }
  .oem-why-copy p { font-size: .9rem; line-height: 1.9; }
}

.oem-light-section {
  background: #faf0dd;
}

/* Six advantages: the approved botanical and Miao ornament composition. */
.oem-why-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 82px 0 100px;
  background-color: #faf8f3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23b9a78a' opacity='.035' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E");
}
.oem-why-section .sec-head { position: relative; z-index: 1; margin-bottom: 76px; }
.oem-why-section .sec-head .kicker { color: #b44336; font: 13px/1.5 var(--font-accent); letter-spacing: .12em; }
.oem-why-section .sec-head .kicker::before,
.oem-why-section .sec-head .kicker::after { display: none; }
.oem-why-section .sec-head h2 {
  display: flex; justify-content: center; align-items: center; gap: 34px;
  margin: 14px 0 0; color: #15408b; font-size: clamp(30px, 3vw, 42px); line-height: 1.45;
}
.oem-why-section .sec-head h2::before,
.oem-why-section .sec-head h2::after {
  content: ""; width: 14px; height: 14px; flex: 0 0 14px;
  border: 1px solid #bc914b; outline: 1px solid #bc914b; outline-offset: -5px; transform: rotate(45deg);
}
.oem-why-section .sec-head::after {
  left: calc(50% - 23px); bottom: -27px; width: 46px; height: 2px; background: #bc914b;
}
.oem-why-list { width: min(1120px, 100%); }
.oem-why-item {
  position: relative; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(52px, 6vw, 86px); margin-bottom: 76px;
}
.oem-why-section::before,
.oem-why-section::after {
  display: none;
}
.oem-why-item::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: 50%;
  right: -162px;
  width: 204px;
  height: 204px;
  transform: translateY(-50%);
  opacity: .65;
  background-image: url("../assets/img/oem-small-miao-accents.svg?v=20261030-detail4");
  background-size: 300% 200%;
  background-repeat: no-repeat;
  background-position: 0 0;
}
.oem-why-item:nth-child(even)::before { right: auto; left: -162px; }
.oem-why-item:nth-child(2)::before { background-position: 50% 0; }
.oem-why-item:nth-child(3)::before { background-position: 100% 0; }
.oem-why-item:nth-child(4)::before { background-position: 0 100%; }
.oem-why-item:nth-child(5)::before { background-position: 50% 100%; }
.oem-why-item:nth-child(6)::before { background-position: 100% 100%; }
.oem-why-item:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.oem-why-media { padding: 7px; border: 1px solid #c5a061; }
.oem-why-media::after { display: none; }
.oem-why-media::before {
  content: ""; position: absolute; top: -5px; left: -5px; z-index: 2;
  width: 10px; height: 10px; border: 2px solid #faf8f3; outline: 1px solid #b44336;
  background: #b44336; box-shadow: inset 0 0 0 2px #faf8f3;
}
.oem-why-media img { display: block; aspect-ratio: 1.28 / 1; }
.oem-why-copy { padding: 88px 10px 0 0; }
.oem-why-copy::before {
  content: ""; top: 11px; left: 0; width: 44px; height: 44px;
  background: url("../assets/img/oem-why-knot.svg") center / contain no-repeat;
}
.oem-why-copy::after {
  content: "0" counter(why-item); top: 18px; left: 60px; right: auto;
  width: auto; height: auto; background: none; color: #b58b4d;
  font: 28px/1 var(--font-accent); letter-spacing: .04em;
}
.oem-why-item:nth-child(even) .oem-why-copy { padding-left: 28px; }
.oem-why-item:nth-child(even) .oem-why-copy::before { left: 28px; }
.oem-why-item:nth-child(even) .oem-why-copy::after { left: 88px; }
.oem-why-copy h3 { margin: 0 0 21px; color: #15408b; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.4; }
.oem-why-copy h3::after { content: ""; display: block; width: 38px; height: 2px; margin-top: 19px; background: #bc914b; }
.oem-why-copy p { font-family: var(--font-serif); font-size: 18px; line-height: 1.95; }
@media (min-width: 761px) and (max-width: 1279px) {
  .oem-why-item::before { right: -66px; width: 120px; height: 120px; opacity: .5; }
  .oem-why-item:nth-child(even)::before { left: -66px; }
}
@media (max-width: 760px) {
  .oem-why-section { padding: 64px 0 76px; }
  .oem-why-section .sec-head { margin-bottom: 60px; }
  .oem-why-section .sec-head h2 { gap: 18px; font-size: 28px; }
  .oem-why-item,
  .oem-why-item:nth-child(even) { grid-template-columns: 1fr; gap: 30px; margin-bottom: 56px; }
  .oem-why-copy,
  .oem-why-item:nth-child(even) .oem-why-copy { padding: 74px 6px 0; }
  .oem-why-copy::before,
  .oem-why-item:nth-child(even) .oem-why-copy::before { top: 5px; left: 6px; width: 40px; height: 40px; }
  .oem-why-copy::after,
  .oem-why-item:nth-child(even) .oem-why-copy::after { left: 62px; top: 11px; font-size: 26px; }
  .oem-why-copy h3 { font-size: 26px; }
  .oem-why-copy p { font-size: 16px; }
  .oem-why-item::before { top: auto; bottom: 5px; right: -37.5px; width: 105px; height: 105px; opacity: .25; transform: none; }
  .oem-why-item:nth-child(even)::before { left: auto; right: -37.5px; }
}
