:root {
  --brand-red: #9a3334;
  --brand-red-dark: #762426;
  --brand-blue: #249dd4;
  --brand-blue-dark: #147cae;
  --ink: #181818;
  --heading: #20242a;
  --text: #454b53;
  --muted: #6c747e;
  --line: #dfe3e7;
  --surface: #f3f5f6;
  --white: #ffffff;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
}

body a {
  color: inherit;
  text-decoration: none;
}

body a:hover {
  color: var(--brand-red);
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
}

.site-shell {
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--white);
}

.top-bar {
  height: 40px;
  color: #d7dbe0;
  background: var(--ink);
  border-bottom: 1px solid var(--brand-red);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 26px;
  font-size: 12px;
}

.top-bar__welcome {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  color: var(--white);
  background: var(--brand-red);
}

.top-bar__phone {
  margin-left: auto;
}

.top-bar a {
  color: #e8eaed;
}

.main-nav {
  border-bottom: 4px solid var(--brand-blue);
  background: var(--white);
}

.main-nav__inner {
  display: flex;
  align-items: center;
  min-height: 82px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo img {
  width: 120px;
  height: 50px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  justify-content: flex-end;
  gap: 2px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  min-height: 82px;
  padding: 0 18px;
  color: #292d32;
  font-size: 15px;
  white-space: nowrap;
}

.nav-links a::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  background: var(--brand-red);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand-red);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  color: var(--heading);
  background: transparent;
  border: 1px solid #cfd3d7;
  border-radius: 3px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.page-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: var(--white);
  background: #202a36;
}

.page-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 21, 29, 0.88), rgba(13, 21, 29, 0.48));
  content: "";
}

.page-hero::after {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: calc((100% - min(var(--content-width), calc(100% - 48px))) / 2);
  width: 118px;
  height: 6px;
  background: var(--brand-red);
  content: "";
}

.page-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--brand-blue-dark);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 10px;
  background: currentColor;
  content: "";
  vertical-align: 4px;
}

.eyebrow--light {
  color: #7fd0f1;
}

.page-hero h1 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
}

.page-hero p:last-child {
  max-width: 720px;
  margin: 0;
  color: #dbe2e7;
  font-size: 17px;
}

.section {
  padding: 88px 0;
}

.section--surface {
  background: var(--surface);
}

.section--dark {
  color: var(--white);
  background: #202a36;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 46px;
}

.section-heading--single {
  grid-template-columns: 1fr;
  gap: 0;
}

.section-heading h2 {
  margin: 0;
  color: var(--heading);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.4;
}

.section-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 16px;
}

.section--dark .section-heading h2 {
  color: var(--white);
}

.section--dark .section-heading > p {
  color: #b7c1ca;
}

.accent-title {
  position: relative;
  padding-left: 20px;
}

.accent-title::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 4px;
  background: var(--brand-red);
  content: "";
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  align-items: center;
  gap: 70px;
}

.intro-layout h2 {
  margin: 0 0 20px;
  color: var(--heading);
  font-size: 34px;
  line-height: 1.45;
}

.intro-layout p {
  margin: 0 0 16px;
  color: #555d66;
  font-size: 16px;
}

