/* ==========================================================================
   沈阳凡德供应链有限公司 · 企业官网样式
   ========================================================================== */

:root {
  --ink: #0b1f1a;
  --deep: #10322a;
  --deep-2: #17463a;
  --green: #1c6a53;
  --green-soft: #e7efeb;
  --gold: #ab8547;
  --gold-soft: #d9c39a;
  --paper: #f7f5f0;
  --paper-2: #efebe2;
  --line: rgba(11, 31, 26, 0.12);
  --line-dark: rgba(255, 255, 255, 0.16);
  --text: #26332e;
  --text-muted: #5d6b65;
  --white: #ffffff;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;

  --shell: 1200px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.01em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 32px;
}

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

/* ---------- 通用标题 ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section-head {
  max-width: 760px;
}

.section-head h2 {
  margin-top: 18px;
  font-size: clamp(26px, 3vw, 40px);
}

.section-head p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 16px;
}

.section-head--center {
  margin: 0 auto;
  text-align: center;
}

.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

/* ---------- 顶部导航 ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-header.is-solid {
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  transition: color 0.4s var(--ease);
}

.site-header.is-solid .brand {
  color: var(--ink);
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.02em;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.62;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  position: relative;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.86);
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}

.site-header.is-solid .nav a {
  color: var(--text);
}

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

.nav a:hover::after {
  width: 100%;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  font-size: 14px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.header-cta:hover {
  background: var(--white);
  color: var(--deep);
  border-color: var(--white);
}

.site-header.is-solid .header-cta {
  border-color: var(--deep);
  color: var(--deep);
}

.site-header.is-solid .header-cta:hover {
  background: var(--deep);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.site-header.is-solid .nav-toggle {
  border-color: var(--line);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(0.85) contrast(1.02);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, rgba(8, 25, 21, 0.96) 4%, rgba(8, 25, 21, 0.78) 48%, rgba(8, 25, 21, 0.35) 100%),
    radial-gradient(120% 80% at 85% 10%, rgba(28, 106, 83, 0.35), transparent 60%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero .eyebrow {
  color: var(--gold-soft);
}

.hero h1 {
  margin-top: 24px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.24;
  letter-spacing: 0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-soft);
}

.hero-lead {
  margin-top: 26px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.9;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 28px;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
}

.btn--primary {
  background: var(--gold);
  color: var(--white);
}

.btn--primary:hover {
  background: #96733c;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn__arrow {
  font-size: 16px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.hero-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 72px;
  background: rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-fact {
  padding: 24px 22px 4px 0;
  background: transparent;
}

.hero-fact strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
}

.hero-fact span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.04em;
}

/* ---------- 通用区块 ---------- */

.section {
  padding: 110px 0;
}

.section--paper {
  background: var(--paper);
}

.section--white {
  background: var(--white);
}

.section--deep {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.78);
}

.section--deep h2,
.section--deep h3,
.section--deep strong {
  color: var(--white);
}

.section--deep .section-head p {
  color: rgba(255, 255, 255, 0.66);
}

/* ---------- 业务矩阵 ---------- */

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
  background: var(--line);
  border: 1px solid var(--line);
}

.business-card {
  position: relative;
  background: var(--paper);
  padding: 44px 42px 40px;
  transition: background 0.4s var(--ease);
}

.business-card:hover {
  background: var(--white);
}

.business-card__no {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.business-card h3 {
  margin-top: 16px;
  font-size: 23px;
}

.business-card__desc {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 15px;
}

.business-card ul {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.business-card li {
  font-size: 13px;
  color: var(--deep-2);
  border: 1px solid var(--line);
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.5);
}

.business-card::after {
  content: "";
  position: absolute;
  left: 42px;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.45s var(--ease);
}

.business-card:hover::after {
  width: 64px;
}

/* ---------- 能力模块 ---------- */

.capability {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.capability + .capability {
  margin-top: 96px;
}

.capability--reverse .capability__media {
  order: 2;
}

.capability__media {
  position: relative;
}

.capability__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.capability__media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-soft);
  z-index: 0;
}

.capability__body h3 {
  margin-top: 18px;
  font-size: clamp(24px, 2.6vw, 32px);
}

.capability__body > p {
  margin-top: 18px;
  color: var(--text-muted);
}

.check-list {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--text);
}

.check-list li strong {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-left: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(-45deg);
}

.section--deep .check-list li {
  color: rgba(255, 255, 255, 0.78);
}

.section--deep .check-list li strong {
  color: var(--white);
}

/* ---------- 服务流程 ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 60px;
  border-top: 1px solid var(--line-dark);
}

.process-step {
  position: relative;
  padding: 34px 30px 0 0;
}

.process-step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--gold-soft);
  border-radius: 50%;
}

.process-step__no {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
}

.process-step h4 {
  margin-top: 12px;
  font-size: 19px;
  color: var(--white);
}

.process-step p {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- 关于我们 ---------- */

.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: start;
}

.about__lead {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.6;
  color: var(--ink);
}

.about__body p {
  margin-top: 20px;
  color: var(--text-muted);
}

.value-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.value-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--ink);
}

.value-item span {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- 联系 ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.contact-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.contact-item dt {
  color: var(--text-muted);
  font-size: 13.5px;
  letter-spacing: 0.06em;
}

.contact-item dd {
  margin: 0;
  color: var(--ink);
}

.contact-item dd a:hover {
  color: var(--green);
}

.contact-note {
  margin-top: 28px;
  padding: 24px 26px;
  background: var(--green-soft);
  border-left: 2px solid var(--green);
  font-size: 14px;
  color: var(--deep);
}

.contact-panel {
  padding: 44px 42px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.contact-panel h3 {
  color: var(--white);
  font-size: 24px;
}

.contact-panel p {
  margin-top: 16px;
  font-size: 14.5px;
}

.contact-panel ul {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.contact-panel li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
}

.contact-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 1px;
  background: var(--gold-soft);
}

.contact-panel .contact-panel__foot {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 页脚 ---------- */

.site-footer {
  background: #081712;
  color: rgba(255, 255, 255, 0.56);
  padding: 64px 0 30px;
  font-size: 13.5px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
  color: var(--white);
}

.footer-brand p {
  margin-top: 20px;
  max-width: 380px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
}

.footer-col ul {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.icp-link {
  color: inherit;
  transition: color 0.3s var(--ease);
}

.icp-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

.icp-link.is-pending {
  opacity: 0.7;
}

[data-icp][hidden] {
  display: none !important;
}

/* ---------- 动效 ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 1px;
  }

  .capability,
  .about,
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .capability--reverse .capability__media {
    order: 0;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .shell {
    padding: 0 22px;
  }

  .section {
    padding: 76px 0;
  }

  .header-inner {
    height: 68px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 22px 24px;
    background: rgba(247, 245, 240, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .header-cta {
    display: none;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 64px;
  }

  .hero-lead {
    font-size: 15.5px;
  }

  .hero-facts {
    margin-top: 48px;
  }

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

  .business-card {
    padding: 34px 26px 32px;
  }

  .business-card::after {
    left: 26px;
  }

  .capability__media::before {
    inset: 12px -12px -12px 12px;
  }

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

  .value-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-panel {
    padding: 34px 26px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
