:root {
  --green: #1f5c46;
  --green-dark: #154534;
  --green-light: #2f7a5d;
  --wood: #c98a3c;
  --ink: #1c2b25;
  --body: #46564f;
  --muted: #7a8a83;
  --line: #e3eae6;
  --bg-soft: #f5f8f6;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(21, 69, 52, 0.08);
  --shadow-hover: 0 14px 34px rgba(21, 69, 52, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 700; line-height: 1.35; }
h2 { font-size: 30px; margin-bottom: 8px; }
h3 { font-size: 19px; }

.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }

/* ---------- topbar ---------- */
.topbar {
  background: var(--green-dark);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px;
}
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; gap: 10px; align-items: center; }
.topbar .sep { opacity: .4; }

/* ---------- navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff; font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 1px; flex-shrink: 0;
}
.logo-img {
  width: 46px; height: 46px; border-radius: 10px;
  object-fit: cover; flex-shrink: 0;
  border: 1px solid var(--line);
  background: #fff;
}
.logo-img-lg { width: 58px; height: 58px; border-radius: 12px; }
.logo-text {
  font-weight: 800; font-size: 18px; color: var(--ink);
  line-height: 1.2; display: flex; flex-direction: column;
}
.logo-text em {
  font-style: normal; font-size: 10px; letter-spacing: .8px;
  color: var(--muted); font-weight: 600;
}
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 15px; color: var(--body); font-weight: 500;
  transition: all .2s;
}
.nav-menu a:hover { color: var(--green); background: var(--bg-soft); }
.nav-menu a.active { color: var(--green); font-weight: 700; }
.nav-menu .nav-cta {
  background: var(--green); color: #fff; font-weight: 600; margin-left: 8px;
}
.nav-menu .nav-cta:hover { background: var(--green-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  margin: 5px 0; border-radius: 2px; transition: .25s;
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 1;
}
.hero::after { display: none; }
.hero-inner {
  position: relative; z-index: 2; padding: 88px 0 92px;
}
.hero-text { max-width: 560px; }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(15, 52, 40, .55); border: 1px solid rgba(255, 255, 255, .35);
  font-size: 13px; letter-spacing: .5px; margin-bottom: 22px;
}
.hero h1 {
  color: #fff; font-size: 46px; line-height: 1.25; margin-bottom: 22px;
  letter-spacing: 1px;
  text-shadow: 0 2px 18px rgba(8, 30, 22, .75), 0 1px 3px rgba(8, 30, 22, .5);
}
.hero-desc {
  font-size: 17px; color: rgba(255, 255, 255, .94); margin-bottom: 32px;
  text-shadow: 0 1px 12px rgba(8, 30, 22, .7);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 10px; font-size: 15px; font-weight: 600;
  transition: all .22s; cursor: pointer; border: 2px solid transparent;
  font-family: inherit;
}
.btn-primary { background: var(--wood); color: #fff; box-shadow: 0 6px 18px rgba(201, 138, 60, .32); }
.btn-primary:hover { background: #b8782f; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-block { width: 100%; }

/* 首屏手机专线主按钮：加大突出 */
.btn-hero-tel {
  flex-direction: column; gap: 2px; padding: 12px 30px;
  box-shadow: 0 8px 26px rgba(201, 138, 60, .45);
}
.btn-hero-tel .tel-label {
  font-size: 11.5px; letter-spacing: 1.5px; font-weight: 600;
  opacity: .88;
}
.btn-hero-tel .tel-num {
  font-size: 24px; font-weight: 800; letter-spacing: 1px;
  line-height: 1.15;
}

