/* 广东裕宏餐饮 - 首页样式（还原 首页.psd） */
:root {
  /* 对齐 Pixso 头部 0:323：主色 #1A7E01，高度 110 */
  --green: #1a7e01;
  --green-dark: #146600;
  --green-deep: #0b3d1c;
  --green-footer: #022318;
  --green-soft: #e8f5e6;
  --orange: #e89a1a;
  --gold: #d4a017;
  --text: #000000;
  --text-muted: #666;
  --text-light: #999;
  --cream: #f6f1eb;
  --white: #fff;
  --header-h: 110px;
  --header-hotline-w: 222px;
  --container: 1200px;
  --radius: 4px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --font: "Source Han Sans CN", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul,
ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 96px, 1728px);
  margin-inline: auto;
}

/* 内容安全距离：首页除外，移动端主体左右 5%；平板 24px */
@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  body:not(.home):not(.front-page) .container,
  body:not(.home):not(.front-page) .container-wide {
    width: 90%;
  }

  body:not(.home):not(.front-page) .full-width-content {
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
  }

  body:not(.home):not(.front-page) .page-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 首页合作案例：手机端容器加宽 */
  #cases .container-wide {
    width: calc(100% - 24px);
  }

  /* 首页合作案例：手机端一行两列，首个大图占整行 */
  #cases .case-page {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  #cases .case-card.lead {
    grid-column: 1 / -1;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .container {
    width: min(100% - 48px, var(--container));
  }
}

@media (max-width: 1024px) {
  .container-wide {
    width: min(100% - 48px, 1728px);
  }
}

/* ---------- Header（对齐 Pixso 0:323） ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
}

.header-inner {
  display: flex;
  align-items: stretch;
  height: var(--header-h);
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding-left: clamp(12px, 1.93vw, 37px);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 24px;
}

.logo-brand {
  display: block;
  height: clamp(40px, 4.583vw, 88px);
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 clamp(6px, 1.46vw, 28px);
  font-size: clamp(12px, 0.94vw, 18px);
  font-weight: 400;
  line-height: 1.2;
  color: #000;
  transition: color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav a:hover,
.nav a.active {
  color: var(--green);
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 46px;
  height: 4px;
  transform: translateX(-50%);
  background: var(--green);
}

.header-hotline {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.63vw, 12px);
  width: auto;
  padding: 0 clamp(10px, 0.83vw, 16px);
  background: var(--green);
  color: var(--white);
  flex-shrink: 0;
  margin-left: auto;
}

.header-hotline svg {
  width: clamp(22px, 1.67vw, 32px);
  height: clamp(21px, 1.61vw, 31px);
  flex-shrink: 0;
}

.header-hotline .label {
  font-size: clamp(12px, 0.83vw, 16px);
  line-height: 1.2;
  opacity: 1;
  white-space: nowrap;
}

.header-hotline .num {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: clamp(15px, 1.25vw, 24px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 20px;
  height: 44px;
  margin: auto 16px auto auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* ---------- Hero / Swiper ---------- */
.hero {
  position: relative;
  height: clamp(420px, 47vw, 880px);
  background: #222;
  color: var(--white);
  overflow: hidden;
}

.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  height: 100%;
}

.hero-swiper .swiper-slide {
  position: relative;
  background: #222 center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-swiper .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero-swiper.hero-animated .hero-content .hero-title,
.hero-swiper.hero-animated .hero-content p,
.hero-swiper.hero-animated .hero-content .btn-phone {
  opacity: 0;
  transform: translateY(30px);
}

.hero-swiper.hero-animated .swiper-slide-active .hero-content .hero-title,
.hero-swiper.hero-animated .swiper-slide-active .hero-content p,
.hero-swiper.hero-animated .swiper-slide-active .hero-content .btn-phone {
  opacity: 1;
  transform: none;
  animation: hero-content-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hero-swiper.hero-animated .swiper-slide-active .hero-content .hero-title {
  animation-delay: 0.1s;
}

.hero-swiper.hero-animated .swiper-slide-active .hero-content p {
  opacity: 0.95;
  animation-delay: 0.3s;
}

.hero-swiper.hero-animated .swiper-slide-active .hero-content .btn-phone {
  animation-delay: 0.5s;
}

@keyframes hero-content-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-swiper.hero-animated .hero-content .hero-title,
  .hero-swiper.hero-animated .hero-content p,
  .hero-swiper.hero-animated .hero-content .btn-phone {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.hero .hero-title {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  line-height: 1.35;
}

.hero p {
  font-size: clamp(14px, 1.4vw, 18px);
  opacity: 0.95;
  margin-bottom: 32px;
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--green);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}

.btn-phone:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn-phone svg {
  width: 20px;
  height: 20px;
}

.hero-pagination {
  bottom: 24px !important;
}

.hero-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--green);
}

/* ---------- Section common ---------- */
.section {
  padding: 72px 0 80px;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head .en {
  display: block;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 14px;
}

.section-head .line {
  width: 48px;
  height: 4px;
  background: var(--green);
  margin: 0 auto 18px;
}

.section-head p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Products ---------- */
.products {
  background: var(--white);
  padding-bottom: 48px;
}

.products .section-head {
  margin-bottom: 40px;
}

/* ---------- Service strip ---------- */
.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.svc-item {
  position: relative;
  min-height: clamp(400px, 26vw, 500px);
  background: #333 center / cover no-repeat;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.svc-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: rgba(15, 18, 20, 0.8);
  transition: background 0.35s ease, height 0.35s ease;
  z-index: 0;
}

.svc-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34%;
  height: 26%;
  background: linear-gradient(to top, rgba(15, 18, 20, 0.45), transparent);
  transition: opacity 0.35s ease, bottom 0.35s ease;
  z-index: 0;
  pointer-events: none;
}

