:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #656565;
  --paper: #fffaf7;
  --surface: #ffffff;
  --line: #e7ddd6;
  --soft: #f6eee8;
  --accent: #f8183d;
  --accent-deep: #ac0b25;
  --gold: #b89052;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(22px, 5vw, 80px);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  background: rgba(255, 250, 247, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  object-fit: cover;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

nav a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 92px clamp(22px, 7vw, 104px) 76px;
  background:
    linear-gradient(110deg, rgba(255, 250, 247, 0.98) 0%, rgba(255, 250, 247, 0.86) 54%, rgba(248, 24, 61, 0.1) 100%),
    url("./assets/logo.jpg") right 8% center / min(42vw, 520px) no-repeat,
    var(--soft);
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 820px;
  font-size: clamp(42px, 6.8vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-text {
  max-width: 690px;
  color: #343434;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-deep);
}

.hero-panel {
  display: grid;
  gap: 22px;
  padding: 30px;
  border: 1px solid rgba(184, 144, 82, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 70px rgba(80, 32, 20, 0.12);
}

.hero-panel img {
  width: 112px;
  height: 112px;
  border-radius: 18px;
  object-fit: cover;
}

.hero-panel p {
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.hero-panel strong {
  display: block;
  font-size: 26px;
  line-height: 1.25;
}

.hero-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  border-top: 1px solid var(--line);
  color: #2d2d2d;
  font-weight: 700;
}

.hero-panel li span {
  color: var(--accent);
  font-size: 13px;
}

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

.metrics div {
  min-height: 130px;
  padding: 28px clamp(20px, 4vw, 46px);
  border-right: 1px solid var(--line);
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-deep);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.metrics span {
  color: var(--muted);
}

.section {
  padding: 82px clamp(22px, 7vw, 104px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 18px;
}

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

.service-grid article,
.solution-list article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.service-grid article {
  min-height: 278px;
}

.service-grid span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.service-grid p,
.solution-list p,
.cooperation-copy p,
.cooperation-form p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
  background: #151515;
  color: #ffffff;
}

.split-section .section-heading > p:last-child,
.split-section .solution-list p {
  color: #c8c8c8;
}

.solution-list {
  display: grid;
  gap: 16px;
}

.solution-list article {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.company-section {
  background: var(--soft);
}

.company-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1080px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.company-list div {
  min-height: 92px;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
}

.company-list dd {
  margin: 0;
  font-weight: 800;
}

.cooperation-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: start;
  background: var(--surface);
}

.contact-note a {
  color: var(--accent-deep);
  font-weight: 800;
}

.cooperation-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.cooperation-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.cooperation-form span {
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d9cec7;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

input,
select {
  min-height: 46px;
  padding: 9px 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
}

.cooperation-form p {
  margin: 0;
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(22px, 7vw, 104px);
  color: var(--muted);
  background: #101010;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #ffffff;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .cooperation-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(110deg, rgba(255, 250, 247, 0.96), rgba(255, 250, 247, 0.84)),
      url("./assets/logo.jpg") right 10% top 16% / 330px no-repeat,
      var(--soft);
  }

  .service-grid,
  .metrics,
  .company-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 3px;
  }

  .hero {
    padding-top: 66px;
  }

  .hero-panel {
    padding: 22px;
  }

  .service-grid,
  .metrics,
  .company-list {
    grid-template-columns: 1fr;
  }

  .metrics div,
  .company-list div {
    border-right: 0;
  }

  .cooperation-form {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
