:root {
  --bg: #f3efe5;
  --surface: rgba(255, 251, 244, 0.8);
  --surface-strong: #fffaf2;
  --card: rgba(255, 248, 239, 0.92);
  --line: rgba(89, 57, 31, 0.18);
  --text: #2b1c11;
  --muted: #6c5645;
  --accent: #7d3d1b;
  --accent-strong: #5c2408;
  --shadow: 0 24px 70px rgba(53, 28, 13, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-width: 1180px;
  --font-display: "Georgia", "Times New Roman", "Songti SC", "STSong", serif;
  --font-body: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(125, 61, 27, 0.16), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(181, 119, 72, 0.18), transparent 20%),
    linear-gradient(180deg, #f6f0e5 0%, #efe7d9 55%, #ede3d4 100%);
  line-height: 1.65;
  min-height: 100dvh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 72%);
  opacity: 0.38;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent-strong);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid rgba(125, 61, 27, 0.45);
  outline-offset: 3px;
}

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

.topbar {
  padding: 20px 0 8px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(70, 36, 17, 0.08);
}

.topbar-inner > * {
  min-width: 0;
}

.brand {
  flex: 1 1 420px;
}

.site-nav {
  flex: 0 1 auto;
  justify-content: center;
}

.top-actions {
  flex: 0 0 auto;
  align-items: center;
  margin-left: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(92, 36, 8, 0.18);
  background: linear-gradient(135deg, rgba(125, 61, 27, 0.92), rgba(180, 122, 79, 0.9));
  color: #fff9f2;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  flex: 0 0 auto;
}

.brand-copy {
  min-width: 0;
}

.brand-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-copy strong {
  display: block;
  font-size: clamp(1.4rem, 1.95vw, 1.95rem);
  font-weight: 700;
  line-height: 1.12;
}

.brand-badge,
.body-copy,
.hero-lead,
.section-head p,
.card p,
.contact-list a,
.contact-list p,
.company-grid span,
.footer-note,
.article-prose p,
.article-prose li,
.page-lead,
.support-copy,
.breadcrumbs,
.tagline,
.muted {
  color: var(--muted);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(92, 36, 8, 0.14);
  background: rgba(125, 61, 27, 0.08);
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.site-nav,
.top-actions,
.hero-actions,
.section-tags,
.card-actions,
.contact-actions,
.footer-links,
.tag-row,
.meta-row,
.detail-list,
.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-nav {
  justify-content: center;
}

.nav-link,
.contact-chip,
.button,
.contact-link,
.section-tag,
.article-tag {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.button-core {
  position: relative;
  padding-inline: 22px;
}

.button-core::after {
  content: "核心入口";
  position: absolute;
  top: -11px;
  right: 14px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(92, 36, 8, 0.16);
  background: #fff6df;
  color: var(--accent-strong);
  font-size: 0.72rem;
  line-height: 1.4;
  box-shadow: 0 10px 20px rgba(92, 36, 8, 0.08);
}

.nav-link {
  color: var(--muted);
  border: 1px solid rgba(92, 36, 8, 0.08);
  background: rgba(248, 239, 227, 0.68);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--accent-strong);
  background: rgba(241, 228, 212, 0.92);
  border-color: rgba(92, 36, 8, 0.14);
}

.contact-chip {
  border: 1px solid rgba(125, 61, 27, 0.14);
  background: rgba(255, 248, 239, 0.8);
  color: var(--muted);
  font-size: 0.95rem;
}

.button,
.contact-link {
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}

.button-primary {
  background: var(--accent-strong);
  color: #fff9f2;
  box-shadow: 0 14px 32px rgba(92, 36, 8, 0.2);
}

.button-secondary,
.contact-link,
.button-ghost,
.section-tag,
.article-tag {
  border-color: rgba(92, 36, 8, 0.16);
  background: rgba(255, 249, 241, 0.84);
  color: var(--accent-strong);
}

.button:hover,
.contact-link:hover,
.contact-chip:hover,
.nav-link:hover {
  transform: translateY(-1px);
}

main {
  display: block;
  padding-bottom: 56px;
}

section {
  padding: 18px 0 30px;
}

.panel,
.card,
.article-shell,
.contact-panel,
.cta-band,
.hero-panel,
.page-hero,
.visual-panel {
  border: 1px solid rgba(89, 57, 31, 0.1);
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-panel,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 28px;
  padding: 34px;
  overflow: hidden;
}

.hero-panel-home {
  align-items: stretch;
}

.hero-copy,
.page-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(125, 61, 27, 0.1);
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 600;
}

.section-kicker-wide {
  display: flex;
  width: 100%;
  padding-left: 18px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.15;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2rem, 4.1vw, 3.55rem);
  max-width: 10em;
}

.hero-eyebrow-large {
  width: fit-content;
  max-width: max-content;
  justify-content: flex-start;
  padding: 10px 18px;
  font-size: clamp(1.22rem, 2.05vw, 1.88rem);
  line-height: 1.08;
  white-space: nowrap;
}