.svc-item.active::before,
.svc-item:hover::before {
  height: 42%;
  background: rgba(26, 126, 1, 0.88);
}

.svc-item.active::after,
.svc-item:hover::after {
  bottom: 42%;
  opacity: 0;
}

.svc-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 28px 22px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.svc-item .icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-item .icon img {
  display: block;
  width: 88px;
  height: 88px;
}

.svc-item h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.svc-item p {
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.95;
  margin-bottom: 0;
  max-width: 16em;
}

.svc-item .more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 0;
  margin-top: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(8px);
  transition: height 0.35s ease, margin-top 0.35s ease, opacity 0.3s ease, transform 0.3s ease;
}

.svc-item.active .more,
.svc-item:hover .more {
  height: 22px;
  margin-top: 16px;
  opacity: 1;
  transform: translateY(0);
}

/* ---------- About ---------- */
.about {
  padding: 0;
  text-align: center;
  background: var(--white);
  scroll-margin-top: var(--header-h);
}

.about .desc {
  max-width: 920px;
  margin: 0 auto 30px;
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.94);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--white);
  color: var(--green);
  font-weight: 600;
  font-size: 15px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.btn-white:hover {
  background: var(--green);
  color: var(--white);
}

.about-banner {
  position: relative;
  min-height: clamp(560px, 56vw, 947px);
  display: flex;
  align-items: flex-start;
  padding: clamp(48px, 4.5vw, 88px) 0 clamp(44px, 4.5vw, 88px);
  background: #3a7eb5 top center / cover no-repeat;
  color: var(--white);
}

.about-banner .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.section-head.light {
  margin-bottom: 20px;
}

.section-head.light .en {
  color: rgba(255, 255, 255, 0.85);
}

.section-head.light h2 {
  color: var(--white);
  font-size: clamp(30px, 2.6vw, 44px);
}

.about-banner .stats {
  padding-top: 0;
  margin-top: clamp(28px, 2.4vw, 44px);
}

.about-banner .stat-item {
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.45), 0 8px 26px rgba(0, 0, 0, 0.28);
}

