:root {
  color-scheme: light;
  --bg: #ffffff;
  --soft: #f7f5f2;
  --soft-red: #fff1f1;
  --text: #171717;
  --muted: #6d6a66;
  --line: #e8e3dd;
  --red: #e60012;
  --red-dark: #b9000e;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(22, 20, 18, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  height: 74px;
  padding: 0 clamp(20px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition:
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 36px rgba(23, 23, 23, 0.06);
}

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

.brand-logo {
  display: block;
  height: auto;
  object-fit: contain;
}

.brand .brand-logo {
  width: 185px;
  max-width: min(40vw, 185px);
  max-height: 62px;
}

.footer-brand .brand-logo {
  width: 270px;
  max-width: min(62vw, 270px);
  max-height: 90px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a {
  transition: color 160ms ease;
}

.desktop-nav a:hover {
  color: var(--red);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  height: 40px;
  margin-left: 28px;
  border: 1px solid var(--red);
  border-radius: 6px;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.nav-cta:hover {
  background: var(--red);
  color: var(--white);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--red);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  inset: 74px 0 auto 0;
  z-index: 25;
  display: none;
  flex-direction: column;
  padding: 18px 22px 26px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

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

.hero {
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  padding: 132px clamp(20px, 5vw, 86px) 74px;
  overflow: hidden;
  background:
    radial-gradient(circle at 87% 18%, rgba(230, 0, 18, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fffafa 58%, #ffffff 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(46px, 6.4vw, 86px);
  line-height: 1.04;
  font-weight: 860;
}

h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.1;
  font-weight: 820;
}

h3 {
  font-size: 24px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.85;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  background: var(--red);
  color: var(--white);
}

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

.button.secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--text);
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--soft-red);
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.logo-stage {
  position: absolute;
  inset: 50px 60px 76px 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background: var(--red);
  box-shadow: 0 34px 80px rgba(230, 0, 18, 0.22);
}

.logo-stage::before,
.logo-stage::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(230, 0, 18, 0.32);
  border-radius: 28px;
}

.logo-stage::before {
  inset: -26px 26px 26px -26px;
}

.logo-stage::after {
  inset: 26px -26px -26px 26px;
}

.logo-stage img {
  width: min(58%, 260px);
  height: auto;
  position: relative;
  z-index: 1;
}

.signal-card {
  position: absolute;
  width: min(260px, 48%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.signal-card span,
.signal-card strong {
  display: block;
}

.signal-card span {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-card strong {
  font-size: 15px;
  line-height: 1.45;
}

.signal-card-a {
  top: 14px;
  right: 8px;
}

.signal-card-b {
  left: 0;
  bottom: 82px;
}

.signal-card-c {
  right: 0;
  bottom: 10px;
}

.section {
  padding: 104px clamp(20px, 5vw, 86px);
}

.intro {
  background: var(--white);
}

.intro-grid,
.section-head,
.about-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.intro-grid p,
.section-head p,
.about-copy p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 17px;
}

.services-section,
.process-section {
  background: var(--soft);
}

.section-head {
  margin-bottom: 42px;
}

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

.service-card {
  min-height: 430px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(23, 23, 23, 0.06);
}

.service-card.featured {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 72px;
  border-radius: 50%;
  background: var(--soft-red);
  color: var(--red);
  font-weight: 900;
}

.featured .service-number {
  background: var(--white);
  color: var(--red);
}

.service-card p {
  color: var(--muted);
  line-height: 1.75;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.84);
}

.service-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.service-card.featured li {
  color: rgba(255, 255, 255, 0.88);
}

.service-card.featured li::before {
  background: var(--white);
}

.work-section,
.about-section {
  background: var(--white);
}

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

.work-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(150deg, rgba(230, 0, 18, 0.08), transparent 42%),
    var(--white);
  box-shadow: 0 18px 48px rgba(23, 23, 23, 0.06);
}

.work-card span {
  width: max-content;
  margin-bottom: auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--soft-red);
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.work-card p {
  color: var(--muted);
  line-height: 1.75;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  counter-increment: step;
}

.timeline li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 50px;
  color: var(--red);
  font-weight: 900;
}

.timeline p {
  color: var(--muted);
  line-height: 1.7;
}

.about-panel {
  display: grid;
  gap: 12px;
}

.about-panel > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.about-panel strong,
.about-panel span {
  display: block;
}

.about-panel strong {
  margin-bottom: 10px;
}

.about-panel span {
  color: var(--muted);
  line-height: 1.65;
}



.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 34px clamp(20px, 5vw, 86px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 13px;
}

.footer-info p {
  margin: 0;
}

.footer-info .beian a {
  transition: color 160ms ease;
}

.footer-info .beian a:hover {
  color: var(--red);
}

@media (max-width: 1020px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 116px;
  }

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

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

  .service-cards,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 330px;
  }

  .service-number {
    margin-bottom: 42px;
  }

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

@media (max-width: 680px) {
  .site-header {
    height: 66px;
    padding: 0 16px;
  }

  .brand .brand-logo {
    width: 168px;
    max-width: 168px;
    max-height: 56px;
  }

  .footer-brand .brand-logo {
    width: 220px;
    max-width: min(70vw, 220px);
    max-height: 74px;
  }

  .mobile-nav {
    inset: 66px 0 auto 0;
  }

  .hero {
    padding: 106px 18px 54px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .logo-stage {
    inset: 42px 28px 96px;
    border-radius: 20px;
  }

  .logo-stage::before,
  .logo-stage::after {
    border-radius: 20px;
  }

  .signal-card {
    width: 210px;
    padding: 14px;
  }

  .signal-card-a {
    top: 0;
    right: 0;
  }

  .signal-card-b {
    left: 0;
    bottom: 72px;
  }

  .signal-card-c {
    right: 0;
    bottom: 0;
  }

  .section,
  .contact-section {
    padding: 72px 18px;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline li {
    min-height: 190px;
  }


  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 28px 18px;
  }

  .footer-info {
    align-items: flex-start;
    gap: 8px;
  }
}
