:root {
  --brand: #B01E50;
  --brand-dark: #8E1740;
  --brand-soft: #FBEAF1;
  --ink: #1F2330;
  --muted: #6B7280;
  --bg: #FFFFFF;
  --bg-soft: #F7F5F6;
  --line: #ECECEF;
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.brand img { width: 38px; height: 38px; }
.brand .name { font-size: 20px; letter-spacing: 1px; color: var(--ink); }
.brand .name small {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  font-weight: 400;
}
.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover, .nav a.active { color: var(--brand); }
.nav .btn { margin-left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}
.btn-ghost:hover { background: var(--brand-soft); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #B01E50 0%, #8E1740 100%);
  color: #fff;
  padding: 84px 0 72px;
}
.hero h1 { font-size: 40px; line-height: 1.25; margin: 0 0 18px; font-weight: 800; }
.hero p { font-size: 18px; opacity: .92; max-width: 640px; margin: 0 0 30px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.hero-stats .num { font-size: 30px; font-weight: 800; }
.hero-stats .lbl { font-size: 14px; opacity: .85; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head .eyebrow { color: var(--brand); font-weight: 700; letter-spacing: 2px; font-size: 13px; }
.section-head h2 { font-size: 30px; margin: 10px 0 8px; font-weight: 800; }
.section-head p { color: var(--muted); margin: 0; }
.bg-soft { background: var(--bg-soft); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.07); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.about-grid p { color: #3a3f4b; }
.info-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.info-table th, .info-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.info-table th { background: var(--bg-soft); color: var(--muted); width: 38%; font-weight: 600; }
.info-table tr:last-child td, .info-table tr:last-child th { border-bottom: none; }

/* ---------- Service detail ---------- */
.service-row { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.service-row:last-child { border-bottom: none; }
.service-row .ic { width: 56px; height: 56px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.service-row h3 { margin: 4px 0 6px; font-size: 19px; }
.service-row p { margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-info p { margin: 6px 0 18px; color: #3a3f4b; }
.contact-info .item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.contact-info .item .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.contact-info .item b { display: block; font-size: 15px; }
.contact-info .item span { color: var(--muted); font-size: 14px; }
.form label { display: block; font-size: 14px; margin: 14px 0 6px; font-weight: 600; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-family: inherit; background: #fff;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); }
.form textarea { min-height: 110px; resize: vertical; }
.form .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: #1d1f29; color: #c9ccd6; padding: 44px 0 26px; }
.site-footer a { color: #c9ccd6; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; margin-bottom: 28px; }
.site-footer .brand .name { color: #fff; }
.site-footer .brand .name small { color: #8b8f9c; }
.footer-col h4 { color: #fff; font-size: 15px; margin: 0 0 12px; }
.footer-col a { display: block; margin-bottom: 8px; font-size: 14px; }
.footer-bottom { border-top: 1px solid #2c2f3a; padding-top: 18px; font-size: 13px; color: #8b8f9c; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom .links a { margin-left: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .about-grid, .contact-grid, .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { gap: 16px; }
  .nav a:not(.btn) { display: none; }
  .hero { padding: 60px 0 52px; }
  .hero h1 { font-size: 30px; }
  .hero-stats { gap: 24px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom .links a { margin-left: 0; margin-right: 16px; }
}
