:root {
  --solution-shell: 85.4167vw;
  --solution-brand: #f2c81e;
  --solution-text: #333333;
  --solution-subtext: #666666;
  --solution-soft: #f9f8f8;
  --solution-border: rgba(0, 0, 0, 0.05);
}

.solution-body {
  min-width: 320px;
  color: var(--solution-text);
  font-family: var(--family);
  background: #fff;
}

.solution-page {
  position: relative;
  overflow: clip;
}

@media (min-width: 769px) {
  :root {
    --solution-focus-module-scale: 0.92;
    --solution-focus-safe-pad: clamp(140px, 9vw, 180px);
  }

  .solution-body {
    overflow-x: hidden;
  }

  .solution-page {
    width: 100vw;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    transform-origin: top center;
  }

  .solution-stage .solution-shell,
  .solution-skills .solution-shell,
  .solution-cases .solution-shell,
  .solution-banner .solution-shell {
    width: min(
      calc(var(--solution-shell) * var(--solution-focus-module-scale)),
      calc(100% - (2 * var(--solution-focus-safe-pad)))
    );
  }
}

.solution-shell {
  width: min(var(--solution-shell), calc(100% - 2.083vw));
  margin: 0 auto;
}

.solution-hero {
  position: relative;
  min-height: 50vw;
  overflow: hidden;
  background: #000;
}

.solution-hero__bg,
.solution-hero__shade {
  position: absolute;
  inset: 0;
}

.solution-hero__bg {
  background: var(--solution-hero-bg-pc, url("/img/solutionbackground.webp")) center center / cover no-repeat;
}

.solution-hero__shade {
  display: none;
  background: none;
}

.solution-hero__content {
  position: relative;
  z-index: 2;
  min-height: 50vw;
  display: flex;
  align-items: center;
}

.solution-hero__copy {
  width: 26.469vw;
  margin-top: 7.917vw;
}

.solution-hero--motion .solution-hero__kicker,
.solution-hero--motion .solution-hero__title span,
.solution-hero--motion .solution-hero__cta {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  will-change: transform, opacity;
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.9s ease;
}

.solution-hero--motion .solution-hero__title span:nth-child(1) {
  transition-delay: 0.08s;
}

.solution-hero--motion .solution-hero__title span:nth-child(2) {
  transition-delay: 0.16s;
}

.solution-hero--motion .solution-hero__cta {
  transition-delay: 0.24s;
}

