:root {
  --brand: #c21f32;
  --brand-dark: #8f1725;
  --ink: #20242c;
  --muted: #5c6472;
  --line: #e7e9ee;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --accent: #2f6f73;
  --shadow: 0 18px 40px rgba(32, 36, 44, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-size: 15px;
  letter-spacing: 0;
}

.brand-text {
  font-size: 18px;
  white-space: nowrap;
}

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

.nav-links a {
  text-decoration: none;
}

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

.hero {
  background:
    linear-gradient(120deg, rgba(194, 31, 50, 0.92), rgba(143, 23, 37, 0.88)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900' viewBox='0 0 1600 900'%3E%3Crect width='1600' height='900' fill='%23f8fafc'/%3E%3Cg fill='none' stroke='%23d9dee7' stroke-width='2'%3E%3Cpath d='M120 690h1360M240 570h1120M180 450h1240M300 330h1000'/%3E%3Cpath d='M260 210h1080M400 760l230-420 220 190 160-250 300 480'/%3E%3C/g%3E%3Ccircle cx='1260' cy='230' r='92' fill='%23eef2f7'/%3E%3Ccircle cx='360' cy='230' r='54' fill='%23e8edf4'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 520px;
  margin: 0 auto;
  padding: 92px 0 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 980px;
  margin-bottom: 20px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

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

.button {
  min-height: 46px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  color: var(--brand-dark);
  background: #fff;
  border-color: #fff;
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-muted {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 76px 0;
  background: var(--soft);
}

.section-muted .section-heading,
.section-muted .service-grid {
  width: min(1120px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 26px;
}

.section-kicker {
  color: var(--brand);
}

h2 {
  margin-bottom: 0;
  font-size: 32px;
  line-height: 1.25;
}

.content-panel,
.service-card,
.notice {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.content-panel {
  padding: 34px;
}

.content-panel p:last-child {
  margin-bottom: 0;
}

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

.service-card {
  min-height: 190px;
  padding: 28px;
}

.service-card h3,
.notice h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.service-card p,
.notice p,
.content-panel p,
dd {
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 20px;
}

.contact-card dl {
  margin: 0;
}

.contact-card div {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-card div:first-child {
  padding-top: 0;
}

.contact-card div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

dt {
  color: var(--ink);
  font-weight: 700;
}

dd {
  margin: 0;
}

.notice {
  padding: 28px;
  border-top: 4px solid var(--accent);
}

.footer {
  padding: 34px 20px 36px;
  color: #111827;
  background: #fff;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 20px;
  font-weight: 500;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 64px;
}

.footer-row a {
  text-decoration: none;
}

.footer-row a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.footer-address {
  margin-top: 14px;
}

@media (max-width: 760px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-text {
    white-space: normal;
  }

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

  .hero-inner {
    min-height: 460px;
    padding: 64px 0 72px;
  }

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

  .section {
    padding: 56px 0;
  }

  .section-muted {
    padding-top: 56px;
    padding-bottom: 56px;
  }

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

  .content-panel,
  .service-card,
  .notice {
    padding: 24px;
  }

  .contact-card div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-row {
    flex-direction: column;
    gap: 8px;
  }

  .footer {
    font-size: 15px;
  }
}
