.solutions-page {
  --solutions-wide: min(1766px, calc(100% - 48px));
  overflow: clip;
}

.solutions-page .section-container,
.industry-section__inner {
  max-width: none;
}

.solutions-hero {
  position: relative;
  height: 772px;
  color: #fff;
  background: #fff;
}

.solutions-hero::before,
.solutions-hero::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 678px;
  content: "";
}

.solutions-hero::before {
  background: #031126 url("../assets/solutions/image-hero-background.png") center / cover no-repeat;
}

.solutions-hero::after {
  background: linear-gradient(90deg, #031126 0%, rgba(3, 17, 38, .94) 21%, rgba(3, 17, 38, 0) 85%);
  pointer-events: none;
}

.solutions-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1440px, calc(100% - 48px));
  padding-top: 124px;
  align-items: flex-start;
  flex-direction: column;
  gap: 36px;
}

.solutions-hero h1 {
  min-height: 78px;
  margin: 0;
  font-family: "Microsoft YaHei", var(--font);
  font-size: clamp(3.75rem, 4vw, 4.75rem);
  line-height: .98;
  font-weight: 700;
  letter-spacing: .18rem;
}

.solutions-hero h1 span {
  color: var(--accent);
}

.solutions-title-line {
  width: 119px;
  height: 6px;
}

.solutions-hero__content > p {
  width: min(1149px, 100%);
  margin: 0;
  color: #fff;
  font-family: "Microsoft YaHei", var(--font);
  font-size: clamp(1.125rem, 1.15vw, 1.375rem);
  line-height: 1.9;
  font-weight: 400;
}

.solutions-hero__content strong {
  color: var(--accent);
  font-weight: 700;
}

.hero-description__line {
  display: block;
}

.solution-tabs {
  position: absolute;
  z-index: 2;
  top: 583px;
  left: 50%;
  display: grid;
  width: min(1480px, calc(100% - 96px));
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  transform: translateX(-50%);
}

.solution-tab {
  position: relative;
  z-index: 0;
  display: flex;
  height: 124px;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid rgba(14, 108, 230, .14);
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow:
    0 14px 30px rgba(3, 17, 38, .14),
    0 3px 8px rgba(8, 53, 121, .08),
    inset 0 1px 0 rgba(255, 255, 255, .95);
  font-size: clamp(.95rem, 1.05vw, 1.25rem);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: .045rem;
  white-space: nowrap;
  transition:
    color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.solution-tab:focus-visible {
  color: var(--accent);
  font-weight: 700;
  border-color: rgba(14, 108, 230, .4);
  outline: none;
  box-shadow:
    0 8px 0 var(--accent),
    0 16px 30px rgba(8, 53, 121, .24);
}

@media (hover: hover) and (pointer: fine) {
  .solution-tab:hover {
    color: var(--accent);
    font-weight: 700;
    border-color: rgba(14, 108, 230, .32);
    box-shadow:
      0 8px 0 var(--accent),
      0 16px 30px rgba(8, 53, 121, .24);
  }
}

.solution-tab__icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  place-items: center;
  background: url("../assets/solutions/decor-icon-circle1.svg") center / 100% 100% no-repeat;
}

.solution-tab__icon img {
  width: 43px;
  height: 43px;
}

.industry-section {
  min-height: 1260px;
  padding: 112px 0 80px;
  scroll-margin-top: 86px;
  background: #fff;
}

.industry-section--alt {
  background: #f6fafd;
}

.industry-section__inner {
  width: var(--solutions-wide);
  margin-inline: auto;
}

.industry-top {
  display: grid;
  margin: 0;
  grid-template-columns: minmax(0, 1.635fr) minmax(0, 1fr);
  gap: clamp(48px, 6.875vw, 132px);
  align-items: start;
}

.industry-top--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.635fr);
}

.industry-top--reverse .industry-photo {
  order: 2;
}

.industry-top--reverse .industry-copy {
  order: 1;
}