.solution-hero--motion.solution-hero--in .solution-hero__kicker,
.solution-hero--motion.solution-hero--in .solution-hero__title span,
.solution-hero--motion.solution-hero--in .solution-hero__cta {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.solution-hero__kicker {
  margin: 0 0 0.104vw;
  color: #fff;
  line-height: 2;
  letter-spacing: 0.834vw;
  font-weight: 350;
}

.solution-hero__title {
  margin: 0;
  color: #fff;
  line-height: 1.2;
}

.solution-hero__title span {
  display: block;
}

.solution-hero__cta {
  margin-top: 5.677vw;
}

.solution-stage {
  padding: 6.25vw 0 0;
  background: #fff;
}

.solution-stage--motion .solution-stage__bg {
  opacity: 0.72;
  transform: scale(0.82);
  transform-origin: 50% 50%;
  clip-path: inset(14% 11% round 28px);
  will-change: transform, opacity, clip-path;
  transition:
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.9s ease;
}

.solution-stage--motion .solution-stage__text,
.solution-stage--motion .solution-stage-card {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  will-change: transform, opacity;
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.9s ease;
}

.solution-stage--motion .solution-stage-card {
  transform: translate3d(0, 64px, 0);
}

.solution-stage--motion .solution-stage-card:nth-child(1) {
  transition-delay: 0.16s;
}

.solution-stage--motion .solution-stage-card:nth-child(2) {
  transition-delay: 0.24s;
}

.solution-stage--motion .solution-stage-card:nth-child(3) {
  transition-delay: 0.32s;
}

.solution-stage--motion.solution-stage--in .solution-stage__bg {
  opacity: 1;
  transform: scale(1);
  clip-path: inset(0 round 28px);
}

.solution-stage--motion.solution-stage--in .solution-stage__text,
.solution-stage--motion.solution-stage--in .solution-stage-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.solution-stage--motion.solution-stage--in .solution-stage__text {
  transition-delay: 0.28s;
}

.solution-stage--motion.solution-stage--in .solution-stage-card:nth-child(1) {
  transition-delay: 0.4s;
}

.solution-stage--motion.solution-stage--in .solution-stage-card:nth-child(2) {
  transition-delay: 0.52s;
}

.solution-stage--motion.solution-stage--in .solution-stage-card:nth-child(3) {
  transition-delay: 0.64s;
}

.solution-stage__panel {
  position: relative;
  min-height: 48.073vw;
  overflow: hidden;
  border-radius: 1.458vw;
  overflow: hidden;
}

.solution-stage__bg,
.solution-stage__overlay {
  position: absolute;
  inset: 0;
}

.solution-stage__bg {
  background: var(--solution-stage-bg, url("/img/solutionrobot.webp")) center center / cover no-repeat;
}

.solution-stage__overlay {
  background: rgba(0, 0, 0, 0.2);
}

.solution-stage__text {
  position: absolute;
  left: 3.906vw;
  top: 4.375vw;
  z-index: 2;
  width: 39.583vw;
  color: #fff;
}

.solution-stage__text h2 {
  margin: 0;
  line-height: 1.2;
}

.solution-stage__text p {
  width: 39.583vw;
  margin: 1.042vw 0 0;
  line-height: 1.3542vw;
}

.solution-stage__cards {
  position: absolute;
  right: 4.01vw;
  top: 4.375vw;
  z-index: 2;
  display: grid;
  gap: 2.604vw;
  width: 26.042vw;
}

.solution-stage-card {
  display: flex;
  gap: 1.25vw;
  align-items: flex-start;
  padding: 1.354vw;
  border-radius: 1.823vw;
  background: var(--solution-soft);
}

.solution-stage-card__icon {
  flex: 0 0 2.604vw;
  width: 2.604vw;
  height: 2.604vw;
}

.solution-stage-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.solution-stage-card h3 {
  margin: 0;
  color: var(--solution-text);
  line-height: 1.1;
}

.solution-stage-card p {
  margin: 0.417vw 0 0;
  color: var(--solution-subtext);
  line-height: 1.25vw;
}

.solution-skills {
  padding: 7.135vw 0 0;
  background: #fff;
}

.solution-skills__title {
  margin: 0 0 3.125vw;
  text-align: center;
  line-height: 1.2;
}

.solution-skills__grid {
  display: grid;
  grid-template-columns: 25vw 11.979vw 11.979vw 11.979vw 11.979vw;
  gap: 1.25vw;
  align-items: stretch;
}

.solution-skill {
  position: relative;
  min-height: 33.854vw;
  overflow: hidden;
  border-radius: 2.083vw;
}

.solution-skill__media,
.solution-skill__shade {
  position: absolute;
  inset: 0;
}

.solution-skill__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-skill__shade {
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.35s ease;
}

@media (max-width: 1440px) {
  .solution-skill__title--compact {
    display: none;
  }

  .solution-skill__detail {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }

  .solution-skill--wide .solution-skill__shade {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.12) 40%, rgba(0, 0, 0, 0.2) 100%);
  }
}

.solution-skill__content {
  position: absolute;
  left: 1.563vw;
  right: 1.563vw;
  bottom: 1.615vw;
  z-index: 2;
  color: #fff;
  transition: right 0.35s ease;
}

.solution-skill__content h3 {
  margin: 0;
  line-height: 1.2;
}

.solution-skill__content p {
  margin: 0.729vw 0 0;
  line-height: 1.25vw;
}

