:root {
  --green: #2f723f;
  --green-2: #1f5433;
  --green-deep: #0e3420;
  --green-dark: #082515;
  --gold: #dfa02f;
  --gold-dark: #c1871f;
  --gold-light: #f2c46b;
  --ink: #22342b;
  --muted: #5c6e61;
  --line: #e2ebe4;
  --bg: #ffffff;
  --bg-alt: #f3f7f4;
  --radius: 16px;
  --shadow: 0 18px 45px rgba(14, 52, 32, 0.12);
  --shadow-sm: 0 8px 24px rgba(14, 52, 32, 0.09);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }

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

::selection { background: var(--gold); color: #1c2b3a; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 300;
  box-shadow: 0 0 12px rgba(223, 160, 47, 0.55);
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* 导航 */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(8, 37, 21, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(8, 37, 21, 0.98);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1c2b3a;
  font-weight: 800;
  letter-spacing: 1px;
  flex: none;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 17px; letter-spacing: 1px; }
.brand-text small { font-size: 10px; letter-spacing: 1.2px; opacity: 0.75; }

.main-nav { display: flex; gap: 26px; }

.main-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active { color: #fff; }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: 0.3s; }

/* 首屏 */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(140deg, #082515 0%, #123a25 52%, #1a5233 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(223, 160, 47, 0.25), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(47, 114, 63, 0.55), transparent 60%);
  animation: heroPan 18s ease-in-out infinite alternate;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-copy { max-width: 620px; }

.hero-logo {
  flex: none;
  width: clamp(220px, 30vw, 360px);
  background: #fff;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: float 6s ease-in-out infinite;
}

.hero-logo img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

@keyframes heroPan {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(34px, 5.5vw, 62px);
  line-height: 1.18;
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin-bottom: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-tags span {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.06);
}

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

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1c2b3a;
  box-shadow: 0 10px 24px rgba(223, 160, 47, 0.35);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* 数据速览 */
.stats { background: var(--green); color: #fff; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 38px 0;
}

.stat {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.stat:last-child { border-right: none; }

.stat-num { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--gold); }
.stat-unit { font-size: 16px; color: var(--gold); margin-left: 3px; }
.stat p { color: rgba(255, 255, 255, 0.75); margin-top: 2px; }

/* 通用 section */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }

.section-kicker {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  color: var(--green);
  letter-spacing: 2px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  position: relative;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
}

.section-lead { color: var(--muted); font-size: 16px; }

/* 简介 */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  align-items: start;
}

.about-text p { margin-bottom: 16px; color: var(--ink); }
.about-text strong { color: var(--green); }

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.about-points span {
  padding: 9px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  color: var(--green-2);
}

.about-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.about-card h3 {
  font-size: 20px;
  color: var(--green);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

.info-list { list-style: none; }
.info-list li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.info-list li:last-child { border-bottom: none; }
.info-list span { flex: none; width: 108px; color: var(--muted); }
.info-list strong { color: var(--ink); font-weight: 600; flex: 1; }

/* 卡片 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.card-icon {
  font-size: 36px;
  margin-bottom: 16px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  background: #fbf2df;
  border-radius: 14px;
}

.card h3 { color: var(--green); font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* 产品 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-emoji { font-size: 44px; display: block; margin-bottom: 14px; }
.product h3 { color: var(--green); font-size: 18px; margin-bottom: 8px; }
.product p { color: var(--muted); font-size: 14px; }

/* 优势 */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.strength {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.strength-num {
  flex: none;
  font-size: 30px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.strength h3 { color: var(--green); font-size: 19px; margin-bottom: 8px; }
.strength p { color: var(--muted); font-size: 15px; }

/* 荣誉 */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.honor {
  text-align: center;
  padding: 32px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.honor:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.honor-badge { font-size: 42px; margin-bottom: 14px; }
.honor h3 { color: var(--green); font-size: 17px; margin-bottom: 8px; }
.honor p { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* 项目 */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }

.project-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  margin-bottom: 12px;
}
.project-tag {
  display: inline-block;
  padding: 3px 12px;
  background: #eef6f0;
  color: var(--green);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.project h3 { color: var(--green); font-size: 18px; margin-bottom: 6px; }
.project p { color: var(--muted); font-size: 14px; }

/* 工程现场图集（轮播） */
.gallery-carousel {
  position: relative;
}

.carousel-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b2114;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.carousel-track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 74px 26px 22px;
  background: linear-gradient(transparent, rgba(8, 37, 21, 0.82));
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 37, 21, 0.42);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.carousel-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1c2b3a;
}

.carousel-arrow.prev { left: 18px; }
.carousel-arrow.next { right: 18px; }
.carousel-arrow:active { transform: translateY(-50%) scale(0.94); }

.carousel-counter {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 3;
  padding: 6px 15px;
  border-radius: 999px;
  background: rgba(8, 37, 21, 0.5);
  color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
  backdrop-filter: blur(6px);
}

.carousel-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(226, 235, 228, 0.5);
}

.carousel-thumbs::-webkit-scrollbar { height: 8px; }
.carousel-thumbs::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 999px; }
.carousel-thumbs::-webkit-scrollbar-track { background: rgba(226, 235, 228, 0.5); border-radius: 999px; }

.carousel-thumb {
  flex: none;
  width: 118px;
  height: 76px;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #e9f0ea;
  opacity: 0.62;
  transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-thumb:hover { opacity: 0.9; }

.carousel-thumb.active {
  border-color: var(--gold);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 52, 32, 0.22);
}

/* 合作伙伴 */
.partner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.partner-list span {
  padding: 14px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
  color: var(--green-2);
  font-weight: 600;
  letter-spacing: 1px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.partner-list span:hover { border-color: var(--gold); color: var(--gold-dark); }

/* 联系 */
.section-contact { background: linear-gradient(150deg, #082515, #123a25); color: #fff; }
.section-contact .section-head h2 { color: #fff; }
.section-contact .section-lead { color: rgba(255,255,255,0.75); }
.section-contact .section-kicker { color: var(--gold); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  margin-bottom: 16px;
}
.contact-icon { font-size: 24px; flex: none; }
.contact-item h4 { font-size: 15px; color: var(--gold); margin-bottom: 4px; }
.contact-item p { color: rgba(255, 255, 255, 0.85); font-size: 14px; }

.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label { font-size: 14px; font-weight: 600; color: var(--green); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }

.form-note { font-size: 12px; color: var(--muted); }

/* 页脚 */
.site-footer { background: #07220f; color: rgba(255, 255, 255, 0.7); }

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 40px 0;
  flex-wrap: wrap;
}

.footer-brand { font-size: 18px; font-weight: 700; color: #fff; }
.footer-slogan { font-size: 14px; margin-top: 6px; color: var(--gold); }
.footer-copy { text-align: right; font-size: 13px; }
.footer-copy a { color: var(--gold-light); }
.footer-copy a:hover { text-decoration: underline; }

/* 返回顶部 */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: #1c2b3a;
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.3s;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* 滚动动画 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* 响应式 */
@media (max-width: 920px) {
  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--green);
    padding: 12px 0 20px;
    gap: 0;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 30px rgba(0,0,0,0.2);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 5%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .card-grid,
  .product-grid,
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .strength-grid { grid-template-columns: 1fr; }
  .carousel-stage { aspect-ratio: 4 / 3; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(2) { border-right: none; }

  .hero-inner { flex-direction: column; align-items: flex-start; gap: 30px; }
  .hero-logo { width: min(300px, 80%); }
}

@media (max-width: 560px) {
  .brand-text small { display: none; }
  .card-grid,
  .product-grid,
  .project-grid,
  .honor-grid { grid-template-columns: 1fr; }
  .carousel-slide figcaption { font-size: 15px; padding: 60px 16px 16px; }
  .carousel-arrow { width: 42px; height: 42px; }
  .carousel-arrow.prev { left: 10px; }
  .carousel-arrow.next { right: 10px; }
  .carousel-thumb { width: 92px; height: 62px; }
  .hero-logo { display: none; }
  .footer-wrap { flex-direction: column; text-align: center; }
  .footer-copy { text-align: center; }
  .section { padding: 66px 0; }
}