.industry-photo {
  width: 100%;
  height: 580px;
  border-radius: 20px;
  object-fit: cover;
}

.industry-title {
  position: relative;
  min-height: 120px;
  margin: 0 0 31px;
  color: var(--ink);
  font-size: clamp(1.75rem, 1.875vw, 2.25rem);
  line-height: 54px;
  font-weight: 700;
  letter-spacing: .09rem;
  white-space: nowrap;
}

.industry-title::after {
  position: absolute;
  top: 86px;
  left: 0;
  width: 119px;
  height: 6px;
  content: "";
  background: url("../assets/solutions/decor-line.svg") center / 100% 100% no-repeat;
}

.industry-title span {
  color: var(--accent);
  font-size: clamp(2.25rem, 2.5vw, 3rem);
  letter-spacing: .12rem;
}

.summary-card {
  display: grid;
  width: 100%;
  min-height: 186px;
  padding: 21px 28px;
  border-radius: 16px;
  align-items: center;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
  background: #f6fafd;
  box-shadow: 0 3px 6px rgba(8, 53, 121, .12);
}

.industry-section--alt .summary-card {
  background: #fff;
}

.summary-card + .summary-card {
  margin-top: 31px;
}

.summary-card--pain {
  min-height: 212px;
}

.summary-card__icon {
  position: relative;
  display: block;
  width: 70px;
  height: 70px;
}

.summary-card--pain .summary-card__icon {
  transform: translateY(-40px);
}

.summary-card--result .summary-card__icon {
  transform: translateY(-21px);
}

#reagent .summary-card--result .summary-card__icon {
  transform: translateY(-3px);
}

.summary-card__icon--result img {
  position: absolute;
  inset: 0;
  width: 70px;
  height: 70px;
}

.summary-card__icon--result img:last-child {
  inset: 16px;
  width: 38px;
  height: 38px;
}

.summary-card > div {
  min-width: 0;
  padding-top: 6px;
}

.summary-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.35rem, 1.458vw, 1.75rem);
  line-height: 36px;
  font-weight: 700;
}

.summary-card ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 1px;
  color: var(--muted);
  font-size: clamp(.95rem, 1.042vw, 1.25rem);
  line-height: 36px;
  list-style: none;
}

.summary-card li {
  position: relative;
  padding-left: 26px;
}

.summary-card li::before,
.summary-card p::before {
  position: absolute;
  top: 14px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--accent);
}

.summary-card--result p::before {
  background: var(--cyan);
}

.summary-card--result p {
  transform: translateY(6px);
}

.summary-card p {
  position: relative;
  margin: 0;
  padding-left: 26px;
  color: var(--muted);
  font-size: clamp(.95rem, 1.042vw, 1.25rem);
  line-height: 36px;
}

.flow-heading {
  position: relative;
  display: flex;
  width: min(1023px, 58%);
  height: 70px;
  margin-top: 35px;
  align-items: center;
}

.flow-heading::before {
  position: absolute;
  top: 11px;
  left: 35px;
  width: calc(100% - 35px);
  height: 48px;
  content: "";
  background: linear-gradient(90deg, var(--accent), rgba(0, 103, 250, 0));
}

.flow-heading__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  border-radius: 50%;
  place-items: center;
  background: var(--accent);
}

.flow-heading__icon img {
  width: 56px;
  height: 56px;
}

.flow-heading h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 0 31px;
  color: #fff;
  font-size: clamp(1.35rem, 1.458vw, 1.75rem);
  line-height: 36px;
  font-weight: 700;
}

.flow-heading--reverse {
  margin-left: auto;
  justify-content: flex-end;
}

.flow-heading--reverse::before {
  right: 35px;
  left: auto;
  background: linear-gradient(90deg, rgba(0, 103, 250, 0), var(--accent));
}

.flow-heading--reverse .flow-heading__icon {
  order: 2;
}

.flow-heading--reverse h3 {
  order: 1;
  margin: 0 31px 0 0;
}