.solution-skill__title--compact {
  margin: 0;
}

@media (min-width: 1441px) {
  .solution-skill:not(.active) .solution-skill__title--compact {
    display: block;
  }

  .solution-skill.active .solution-skill__title--compact {
    display: none;
  }

  .solution-skills__grid {
    display: flex;
  }

  .solution-skill {
    flex: 230 1 0;
    min-width: 0;
    cursor: pointer;
    transition: flex-grow 0.35s ease, flex-basis 0.35s ease;
  }

  .solution-skill.active {
    flex-grow: 480;
  }

  .solution-skill .solution-skill__shade {
    background: rgba(0, 0, 0, 0.2);
  }

  .solution-skill.active .solution-skill__shade {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.12) 40%, rgba(0, 0, 0, 0.2) 100%);
  }

  .solution-skill:not(.active) .solution-skill__content {
    right: auto;
  }

  .solution-skill.active .solution-skill__content {
    right: 1.563vw;
  }
}

.solution-skill__divider {
  display: block;
  width: 3.906vw;
  height: 0.156vw;
  margin-bottom: 0.729vw;
  background: var(--solution-brand);
}

.solution-skill--calligraphy .solution-skill__media {
  object-position: center top;
}

.solution-cases {
  padding: 8.333vw 0 0;
  background: #fff;
}

.solution-cases__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.667vw;
}

.solution-cases__copy {
  width: min(42.5vw, 100%);
}

.solution-cases__copy h2 {
  margin: 0;
  line-height: 1.5;
}

.solution-cases__copy p {
  margin: 0.729vw 0 0;
  color: var(--solution-subtext);
  line-height: 1.4;
}

.solution-cases__cta {
  background: #f8f8f9;
}

.solution-cases__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 31.25vw;
  gap: 1.25vw;
  margin-top: 3.125vw;
}

.solution-case {
  position: relative;
  grid-column: span 6;
  min-height: 31.25vw;
  overflow: hidden;
  border-radius: 2.083vw;
  /* 当渲染为 <a>（后台填了 linkurl）时，去掉下划线、文字色继承父级；
     渲染为 <article> 时这两条规则不会产生副作用。 */
  text-decoration: none;
  color: inherit;
  display: block;
}

a.solution-case {
  cursor: pointer;
}

.solution-cases__grid .solution-case:nth-child(1),
.solution-cases__grid .solution-case:nth-child(4) {
  grid-column: span 7;
}

.solution-cases__grid .solution-case:nth-child(2),
.solution-cases__grid .solution-case:nth-child(3) {
  grid-column: span 5;
}

.solution-case__media,
.solution-case__shade {
  position: absolute;
  inset: 0;
}

.solution-case__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-case img{
  transition: all ease .6s;
}
.solution-case:hover img{
  transform: scale(1.1);
}

.solution-case__shade {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.16) 42%, rgba(0, 0, 0, 0.28) 100%);
}

.solution-case__content {
  position: absolute;
  left: 2.188vw;
  right: 2.188vw;
  bottom: 2.188vw;
  z-index: 2;
  color: #fff;
}

.solution-case__content h3 {
  margin: 0;
  line-height: 1.6667vw;
}

@media (min-width: 1441px) {
  .solution-cases__grid {
    --solution-case-hover-image: none;
    --solution-case-grid-width: 1641px;
    --solution-case-grid-height: 1224px;
    --solution-case-row-offset: -624px;
    --solution-case-top-right-x: -962px;
    --solution-case-bottom-right-x: -703px;
  }

  .solution-case {
    z-index: 1;
    transition: opacity 0.3s ease;
  }

  .solution-case::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.16) 42%, rgba(0, 0, 0, 0.28) 100%), var(--solution-case-hover-image);
    background-repeat: no-repeat, no-repeat;
    background-size: 100% 100%, var(--solution-case-grid-width) var(--solution-case-grid-height);
    background-position: center center, 0 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }

  .solution-cases__grid .solution-case:nth-child(2)::before {
    background-position: center center, var(--solution-case-top-right-x) 0;
  }

  .solution-cases__grid .solution-case:nth-child(3)::before {
    background-position: center center, 0 var(--solution-case-row-offset);
  }

  .solution-cases__grid .solution-case:nth-child(4)::before {
    background-position: center center, var(--solution-case-bottom-right-x) var(--solution-case-row-offset);
  }
}

