/* Page styles: oem-odm.css */

/* OEM / ODM page */
body[data-page="oem"] {
  background: #f6f7f4;
}

body[data-page="oem"] .section-label,
body[data-page="oem"] .hero-kicker {
  letter-spacing: 0;
}

body[data-page="oem"] .display {
  font-size: 3.2rem;
}

body[data-page="oem"] .material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

body[data-page="oem"] .mobile-rfq-cta {
  display: none;
}

.oem-hero {
  min-height: 720px;
  align-items: center;
  padding: calc(var(--nav-height) + 64px) 0 76px;
  background:
    linear-gradient(90deg, rgba(7, 10, 18, 0.94) 0%, rgba(7, 10, 18, 0.78) 48%, rgba(7, 10, 18, 0.36) 100%),
    url('../images/hero-oem.jpg') center / cover no-repeat;
  background-attachment: scroll;
}

.oem-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 10, 18, 0.22) 0%, rgba(7, 10, 18, 0.72) 100%);
}

.oem-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  align-items: end;
  gap: 54px;
}

.oem-hero-copy {
  min-width: 0;
}

.oem-hero .hero-title {
  max-width: 780px;
  font-size: 4.65rem;
}

.oem-hero .hero-title .display {
  display: block;
  margin-top: 8px;
  font-size: 3.35rem;
}

.oem-hero .hero-copy {
  max-width: 580px;
}

.oem-hero-panel {
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(248, 248, 245, 0.18);
  border-radius: 8px;
  background: rgba(9, 13, 22, 0.7);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.oem-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(248, 248, 245, 0.12);
}

.oem-panel-top span,
.oem-panel-route span,
.oem-card-no,
.oem-flow-no,
.oem-cta-pack span {
  color: #9fb6e7;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.oem-panel-top strong {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}

.oem-hero-panel p {
  margin: 20px 0 0;
  color: rgba(248, 248, 245, 0.68);
  font-size: 14px;
  line-height: 1.7;
}
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-flex;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}
.oem-panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  border: 1px solid rgba(248, 248, 245, 0.12);
}

.oem-panel-metrics div {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 14px;
}

.oem-panel-metrics div + div {
  border-left: 1px solid rgba(248, 248, 245, 0.1);
}

.oem-panel-icon {
  width: 36px;
  height: 36px;
  color: #111318;
  background: #f8f8f5;
  border-radius: 50%;
  font-size: 19px;
}

.oem-panel-metrics strong {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  line-height: 1.15;
}

.oem-panel-metrics span:last-child {
  color: rgba(248, 248, 245, 0.52);
  font-size: 12px;
  line-height: 1.35;
}

.oem-panel-route {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  margin-top: 18px;
}

.oem-panel-route span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(248, 248, 245, 0.76);
  border: 1px solid rgba(248, 248, 245, 0.12);
  background: rgba(248, 248, 245, 0.06);
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
}

.oem-scope-section,
.oem-inputs-section {
  background: #fff;
}

.oem-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.oem-section-head .display {
  max-width: 760px;
}

.oem-section-head .lead {
  max-width: 390px;
  margin: 0;
}

.oem-process-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--blue);
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.oem-process-link .material-symbols-outlined {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.oem-process-link:hover .material-symbols-outlined,
.oem-process-link:focus-visible .material-symbols-outlined {
  transform: translateX(4px);
}

.oem-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.oem-service-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: 8px;
  background: #111318;
  border: 1px solid rgba(14, 14, 14, 0.08);
  box-shadow: 0 20px 54px rgba(14, 14, 14, 0.1);
}

.oem-card-image {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04) brightness(0.82);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.oem-service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 18, 0.04) 0%, rgba(7, 10, 18, 0.84) 100%),
    linear-gradient(135deg, rgba(30, 58, 138, 0.18), rgba(188, 98, 36, 0.14));
}

.oem-service-card:hover .oem-card-image {
  transform: scale(1.045);
  filter: saturate(1.02) contrast(1.08) brightness(0.88);
}

.oem-card-body {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  color: #fff;
}

.oem-card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  color: #111318;
  background: #f8f8f5;
  border-radius: 50%;
  font-size: 21px;
}

.oem-card-no {
  display: block;
  margin-bottom: 12px;
}

.oem-card-body h3,
.oem-flow-card h3,
.oem-rfq-card strong {
  margin: 0;
  font-family: 'Syne', sans-serif;
  line-height: 1.16;
}