.hero-stats { display: flex; gap: 44px; list-style: none; flex-wrap: wrap; }
.hero-stats strong {
  display: block; color: #fff; font-size: 32px; font-weight: 800; line-height: 1.1;
  text-shadow: 0 2px 14px rgba(8, 30, 22, .7);
}
.hero-stats strong em { font-style: normal; font-size: 16px; margin-left: 2px; }
.hero-stats span {
  font-size: 13px; color: rgba(255, 255, 255, .82);
  text-shadow: 0 1px 10px rgba(8, 30, 22, .7);
}

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-soft); }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-label {
  display: inline-block; font-size: 12px; letter-spacing: 2px;
  color: var(--green); font-weight: 700; margin-bottom: 12px;
}
.sec-head p { color: var(--muted); }

/* about */
.about-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start;
}
.about-copy p { margin-bottom: 18px; }
.about-copy strong { color: var(--green); }
.service-area-text {
  background: var(--bg-soft); border-left: 3px solid var(--wood);
  padding: 16px 18px; border-radius: 0 8px 8px 0; font-size: 14.5px;
}
@media (max-width: 768px) {
  .service-area-text { padding: 14px 15px; font-size: 14px; }
}
.about-points { list-style: none; display: grid; gap: 20px; }
.about-points li { display: flex; gap: 14px; }
.about-points .dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--wood);
  margin-top: 9px; flex-shrink: 0;
  box-shadow: 0 0 0 5px rgba(201, 138, 60, .16);
}
.about-points h4 { font-size: 16px; margin-bottom: 3px; }
.about-points p { font-size: 14px; color: var(--muted); }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; transition: all .25s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.svc-icon { font-size: 30px; margin-bottom: 16px; }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { font-size: 14.5px; color: var(--muted); }

/* process */
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  counter-reset: s;
}
.steps li {
  position: relative; background: var(--bg-soft); border-radius: var(--radius);
  padding: 30px 20px 24px; border-top: 3px solid var(--green);
}
.step-num {
  display: block; font-size: 26px; font-weight: 800; color: var(--wood);
  margin-bottom: 10px; letter-spacing: 1px;
}
.steps h4 { font-size: 16px; margin-bottom: 8px; }
.steps p { font-size: 14px; color: var(--muted); }

/* cases */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: all .25s;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.case-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.case-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.case-card:hover .case-media img { transform: scale(1.05); }
.case-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { font-size: 17px; margin-bottom: 12px; }
.case-body p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.case-tag {
  margin-top: auto; align-self: flex-start; font-size: 12px; color: var(--green);
  background: rgba(31, 92, 70, .09); padding: 5px 12px; border-radius: 6px;
}
.case-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 24px; }

/* works 实景图墙 */
.works-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.work-item {
  margin: 0; position: relative; overflow: hidden;
  border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--bg-soft);
  cursor: pointer;
}
.work-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.work-item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 26px 16px 14px;
  background: linear-gradient(transparent, rgba(12, 40, 30, .88));
  color: #fff; font-size: 13px; line-height: 1.5;
  opacity: 0; transform: translateY(10px);
  transition: all .3s ease;
}
.work-item .wt {
  display: block; font-weight: 700; font-size: 14px; margin-bottom: 2px;
  color: #ffd9a0;
}
.work-item:hover img { transform: scale(1.07); }
.work-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10, 26, 20, .92);
  display: none; align-items: center; justify-content: center;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1100px, 100%); max-height: 84vh;
  border-radius: 10px; box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
}
.lightbox-cap {
  position: absolute; bottom: 26px; left: 0; right: 0;
  text-align: center; color: rgba(255, 255, 255, .85); font-size: 14px;
}
.lightbox-close {
  position: absolute; top: 22px; right: 26px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); border: 0; cursor: pointer;
  color: #fff; font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .28); }

/* faq */
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--bg-soft); border-radius: var(--radius); border: 1px solid var(--line);
  overflow: hidden;
}
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-weight: 700; color: var(--ink); font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 22px; color: var(--green); font-weight: 400;
  transition: transform .2s; line-height: 1;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details[open] summary { border-bottom: 1px solid var(--line); }
.faq-list details p { padding: 0 24px 22px; font-size: 14.5px; color: var(--body); }

