/* 湘潭够义道 — 企业站样式 */
:root {
  --bg: #faf7f2;
  --bg-warm: #f3ebe0;
  --surface: #ffffff;
  --ink: #1c1917;
  --ink-muted: #57534e;
  --ink-soft: #78716c;
  --primary: #8b1e1e;
  --primary-deep: #6f1818;
  --primary-light: #c45a4a;
  --gold: #b8860b;
  --gold-soft: #d4a84b;
  --border: rgba(28, 25, 23, 0.08);
  --shadow: 0 22px 50px -12px rgba(28, 25, 23, 0.12);
  --shadow-sm: 0 8px 24px -8px rgba(28, 25, 23, 0.1);
  --radius: 14px;
  --radius-lg: 22px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", system-ui, sans-serif;
  --font-display: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --space: 8px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s var(--ease);
  --transition-med: 0.4s var(--ease);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}

img[loading="lazy"] {
  content-visibility: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--primary-deep);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ----- Header ----- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

/* 顶栏不使用含文字的 Logo 图，以纯色块保持识别度 */
.brand-mark--fill {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-deep) 55%, #3d0f0f 100%);
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 0.95rem;
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 52rem;
}

.nav-item {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.65rem;
  background: none;
  border: none;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-trigger .nav-chevron {
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.2rem;
  opacity: 0.75;
  transition: transform 0.2s var(--ease);
}

.nav-item.is-open .nav-trigger .nav-chevron {
  transform: rotate(225deg);
  margin-top: 0.1rem;
}

.nav-trigger:hover,
.nav-trigger:focus-visible {
  color: var(--primary);
  background: rgba(139, 30, 30, 0.06);
  outline: none;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 11.5rem;
  padding: 0.4rem 0;
  margin: 0;
  list-style: none;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 220;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
    visibility 0.2s;
  max-height: min(70vh, 22rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nav-item:hover .nav-dropdown,
.nav-item.is-open .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 0;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  color: var(--primary);
  background: rgba(139, 30, 30, 0.06);
}

.nav-single {
  padding: 0.5rem 0.65rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-muted);
  border-radius: 8px;
  white-space: nowrap;
}

.nav-single:hover {
  color: var(--primary);
  background: rgba(139, 30, 30, 0.06);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  box-shadow: 0 4px 14px -2px rgba(139, 30, 30, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(139, 30, 30, 0.5);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
}

.btn-ghost:hover {
  color: var(--primary);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 72px 0 auto 0;
  padding: 1rem 1.25rem 1.25rem;
  background: rgba(250, 247, 242, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  gap: 0.25rem;
  z-index: 99;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  padding: 0.75rem 0.5rem;
  color: var(--ink);
  font-weight: 500;
  border-radius: 8px;
}

.nav-mobile a:hover {
  background: rgba(139, 30, 30, 0.06);
}

.nav-m-group {
  border-bottom: 1px solid var(--border);
}

.nav-m-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 0.5rem;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
}

.nav-m-toggle::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.nav-m-group.is-open .nav-m-toggle::after {
  transform: rotate(225deg);
  margin-top: 0.2rem;
}

.nav-m-panel {
  display: none;
  flex-direction: column;
  padding: 0 0 0.65rem 0.65rem;
  gap: 0.15rem;
}

.nav-m-group.is-open .nav-m-panel {
  display: flex;
}

.nav-m-panel a {
  padding: 0.55rem 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.nav-m-panel a:hover {
  color: var(--primary);
}

@media (min-width: 880px) {
  .nav-desktop {
    display: flex;
  }

  .header-cta {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
  padding: 6.5rem 1.25rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 25, 23, 0.15) 0%,
    rgba(28, 25, 23, 0.55) 45%,
    rgba(28, 25, 23, 0.88) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(212, 168, 75, 0.35);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.12;
  color: #fff;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-actions .btn-primary {
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
}

.hero-actions .btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 520px;
}

.stat {
  text-align: left;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 520px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ----- Sections ----- */
section {
  padding: 4.5rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 38rem;
}

.section-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.bg-alt {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
}

/* About */
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
  }
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: inherit;
  pointer-events: none;
}

.about-card {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.about-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.about-copy h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

/* Products grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.product-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card figure {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover img {
  transform: scale(1.06);
}

.product-card figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
}

/* Cooperation */
.coop-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .coop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.coop-card {
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.coop-card:hover {
  border-color: rgba(139, 30, 30, 0.2);
  box-shadow: var(--shadow);
}

.coop-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.coop-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.coop-steps {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .coop-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.step {
  position: relative;
  padding: 1.35rem 1.15rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
}

.step h4 {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Credentials */
.cred-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cred-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.25s var(--ease);
}

.cred-item:hover {
  border-color: rgba(139, 30, 30, 0.25);
}

.cred-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(139, 30, 30, 0.08);
  border-radius: 12px;
}

.cred-item h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.cred-item p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.cred-item a {
  font-size: 0.88rem;
  font-weight: 600;
}

/* Contact */
.contact-wrap {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 860px) {
  .contact-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.contact-box {
  padding: 2rem 1.75rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-box h3 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list strong {
  flex: 0 0 5rem;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.85rem;
}

.contact-note {
  margin-top: 1.25rem;
  padding: 1rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: var(--bg);
  border-radius: 10px;
  line-height: 1.55;
}

.contact-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/11;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
.site-footer {
  padding: 2.5rem 1.25rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 720px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-brand {
  color: #fff;
  font-weight: 600;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
  color: var(--gold-soft);
}

/* Reveal animation — GPU 加速 */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ----- 顶栏压在首屏大图上的可读性（首页与子页页首） ----- */
.has-hero-banner .site-header:not(.is-scrolled) .brand-name,
.has-hero-banner .site-header:not(.is-scrolled) .brand-tag {
  color: rgba(255, 255, 255, 0.95);
}

.has-hero-banner .site-header:not(.is-scrolled) .brand-tag {
  color: rgba(255, 255, 255, 0.72);
}

.has-hero-banner .site-header:not(.is-scrolled) .nav-desktop .nav-trigger,
.has-hero-banner .site-header:not(.is-scrolled) .nav-desktop .nav-single {
  color: rgba(255, 255, 255, 0.9);
}

.has-hero-banner .site-header:not(.is-scrolled) .nav-desktop .nav-trigger:hover,
.has-hero-banner .site-header:not(.is-scrolled) .nav-desktop .nav-trigger:focus-visible,
.has-hero-banner .site-header:not(.is-scrolled) .nav-desktop .nav-single:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.has-hero-banner .site-header:not(.is-scrolled) .nav-toggle {
  background: rgba(255, 255, 255, 0.18);
}

.has-hero-banner .site-header:not(.is-scrolled) .nav-toggle span {
  background: #fff;
}

.has-hero-banner .site-header.is-scrolled .brand-name,
.has-hero-banner .site-header.is-scrolled .brand-tag {
  color: inherit;
}

.has-hero-banner .site-header.is-scrolled .brand-tag {
  color: var(--ink-soft);
}

.has-hero-banner .site-header.is-scrolled .nav-desktop .nav-trigger,
.has-hero-banner .site-header.is-scrolled .nav-desktop .nav-single {
  color: var(--ink-muted);
}

.has-hero-banner .site-header.is-scrolled .nav-desktop .nav-trigger:hover,
.has-hero-banner .site-header.is-scrolled .nav-desktop .nav-trigger:focus-visible,
.has-hero-banner .site-header.is-scrolled .nav-desktop .nav-single:hover {
  color: var(--primary);
  background: rgba(139, 30, 30, 0.06);
}

.has-hero-banner .site-header.is-scrolled .nav-toggle {
  background: rgba(255, 255, 255, 0.7);
}

.has-hero-banner .site-header.is-scrolled .nav-toggle span {
  background: var(--ink);
}

.has-hero-banner .site-header:not(.is-scrolled) .header-cta-secondary {
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.has-hero-banner .site-header:not(.is-scrolled) .header-cta-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

/* ----- 子页页首横幅（独立背景图，每页一张） ----- */
.page-hero {
  position: relative;
  min-height: min(52vh, 520px);
  display: flex;
  align-items: flex-end;
  padding: 7rem 1.25rem 3rem;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(28, 25, 23, 0.45) 0%,
    rgba(28, 25, 23, 0.72) 55%,
    rgba(28, 25, 23, 0.88) 100%
  );
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.page-eyebrow {
  display: inline-flex;
  margin: 0 0 0.65rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(212, 168, 75, 0.35);
  border-radius: 999px;
}

.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
}

.page-empty {
  min-height: 35vh;
  padding: 3rem 1.25rem 5rem;
}

/* ----- 渐变页首（无配图页面） ----- */
.page-hero--mesh {
  background: linear-gradient(
    135deg,
    hsl(8, 45%, 22%) 0%,
    hsl(25, 35%, 18%) 40%,
    hsl(38, 40%, 14%) 100%
  );
}

.page-hero--mesh .page-hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(28, 25, 23, 0.2) 0%,
    rgba(28, 25, 23, 0.75) 100%
  );
}

.page-hero--mesh-alt {
  background: linear-gradient(
    135deg,
    hsl(200, 18%, 18%) 0%,
    hsl(8, 40%, 20%) 100%
  );
}

/* ----- 正文排版 ----- */
.content-section {
  padding: 3rem 1.25rem 4.5rem;
}

.content-prose {
  max-width: 46rem;
  margin: 0 auto;
}

.content-prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 2.25rem 0 0.85rem;
  color: var(--ink);
}

.content-prose h2:first-child {
  margin-top: 0;
}

.content-prose h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--ink);
}

.content-prose p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  line-height: 1.85;
  text-align: justify;
  text-justify: inter-ideograph;
}

