/* ==========================================================
   有礼有节 YLYJ TRADING · 企业福利数字化服务商
   科技蓝 × 活力橙 · 纯静态单页
   ========================================================== */

:root {
  --blue-950: #081627;
  --blue-900: #0B1F3A;
  --blue-800: #123B6D;
  --blue-700: #1B4C8C;
  --blue-100: #DCE9FA;
  --orange: #FF6A00;
  --orange-soft: #FF8A3D;
  --orange-tint: #FFF1E6;
  --bg: #F5F7FB;
  --card: #FFFFFF;
  --ink: #16233A;
  --muted: #5A6B85;
  --line: #E3E9F2;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(11, 31, 58, .06);
  --shadow-lift: 0 16px 40px rgba(11, 31, 58, .12);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul, ol { list-style: none; }

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

.icon {
  width: 22px;
  height: 22px;
  flex: none;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--orange);
  color: #fff;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top .2s ease;
}

.skip-link:focus { top: 0; }

/* ---------- 滚动显现（渐进增强：无 JS 时内容始终可见） ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .float-a, .float-b, .float-c { animation: none !important; }
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, background .3s ease, border-color .3s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 22, 39, .97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, .06);
  box-shadow: 0 8px 30px rgba(4, 12, 24, .35);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark { width: 40px; height: 40px; }

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

.brand-text strong {
  color: #fff;
  font-size: 1.12rem;
  letter-spacing: .12em;
}

.brand-text small {
  color: var(--orange-soft);
  font-size: .62rem;
  letter-spacing: .3em;
  font-weight: 600;
}

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

.site-nav a {
  position: relative;
  padding: 8px 14px;
  color: rgba(255, 255, 255, .72);
  font-size: .95rem;
  border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}

.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }

.site-nav a.is-active { color: var(--orange-soft); }

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--blue-900) 0%, var(--blue-800) 62%, #16407A 100%);
  color: #fff;
  margin-top: calc(-1 * var(--header-h) - 1px);
  padding: calc(clamp(64px, 9vw, 110px) + var(--header-h) + 1px) 0 clamp(72px, 8vw, 104px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 82% 12%, rgba(255, 106, 0, .22), transparent 42%),
    radial-gradient(circle at 8% 88%, rgba(27, 76, 140, .55), transparent 46%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0);
  background-size: auto, auto, 26px 26px;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.eyebrow {
  color: var(--orange-soft);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .88);
  font-size: .85rem;
  letter-spacing: .08em;
  margin-bottom: 22px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, .22);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 22px;
}

.hero h1 .accent {
  background: linear-gradient(92deg, var(--orange-soft), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 34em;
  color: rgba(255, 255, 255, .74);
  font-size: clamp(.98rem, 1.4vw, 1.08rem);
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 46px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn .icon { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(92deg, var(--orange-soft), var(--orange));
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 106, 0, .32);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255, 106, 0, .42); }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .3);
  color: rgba(255, 255, 255, .9);
}

.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: clamp(20px, 3vw, 40px);
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 28px;
}

.stat-num {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stat-num i {
  font-style: normal;
  color: var(--orange-soft);
  font-size: .62em;
  margin-left: 2px;
}

.stat dd {
  color: rgba(255, 255, 255, .6);
  font-size: .84rem;
  letter-spacing: .06em;
  margin-top: 2px;
}

.hero-art { position: relative; }

.hero-svg { width: 100%; height: auto; }

.float-a { animation: floaty 6s ease-in-out infinite; }
.float-b { animation: floaty 7s ease-in-out infinite reverse; }
.float-c { animation: floaty 8s ease-in-out infinite; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 通用区块 ---------- */
.section { padding: clamp(72px, 9vw, 108px) 0; }