.hero-copy {
  display: grid;
  align-content: start;
}

.hero-panel-home h1 {
  max-width: 13em;
  font-size: clamp(2.35rem, 4.45vw, 4.2rem);
  letter-spacing: -0.02em;
}

.hero-stat {
  padding: 20px 22px;
  background: rgba(255, 249, 241, 0.92);
}

.hero-stat p {
  margin: 0;
}

.hero-side-title {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.18;
}

.hero-side-list-compact {
  padding-left: 1.15rem;
}

.service-card-emphasis {
  background: linear-gradient(180deg, rgba(255, 249, 241, 0.96), rgba(248, 237, 224, 0.92));
}

.service-card-emphasis .card-index {
  background: rgba(125, 61, 27, 0.14);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.3rem;
}

.hero-lead,
.page-lead {
  margin: 18px 0 0;
  font-size: 1rem;
  max-width: 37rem;
}

.hero-side-list {
  gap: 10px;
  color: var(--muted);
}

.hero-actions,
.contact-actions,
.card-actions,
.meta-row {
  margin-top: 24px;
}

.hero-meta,
.grid-2,
.grid-3,
.grid-4,
.contact-grid,
.footer-grid,
.company-grid {
  display: grid;
  gap: 18px;
}

.hero-meta,
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 50rem;
  margin-bottom: 24px;
}

.section-head-wide {
  max-width: none;
}

.section-title-single-line {
  white-space: nowrap;
}


.section-head p,
.article-prose p,
.article-prose li {
  margin: 0;
}

.hero-meta,
.section-tags {
  margin-top: 24px;
}

.card,
.visual-panel,
.contact-panel,
.article-shell,
.cta-band {
  padding: 24px;
}

.card-index {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(125, 61, 27, 0.1);
  color: var(--accent-strong);
  font-weight: 700;
  margin-bottom: 18px;
}

.card strong,
.company-grid strong,
.contact-list strong,
.hero-meta strong,
.visual-panel strong,
.article-shell strong {
  display: block;
  margin-bottom: 6px;
  line-height: 1.35;
}

.card-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 600;
  color: var(--accent-strong);
}

.visual-panel {
  background: linear-gradient(180deg, rgba(255, 249, 241, 0.92), rgba(246, 236, 223, 0.92));
}

.visual-main {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.visual-main img,
.page-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.visual-subgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.visual-subgrid img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 245, 234, 0.92), rgba(247, 235, 222, 0.96));
}

.contact-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 220px;
}

.contact-list,
.company-grid {
  margin-top: 2px;
}

.contact-list div {
  padding: 18px 0;
  border-top: 1px solid rgba(89, 57, 31, 0.1);
}

.company-grid {
  align-content: start;
}

.company-item {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(89, 57, 31, 0.1);
  background: rgba(255, 250, 243, 0.84);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.94rem;
}

.article-shell {
  padding: 30px;
}

.article-prose section + section {
  margin-top: 22px;
}

.article-prose ul,
.article-prose ol,
.detail-list {
  margin: 14px 0 0;
  padding-left: 1.2rem;
}

.footer {
  padding: 14px 0 36px;
}

.footer-inner {
  padding: 20px 24px;
  border-top: 1px solid rgba(89, 57, 31, 0.12);
  display: grid;
  gap: 18px;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.footer-links {
  justify-content: flex-start;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.7s ease-out forwards;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1140px) {
  .topbar-inner {
    border-radius: 32px;
    flex-wrap: wrap;
  }

  .brand {
    flex-basis: 100%;
  }

  .site-nav {
    order: 2;
    width: 100%;
    justify-content: flex-start;
  }

  .top-actions {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .hero-panel,
  .page-hero,
  .cta-band,
  .footer-grid,
  .contact-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .contact-top {
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--content-width));
  }

  .topbar {
    padding-top: 12px;
  }

  .topbar-inner,
  .hero-panel,
  .page-hero,
  .card,
  .visual-panel,
  .contact-panel,
  .article-shell,
  .cta-band {
    border-radius: 24px;
  }

  .topbar-inner,
  .hero-panel,
  .page-hero,
  .card,
  .visual-panel,
  .contact-panel,
  .article-shell,
  .cta-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .button,
  .contact-chip,
  .contact-link,
  .nav-link {
    flex: 1 1 100%;
  }

  .button-core::after {
    right: 12px;
  }

  .top-actions,
  .hero-actions,
  .contact-actions,
  .card-actions {
    width: 100%;
  }

  .visual-subgrid,
  .footer-grid,
  .hero-meta,
  .grid-2,
  .grid-3,
  .grid-4,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel-home h1,
  h1 {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }

  .hero-stat {
    padding: 18px;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .hero-eyebrow-large,
  .section-title-single-line {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
