:root {
  --red: #d30812;
  --red-dark: #8e050a;
  --ink: #181512;
  --muted: #6f6861;
  --line: #e6ddd4;
  --paper: #fffaf3;
  --white: #ffffff;
  --charcoal: #25221f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 150px;
  font-weight: 800;
  letter-spacing: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  color: var(--muted);
  font-size: 15px;
}

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.94fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 72px) 54px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 250, 243, 0.96), rgba(255, 250, 243, 0.74)),
    radial-gradient(circle at 84% 22%, rgba(211, 8, 18, 0.18), transparent 32%),
    var(--paper);
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(54px, 10vw, 132px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-text {
  max-width: 660px;
  color: var(--charcoal);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
}

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

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

.button.secondary {
  background: transparent;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.hero-points div {
  min-height: 112px;
  padding: 16px;
  border-top: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.56);
}

.hero-points dt {
  margin-bottom: 8px;
  font-weight: 800;
}

.hero-points dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero-visual {
  justify-self: center;
  width: min(100%, 470px);
  padding: 12px;
  border: 1px solid rgba(24, 21, 18, 0.12);
  background: var(--red);
  box-shadow: 22px 22px 0 rgba(24, 21, 18, 0.08);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: var(--red);
}

.section {
  padding: clamp(60px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.section-heading h2,
.contact h2,
.company-copy h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.intro > p,
.company-copy p,
.contact p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.services {
  background: var(--paper);
}

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

.service-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card span {
  display: block;
  margin-bottom: 54px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 23px;
}

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

.workflow {
  color: var(--white);
  background: var(--charcoal);
}

.workflow .eyebrow {
  color: #ffb3a8;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.18);
}

.steps li {
  min-height: 190px;
  padding: 24px;
  background: var(--charcoal);
}

.steps strong {
  display: block;
  margin-bottom: 18px;
  font-size: 22px;
}

.steps span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--white);
}

.company-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.company-tags span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--red-dark);
  font-weight: 700;
}

.license {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.license img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.license figcaption {
  padding-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(60px, 8vw, 112px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--red);
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  padding: 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.contact-form button {
  width: fit-content;
  border-color: var(--white);
  color: var(--red);
  background: var(--white);
}

.form-note {
  align-self: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.summary-output {
  min-height: 132px;
  color: var(--ink);
  background: #fff7ec;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--paper);
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .company,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    justify-self: start;
    width: min(76vw, 360px);
  }

  .hero-points,
  .service-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    flex-wrap: wrap;
    min-height: auto;
  }

  .brand {
    flex: 1;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: 56px;
  }

  .hero-points,
  .service-grid,
  .steps,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-card,
  .steps li {
    min-height: auto;
  }

  .service-card span {
    margin-bottom: 28px;
  }

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