:root {
  color-scheme: light;
  --bg: #ffffff;
  --subtle: #f5f8fc;
  --subtle-strong: #edf4fb;
  --text: #07101f;
  --muted: #526071;
  --line: #dce5ef;
  --primary: #005bd8;
  --primary-dark: #0248ad;
  --cyan: #18b6df;
  --amber: #e79921;
  --shadow: 0 18px 45px rgba(13, 48, 88, 0.12);
  --container: min(100% - 64px, 1360px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 72px;
  padding: 0 calc((100% - min(100% - 64px, 1360px)) / 2);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(211, 222, 235, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 42px;
  color: var(--primary);
}

.brand-mark svg {
  width: 48px;
  height: 32px;
  stroke-width: 2.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  color: #101928;
  font-size: 15px;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 25px 0 23px;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 3px;
  background: var(--primary);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: 160ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  min-height: calc(100vh - 72px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0 48% 0 0;
  z-index: 1;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 62%, rgba(255, 255, 255, 0) 100%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 72px 48px 104px max(64px, calc((100vw - 1360px) / 2));
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: #050b14;
  font-size: clamp(44px, 5.2vw, 72px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1::after,
.section-intro h2::after,
.contact h2::after {
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 28px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  content: "";
}

.hero p {
  max-width: 620px;
  margin: 26px 0 0;
  color: #263447;
  font-size: 20px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.1;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 22px rgba(0, 91, 216, 0.18);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  background: #fff;
  border-color: #c9d6e5;
  color: #152235;
}

.button-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  background: #07192f;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.36) 19%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 74%, rgba(255, 255, 255, 0.9) 100%);
  content: "";
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 16%;
  filter: saturate(1.04) contrast(1.02);
}

.section,
.process-band,
.about,
.contact,
.site-footer {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 72px 0 28px;
}

.section-intro {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 26px;
  align-items: start;
  margin-bottom: 32px;
}

.section-intro h2,
.about h2,
.contact h2 {
  margin: 0;
  color: #050b14;
  font-size: 34px;
  font-weight: 820;
  line-height: 1.2;
}

.section-intro h2::after,
.contact h2::after {
  margin-top: 14px;
}

.section-intro p,
.about p,
.contact p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

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

.service-card {
  min-height: 212px;
  padding: 28px 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(19, 50, 84, 0.04);
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--primary);
}

.icon svg {
  width: 46px;
  height: 46px;
  stroke-width: 1.8;
}

.service-card h3,
.delivery-grid h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.service-card p,
.delivery-grid p,
.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.process-band {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 26px;
  margin-top: 42px;
  padding: 38px 0;
  background: linear-gradient(90deg, #f6fbff 0%, #eef7ff 50%, #fff8ef 100%);
  border-block: 1px solid #deebf6;
}

.process-band .section-intro {
  display: block;
  margin: 0;
  padding-left: max(0px, calc((100vw - 1360px) / -2));
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 152px;
  padding: 20px 16px 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(202, 220, 237, 0.8);
  border-radius: 6px;
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  background: var(--primary);
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.process-list li:nth-child(5) span {
  background: var(--amber);
}

.process-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.cases {
  padding-top: 76px;
}

.case-stack {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 18px;
}

.case-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(14, 44, 77, 0.05);
}

.case-featured {
  grid-row: span 2;
  background:
    linear-gradient(135deg, rgba(0, 91, 216, 0.08), rgba(24, 182, 223, 0.05) 44%, rgba(255, 255, 255, 0) 72%),
    #fff;
}

.case-heading {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.case-heading h3 {
  margin: 0;
  color: #07101f;
  font-size: 26px;
  line-height: 1.24;
}

.case-heading p {
  margin: 10px 0 0;
  color: #1f3147;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.case-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.86;
}

.case-tags,
.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.case-tags span,
.capability-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 11px;
  background: var(--subtle);
  border: 1px solid #d9e5f2;
  border-radius: 6px;
  color: #1d3554;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.case-tags span {
  background: #eef7ff;
  border-color: #cfe7f8;
  color: var(--primary-dark);
}

.delivery {
  padding-top: 62px;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.delivery-grid article {
  min-height: 156px;
  padding: 28px;
  background: #fff;
}

.delivery-grid h3 {
  color: #07101f;
}

.about {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: center;
  margin-top: 44px;
  padding: 58px 0;
  border-top: 1px solid var(--line);
}

.about h2 {
  margin-bottom: 18px;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.about-points span {
  padding: 18px 20px;
  background: var(--subtle);
  border-left: 4px solid var(--primary);
  border-radius: 6px;
  color: #142336;
  font-size: 18px;
  font-weight: 760;
}

.contact {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 1.5fr auto;
  gap: 34px;
  align-items: center;
  margin-bottom: 48px;
  padding: 32px 36px;
  background: var(--subtle);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.contact h2 {
  font-size: 32px;
}

.contact-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  color: #1f3147;
  font-size: 15px;
}

.contact-items a,
.contact-items span {
  display: block;
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid #c9d7e6;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: #637083;
  font-size: 14px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

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

@media (max-width: 1100px) {
  :root {
    --container: min(100% - 40px, 960px);
  }

  .site-header {
    padding-inline: 20px;
  }

  .main-nav {
    gap: 20px;
    font-size: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero::before {
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.94) 44%, rgba(255,255,255,0.3) 100%);
  }

  .hero-copy {
    padding: 76px 28px 52px;
  }

  .hero-visual {
    min-height: 360px;
    margin-top: -80px;
  }

  .service-grid,
  .process-list,
  .delivery-grid,
  .case-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .process-band,
  .section-intro,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 28px, 640px);
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px;
  }

  .brand {
    font-size: 20px;
  }

  .main-nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .main-nav a {
    padding: 8px 0 10px;
  }

  .main-nav a::after {
    bottom: 2px;
  }

  .hero-copy {
    padding: 56px 18px 40px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 300px;
  }

  .section {
    padding-top: 54px;
  }

  .section-intro h2,
  .about h2,
  .contact h2 {
    font-size: 28px;
  }

  .service-grid,
  .process-list,
  .delivery-grid,
  .case-stack {
    grid-template-columns: 1fr;
  }

  .case-card {
    padding: 24px 20px;
  }

  .case-heading h3 {
    font-size: 22px;
  }

  .process-band {
    width: 100%;
    padding-inline: 14px;
  }

  .process-band .section-intro {
    padding-left: 0;
  }

  .about {
    gap: 28px;
    margin-top: 24px;
    padding: 42px 0;
  }

  .contact {
    padding: 28px 20px;
  }
}