.flow-grid {
  --flow-gap: 53px;
  display: grid;
  width: 100%;
  margin-top: 35px;
  gap: var(--flow-gap);
}

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

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

.flow-step {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 316px;
  margin: 0;
  padding: 16px 13px;
  border-radius: 10px;
  align-items: center;
  flex-direction: column;
  background: #f6fafd;
  text-align: center;
}

.industry-section--alt .flow-step {
  background: #fff;
}

.flow-grid--7 .flow-step {
  min-height: 334px;
}

.flow-grid--reagent .flow-step {
  min-height: 322px;
  padding-bottom: 10px;
}

.flow-step:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 130px;
  right: calc((var(--flow-gap) / -2) - 26px);
  width: 52px;
  height: 56px;
  content: "";
  background: url("../assets/solutions/icon-flow-arrow.svg") center / contain no-repeat;
  pointer-events: none;
  transform: rotate(90deg);
}

.flow-step b {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  margin-bottom: 14px;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: var(--accent);
  font-size: 30px;
  line-height: 32px;
  font-weight: 700;
}

.flow-step__media {
  width: min(200px, 100%);
  height: 145px;
  flex: 0 0 145px;
  border-radius: 6px;
  object-fit: contain;
}

.flow-grid--7 .flow-step__media {
  width: min(181px, 100%);
  height: 148px;
  flex-basis: 148px;
}

.flow-grid--reagent .flow-step__media {
  width: min(180px, 100%);
  height: 193px;
  flex-basis: 193px;
  object-fit: cover;
}

.flow-step figcaption {
  width: 100%;
  margin-top: 14px;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.flow-step small {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
}

#research .flow-grid--7 .flow-step figcaption {
  position: relative;
  min-height: 82px;
  margin-top: 10px;
  line-height: 48px;
}

#research .flow-grid--7 .flow-step:nth-child(2) figcaption {
  line-height: 24px;
}

#research .flow-grid--7 .flow-step small {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 0;
  line-height: 24px;
}

#testing .flow-grid--testing .flow-step figcaption {
  position: relative;
  min-height: 82px;
  margin-top: 10px;
  line-height: 48px;
}

#testing .flow-grid--testing .flow-step:nth-child(5) figcaption {
  line-height: 24px;
}

#testing .flow-grid--testing .flow-step small {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 0;
  line-height: 24px;
}

.flow-grid--reagent .flow-step figcaption {
  margin-top: 10px;
}

.flow-grid--reagent .flow-step small {
  margin-top: 0;
}

@media (max-width: 1600px) {
  .solution-tabs {
    gap: 18px;
  }

  .solution-tab {
    padding-inline: 18px;
  }

  .industry-top {
    gap: 64px;
  }

  .industry-title {
    white-space: normal;
  }

  .flow-grid--6 {
    --flow-gap: 32px;
  }

  .flow-grid--7 {
    --flow-gap: 24px;
  }
}

@media (max-width: 1320px) {
  .solution-tabs {
    width: min(1120px, calc(100% - 48px));
    gap: 14px;
  }

  .solution-tab {
    padding-inline: 12px;
    gap: 10px;
  }

  .solution-tab__icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .solution-tab__icon img {
    width: 38px;
    height: 38px;
  }

  .industry-section {
    min-height: 0;
  }

  .industry-top {
    gap: 40px;
  }

  .summary-card {
    padding-inline: 22px;
  }

  .flow-grid--6,
  .flow-grid--7 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .flow-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 1180px) {
  .solutions-hero {
    height: auto;
    min-height: 0;
    padding: 70px 0 48px;
    background: #031126 url("../assets/solutions/image-hero-background.png") center / cover no-repeat;
  }

  .solutions-hero::before,
  .solutions-hero::after {
    height: 100%;
  }

  .solutions-hero__content {
    padding-top: 0;
  }

  .solutions-hero__content > p {
    line-height: 1.8;
  }

  .solution-tabs {
    position: relative;
    top: auto;
    left: auto;
    width: min(900px, calc(100% - 48px));
    margin: 52px auto 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: none;
  }

  .solution-tab {
    height: 104px;
  }

  .solution-tab:last-child {
    width: calc(50% - 7px);
    grid-column: 1 / -1;
    justify-self: center;
  }

  .industry-section {
    padding: 80px 0;
  }

  .industry-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .industry-top--reverse .industry-photo,
  .industry-top--reverse .industry-copy {
    order: initial;
  }

  .industry-photo {
    height: min(58vw, 580px);
  }

  .industry-copy {
    width: min(720px, 100%);
  }

  .industry-title {
    min-height: 104px;
  }

  .industry-title::after {
    top: 78px;
  }

  .flow-heading {
    width: min(1023px, 100%);
    margin-top: 56px;
  }
}