.oem-card-body h3 {
  font-size: 1.65rem;
}

.oem-card-body p {
  max-width: 280px;
  margin: 12px 0 0;
  color: rgba(248, 248, 245, 0.68);
  font-size: 14px;
  line-height: 1.65;
}

.oem-system-section {
  background: #f0f0ec;
}

.oem-system-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 52px;
}

.oem-image-lab {
  position: relative;
  min-height: 560px;
}

.oem-lab-main {
  width: 88%;
  min-height: 500px;
  height: 500px;
  object-fit: cover;
  border: 1px solid rgba(14, 14, 14, 0.1);
  border-radius: 8px;
  background: #d9d9d2;
  box-shadow: 0 28px 72px rgba(14, 14, 14, 0.12);
}

.oem-lab-float {
  position: absolute;
  right: 0;
  bottom: 38px;
  width: 42%;
  min-width: 230px;
  height: 210px;
  object-fit: cover;
  border: 8px solid #f8f8f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(14, 14, 14, 0.16);
}

.oem-lab-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 420px;
  padding: 18px 20px;
  color: #fff;
  border: 1px solid rgba(248, 248, 245, 0.12);
  border-radius: 8px;
  background: rgba(9, 13, 22, 0.82);
  backdrop-filter: blur(12px);
}

.oem-lab-caption span {
  display: block;
  margin-bottom: 8px;
  color: #9fb6e7;
  font-size: 12px;
  font-weight: 800;
}

.oem-lab-caption strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.08rem;
  line-height: 1.25;
}

.oem-route-stack {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.oem-route-row {
  display: grid;
  grid-template-columns: 46px 120px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 78px;
  padding: 16px;
  border: 1px solid rgba(14, 14, 14, 0.09);
  border-radius: 8px;
  background: #fff;
}

.oem-route-icon,
.oem-flow-icon,
.oem-rfq-icon {
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 20px;
}

.oem-route-row > span:not(.oem-route-icon) {
  font-family: 'Syne', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
}

.oem-route-row p {
  margin: 0;
  color: var(--ink-60);
  font-size: 14px;
  line-height: 1.6;
}

.oem-flow-section {
  padding: 92px 0 98px;
}

.oem-flow-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.oem-flow-card {
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(248, 248, 245, 0.12);
  border-radius: 8px;
  background: rgba(248, 248, 245, 0.055);
}

.oem-flow-icon {
  margin-bottom: 44px;
  color: #111318;
  background: #f8f8f5;
}

.oem-flow-no {
  display: block;
  margin-bottom: 14px;
}

.oem-flow-card h3 {
  color: #fff;
  font-size: 1.08rem;
}

.oem-flow-card p {
  margin: 12px 0 0;
  color: rgba(248, 248, 245, 0.6);
  font-size: 13px;
  line-height: 1.62;
}

.oem-input-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  align-items: stretch;
  gap: 46px;
}

.oem-rfq-brief {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: 8px;
  background: #111318;
}

.oem-rfq-brief img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.82);
}

.oem-rfq-brief::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.08) 0%, rgba(7, 10, 18, 0.78) 100%);
}

.oem-rfq-brief-body {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
}

.oem-rfq-brief-body > .material-symbols-outlined {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: #111318;
  background: #fff;
  border-radius: 50%;
}

.oem-rfq-brief-body strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.42rem;
}

.oem-rfq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.oem-rfq-tags span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(248, 248, 245, 0.16);
  border-radius: 999px;
  color: rgba(248, 248, 245, 0.78);
  font-size: 12px;
  font-weight: 700;
}

.oem-rfq-panel {
  min-height: 100%;
  display: grid;
  padding: 26px;
  border: 1px solid rgba(14, 14, 14, 0.09);
  border-radius: 8px;
  background: #f8f8f5;
}

.oem-rfq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: stretch;
  gap: 14px;
}

.oem-rfq-card {
  min-height: 170px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(14, 14, 14, 0.09);
  border-radius: 8px;
  background: #fff;
}

.oem-rfq-card strong {
  font-size: 1.08rem;
}

.oem-rfq-card span:last-child {
  color: var(--ink-60);
  font-size: 13px;
  line-height: 1.55;
}

.oem-gallery-section {
  background: #f0f0ec;
}

