:root {
  --blue: #2f82c4;
  --deep: #103d63;
  --green: #2f9c5a;
  --ink: #1f2b37;
  --muted: #647384;
  --line: #dce6ee;
  --soft: #f3f8fb;
  --white: #fff;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.75;
  background: #fff;
}

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

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topline { display: none; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(255,255,255,.92);
  border-bottom: 0;
  box-shadow: 0 1px 18px rgba(0,0,0,.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand strong {
  color: var(--blue);
  font-size: 24px;
}

.brand span {
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav a {
  padding: 10px 15px;
  color: #fff;
  background: rgba(0,0,0,.82);
  border-radius: 0;
  font-size: 15px;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: #2f7ec4;
}

.menu {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 23px;
}

.hero {
  position: relative;
  min-height: 100vh;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(9,45,71,.06), rgba(9,45,71,.38)),
    url("../images/hero-greenway.jpg") center/cover no-repeat;
}

.hero .container {
  min-height: 100vh;
  display: grid;
  align-items: center;
  text-align: center;
  padding-top: 78px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

.hero p {
  margin: 0 auto;
  max-width: 720px;
  font-size: 20px;
  color: rgba(255,255,255,.76);
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .actions { display: none; }

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-weight: 700;
}

.btn.primary { color: #fff; background: var(--green); }
.btn.ghost { color: #fff; border-color: rgba(255,255,255,.75); }
.btn.blue { color: #fff; background: var(--blue); }

.section { padding: 72px 0; }
.section.soft { background: var(--soft); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 8px;
  color: var(--deep);
  font-size: 30px;
  line-height: 1.25;
}

h3 { margin: 0 0 8px; line-height: 1.35; }
p { margin-top: 0; }

.lead {
  max-width: 760px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.card-body { padding: 22px; }

.image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #e7eef5;
}

.product .image { height: 300px; object-fit: contain; padding: 16px; }

.home-products {
  min-height: 450px;
}

.product-showcase {
  max-width: 980px;
  margin: 0 auto;
}

.product-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 350px));
  justify-content: center;
  gap: 145px;
  align-items: start;
}

.product-tile {
  text-align: center;
}

.product-tile img {
  width: 350px;
  height: 250px;
  object-fit: cover;
  box-shadow: 0 0 10px 1px transparent;
}

.product-tile h3 {
  margin: 14px 0 4px;
  font-family: "YouYuan", "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: 400;
}

.product-tile p {
  margin: 0;
  color: #111;
  font-family: "YouYuan", "Microsoft YaHei", sans-serif;
  font-size: 18px;
}

.original-title {
  margin-bottom: 18px;
  color: rgb(56,118,29);
  font-family: "YouYuan", "Microsoft YaHei", sans-serif;
  font-size: 35px;
  font-weight: 700;
}

.product-detail-layout {
  max-width: 960px;
  margin: 0 auto;
}

.breadcrumb-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  color: #333;
  font-size: 14px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 12px;
}

.breadcrumb-title::before {
  content: "";
  display: block;
  width: 10px;
  height: 26px;
  background: rgb(61,133,198);
}

.product-intro-title {
  margin: 0 0 16px;
  color: #000;
  font-family: "YouYuan", "Microsoft YaHei", sans-serif;
  font-size: 36px;
}

.detail-image-stack {
  display: grid;
  gap: 32px;
}

.detail-image-stack img {
  width: 100%;
  height: auto;
}

.hard-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 54px;
}

.hard-feature h3 {
  font-family: "YouYuan", "Microsoft YaHei", sans-serif;
  font-size: 22px;
  font-weight: 400;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 4px 9px;
  color: #1f7442;
  background: #e8f5ee;
  border-radius: 3px;
  font-size: 13px;
}

.about {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
}

.about img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.fact {
  padding: 20px;
  border-left: 4px solid var(--blue);
  background: #fff;
}

.page-hero {
  padding: 130px 0 60px;
  background: linear-gradient(90deg, #eaf5fb, #fff);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 8px;
  color: var(--deep);
  font-size: 40px;
}

.case-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.case-filter button {
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 3px;
  cursor: pointer;
}

.case-filter button.active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.news-item {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 20px;
  padding: 18px;
}

.news-item .image { height: 160px; }
.meta { color: var(--muted); font-size: 13px; }

.contact {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-line {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.qr {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border: 8px solid #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.footer {
  padding: 42px 0 28px;
  color: rgba(255,255,255,.82);
  background: #10283d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 150px;
  gap: 30px;
}

.footer h3 { color: #fff; }
.copyright {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.6);
  font-size: 13px;
}

@media (max-width: 860px) {
  .nav-wrap { min-height: 66px; }
  .menu { display: block; }
  .nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .hero, .hero .container { min-height: 100vh; }
  .grid.two, .grid.three, .grid.four, .about, .contact, .footer-grid, .news-item {
    grid-template-columns: 1fr;
  }
  .product-pair,
  .hard-feature {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .product-tile img {
    width: 100%;
    height: auto;
  }
  .section { padding: 52px 0; }
  .section-head { display: block; }
}