@media (max-width: 760px) {
  .solutions-page {
    --solutions-wide: calc(100% - 32px);
  }

  .solutions-hero {
    padding-top: 56px;
  }

  .solutions-hero__content {
    width: calc(100% - 32px);
    gap: 24px;
  }

  .solutions-hero h1 {
    min-height: 0;
    font-size: clamp(2.5rem, 10.5vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: .08rem;
  }

  .solutions-title-line {
    width: 96px;
  }

  .solutions-hero__content > p {
    font-size: .95rem;
    line-height: 1.75;
  }

  .hero-description__line {
    display: inline;
  }

  .solution-tabs {
    width: calc(100% - 32px);
    margin-top: 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .solution-tab {
    height: 64px;
    justify-content: flex-start;
    padding: 6px clamp(6px, 2vw, 8px);
    border-radius: 14px;
    gap: 4px;
    font-size: clamp(.72rem, 3.4vw, .82rem);
    line-height: 1.25;
    letter-spacing: 0;
    box-shadow:
      0 8px 18px rgba(3, 17, 38, .14),
      0 2px 5px rgba(8, 53, 121, .08),
      inset 0 1px 0 rgba(255, 255, 255, .95);
  }

  .solution-tab:last-child {
    width: calc(50% - 4px);
    grid-column: 1 / -1;
    justify-self: center;
  }

  .solution-tab__icon {
    width: clamp(26px, 8vw, 32px);
    height: clamp(26px, 8vw, 32px);
    flex-basis: clamp(26px, 8vw, 32px);
  }

  .solution-tab__icon img {
    width: clamp(22px, 6.8vw, 26px);
    height: clamp(22px, 6.8vw, 26px);
  }

  .industry-section {
    padding: 60px 0;
  }

  .industry-photo {
    height: min(68vw, 420px);
    border-radius: 14px;
  }

  .industry-title {
    min-height: 88px;
    margin-bottom: 24px;
    font-size: 1.5rem;
    line-height: 1.4;
    white-space: normal;
  }

  .industry-title::after {
    top: 68px;
    width: 96px;
  }

  .industry-title span {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  #reagent .industry-title,
  #testing .industry-title {
    font-size: clamp(1rem, 4.8vw, 1.25rem);
    letter-spacing: .03rem;
    white-space: nowrap;
  }

  #reagent .industry-title span,
  #testing .industry-title span {
    font-size: clamp(1.45rem, 7vw, 1.75rem);
    letter-spacing: .04rem;
  }

  .summary-card {
    min-height: 0;
    padding: 20px;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
  }

  .summary-card__icon {
    width: 56px;
    height: 56px;
    transform: none;
  }

  .summary-card__icon--result img {
    width: 56px;
    height: 56px;
  }

  .summary-card__icon--result img:last-child {
    inset: 13px;
    width: 30px;
    height: 30px;
  }

  .summary-card h3 {
    font-size: 1.3rem;
    line-height: 1.5;
  }

  .summary-card ul,
  .summary-card p {
    font-size: .98rem;
    line-height: 1.8;
  }

  .summary-card li::before,
  .summary-card p::before {
    top: .65em;
  }

  .flow-heading {
    height: 60px;
  }

  .flow-heading::before {
    top: 9px;
    left: 30px;
    width: calc(100% - 30px);
    height: 42px;
  }

  .flow-heading--reverse::before {
    right: 30px;
    left: auto;
  }

  .flow-heading__icon {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .flow-heading__icon img {
    width: 48px;
    height: 48px;
  }

  .flow-heading h3 {
    margin-left: 20px;
    font-size: 1.25rem;
  }

  .flow-heading--reverse h3 {
    margin: 0 20px 0 0;
  }

  .flow-grid--6,
  .flow-grid--7 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .flow-step,
  .flow-grid--7 .flow-step,
  .flow-grid--reagent .flow-step {
    min-height: 0;
    padding: 14px 10px 18px;
  }

  .flow-step b {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 24px;
  }

  .flow-step__media,
  .flow-grid--7 .flow-step__media,
  .flow-grid--reagent .flow-step__media {
    width: 100%;
    height: auto;
    flex-basis: auto;
    aspect-ratio: 1.38;
    object-fit: contain;
  }

  #reagent .flow-grid--reagent .flow-step__media {
    aspect-ratio: 180 / 193;
    border-radius: 8px;
    object-fit: cover;
  }

  .flow-step figcaption {
    font-size: .85rem;
    line-height: 1.5;
  }

  .flow-step small {
    font-size: .95rem;
    line-height: 1.5;
  }

  #research .flow-grid--7 .flow-step figcaption,
  #research .flow-grid--7 .flow-step:nth-child(2) figcaption {
    position: static;
    min-height: 0;
    margin-top: 14px;
    line-height: 1.5;
  }

  #research .flow-grid--7 .flow-step small {
    position: static;
    margin-top: 10px;
    line-height: 1.5;
  }

  #testing .flow-grid--testing .flow-step figcaption,
  #testing .flow-grid--testing .flow-step:nth-child(5) figcaption {
    position: static;
    min-height: 0;
    margin-top: 14px;
    line-height: 1.5;
  }

  #testing .flow-grid--testing .flow-step small {
    position: static;
    margin-top: 10px;
    line-height: 1.5;
  }
}

