:root {
  --paper: #fffaf5;
  --surface: #ffffff;
  --ink: #17191f;
  --muted: #656b76;
  --line: #e7e1d8;
  --red: #a70707;
  --red-dark: #740000;
  --orange: #f19814;
  --steel: #1f5c72;
  --shadow: 0 18px 50px rgba(53, 21, 10, 0.12);
}

* {
  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;
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 250, 245, 0.92);
  border-bottom: 1px solid rgba(167, 7, 7, 0.1);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(20px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 20;
}

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

.brand img {
  border-radius: 50%;
  height: 44px;
  width: 44px;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  font-size: 15px;
  color: #393d45;
}

nav a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
}

nav a:hover {
  border-color: var(--orange);
  color: var(--red);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(36px, 6vw, 88px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  min-height: 78vh;
  overflow: hidden;
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 72px) 44px;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(115deg, rgba(167, 7, 7, 0.08), transparent 40%),
    radial-gradient(circle at 88% 26%, rgba(31, 92, 114, 0.14), transparent 34%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

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

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

h1 {
  color: var(--red-dark);
  font-size: clamp(54px, 9vw, 112px);
  line-height: 0.95;
  margin-bottom: 24px;
}

.lead {
  color: #343943;
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.65;
  max-width: 720px;
}

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

.primary-button,
.secondary-button,
.contact-button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  min-height: 48px;
  padding: 0 22px;
}

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

.contact-button {
  background: #ffc36a;
  color: #162026;
  margin-top: 18px;
}

.secondary-button {
  border: 1px solid rgba(167, 7, 7, 0.24);
  color: var(--red-dark);
}

.hero-visual {
  align-items: center;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.logo-panel {
  background: var(--surface);
  border: 1px solid rgba(167, 7, 7, 0.12);
  box-shadow: var(--shadow);
  display: grid;
  min-height: 390px;
  place-items: center;
  width: min(100%, 460px);
}

.logo-panel img {
  width: min(68vw, 330px);
}

.hero-note {
  align-items: center;
  background: #172027;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
  padding: 18px 22px;
  width: min(100%, 460px);
}

.hero-note span {
  color: #c7d8df;
}

.trust-strip {
  background: #172027;
  color: #fff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.trust-strip div {
  background: rgba(255, 255, 255, 0.04);
  padding: 28px clamp(20px, 5vw, 72px);
}

.trust-strip strong {
  display: block;
  font-size: 22px;
  margin-bottom: 8px;
}

.trust-strip span {
  color: #c7d8df;
}

.section,
.feature-band,
.contact-section {
  padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
}

h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.section-heading p:not(.eyebrow),
.feature-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.service-card,
.case-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
}

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

.card-mark {
  background: linear-gradient(135deg, var(--red), var(--orange));
  display: block;
  height: 4px;
  margin-bottom: 26px;
  width: 56px;
}

h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

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

.feature-band {
  align-items: center;
  background: #fff;
  display: grid;
  gap: clamp(34px, 6vw, 76px);
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.feature-image {
  background: #f7f7f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.feature-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.product-tags span {
  background: #f6efe7;
  border: 1px solid #eadbca;
  border-radius: 8px;
  color: #3d424a;
  font-weight: 700;
  padding: 12px 14px;
}

.compact {
  background: #f6f1ea;
}

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

.process-band {
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  color: #fff;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.process-step {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  padding: 28px clamp(16px, 3vw, 36px);
}

.process-step span {
  color: #ffc36a;
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px;
}

.process-step strong {
  font-size: 20px;
}

.contact-section {
  align-items: start;
  background: #172027;
  color: #fff;
  display: grid;
  gap: clamp(28px, 5vw, 80px);
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
}

.contact-section .eyebrow {
  color: #ffc36a;
}

.contact-section p {
  color: #c7d8df;
}

.contact-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 28px;
}

.lead-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 28px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row.full,
.lead-form button,
.form-note {
  grid-column: 1 / -1;
}

.form-row label {
  color: #c7d8df;
  font-size: 14px;
  font-weight: 700;
}

.form-row input,
.form-row select,
.form-row textarea {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #172027;
  font: inherit;
  min-height: 46px;
  padding: 12px 14px;
  width: 100%;
}

.form-row textarea {
  line-height: 1.6;
  resize: vertical;
}

.lead-form button {
  background: #ffc36a;
  border: 0;
  border-radius: 8px;
  color: #162026;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 50px;
}

.lead-form button:hover {
  background: #ffb13b;
}

.form-note {
  color: #9bb4bf;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.honey-field {
  display: none;
}

.contact-panel p {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0;
  padding: 18px 0;
}

.contact-panel p:first-child {
  padding-top: 0;
}

.contact-panel p:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-panel span {
  color: #9bb4bf;
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

.contact-panel strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
}

.thanks-page {
  align-items: center;
  background:
    linear-gradient(120deg, rgba(167, 7, 7, 0.08), transparent 42%),
    var(--paper);
  display: grid;
  min-height: 100vh;
  padding: 32px;
}

.thanks-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 620px;
  padding: clamp(34px, 6vw, 62px);
  text-align: center;
}

.thanks-card img {
  border-radius: 50%;
  margin: 0 auto 22px;
  width: 88px;
}

.thanks-card h1 {
  font-size: clamp(42px, 7vw, 72px);
  margin-bottom: 18px;
}

.thanks-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.thanks-card .primary-button {
  justify-content: center;
}

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

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

  .trust-strip,
  .case-grid,
  .process-band {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
    position: static;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    min-height: auto;
  }

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

  .logo-panel {
    min-height: 280px;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .hero-actions a {
    justify-content: center;
    width: 100%;
  }
}