.solution-banner {
  padding: 6.354vw 0 8.281vw;
  background: #fff;
}

.solution-banner--motion .solution-banner__inner {
  opacity: 0;
  transform: translate3d(0, 52px, 0);
  will-change: transform, opacity;
  transition:
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.95s ease;
}

.solution-banner--motion.solution-banner--in .solution-banner__inner {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.solution-banner__inner {
  position: relative;
  min-height: 24.844vw;
  overflow: hidden;
  border-radius: 2.917vw;
  background: var(--solution-brand);
}

.solution-banner__copy {
  position: absolute;
  left: 5.729vw;
  top: 4.635vw;
  z-index: 2;
  width: 30.729vw;
}

.solution-banner__title {
  margin: 0;
  color: #fff;
  line-height: 1.2;
}

.solution-banner__title span {
  display: block;
}

.solution-banner__cta {
  margin-top: 4.167vw;
}

.solution-banner__robot {
  position: absolute;
  right: -2.083vw;
  top: -6.25vw;
  width: 36.198vw;
  height: auto;
  transform: rotate(4deg);
  transform-origin: center;
}

.home-top {
  position: fixed;
  right: 1.667vw;
  bottom: 1.667vw;
  z-index: 30;
}

@media (max-width: 1720px) {
  .solution-skills__grid {
    grid-template-columns: 1.8fr repeat(4, 1fr);
  }

  .solution-cases__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

@media (max-width: 1440px) {
  .solution-hero__copy {
    margin-top: 6.25vw;
  }

  .solution-stage__panel {
    min-height: 54.167vw;
  }

  .solution-stage__text {
    left: 2.5vw;
    top: 2.5vw;
    width: calc(100% - 5vw);
  }

  .solution-stage__text p {
    width: min(39.583vw, 100%);
  }

  .solution-stage__cards {
    left: 2.5vw;
    right: 2.5vw;
    top: auto;
    bottom: 2.5vw;
    width: auto;
  }

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

  .solution-skill--wide {
    grid-column: span 2;
  }

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

  .solution-case,
  .solution-case--large,
  .solution-cases__grid .solution-case:nth-child(1),
  .solution-cases__grid .solution-case:nth-child(2),
  .solution-cases__grid .solution-case:nth-child(3),
  .solution-cases__grid .solution-case:nth-child(4) {
    grid-column: span 1;
  }

  .solution-banner__copy {
    left: 3.333vw;
    top: 3.75vw;
  }

  .solution-banner__robot {
    right: -4.167vw;
    width: 29.167vw;
  }
}

@media (max-width: 1024px) {
  .solution-hero {
    min-height: 39.583vw;
  }

  .solution-hero__content {
    min-height: 39.583vw;
    align-items: flex-end;
    padding-bottom: 5vw;
  }

  .solution-hero__copy {
    width: min(20.469vw, 100%);
    margin-top: 0;
  }

  .solution-hero__kicker {
    letter-spacing: 0.417vw;
  }

  .solution-stage {
    padding-top: 3.75vw;
  }

  .solution-skills {
    padding-top: 5vw;
  }

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

  .solution-skill,
  .solution-skill--wide {
    grid-column: span 1;
    min-height: 21.875vw;
  }

  .solution-cases__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .solution-cases__grid {
    grid-template-columns: 1fr;
  }

  .solution-case {
    min-height: 21.875vw;
  }

  .solution-banner {
    padding-top: 5vw;
  }

  .solution-banner__inner {
    min-height: 21.875vw;
  }

  .solution-banner__copy {
    position: relative;
    left: auto;
    top: auto;
    padding: 3.333vw 2.083vw 0;
    width: min(32.292vw, 100%);
  }

  .solution-banner__robot {
    right: -6.25vw;
    top: 0.521vw;
    width: 22.917vw;
  }
}

@media (max-width: 560px) {
  .solution-stage__text p,
  .solution-cases__copy p {
    line-height: 1.6;
  }

  .solution-stage-card {
    flex-direction: column;
    gap: 16px;
  }

  .solution-stage-card h3,
  .solution-case__content h3 {
    line-height: 1.35;
  }
}


@media (max-width: 560px) {
  .solution-hero__title span {
    font-size: 30px;
  }

  .solution-stage-card__icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}

@media (max-width: 768px) {
.solution-shell {
    width: calc(100% - 32px);
  }

  .solution-hero {
    min-height: 620px;
  }

  .solution-hero__bg {
    background-image: url("/img/wenyuyanchu.jpg");
    background-image: image-set(
      url("/img/wenyuyanchu.jpg.webp") type("image/webp"),
      url("/img/wenyuyanchu.jpg") type("image/jpeg")
    );
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .solution-hero__content {
    min-height: 620px;
    padding-bottom: 56px;
  }

  .solution-hero__cta {
    margin-top: 56px;
  }

  .solution-stage__panel {
    min-height: auto;
    padding: 32px 20px;
    border-radius: 25px;
  }

  .solution-stage__text,
  .solution-stage__cards {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
  }

  .solution-stage__text {
    margin-bottom: 24px;
  }

  .solution-stage__cards {
    gap: 20px;
  }

  .solution-stage-card {
    padding: 20px;
    border-radius: 24px;
  }

  .solution-stage-card h3 {
    line-height: 1.2;
  }

  .solution-skills__title {
    margin-bottom: 36px;
  }

  .solution-skills__grid {
    grid-template-columns: 1fr;
  }

  .solution-skill {
    min-height: 320px;
    border-radius: 24px;
  }

  .solution-skill__content {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .solution-cases {
    padding-top: 96px;
  }

  .solution-cases__grid {
    margin-top: 36px;
  }

  .solution-case {
    min-height: 320px;
    border-radius: 24px;
  }

  .solution-case__content {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .solution-banner {
    padding: 72px 0 96px;
  }

  .solution-banner__inner {
    min-height: 360px;
    border-radius: 28px;
  }

  .solution-banner__copy {
    padding: 36px 24px 0;
  }

  .solution-banner__cta {
    margin-top: 40px;
  }

  .solution-banner__robot {
    right: -80px;
    top: 140px;
    width: 300px;
  }

  .home-top {
    right: 16px;
    bottom: 16px;
  }

.solution-body {
    overflow-x: hidden;
  }

  .solution-page {
    width: 100%;
    max-width: 100%;
  }

  .solution-hero__title span {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.2;
  }

  .solution-hero__copy {
    width: 100%;
  }

  .solution-stage__text h2,
  .solution-skills__title,
  .solution-cases__copy h2,
  .solution-banner__title span {
    font-size: 32px;
    line-height: 1.25;
  }

  .solution-stage__text p,
  .solution-cases__copy p {
    width: 100%;
    max-width: 100%;
    line-height: 1.7;
  }

  .solution-stage-card {
    align-items: flex-start;
  }

  .solution-banner__copy {
    width: auto;
    padding: 32px 20px 170px;
  }

  .solution-banner__robot {
    top: auto;
    right: -48px;
    bottom: -28px;
    width: 240px;
  }
  .solution-stage-card p{
    line-height: 1.4;
  }
  .solution-skill__content p{
    margin: 10px 0 0;
    line-height: 1.4;
  }
  .solution-cases__copy{
    width: 100%;
  }
  .solution-cases__grid{
    display: flex;
    gap: 20px;
    flex-direction: column;
  }
}
