/* ===========================================================
   厦门觉钧文化传播有限公司 · 静态官网样式
   设计基调：浅色、现代、干净；抹茶绿为主色，陶土色为点缀。
   =========================================================== */

:root {
  --cream:        #FBFAF7;
  --cream-2:      #F3F1EA;
  --white:        #FFFFFF;
  --ink:          #20291F;
  --ink-2:        #4A564C;
  --muted:        #7E8A80;
  --matcha:       #6F9162;
  --matcha-deep:  #4C6B41;
  --matcha-soft:  #E8EFE2;
  --clay:         #C2855F;
  --line:         #E6E2D8;
  --shadow-sm:    0 4px 14px rgba(32, 41, 31, .06);
  --shadow:       0 16px 40px rgba(32, 41, 31, .10);
  --radius:       18px;
  --radius-sm:    12px;
  --maxw:         1180px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans:  "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用排版 ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--matcha-deep);
  font-weight: 600;
  margin-bottom: 14px;
}
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.25;
  color: var(--ink);
}
.section-head p {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 17px;
}
.lead { color: var(--ink-2); font-size: 17px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: var(--matcha-deep);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--matcha); color: var(--matcha-deep); }

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251, 250, 247, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand .logo-mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-cn { font-family: var(--serif); font-size: 18px; letter-spacing: .04em; }
.brand .brand-en { font-size: 10px; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--ink-2); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--matcha-deep); }
.nav-cta { margin-left: 6px; }
.lang-switch {
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: var(--matcha-deep); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 14px;
}
.lang-switch:hover { border-color: var(--matcha); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(to top left, rgba(251,250,247,.98) 0%, rgba(251,250,247,.98) 15%, rgba(251,250,247,0) 44%),
    linear-gradient(90deg, rgba(251,250,247,.96) 0%, rgba(251,250,247,.78) 38%, rgba(251,250,247,.30) 70%, rgba(251,250,247,.10) 100%),
    url("../images/hero.png");
  background-size: cover;
  background-position: center right;
  padding-top: 72px;
}
.hero-content { max-width: 640px; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: .01em;
}
.hero h1 .accent { color: var(--matcha-deep); }
.hero p { margin: 22px 0 34px; font-size: 18px; color: var(--ink-2); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 26px; margin-top: 46px; flex-wrap: wrap; }
.hero-badges .b { display: flex; flex-direction: column; }
.hero-badges .b b { font-family: var(--serif); font-size: 24px; color: var(--ink); }
.hero-badges .b span { font-size: 13px; color: var(--muted); }

/* ---------- 关于 / 价值卡片 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-text h2 { font-family: var(--serif); font-size: clamp(26px,3.6vw,38px); line-height: 1.3; }
.about-text p { margin-top: 18px; color: var(--ink-2); font-size: 16.5px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.value-card .vt { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--matcha-deep); margin-bottom: 6px; }
.value-card .vd { font-size: 14.5px; color: var(--ink-2); }

/* ---------- 品类 ---------- */
.categories { background: var(--cream-2); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .cat-media img { transform: scale(1.05); }
.cat-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,.92);
  color: var(--matcha-deep);
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  padding: 6px 12px; border-radius: 999px;
}
.cat-body { padding: 26px 26px 30px; }
.cat-body h3 { font-family: var(--serif); font-size: 23px; }
.cat-body .en { font-size: 12px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-bottom: 10px; }
.cat-body p { color: var(--ink-2); font-size: 15.5px; margin: 12px 0 18px; }
.cat-points { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-points li {
  font-size: 13px; color: var(--ink-2);
  background: var(--matcha-soft); border-radius: 999px; padding: 5px 12px;
}
.cat-market { margin-top: 18px; font-size: 13px; color: var(--muted); }
.cat-market b { color: var(--ink); font-weight: 600; }

/* ---------- 跨境优势 ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.adv-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 30px 26px;
  transition: border-color .25s, transform .25s;
}
.adv-card:hover { border-color: var(--matcha); transform: translateY(-4px); }
.adv-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--matcha-soft); color: var(--matcha-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.adv-card h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 8px; }
.adv-card p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- 全球布局 ---------- */
.global { background: var(--ink); color: #fff; }
.global .section-head h2 { color: #fff; }
.global .section-head p { color: rgba(255,255,255,.72); }
.region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.region {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 24px;
}
.region h4 { font-family: var(--serif); font-size: 18px; margin-bottom: 10px; color: #fff; }
.region p { font-size: 14px; color: rgba(255,255,255,.66); }

/* ---------- 数据看板 ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  text-align: center;
  padding: 30px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}
.stat .num { font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--matcha-deep); line-height: 1; }
.stat .lab { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.stats-note { margin-top: 22px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- 合作流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { position: relative; padding: 26px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.step .idx { font-family: var(--serif); font-size: 30px; color: var(--matcha-soft); font-weight: 700; }
.step h4 { font-size: 16px; margin: 6px 0 6px; }
.step p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; }
.contact-info li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.contact-info .ci { width: 38px; height: 38px; border-radius: 10px; background: var(--matcha-soft); color: var(--matcha-deep); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.contact-info .ck { font-size: 13px; color: var(--muted); }
.contact-info .cv { font-size: 16px; font-weight: 600; color: var(--ink); }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 10px; background: var(--cream);
  color: var(--ink); transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--matcha); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer .f-brand .fb-cn { font-family: var(--serif); font-size: 20px; color: #fff; }
.footer .f-brand p { margin-top: 12px; font-size: 14px; max-width: 320px; }
.footer h5 { color: #fff; font-size: 14px; letter-spacing: .04em; margin-bottom: 14px; }
.footer ul li { font-size: 14px; margin-bottom: 9px; }
.footer ul li a:hover { color: #fff; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,.5);
}

/* ---------- 滚动揭示动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .region-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 0; }
  .nav-cta { margin: 8px 0 0; width: 100%; text-align: center; }
  .nav-toggle { display: block; }
  .hero { background-position: center; }
  .cat-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .region-grid, .stats-grid, .flow { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