.content-prose ul,
.content-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  color: var(--ink-muted);
  line-height: 1.75;
}

.content-prose li {
  margin-bottom: 0.4rem;
}

.content-prose .lead {
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.8;
}

.figure-block {
  margin: 1.75rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.figure-block img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.figure-caption {
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

/* ----- 卡片网格：洞察 / 案例 ----- */
.card-grid {
  display: grid;
  gap: 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tile-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.tile-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.tile-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.tile-card-media {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.tile-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.tile-card:hover .tile-card-media img {
  transform: scale(1.04);
}

.tile-card-body {
  padding: 1.15rem 1.2rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tile-card-body h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.tile-card-body p {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.6;
  flex: 1;
}

.tile-card-body .more {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary);
}

/* ----- 报价表单 ----- */
.quote-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .quote-layout {
    grid-template-columns: 1fr 1.05fr;
    align-items: start;
  }
}

.quote-form-wrap {
  background: var(--surface);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
}

.form-row textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(139, 30, 30, 0.35);
  border-color: var(--primary-light);
}

.form-actions {
  margin-top: 1.25rem;
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ----- 页脚链接行 ----- */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 0.75rem;
  font-size: 0.82rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
  color: var(--gold-soft);
}

/* ----- 回顶按钮 ----- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--primary-deep);
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ----- 选择文本高亮 ----- */
::selection {
  background: rgba(139, 30, 30, 0.12);
  color: var(--ink);
}

/* ----- 打印优化 ----- */
@media print {
  .site-header,
  .site-footer,
  .back-to-top,
  .nav-mobile {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .hero, .page-hero {
    break-after: avoid;
  }
}