.about-banner .stat-item span {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.about.about-reveal-ready .section-head,
.about.about-reveal-ready .desc,
.about.about-reveal-ready .btn-white,
.about.about-reveal-ready .stat-item {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.about.about-reveal-ready .desc {
  transition-delay: 0.1s;
}

.about.about-reveal-ready .btn-white {
  transition-delay: 0.2s;
}

.about.about-reveal-ready .stat-item:nth-child(1) {
  transition-delay: 0.28s;
}

.about.about-reveal-ready .stat-item:nth-child(2) {
  transition-delay: 0.36s;
}

.about.about-reveal-ready .stat-item:nth-child(3) {
  transition-delay: 0.44s;
}

.about.about-reveal-ready .stat-item:nth-child(4) {
  transition-delay: 0.52s;
}

.about.about-reveal-ready.is-visible .section-head,
.about.about-reveal-ready.is-visible .desc,
.about.about-reveal-ready.is-visible .btn-white,
.about.about-reveal-ready.is-visible .stat-item {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .about.about-reveal-ready .section-head,
  .about.about-reveal-ready .desc,
  .about.about-reveal-ready .btn-white,
  .about.about-reveal-ready .stat-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.stat-item strong {
  display: block;
  font-size: clamp(40px, 3.8vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 10px;
}

.stat-item span {
  font-size: 14px;
  opacity: 0.92;
}

/* ---------- Truck ---------- */

/* ---------- Advantages ---------- */
.advantages {
  position: relative;
  background: var(--green) url("../images/advantages-bg.jpg") center / cover no-repeat;
  color: var(--white);
  padding: 80px 0;
  overflow: hidden;
}

.adv-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 48px;
  align-items: center;
}

.adv-intro .en {
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
  font-weight: 600;
}

.adv-intro h2 {
  font-size: clamp(28px, 2.8vw, 38px);
  margin-bottom: 16px;
  line-height: 1.35;
}

.adv-intro .line {
  width: 48px;
  height: 3px;
  background: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.adv-intro p {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 28px;
  max-width: 420px;
}

.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  border-radius: 4px 4px 4px 0;
  transition: filter 0.2s;
}

.btn-orange:hover {
  filter: brightness(1.05);
}

.btn-orange svg {
  width: 18px;
  height: 18px;
}

.adv-grid {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.adv-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.adv-col:last-child {
  margin-top: 50px;
}

.adv-card {
  background: var(--white);
  color: var(--text);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  min-height: 280px;
}

.advantages.advantages-reveal-ready .adv-intro,
.advantages.advantages-reveal-ready .adv-card {
  opacity: 0;
  transition: opacity 1.15s ease, transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.advantages.advantages-reveal-ready .adv-intro {
  transform: translateX(-70px);
}

.advantages.advantages-reveal-ready .adv-card {
  transform: translateY(60px) scale(0.96);
}

.advantages.advantages-reveal-ready .adv-col:first-child .adv-card:nth-child(1) {
  transition-delay: 0.18s;
}

.advantages.advantages-reveal-ready .adv-col:first-child .adv-card:nth-child(2) {
  transition-delay: 0.28s;
}

.advantages.advantages-reveal-ready .adv-col:last-child .adv-card:nth-child(1) {
  transition-delay: 0.38s;
}

.advantages.advantages-reveal-ready .adv-col:last-child .adv-card:nth-child(2) {
  transition-delay: 0.48s;
}

.advantages.advantages-reveal-ready.is-visible .adv-intro,
.advantages.advantages-reveal-ready.is-visible .adv-card {
  opacity: 1;
  transform: translate(0);
}

@media (prefers-reduced-motion: reduce) {
  .advantages.advantages-reveal-ready .adv-intro,
  .advantages.advantages-reveal-ready .adv-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.adv-card .icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
}

.adv-card .icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.adv-card h3 {
  color: var(--green);
  font-size: 20px;
  margin-bottom: 16px;
  line-height: 1.4;
  text-align: center;
}

.adv-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.adv-card li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.adv-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- Cases ---------- */
.cases {
  background: var(--cream) url("../images/cases-bg.jpg") center / cover no-repeat;
  scroll-margin-top: var(--header-h);
}

.cases .container-wide {
  width: min(100% - 96px, 1600px);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

/* cases swiper */
.case-swiper {
  margin-bottom: 32px;
  padding-bottom: 4px;
}

.case-page {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.case-pager {
  width: 220px;
  height: 2px;
  margin: 0 auto 36px;
  background: #ddd9d2;
  position: relative;
  cursor: pointer;
}

.case-pager-bar {
  position: absolute;
  left: calc(50% - 28px);
  top: -1px;
  width: 56px;
  height: 4px;
  background: var(--green);
  transition: transform 0.6s ease;
}

.case-card {
  position: relative;
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 3 / 2;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}

.case-card:hover img {
  transform: scale(1.05);
}

.case-card .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 11px 16px;
  background: rgba(25, 35, 22, 0.55);
  color: var(--white);
  font-size: 14px;
  text-align: center;
  transition: background 0.2s;
  /* 标题固定一行，超出省略 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-card.lead .caption {
  background: var(--green);
}

.case-card:hover .caption {
  background: var(--green-dark);
}

.cases .center-btn {
  text-align: center;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  background: var(--green);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 2px;
  transition: background 0.2s;
}

.btn-green:hover {
  background: var(--green-dark);
}

/* ---------- News ---------- */
.news {
  background: var(--white);
  padding-top: 40px;
}

.news-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: stretch;
}

.news-cover {
  overflow: hidden;
  min-height: 480px;
}

.news-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.news-panel .en {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.news-panel h2 {
  font-size: 32px;
}

.featured {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #eee;
}

.date-badge {
  width: 84px;
  height: 84px;
  background: var(--green);
  color: var(--white);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
}

.date-badge strong {
  font-size: 32px;
}

.date-badge span {
  font-size: 12px;
  opacity: 0.9;
}

.featured h3 {
  color: var(--green);
  font-size: 18px;
  margin-bottom: 8px;
}

.featured p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured .link {
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 18px;
  background: #f7f5f1;
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
}

.news-list a:nth-child(even) {
  background: #fafafa;
}

.news-list a:hover {
  background: var(--green-soft);
  color: var(--green);
}

.news-list .arrow {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--green);
  flex-shrink: 0;
}

.news-list .title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list .date {
  color: var(--text-light);
  font-size: 13px;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-footer);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 64px;
}

.footer-contact {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 30px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 92px;
}

.footer-qr {
  text-align: center;
  flex-shrink: 0;
}

.footer-qr img {
  width: 110px;
  height: 110px;
  background: var(--white);
  padding: 6px;
  margin: 0 auto 8px;
}

.footer-qr span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-contact-item svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  opacity: 0.9;
}

.footer-contact-item .label {
  font-size: 14px;
  margin-bottom: 4px;
}

.footer-contact-item .value {
  color: var(--gold);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  gap: 28px;
  align-items: baseline;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 40px 0 56px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
}

.footer-bottom .keywords {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Side dock ---------- */
.side-dock {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  width: 64px;
  background: var(--green);
  color: var(--white);
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.12);
}

.side-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 6px;
  font-size: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s;
  text-align: center;
  line-height: 1.2;
}

.side-dock a:hover {
  background: var(--green-dark);
}

.side-dock a:last-child {
  border-bottom: none;
  background: #111;
}

.side-dock svg,
.side-dock .dock-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

/* 首页入口仅移动端底部栏显示 */
.side-dock .dock-home {
  display: none;
}

.side-dock .has-qr {
  position: relative;
}

.side-dock .qr-pop {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  padding: 10px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 1;
  width: 140px;
}

.side-dock .has-qr:hover .qr-pop,
.side-dock .has-qr.is-open .qr-pop {
  display: block;
}

.side-dock .qr-pop img {
  width: 120px;
  height: 120px;
  max-width: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .nav a {
    padding: 0 12px;
  }

  .adv-layout {
    grid-template-columns: 1fr;
  }

  .adv-intro {
    text-align: center;
  }

  .adv-intro p {
    margin-inline: auto;
  }

  .adv-intro .line {
    margin-inline: auto;
  }

  .footer-nav {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* 头部采用流式 clamp 缩放，1200px 以下折叠为汉堡菜单 */
@media (max-width: 1199px) {
  .header-inner {
    padding-left: 24px;
    padding-right: 24px;
    /* 不依赖 margin:auto 做水平对齐（部分 XWEB 内核会把元素推出视口） */
    justify-content: space-between;
  }

  .menu-toggle {
    display: flex;
    margin: auto 0;
  }

  .nav {
    padding: 12px 24px;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 24px;
    font-size: 16px;
  }

  .nav a.active::after {
    display: none;
  }

  .header-hotline {
    display: none;
  }
}

@media (max-width: 992px) {
  .service-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .case-grid,
  .case-page {
    grid-template-columns: 1fr;
  }

  .case-pager {
    width: min(100%, 280px);
  }

  .about-banner::before {
    content: "";
    position: absolute;
    inset: 0 0 30%;
    background: linear-gradient(180deg, rgba(58, 126, 181, 0.55), rgba(58, 126, 181, 0.18) 70%, rgba(58, 126, 181, 0));
    pointer-events: none;
  }

  .timeline::before {
    left: 8px;
  }

  .tl-item,
  .tl-item.left,
  .tl-item.right {
    width: auto;
    margin-left: 34px;
    margin-right: 0;
    margin-top: 0;
    text-align: left;
  }

  .tl-item.left::after,
  .tl-item.right::after {
    left: -31px;
    right: auto;
  }

  .culture-grid {
    grid-template-columns: 1fr;
  }

  .org-branch.two,
  .org-branch.three {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .org-branch.two::before,
  .org-branch.three::before {
    display: none;
  }

  .org-branch > .org-node,
  .org-branch > .org-col {
    padding-top: 0;
    margin-top: 0;
  }

  .org-branch > .org-node::before,
  .org-branch > .org-col::before {
    display: none;
  }

  .org-depts {
    flex-wrap: wrap;
  }

  .org-depts::before {
    display: none;
  }

  .nd-related {
    grid-template-columns: repeat(2, 1fr);
  }

  .honor-table,
  .kv-table {
    display: block;
    overflow-x: auto;
  }

  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-cover {
    min-height: 320px;
  }

  .footer-contact {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  /* 保留图标在左，避免联系项纵向过高 */
  .footer-contact-item {
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }

  /* 手机/平板：右侧栏改为底部快捷栏 */
  .side-dock {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    transform: none;
    z-index: 900;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.14);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .side-dock a {
    flex: 1 1 0;
    min-width: 0;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    justify-content: flex-start;
    padding: 10px 2px 18px;
    font-size: 10px;
    gap: 3px;
    line-height: 1.15;
    white-space: nowrap;
  }

  .side-dock .dock-home {
    display: flex;
  }

  .side-dock a:last-child {
    border-right: none;
  }

  .side-dock .dock-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .side-dock .qr-pop {
    right: auto;
    left: 50%;
    top: auto;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
  }

  /* 移动端改用弹窗，隐藏侧栏小气泡 */
  .side-dock .has-qr .qr-pop,
  .side-dock .has-qr:hover .qr-pop,
  .side-dock .has-qr.is-open .qr-pop,
  .side-dock .has-qr:focus-within .qr-pop,
  .side-dock .has-qr:active .qr-pop {
    display: none !important;
  }

  .wechat-dock-modal .share-qrcode img {
    width: 190px;
    height: 190px;
    max-width: 100%;
  }

  body {
    /* 只留底部栏高度，避免版权区被挡住 */
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }

  body.modal-open {
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 72px;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo {
    padding-right: 8px;
  }

  .menu-toggle {
    width: 20px;
    height: 40px;
    margin: auto 0;
  }

  .nav {
    padding: 8px 16px 16px;
  }

  .nav a {
    padding: 12px 16px;
  }

  .logo-brand {
    height: 36px;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .service-strip {
    grid-template-columns: 1fr;
  }

  /* 数据指标：手机端一行两列 */
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  .stat-item strong {
    font-size: 32px;
  }

  .stat-item span {
    font-size: 13px;
  }

  /* 页脚导航：三列排布并整体居中 */
  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 12px;
    padding-bottom: 20px;
    text-align: center;
    justify-items: center;
  }

  .footer-col {
    width: 100%;
  }

  .footer-col:last-child {
    display: none;
  }

  .footer-col h4 {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .footer-col a {
    padding: 4px 0;
  }

  .footer-bottom {
    padding: 20px 0 12px;
  }

  .adv-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .adv-col {
    display: contents;
  }

  /* 公司简介段落两侧留白 5% */
  .about .desc {
    padding: 0 5%;
  }

  /* 手机端优势卡片统一宽度 */
  .adv-card {
    width: 100%;
    box-sizing: border-box;
  }

  .svc-item {
    min-height: 220px;
  }

  /* 手机端服务卡图标缩小，内容整体随之下移 */
  .svc-item .icon,
  .svc-item .icon img {
    width: 56px;
    height: 56px;
  }

  .svc-item h3 {
    font-size: 20px;
  }

  /* 手机端服务卡内边距 */
  .svc-inner {
    padding: 28px 22px 10px;
  }

  /* 手机端服务卡底部遮罩：更浅，渐变层与遮罩上沿对齐避免分界痕迹 */
  .svc-item::before,
  .svc-item.active::before,
  .svc-item:hover::before {
    height: 46%;
    background: rgba(15, 18, 20, 0.45);
  }

  .svc-item::after,
  .svc-item.active::after,
  .svc-item:hover::after {
    bottom: 46%;
    background: linear-gradient(to top, rgba(15, 18, 20, 0.45), transparent);
    opacity: 1;
  }

  .svc-item.active .more {
    height: 0;
    margin-top: 0;
    opacity: 0;
  }

  .hero .hero-title {
    font-size: 24px;
  }

  .hero-content {
    padding: 24px 16px;
  }

  .btn-phone,
  .btn-green,
  .btn-orange {
    padding: 12px 20px;
    font-size: 15px;
  }

  .adv-grid {
    gap: 16px;
  }

  .adv-card {
    padding: 24px 20px;
    min-height: 0;
  }

  .adv-col:last-child {
    margin-top: 0;
  }

  .news-cover {
    min-height: 220px;
  }

  .featured {
    grid-template-columns: 56px 1fr;
    gap: 12px;
  }

  .date-badge {
    width: 56px;
    height: 56px;
  }

  .date-badge strong {
    font-size: 24px;
  }

  .news-panel h2 {
    font-size: 26px;
  }

  .news-list a {
    padding: 14px 12px;
  }
}

/* ---------- Inner page banner ---------- */
.page-banner {
  position: relative;
  height: clamp(220px, 28vw, 360px);
  background: #222 center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.page-banner-inner {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.page-banner h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 4px;
}

.page-banner .en {
  /* 对齐设计稿：英文副标与 h1 同大小，上下间距收紧 */
  margin-top: 4px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.95;
}

.page-banner .sub {
  margin-top: 6px;
  font-size: 16px;
  opacity: 0.95;
}

/* ---------- Inner layout ---------- */
.page-main {
  padding: 40px 0 72px;
  background: #fafafa;
}

.page-layout {
  width: min(100% - 96px, 1600px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 75px;
  align-items: start;
}

.side-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-menu {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.side-menu-head {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--green);
  color: var(--white);
  padding: 16px 20px;
}

.side-menu-head > svg,
.side-menu-head > img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
}

.side-menu-head strong {
  display: block;
  font-size: 18px;
}

.side-menu-head span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.85;
}

.side-menu a {
  display: block;
  padding: 14px 20px;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}

.side-menu a:hover {
  color: var(--green);
  background: var(--green-soft);
}

.side-menu a.active {
  background: var(--orange);
  color: var(--white);
  border-top-color: var(--orange);
}

.side-ad {
  display: block;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.side-ad img {
  display: block;
  width: 100%;
  height: auto;
}

.page-content {
  background: var(--white);
  padding: 28px 28px 36px;
  box-shadow: var(--shadow);
  min-height: 480px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a:hover {
  color: var(--green);
}

.content-title {
  text-align: center;
  margin-bottom: 28px;
}

.content-title h2 {
  font-size: 28px;
  color: var(--green);
  font-weight: 700;
}

.content-title .line {
  width: 48px;
  height: 3px;
  background: var(--green);
  margin: 12px auto 0;
}

.about-lead {
  color: var(--green);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-body p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 14px;
  font-size: 15px;
}

.about-stats-banner {
  display: grid;
  grid-template-columns: 27fr 73fr;
  margin: 28px 0 26px;
  min-height: 280px;
  overflow: hidden;
}

.about-stats-banner .stats-panel {
  background: var(--green);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 28px 30px;
}

.about-stats-banner .stat {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-stats-banner .stat svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  opacity: 0.92;
}

.about-stats-banner .stat strong {
  display: block;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
}

.about-stats-banner .stat span {
  display: block;
  font-size: 14px;
  margin-top: 6px;
  opacity: 0.95;
}

.about-stats-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* services alternating */
.service-blocks {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--cream);
  overflow: hidden;
}

.service-block.reverse {
  grid-template-columns: 1fr 1fr;
}

.service-block.reverse .service-media {
  order: 2;
}

.service-media {
  overflow: hidden;
  min-height: 250px;
}

.service-media img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.service-copy {
  padding: 36px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 7px rgba(26, 126, 1, 0.14);
  margin-bottom: 18px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-copy h3 {
  color: var(--green);
  font-size: 26px;
  margin-bottom: 14px;
}

.service-copy p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 22px;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--green-deep);
  color: var(--white);
  font-size: 14px;
}

.btn-more:hover {
  background: var(--green);
}

/* detail article page (service) */
.detail-article {
  font-size: 15px;
  color: var(--text);
}

.detail-lead {
  line-height: 2;
  margin-bottom: 8px;
}

.detail-heading {
  color: var(--green);
  font-size: 26px;
  margin: 44px 0 22px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.8;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 22px;
  line-height: 1.8;
}

.kv-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
}

.kv-table th,
.kv-table td {
  border: 1px solid #e5e5e5;
  padding: 16px 22px;
  text-align: left;
  line-height: 1.7;
}

.kv-table th {
  font-weight: 700;
  color: var(--text);
}

/* timeline (history) */
.timeline {
  position: relative;
  padding: 24px 0 8px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--green);
}

.tl-item {
  position: relative;
  width: calc(50% - 46px);
  margin-bottom: 54px;
}

.tl-item.left {
  text-align: right;
  margin-right: auto;
}

.tl-item.right {
  text-align: left;
  margin-left: auto;
  margin-top: 90px;
}

.tl-item:first-child {
  margin-top: 0;
}

.tl-item::after {
  content: "";
  position: absolute;
  top: 52px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-dark);
}

.tl-item.left::after {
  right: -51px;
}

.tl-item.right::after {
  left: -51px;
}

.tl-year {
  display: inline-block;
  color: var(--green-dark);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 14px;
}

.tl-item.left .tl-year {
  border-bottom: 1px solid var(--green);
  padding-bottom: 12px;
}

.tl-item.right .tl-year {
  border-bottom: 1px solid var(--green);
  padding-bottom: 12px;
}

.tl-heading {
  color: var(--green);
  font-size: 22px;
  margin-bottom: 14px;
}

.tl-heading span {
  font-size: 19px;
}

.tl-item p {
  color: var(--text-muted);
  line-height: 2;
  text-align: left;
}

/* culture circles */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 16px 0 24px;
}

.culture-item {
  text-align: center;
}

.culture-ring {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 6px solid rgba(26, 126, 1, 0.25);
  overflow: hidden;
  background: #eee;
}

.culture-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.culture-item h3 {
  color: var(--green);
  font-size: 24px;
  margin-bottom: 10px;
}

.culture-item p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* honor table */
.honor-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.honor-table th,
.honor-table td {
  border: 1px solid #e8e8e8;
  padding: 17px 24px;
  text-align: left;
  line-height: 1.8;
  background: var(--white);
}

.honor-table th {
  width: 220px;
  text-align: center;
  font-weight: 700;
  color: var(--text);
}

.honor-table td {
  color: var(--text-muted);
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid #ececec;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  color: var(--text);
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.q-mark {
  color: var(--green);
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}

.faq-item .toggle {
  position: relative;
  margin-left: auto;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.faq-item .toggle::before,
.faq-item .toggle::after {
  content: "";
  position: absolute;
  background: #b9b9b9;
}

.faq-item .toggle::before {
  left: 0;
  right: 0;
  top: 6px;
  height: 2px;
}

.faq-item .toggle::after {
  top: 0;
  bottom: 0;
  left: 6px;
  width: 2px;
  transition: transform 0.2s;
}

.faq-item[open] .toggle::after {
  transform: scaleY(0);
}

.faq-item[open] {
  border-color: var(--green);
}

.faq-body {
  display: flex;
  gap: 12px;
  padding: 0 22px 18px;
  color: var(--text-muted);
  line-height: 1.9;
}

.a-mark {
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

/* news detail */
.nd-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 22px;
}

.nd-head h1 {
  color: var(--green);
  font-size: 28px;
  line-height: 1.3;
}

.nd-share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text-light);
  font-size: 13px;
}

.nd-share a {
  width: 39px;
  height: 39px;
  background: url("../images/share-icons.png?v=5") no-repeat 0 0;
  display: grid;
  place-items: center;
}

.nd-share a:nth-child(2) {
  background-position: 0 0;
}

.nd-share a:nth-child(3) {
  background-position: -47px 0;
}

.nd-share a:nth-child(4) {
  background-position: -142px 0;
}

.nd-share a:nth-child(5) {
  background-position: -189px 0;
}

.nd-share a:nth-child(6) {
  background-position: -95px 0;
}

.nd-share a svg {
  display: none;
}

/* 分享弹窗 */
.share-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  padding: 20px;
}

.share-modal-box {
  position: relative;
  background: var(--white);
  border-radius: 8px;
  padding: 30px 34px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.share-modal-box h3 {
  color: var(--green-deep);
  font-size: 18px;
  margin-bottom: 18px;
  padding-right: 20px;
}

.share-modal-box .share-cover {
  display: block;
  max-width: 320px;
  width: 100%;
  margin: 0 auto 16px;
  border-radius: 4px;
}

.share-modal-box .share-url {
  word-break: break-all;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
  background: #f6f6f4;
  border-radius: 4px;
  padding: 10px 12px;
  margin-top: 14px;
  text-align: left;
}

.share-modal-box .share-qrcode {
  display: inline-block;
  padding: 14px;
  border: 1px solid #eee;
  border-radius: 6px;
}

.share-modal-box .share-qrcode img {
  display: block;
}

.share-modal-box .share-tip {
  color: var(--text-light);
  font-size: 13px;
  margin-top: 12px;
  word-break: break-all;
}

.share-modal-box .share-close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  font-size: 22px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.share-modal-box .share-close:hover {
  color: var(--green);
}

.nd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  padding: 18px 0;
  color: var(--text-light);
  font-size: 13px;
}

.nd-meta a {
  color: var(--text-light);
}

.nd-meta a:hover {
  color: var(--green);
}

.nd-body p {
  color: var(--text);
  line-height: 2.1;
}

.nd-figure {
  max-width: 640px;
  margin: 28px auto 8px;
}

.nd-figure img {
  width: 100%;
}

.nd-figure figcaption {
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
  margin-top: 10px;
}

.nd-section {
  margin-top: 48px;
}

.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-row .detail-heading {
  margin: 0;
}

.nd-related {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.nd-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nd-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eee;
}

.nd-card span {
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.nd-card:hover span {
  color: var(--green);
}

/* dish / case grids */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.media-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ddd;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.media-card:hover img {
  transform: scale(1.05);
}

.media-card figcaption,
.media-card .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: rgba(31, 138, 26, 0.88);
  color: var(--white);
  font-size: 13px;
  /* 标题固定一行，超出省略，避免卡片高度/文字溢出 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  background: #eee;
  color: var(--text);
  font-size: 13px;
}

.pager a:hover,
.pager .current {
  background: var(--green);
  color: var(--white);
}

/* 荣誉资质证书网格 */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 36px;
  padding-top: 12px;
}

.cert-item {
  text-align: center;
  margin: 0;
}

.cert-item img {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  border: 1px solid #eee;
}

.cert-item figcaption {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 13px;
}

.cert-link {
  display: block;
  color: inherit;
}

.cert-link img {
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.cert-link:hover img {
  border-color: var(--green);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
}

.cert-link:hover figcaption {
  color: var(--green);
}

/* 资质证书详情页 */
.cert-detail-figure {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #ececec;
  padding: 18px;
  text-align: center;
}

.cert-detail-figure img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.cert-detail-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.9;
  margin-top: 24px;
  text-align: justify;
}

.cert-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.cert-nav a {
  color: var(--green);
  font-size: 14px;
}

.cert-nav a:hover {
  text-decoration: underline;
}

/* 占位页 */
.page-empty {
  text-align: center;
  padding: 72px 20px 88px;
  color: var(--text-muted);
}

.page-empty svg {
  width: 64px;
  height: 64px;
  color: var(--green);
  opacity: 0.45;
}

.page-empty .empty-tip {
  font-size: 15px;
  margin-top: 18px;
}

.page-empty .empty-back {
  display: inline-block;
  margin-top: 18px;
  padding: 9px 26px;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  border-radius: 3px;
}

.page-empty .empty-back:hover {
  background: var(--green-dark);
}

.content-title.honor-sub {
  margin-top: 64px;
}

.pager .pager-btn {
  background: var(--green);
  color: var(--white);
}

/* news list page */
.news-item {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}

.news-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.news-item h3 {
  color: var(--green-deep);
  font-size: 18px;
  margin-bottom: 6px;
  /* 标题固定一行，超出省略，避免换行把条目撑高 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 文字列允许收缩，否则 nowrap 标题会把网格撑宽 */
.news-item > div {
  min-width: 0;
}

.news-item .meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.news-item time {
  color: var(--text-light);
  font-size: 13px;
  white-space: nowrap;
}

.news-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 8px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item .more {
  color: var(--green);
  font-size: 13px;
}

/* contact page */
.contact-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 56px;
}

.contact-intro h2 {
  color: var(--green);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
}

.contact-intro .en-name {
  margin-top: 10px;
  color: #9a9a9a;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.contact-intro .line {
  width: 48px;
  height: 3px;
  background: var(--green);
  margin: 18px auto 20px;
}

.contact-intro p {
  color: #555;
  font-size: 15px;
  line-height: 1.9;
}

/* 对齐 Pixso 0:1283「组 15」：1599×545，四列联系 + ADDRESS */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: start;
  margin-bottom: 0;
  padding: 18px 0 114px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
  background: none;
}

.contact-card .icon {
  width: 100%;
  height: 99px;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card .icon img {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  object-fit: contain;
}

.contact-card .contact-qr {
  width: 97px;
  height: 99px;
  margin: 0 0 10px;
  object-fit: contain;
}

.contact-card .contact-line,
.contact-card a {
  color: #444;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  word-break: break-all;
}

.contact-card .hint {
  margin-top: 0;
  color: #444;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.contact-address {
  position: relative;
  text-align: center;
  /* 分割线→图钉约 95px；地址文案后几乎无空隙，直接贴地图 */
  padding: 95px 16px 0;
  margin-bottom: 0;
  border-top: 1px solid rgba(39, 39, 39, 0.2);
  overflow: visible;
}

.contact-address .tag {
  position: absolute;
  left: 50%;
  top: 84%;
  transform: translate(-50%, -50%);
  color: rgba(26, 126, 1, 0.070588);
  letter-spacing: 0;
  font-size: 150px;
  font-weight: 400;
  line-height: 180px;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.contact-address .icon {
  position: relative;
  z-index: 1;
  width: 65px;
  height: 63px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
}

.contact-address .icon img {
  width: 65px;
  height: 63px;
  object-fit: contain;
}

.contact-address p {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  font-size: 24px;
  font-weight: 400;
  color: #444;
  line-height: 1.2;
}

.contact-map {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: -72px;
  margin-inline: calc(50% - 50vw);
  height: clamp(420px, 31vw, 600px);
  background: #eef1f4;
}

.contact-map .map-container {
  position: absolute;
  inset: 0;
}

.contact-map .map-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 天地图公司名横幅标注 */
.map-brand {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 800;
  padding: 14px 24px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  pointer-events: none;
}

.map-brand img {
  height: 44px;
  width: 314px;
  display: block;
}

.full-width-content {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 0 72px;
}

.full-width-content .page-layout {
  width: 100%;
}

@media (max-width: 1024px) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  /* 内页侧栏：移动端折叠为面板，默认只显示栏目标题，正文紧随其后 */
  .side-panel {
    gap: 0;
  }

  .side-menu a {
    display: none;
  }

  .side-menu.open a {
    display: block;
  }

  .side-menu-head {
    position: relative;
    cursor: pointer;
  }

  .side-menu-head::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    transition: transform 0.2s;
  }

  .side-menu.open .side-menu-head::after {
    transform: rotate(-135deg);
  }

  .side-ad {
    display: none;
  }

  .service-block,
  .service-block.reverse {
    grid-template-columns: 1fr;
  }

  .service-block.reverse .service-media {
    order: 0;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 16px;
    padding: 12px 0 64px;
  }

  .contact-card .contact-line,
  .contact-card a {
    font-size: 18px;
  }

  .contact-address {
    padding: 64px 16px 0;
  }

  .contact-address .tag {
    font-size: 96px;
    line-height: 1.2;
  }

  .contact-address p {
    font-size: 18px;
  }

  .news-item {
    grid-template-columns: 120px 1fr;
  }

  .about-stats-banner {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
  }

  .cert-item img {
    max-width: 180px;
  }
}

@media (max-width: 640px) {
  /* 手机端侧栏标题条收紧上下留白 */
  .side-menu-head {
    padding: 9px 16px;
  }

  .side-menu-head strong {
    font-size: 16px;
  }

  .side-menu-head span {
    margin-top: 2px;
  }

  .side-menu-head > img,
  .side-menu-head > svg {
    width: 28px;
    height: 28px;
  }

  /* 手机端隐藏紧跟在面包屑后的页面标题（banner 已给出栏目名，避免重复） */
  .breadcrumb + .content-title {
    display: none;
  }

  /* 分组小标题（如需保留）加 keep 类 */
  .breadcrumb + .content-title.keep {
    display: block;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 合作案例 / 菜谱卡片标题条高度减小 */
  .media-card figcaption,
  .media-card .caption {
    padding: 6px 10px;
    font-size: 12px;
  }

  /* 联系方式保持 2×2，避免单列过疏；水平边距由全局 5% 承担 */
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 12px;
    padding: 8px 0 40px;
  }

  .contact-intro {
    max-width: none;
    margin: 0 0 36px;
  }

  .contact-intro h2 {
    font-size: 22px;
  }

  .contact-intro .en-name {
    font-size: 11px;
    letter-spacing: 0.5px;
    word-break: break-word;
  }

  .contact-intro p {
    font-size: 14px;
  }

  .contact-card .icon {
    height: 64px;
    margin-bottom: 8px;
  }

  .contact-card .icon img {
    max-width: 48px;
    max-height: 48px;
  }

  .contact-card .contact-qr {
    width: 72px;
    height: 72px;
    margin-bottom: 8px;
  }

  .contact-card .contact-line,
  .contact-card a,
  .contact-card .hint {
    font-size: 13px;
  }

  .contact-address {
    padding: 40px 0 0;
    overflow: hidden;
  }

  .contact-address .tag {
    font-size: 56px;
    line-height: 1;
    top: 84%;
  }

  .contact-address .icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
  }

  .contact-address .icon img {
    width: 48px;
    height: 48px;
  }

  .contact-address p {
    font-size: 14px;
    margin-bottom: 16px;
    padding: 0 8px;
  }

  .full-width-content {
    padding-top: 20px;
    padding-bottom: 72px;
  }

  /* 新闻详情：标题独占一行，分享按钮下移 */
  .nd-head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nd-head h1 {
    font-size: 22px;
  }

  /* 信息栏换行后收紧行距与外边距 */
  .nd-meta {
    gap: 6px 16px;
    padding: 12px 0;
    line-height: 1.5;
  }

  /* 分享图标缩小一半（雪碧图按 0.5 缩放） */
  .nd-share {
    gap: 8px;
  }

  .nd-share a {
    width: 20px;
    height: 20px;
    background-size: 117px 20px;
  }

  .nd-share a:nth-child(3) {
    background-position: -24px 0;
  }

  .nd-share a:nth-child(4) {
    background-position: -73px 0;
  }

  .nd-share a:nth-child(5) {
    background-position: -97px 0;
  }

  .nd-share a:nth-child(6) {
    background-position: -49px 0;
  }

  /* 手机端主体区上下留白收紧 */
  .page-main {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  /* 手机端侧栏（折叠标题条）与正文之间只留很小间距 */
  .page-layout {
    gap: 12px;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nd-related {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* 新闻条目保持图左文右两列，避免图片独占一整行 */
  .news-item {
    grid-template-columns: 104px 1fr;
    gap: 12px;
    padding: 16px 0;
  }

  .news-item img {
    height: 78px;
  }

  .news-item h3 {
    font-size: 16px;
  }

  .page-content {
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .footer-contact {
    padding: 20px 16px;
    margin-bottom: 28px;
    gap: 18px;
  }

  /* 移动端已有底部快捷栏微信入口，页脚二维码可藏 */
  .footer-qr {
    display: none;
  }

  .site-footer {
    padding-top: 40px;
  }

  .footer-contact-item {
    gap: 12px;
    width: 100%;
    justify-content: flex-start;
  }

  .footer-contact-item svg {
    width: 28px;
    height: 28px;
  }

  .footer-contact-item .label {
    font-size: 13px;
  }

  .footer-contact-item .value {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 16px;
  }

  .share-modal-box {
    padding: 24px 20px;
  }

  .contact-map {
    height: 260px;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