@media (min-width: 760.01px) and (max-width: 1180px) {
  .solution-tab {
    height: clamp(64px, calc(11.43vw - 22.86px), 112px);
    padding:
      clamp(8px, calc(3.81vw - 20.95px), 24px)
      clamp(8px, calc(.95vw + .76px), 12px);
    border-radius: clamp(14px, calc(1.43vw + 3.14px), 20px);
    gap: clamp(4px, calc(1.43vw - 6.86px), 10px);
    font-size: clamp(.82rem, calc(.69vw + 7.88px), 1rem);
  }

  .solution-tab__icon {
    width: clamp(32px, calc(4.76vw - 4.19px), 52px);
    height: clamp(32px, calc(4.76vw - 4.19px), 52px);
    flex-basis: clamp(32px, calc(4.76vw - 4.19px), 52px);
  }

  .solution-tab__icon img {
    width: clamp(26px, calc(3.81vw - 2.96px), 42px);
    height: clamp(26px, calc(3.81vw - 2.96px), 42px);
  }
}

@media (hover: none), (pointer: coarse) {
  .solution-tab {
    transition:
      color .12s ease,
      box-shadow .12s ease,
      transform .12s ease;
  }

  .solution-tab:active {
    color: var(--accent);
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(8, 53, 121, .2);
    transform: scale(.985);
  }
}

@media (prefers-reduced-motion: reduce) {
  .solution-tab {
    transition: none;
  }
}

@media (max-width: 420px) {
  .summary-card {
    grid-template-columns: 1fr;
  }

  .flow-grid--6,
  .flow-grid--7 {
    grid-template-columns: 1fr;
  }
}