/* cta band */
.cta-band {
  background: linear-gradient(120deg, var(--green-dark), var(--green-light));
  padding: 52px 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: 28px; }
.cta-band p { color: rgba(255, 255, 255, .8); }

/* contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 60px; align-items: start;
  max-width: 820px; margin: 0 auto;
}
.contact-info { text-align: center; }
.contact-info h2 { font-size: 28px; margin: 12px 0 28px; }
.shop-figure {
  margin: 0 0 34px; text-align: left;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--white);
  box-shadow: var(--shadow);
}
.shop-figure img { width: 100%; display: block; }
.shop-figure figcaption {
  padding: 13px 18px; font-size: 13.5px; color: var(--muted);
  background: var(--white); border-top: 1px solid var(--line);
}
.info-list-2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px;
  text-align: left;
}
.info-list { list-style: none; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 14px; }
.info-list .ico {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: rgba(31, 92, 70, .08); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.info-list h5 { font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.info-list p { color: var(--ink); font-size: 15px; }
.tel-strong { font-size: 20px; font-weight: 800; color: var(--green); letter-spacing: .5px; }

.contact-form {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
}

/* footer */
.footer { background: var(--green-dark); color: rgba(255, 255, 255, .7); }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr;
  gap: 36px; padding: 60px 0 44px;
}
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-brand .logo-img { margin-bottom: 14px; }
.footer-brand p { font-size: 15px; color: #fff; font-weight: 600; }
.footer-slogan { font-size: 13px !important; color: rgba(255, 255, 255, .55) !important; font-weight: 400 !important; margin-top: 6px; }
.footer-nap {
  font-size: 12.5px !important; color: rgba(255, 255, 255, .48) !important;
  font-weight: 400 !important; margin-top: 12px; line-height: 1.9;
  max-width: 340px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-tel { font-size: 22px; font-weight: 800; color: #fff; display: block; margin-bottom: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.footer-icp a { color: rgba(255, 255, 255, .75); text-decoration: underline; }
.footer-icp a:hover { color: #fff; }
.icp-sep { margin: 0 8px; opacity: .4; }

/* float tel */
.float-tel {
  position: fixed; right: 22px; bottom: 26px; z-index: 99;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: 0 8px 22px rgba(21, 69, 52, .3);
  transition: transform .2s;
}
.float-tel span { font-size: 9px; letter-spacing: .5px; }
.float-tel:hover { transform: scale(1.06); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { max-width: 100%; }
  .info-list-2col { grid-template-columns: 1fr; gap: 20px; }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 38px; }
}

@media (max-width: 768px) {
  .topbar-inner { justify-content: center; }
  .topbar-inner > span:first-child { display: none; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 10px 20px 18px; gap: 2px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 13px 6px; border-bottom: 1px solid var(--bg-soft); border-radius: 0; }
  .nav-menu .nav-cta { margin: 10px 0 0; text-align: center; border: 0; }

  .hero-inner { padding: 64px 0 60px; }
  .hero h1 { font-size: 31px; }
  .hero-desc { font-size: 15.5px; }
  .hero-bg { background-position: 68% center; }
  .hero-stats { gap: 28px; }
  .hero-stats strong { font-size: 26px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .work-item figcaption {
    opacity: 1; transform: none; padding: 20px 12px 10px; font-size: 12px;
  }
  .work-item .wt { font-size: 13px; }

  .section { padding: 60px 0; }
  h2 { font-size: 24px; }
  .sec-head { margin-bottom: 36px; }
  .svc-grid, .case-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .btn { width: 100%; }
  .btn-hero-tel { padding: 14px 24px; }
  .btn-hero-tel .tel-num { font-size: 26px; }
  .hero-actions { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .wrap { flex-direction: column; text-align: center; }
  .float-tel { width: 54px; height: 54px; right: 16px; bottom: 18px; }
}
