.cbzsfw-page {
  background: #f5f7fa;
  color: #212123;
}
.cbzsfw-page main {
  position: relative;
  overflow: hidden;
  padding-bottom: 110px;
  background: #f5f7fa;
}
.cbzsfw-page main::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(360px, 39.6875vw, 762px);
  content: "";
  pointer-events: none;
  background: url("/assets/matrix_cp/Maskgroup.png") center top / 100% 100% no-repeat;
  transform-origin: center top;
}
.service-hero {
  position: relative;
  z-index: 1;
  height: 363px;
  overflow: hidden;
}
.service-hero h1 {
  position: absolute;
  left: 50%;
  top: 176px;
  margin: 0;
  font-size: 48px;
  line-height: 1.34;
  font-weight: 700;
  transform: translateX(-50%);
}
.service-hero h1 span {
  color: #2d60ff;
}
.service-shell {
  position: relative;
  z-index: 1;
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto 20px;
  padding: 56px 52px;
  border-radius: 16px;
  background: #fff;
}
.intro-block {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 70px;
  align-items: center;
  min-height: 555px;
  padding: 0 64px;
}
.intro-copy h2,
.screen-intro h2 {
  position: relative;
  margin: 0 0 24px;
  color: #1356dc;
  font-size: 36px;
  line-height: 1.34;
  font-weight: 700;
}
.intro-copy h2::before,
.screen-intro h2::before {
  position: absolute;
  left: -23px;
  top: 11px;
  width: 5px;
  height: 26px;
  content: "";
  border-radius: 3px;
  background: #2468f2;
}
.intro-copy p {
  margin: 0;
  max-width: 472px;
  color: #333;
  font-size: 18px;
  line-height: 29px;
}
.intro-phone {
  width: 499px;
  justify-self: end;
}
.panel {
  margin-top: 20px;
  padding: 44px 64px 54px;
  border-radius: 16px;
  background: rgba(230, 242, 255, 0.5);
}
.panel-copy h2 {
  margin: 0 0 8px;
  color: #333;
  font-size: 28px;
  line-height: 1.35;
}
.panel-copy p {
  margin: 0 0 22px;
  color: #606060;
  font-size: 16px;
  line-height: 29px;
}
.apps-panel img {
  width: 100%;
}
.style-panel {
  padding-bottom: 60px;
}
.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 19px;
  margin: 24px 0 40px;
}
.feature-cards article {
  display: flex;
  min-height: 168px;
  flex-direction: column;
  justify-content: center;
  padding: 28px 34px;
  border: 1px solid #d2e2fe;
  border-radius: 16px;
  background: #fff;
  color: #333;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
}
.feature-cards strong {
  font: inherit;
}
.feature-cards strong span {
  color: #ff1e1e;
  font-size: 32px;
}
.feature-cards p {
  margin: 0;
}
.phone-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 23px;
}
.phone-row img:nth-child(1),
.phone-row img:nth-child(5) {
  width: 189px;
}
.phone-row img:nth-child(2),
.phone-row img:nth-child(4) {
  width: 202px;
}
.phone-row img:nth-child(3) {
  width: 221px;
}
.version-panel {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 54px;
  align-items: center;
  padding-top: 47px;
  padding-bottom: 47px;
}
.version-panel img {
  width: min(733px, 100%);
  justify-self: center;
}
.screen-shell {
  padding-top: 62px;
}
.screen-intro {
  padding: 0 40px 12px;
}
.screen-intro p {
  margin: 0;
  color: #333;
  font-size: 18px;
  line-height: 29px;
}
.screen-card {
  display: grid;
  margin-top: 20px;
  border-radius: 16px;
  background: rgba(230, 242, 255, 0.5);
}
.screen-card h3 {
  margin: 0 0 28px;
  color: #333;
  font-size: 28px;
  line-height: 1.34;
}
.screen-card p {
  margin: 0;
  color: #606060;
  font-size: 16px;
  line-height: 29px;
}
.screen-value,
.screen-reuse {
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  min-height: 402px;
  padding: 40px 52px;
}
.screen-value img,
.screen-reuse img {
  width: min(813px, 100%);
  justify-self: end;
}
.screen-control {
  grid-template-columns: 270px 464px minmax(320px, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 648px;
  padding: 31px 35px 37px 47px;
}
.control-copy {
  padding-top: 168px;
}
.control-main,
.control-side {
  border: 1px solid #d2e2fe;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}
.control-main {
  min-height: 580px;
  padding: 42px 18px;
}
.control-side {
  min-height: 363px;
  padding: 42px 17px 28px;
}
.control-main h4,
.control-side h4 {
  margin: 0 0 26px;
  color: #333;
  font-size: 24px;
  line-height: 1.34;
}
.control-images {
  display: grid;
  grid-template-columns: 268px 150px;
  gap: 9px;
  align-items: start;
}
.control-images > img {
  width: 268px;
}
.control-images div {
  display: grid;
  gap: 16px;
}
.control-images div img {
  width: 150px;
}
.control-side img {
  width: 370px;
  max-width: 100%;
}
@media (max-width: 980px) {
  .cbzsfw-page main {
    padding-bottom: 44px;
  }
  .cbzsfw-page main::before {
    height: 360px;
  }
  .service-hero {
    height: 240px;
  }
  .service-hero h1 {
    top: 110px;
    font-size: 30px;
  }
  .service-shell {
    width: calc(100% - 24px);
    padding: 24px 18px;
    border-radius: 12px;
  }
  .intro-block,
  .version-panel,
  .screen-value,
  .screen-reuse,
  .screen-control {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 18px;
  }
  .intro-copy h2,
  .screen-intro h2 {
    font-size: 24px;
  }
  .intro-copy p,
  .screen-intro p {
    font-size: 15px;
    line-height: 1.8;
  }
  .intro-phone {
    width: min(420px, 100%);
    justify-self: center;
  }
  .panel {
    padding: 24px 18px;
  }
  .panel-copy h2,
  .screen-card h3 {
    font-size: 22px;
  }
  .feature-cards {
    grid-template-columns: 1fr;
  }
  .feature-cards article {
    min-height: 112px;
    font-size: 20px;
  }
  .phone-row {
    gap: 10px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
  }
  .phone-row img {
    flex: 0 0 auto;
    max-height: 310px;
    width: auto !important;
  }
  .screen-intro {
    padding: 0 18px 8px;
  }
  .control-copy {
    padding-top: 0;
  }
  .control-main,
  .control-side {
    min-height: 0;
  }
  .control-images {
    grid-template-columns: minmax(0, 1fr);
  }
  .control-images > img,
  .control-images div img {
    width: min(100%, 280px);
  }
  .control-images div {
    width: min(100%, 280px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .control-images div img:first-child {
    grid-column: 1 / -1;
    width: 100%;
  }
  .control-images div img:nth-child(n + 2) {
    width: 100%;
  }
}
