:root {
  --red: #d81e2c;
  --red-dark: #b31320;
  --ink: #1d2733;
  --muted: #667085;
  --line: #e7eaf0;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --blue: #1f4e79;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

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

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 34px; height: 34px; }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: 1px; }

.site-nav { display: flex; align-items: center; gap: 34px; font-size: 15px; }
.site-nav a { color: var(--muted); position: relative; padding: 8px 0; transition: color .2s; }
.site-nav a:hover, .site-nav a.active { color: var(--red); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* Hero */
.hero {
  padding: 96px 0 88px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 64px; }
.eyebrow { color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: 2px; margin: 0 0 14px; }
.hero h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.1; margin: 0 0 22px; letter-spacing: 2px; }
.hero-subtitle { font-size: 22px; font-weight: 600; margin: 0 0 16px; color: var(--blue); }
.hero-desc { font-size: 16px; color: var(--muted); max-width: 520px; margin: 0 0 34px; }

.btn-primary {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 30px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(216, 30, 44, .2);
  transition: transform .2s, background .2s;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }

.hero-visual { position: relative; height: 320px; }
.visual-card { position: absolute; border-radius: 18px; }
.card-main {
  right: 0; top: 20px;
  width: 300px; height: 240px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(29, 39, 51, .1);
  padding: 32px;
}
.card-back {
  right: 34px; top: 62px;
  width: 300px; height: 240px;
  background: linear-gradient(135deg, var(--red) 0%, #f06874 100%);
  opacity: .9;
}
.visual-line { height: 12px; width: 70%; background: #eef1f6; border-radius: 6px; margin-bottom: 18px; }
.visual-line.short { width: 42%; }
.visual-block { height: 88px; margin-top: 28px; border-radius: 10px; background: linear-gradient(135deg, #eef3f9, #dfe8f3); }

/* Sections */
.section { padding: 88px 0; }
.section-light { background: var(--bg-soft); }
.section-title { font-size: 32px; margin: 0 0 20px; letter-spacing: 1px; }
.section-lead { color: var(--muted); font-size: 17px; max-width: 760px; margin: 0; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; }
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.stat strong { display: block; font-size: 24px; color: var(--red); margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 14px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(29, 39, 51, .08); }
.service-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(216, 30, 44, .08);
  color: var(--red);
  font-weight: 700;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 20px; margin: 0 0 12px; }
.service-card p { color: var(--muted); font-size: 15px; margin: 0; }

.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-cards { display: grid; gap: 14px; }
.contact-item {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
}
.contact-label { color: var(--muted); font-size: 14px; }
.contact-value { font-weight: 600; }
.placeholder { color: #98a2b3; font-weight: 500; }

/* Footer */
.site-footer { background: #16202c; color: #cbd5e1; padding: 46px 0 30px; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; font-weight: 700; }
.footer-logo { width: 30px; height: 30px; filter: brightness(1.1); }
.footer-meta p { margin: 2px 0; }
.footer-meta .placeholder { color: #94a3b8; }
.copyright { grid-column: 1 / -1; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: #94a3b8; font-size: 13px; }

/* Responsive */
@media (max-width: 860px) {
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 10px 24px 18px; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: 12px 0; }
  .nav-toggle { display: block; }
  .hero-inner, .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 64px 0; }
  .hero-visual { display: none; }
  .stats, .services-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 32px, 1120px); }
  .hero h1 { font-size: 40px; }
  .footer-inner { grid-template-columns: 1fr; }
}