.intro-layout__media {
  width: 100%;
  min-height: 360px;
  max-height: 460px;
  object-fit: cover;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-strip__item {
  padding: 22px 14px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.stat-strip__item:last-child {
  border-right: 0;
}

.stat-strip strong {
  display: block;
  color: var(--brand-red);
  font-size: 24px;
}

.value-grid,
.product-grid,
.case-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value-item,
.process-item {
  min-width: 0;
  padding: 34px;
  background: var(--white);
}

.value-item__index,
.process-item__index {
  display: block;
  margin-bottom: 28px;
  color: var(--brand-red);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.value-item h3,
.process-item h3 {
  margin: 0 0 10px;
  color: var(--heading);
  font-size: 21px;
}

.value-item p,
.process-item p {
  margin: 0;
  color: var(--muted);
}

.section--dark .value-grid,
.section--dark .process-grid {
  background: #46515f;
  border-color: #46515f;
}

.section--dark .value-item,
.section--dark .process-item {
  background: #283441;
}

.section--dark .value-item h3,
.section--dark .process-item h3 {
  color: var(--white);
}

.section--dark .value-item p,
.section--dark .process-item p {
  color: #b7c1ca;
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
}

.product-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-card__body {
  padding: 28px;
}

.product-card__meta {
  display: block;
  margin-bottom: 9px;
  color: var(--brand-blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.product-card h2,
.product-card h3 {
  margin: 0 0 10px;
  color: var(--heading);
  font-size: 22px;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.tag-list,
.check-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list li {
  padding: 3px 9px;
  color: var(--brand-red);
  background: #f5e9e9;
  font-size: 12px;
}

.check-list {
  display: grid;
  gap: 8px;
}

.check-list li {
  position: relative;
  padding-left: 18px;
  color: #555d66;
}

.check-list li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--brand-blue);
  content: "";
}

.section--dark .check-list li {
  color: #c2cbd2;
}

.service-list,
.solution-list {
  border-top: 1px solid var(--line);
}

.service-row,
.solution-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 205px;
  border-bottom: 1px solid var(--line);
}

.service-row__title,
.solution-row__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 36px;
  color: var(--white);
  background: #283441;
  border-left: 5px solid transparent;
  transition: border-color 160ms ease;
}

.service-row:hover .service-row__title,
.solution-row:hover .solution-row__title {
  border-left-color: var(--brand-red);
}

.service-row__title span,
.solution-row__title span {
  color: #7dc9ea;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.service-row__title h2,
.service-row__title h3,
.solution-row__title h2,
.solution-row__title h3 {
  margin: 8px 0 0;
  color: var(--white);
  font-size: 24px;
}

.service-row__body,
.solution-row__body {
  display: grid;
  align-content: center;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.7fr);
  gap: 40px;
  padding: 34px 46px;
  background: var(--white);
}

.service-row__body p,
.solution-row__body p {
  margin: 0;
  color: var(--muted);
}

.service-row__body .check-list,
.solution-row__body .check-list {
  margin-top: 0;
}

.architecture {
  border: 1px solid #46515f;
  background: #283441;
}

.architecture__layer {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  min-height: 86px;
  padding: 18px 28px;
  border-bottom: 1px solid #46515f;
}

.architecture__layer:last-child {
  border-bottom: 0;
}

.architecture__layer span {
  color: #79c9ec;
  font-size: 13px;
}

.architecture__layer strong {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
}

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

.case-card {
  position: relative;
  min-width: 0;
  min-height: 280px;
  padding: 32px;
  background: var(--white);
}

.case-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 4px;
  background: var(--brand-red);
  content: "";
}

.case-card__industry {
  display: block;
  margin-bottom: 26px;
  color: var(--brand-blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.case-card h2,
.case-card h3 {
  margin: 0 0 10px;
  color: var(--heading);
  font-size: 21px;
}

.case-card p {
  margin: 0;
  color: var(--muted);
}

.partner-strip {
  display: grid;
  grid-template-columns: 250px 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partner-strip__lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 210px;
  padding: 32px;
  color: var(--white);
  background: var(--brand-red);
}

.partner-strip__lead span {
  font-size: 13px;
}

.partner-strip__lead strong {
  margin-top: 8px;
  font-size: 25px;
  line-height: 1.45;
}

.partner-strip__names {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.partner-strip__names span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 105px;
  padding: 16px;
  color: #383e45;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.partner-strip__names span:nth-child(3n) {
  border-right: 0;
}

.partner-strip__names span:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.contact-list div {
  padding: 18px 20px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  color: var(--muted);
  font-size: 12px;
}

.contact-list dd {
  margin: 3px 0 0;
  color: var(--heading);
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 190px;
  padding: 42px 48px;
  color: var(--white);
  background: var(--brand-red);
}

.contact-band h2 {
  margin: 0 0 6px;
  color: var(--white);
  font-size: 28px;
}

.contact-band p {
  margin: 0;
  color: #f0dede;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 24px;
  color: var(--white);
  background: var(--brand-red);
  border: 1px solid var(--brand-red);
  border-radius: 3px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease;
}

.button-link:hover {
  color: var(--white);
  background: var(--brand-red-dark);
  border-color: var(--brand-red-dark);
}

.button-link--white {
  color: var(--brand-red);
  background: var(--white);
  border-color: var(--white);
}

.button-link--white:hover {
  color: var(--white);
}

.site-footer {
  color: #aeb7c0;
  background: #11171f;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1.25fr;
  gap: 58px;
  padding: 60px 0 46px;
}

.footer-brand img {
  width: 120px;
  height: 50px;
  margin-bottom: 16px;
  object-fit: contain;
}

.site-footer h2 {
  margin: 3px 0 16px;
  color: var(--white);
  font-size: 15px;
}

.site-footer p {
  margin: 0 0 7px;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 7px 0;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0;
  color: #77818b;
  border-top: 1px solid #303946;
  font-size: 12px;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    right: 24px;
    left: 24px;
    display: none;
    align-self: auto;
    min-height: 0;
    margin: 0;
    flex-direction: column;
    background: var(--white);
    border-top: 3px solid var(--brand-red);
    box-shadow: 0 16px 32px rgba(15, 24, 34, 0.18);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    justify-content: flex-start;
    min-height: 50px;
    padding: 0 20px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a::after {
    top: 14px;
    right: auto;
    bottom: 14px;
    left: 0;
    width: 3px;
    height: auto;
    transform: scaleY(0);
  }

  .nav-links a:hover::after,
  .nav-links a[aria-current="page"]::after {
    transform: scaleY(1);
  }

  .intro-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .value-grid,
  .product-grid,
  .case-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-row__body,
  .solution-row__body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-footer__main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(100% - 28px, 520px);
  }

  .top-bar {
    height: 34px;
  }

  .top-bar__inner {
    font-size: 11px;
  }

  .top-bar__welcome {
    padding: 0 12px;
  }

  .top-bar__email {
    display: none;
  }

  .main-nav__inner {
    min-height: 70px;
  }

  .brand-logo img {
    width: 96px;
    height: 42px;
  }

  .nav-links {
    top: 70px;
    right: 14px;
    left: 14px;
  }

  .page-hero,
  .page-hero__content {
    min-height: 290px;
  }

  .page-hero::after {
    left: 14px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .page-hero p:last-child {
    font-size: 15px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
  }

  .section-heading h2,
  .intro-layout h2 {
    font-size: 28px;
  }

  .intro-layout__media {
    min-height: 260px;
  }

  .value-grid,
  .product-grid,
  .case-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .stat-strip,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .stat-strip__item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-strip__item:last-child {
    border-bottom: 0;
  }

  .service-row,
  .solution-row {
    grid-template-columns: 1fr;
  }

  .service-row__title,
  .solution-row__title {
    min-height: 130px;
  }

  .service-row__body,
  .solution-row__body {
    padding: 28px;
  }

  .architecture__layer {
    grid-template-columns: 80px 1fr;
    padding: 16px;
  }

  .partner-strip {
    grid-template-columns: 1fr;
  }

  .partner-strip__lead {
    min-height: 145px;
  }

  .partner-strip__names {
    grid-template-columns: 1fr;
  }

  .partner-strip__names span {
    min-height: 70px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .partner-strip__names span:last-child {
    border-bottom: 0;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 26px;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 0 34px;
  }

  .site-footer__bottom {
    flex-direction: column;
    width: min(100% - 28px, 520px);
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-links a::after,
  .nav-toggle span,
  .service-row__title,
  .solution-row__title,
  .button-link {
    transition: none;
  }
}
