/* HiUpCar site styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue-900: #0d2647;
  --blue-700: #13355f;
  --blue-500: #1d5aa8;
  --blue-100: #e8f0fa;
  --red-500: #e0392f;
  --text-900: #1c2733;
  --text-600: #51606f;
  --line: #e3e9f0;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text-900);
  background: #fff;
  line-height: 1.65;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  background: var(--blue-700);
  color: #fff;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(13, 38, 71, 0.25);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}
.brand span { color: #ff6a5e; }
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.site-nav a {
  color: #d7e3f4;
  text-decoration: none;
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.site-nav a.active { color: #fff; background: var(--blue-500); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 55%, var(--blue-500) 100%);
  color: #fff;
  padding: 84px 0 92px;
}
.hero h1 {
  font-size: 38px;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero p {
  font-size: 17px;
  color: #d7e3f4;
  max-width: 720px;
  margin-bottom: 28px;
}
.btn {
  display: inline-block;
  background: var(--red-500);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 30px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: #c72d24; transform: translateY(-1px); }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--blue-100); }
h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}
.lead {
  color: var(--text-600);
  font-size: 16px;
  max-width: 760px;
  margin-bottom: 34px;
}

/* Card grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 6px rgba(28, 39, 51, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(28, 39, 51, 0.12);
}
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-600); font-size: 15px; }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red-500);
  background: #fdeceb;
  border: 1px solid #f6c9c6;
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 12px;
}

/* Product images */
.card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  display: block;
  background: #f4f7fb;
}

/* Contact box */
.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red-500);
  border-radius: 10px;
  padding: 26px 30px;
  max-width: 640px;
}
.contact-box dl { display: grid; grid-template-columns: 130px 1fr; row-gap: 10px; }
.contact-box dt { font-weight: 700; color: var(--text-600); }
.contact-box dd { color: var(--text-900); word-break: break-all; }

/* Footer */
.site-footer {
  background: var(--blue-900);
  color: #9fb4cf;
  padding: 22px 0;
  font-size: 14px;
  text-align: center;
}
.brand-small { color: #fff; font-weight: 700; }

@media (max-width: 640px) {
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 28px; }
  .contact-box dl { grid-template-columns: 100px 1fr; }
}