.section-tint { background: #EDF2F9; }

.section-dark {
  background: linear-gradient(160deg, var(--blue-950), var(--blue-900) 55%, var(--blue-800));
  color: #fff;
}

.section-head { max-width: 620px; margin-bottom: clamp(36px, 5vw, 56px); }

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-head .lead { color: var(--muted); font-size: 1rem; }

.section-dark .section-head .lead { color: rgba(255, 255, 255, .66); }

/* ---------- 关于 ---------- */
.about {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: clamp(64px, 8vw, 96px) 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.about-copy p { color: var(--muted); margin-bottom: 14px; }

.about-fields {
  background: linear-gradient(160deg, var(--blue-900), var(--blue-800));
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 40px);
  box-shadow: var(--shadow-lift);
}

.about-fields h3 {
  font-size: 1.1rem;
  letter-spacing: .06em;
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.about-fields h3 span {
  color: var(--orange-soft);
  font-size: .66rem;
  letter-spacing: .28em;
  font-weight: 700;
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }

.chips li {
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  font-size: .9rem;
  letter-spacing: .05em;
}

.about-note { color: rgba(255, 255, 255, .62); font-size: .88rem; }

/* ---------- 卡片网格 ---------- */
.card-grid { display: grid; gap: 22px; }

.cols-3 { grid-template-columns: repeat(3, 1fr); }

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

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: #D5DEEB;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--orange-tint);
  color: var(--orange);
  margin-bottom: 20px;
}

.card-icon .icon { width: 26px; height: 26px; }

.card h3 {
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: .03em;
  margin-bottom: 10px;
}

.card p { color: var(--muted); font-size: .93rem; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.tags li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .04em;
}

/* ---------- 生态资源 ---------- */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.eco-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.eco-tile:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 138, 61, .45);
}

.eco-tile .icon { width: 30px; height: 30px; color: var(--orange-soft); }

.eco-tile h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: .03em; }

.eco-tile p { color: rgba(255, 255, 255, .64); font-size: .86rem; flex: 1; }

.eco-meta {
  color: var(--orange-soft);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  border-top: 1px dashed rgba(255, 255, 255, .16);
  padding-top: 12px;
}

/* ---------- 供应链承诺条 ---------- */
.supply-grid { margin-bottom: 26px; }

.promise-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 5vw, 72px);
  padding: 22px 32px;
  border-radius: var(--radius);
  background: linear-gradient(92deg, var(--orange-soft), var(--orange));
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: .1em;
  box-shadow: 0 14px 34px rgba(255, 106, 0, .28);
}

.promise-bar span { display: inline-flex; align-items: center; gap: 10px; }

.promise-bar .icon { width: 24px; height: 24px; }

/* ---------- 核心优势 ---------- */
.adv-card { padding: 34px 32px; overflow: hidden; }

.adv-index {
  position: absolute;
  top: 14px;
  right: 22px;
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 106, 0, .1);
  letter-spacing: -.02em;
  user-select: none;
}

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

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: .92rem;
}

.check-list .icon {
  width: 17px;
  height: 17px;
  margin-top: 5px;
  color: var(--orange);
}

/* ---------- 服务流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 24px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step::before {
  content: "";
  position: absolute;
  top: 52px;
  right: -26px;
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-soft), rgba(255, 106, 0, .15));
}

.step:last-child::before { display: none; }

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--orange-soft), var(--orange));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .02em;
  box-shadow: 0 8px 20px rgba(255, 106, 0, .3);
  margin-bottom: 18px;
}

.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; letter-spacing: .04em; }

.step p { color: var(--muted); font-size: .9rem; }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--blue-950);
  color: rgba(255, 255, 255, .72);
  padding-top: clamp(56px, 7vw, 84px);
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: 48px;
}

.footer-brand p { margin-top: 18px; max-width: 26em; font-size: .9rem; color: rgba(255, 255, 255, .55); }

.footer-nav h3 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .12em;
  margin-bottom: 18px;
}

.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

.footer-nav a { font-size: .9rem; color: rgba(255, 255, 255, .6); transition: color .2s ease; }

.footer-nav a:hover { color: var(--orange-soft); }

.footer-watermark {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  white-space: nowrap;
  color: rgba(255, 255, 255, .03);
  -webkit-text-stroke: 1px rgba(255, 255, 255, .06);
  pointer-events: none;
  user-select: none;
}

.footer-bar {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
}

.footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .42);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .eco-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 480px; margin-inline: auto; }
  .hero-lead { max-width: 40em; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .menu-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 24px 20px;
    background: rgba(8, 22, 39, .98);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 24px 40px rgba(4, 12, 24, .45);
  }

  .site-nav.open { display: flex; }

  .site-nav a { padding: 13px 12px; font-size: 1rem; }

  .site-nav a.is-active::after { display: none; }

  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 32px; }
  .cols-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .promise-bar { flex-direction: column; align-items: center; gap: 12px; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 36px); }
  .cols-3 { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .adv-index { font-size: 3.2rem; }
}

/* ---------- 服务场景插画 ---------- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.scene-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.scene-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.scene-art {
  display: block;
  width: 100%;
  height: auto;
}

.scene-body { padding: 22px 24px 26px; }

.scene-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .03em;
  margin-bottom: 8px;
}

.scene-body p { color: var(--muted); font-size: .9rem; }

@media (max-width: 860px) {
  .scene-grid { grid-template-columns: 1fr; }
}