.oem-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 14px;
}

.oem-gallery-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: #d9d9d2;
}

.oem-gallery-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.oem-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.oem-gallery-card:hover img {
  transform: scale(1.045);
}

.oem-gallery-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: #fff;
  border: 1px solid rgba(248, 248, 245, 0.16);
  border-radius: 8px;
  background: rgba(9, 13, 22, 0.78);
  backdrop-filter: blur(10px);
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.oem-gallery-card figcaption .material-symbols-outlined {
  color: #9fb6e7;
  font-size: 20px;
}

.oem-gallery-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
}

.oem-gallery-link:focus-visible {
  outline: 2px solid rgba(248, 248, 245, 0.86);
  outline-offset: -5px;
}

.oem-final-cta {
  background: #fff;
}

.oem-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  align-items: center;
  gap: 42px;
  padding: 42px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(9, 13, 22, 0.94) 0%, rgba(22, 45, 110, 0.9) 100%),
    url('../images/hero-oem.jpg') center / cover no-repeat;
}

.oem-cta-grid .lead {
  color: rgba(248, 248, 245, 0.68);
}

.oem-cta-pack {
  padding: 26px;
  border: 1px solid rgba(248, 248, 245, 0.16);
  border-radius: 8px;
  background: rgba(248, 248, 245, 0.08);
}

.oem-cta-pack strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 1.36rem;
  line-height: 1.22;
}

.oem-cta-pack p {
  margin: 16px 0 0;
  color: rgba(248, 248, 245, 0.62);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 1180px) {
  .oem-hero-inner,
  .oem-system-grid,
  .oem-input-grid,
  .oem-cta-grid {
    grid-template-columns: 1fr;
  }

  .oem-hero {
    min-height: 0;
  }

  .oem-hero-panel {
    max-width: 720px;
  }

  .oem-section-head {
    align-items: start;
    flex-direction: column;
  }

  .oem-section-head .lead {
    max-width: 680px;
  }

  .oem-service-grid {
    grid-template-columns: 1fr;
  }

  .oem-service-card,
  .oem-card-image {
    min-height: 360px;
  }

  .oem-flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .oem-rfq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oem-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body[data-page="oem"] .display {
    font-size: 2.35rem;
  }

  .oem-hero {
    padding: calc(var(--nav-height) + 38px) 0 48px;
  }

  .oem-hero .hero-title {
    font-size: 2.85rem;
  }

  .oem-hero .hero-title .display {
    font-size: 2.15rem;
  }

  .oem-panel-route,
  .oem-flow-grid,
  .oem-rfq-grid {
    grid-template-columns: 1fr;
  }

  .oem-panel-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .oem-panel-route {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .oem-panel-metrics div + div {
    border-left: 1px solid rgba(248, 248, 245, 0.1);
    border-top: 0;
  }

  .oem-panel-metrics div {
    min-height: 118px;
    padding: 16px 10px;
  }

  .oem-service-card,
  .oem-card-image {
    min-height: 320px;
  }

  .oem-system-grid {
    gap: 34px;
  }

  .oem-image-lab {
    min-height: 0;
  }

  .oem-lab-main {
    width: 100%;
    height: 330px;
    min-height: 330px;
  }

  .oem-lab-float {
    position: static;
    width: 100%;
    min-width: 0;
    height: 210px;
    margin-top: 12px;
    border-width: 0;
  }

  .oem-lab-caption {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .oem-route-row {
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
  }

  .oem-route-row p {
    grid-column: 2;
  }

  .oem-flow-card {
    min-height: 0;
  }

  .oem-flow-icon {
    margin-bottom: 24px;
  }

  .oem-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .oem-gallery-card-large {
    grid-column: auto;
    grid-row: span 1;
  }

  .oem-rfq-brief {
    min-height: 320px;
  }

  .oem-rfq-brief img {
    height: 320px;
    min-height: 320px;
  }

  .oem-cta-grid {
    padding: 26px;
  }
}

@media (max-width: 520px) {
  .oem-hero-panel,
  .oem-rfq-panel,
  .oem-rfq-card,
  .oem-cta-grid,
  .oem-cta-pack {
    padding: 20px;
  }

  .oem-hero .hero-title {
    font-size: 2.45rem;
  }

  .oem-hero .hero-title .display {
    font-size: 1.95rem;
  }

  .oem-card-body {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
}

