/* ====================================================================
   发稿云 Media Cloud · 「纸与墨」编辑部风格
   暖白纸底 · 墨黑 · 朱砂红 · 衬线大标题
   ==================================================================== */

:root {
  --paper: #f6f2ea;
  --paper-2: #efe9dd;
  --ink: #1a1612;
  --ink-2: #2a251f;
  --red: #c8402a;
  --red-strong: #a83220;
  --gold: #a8783f;
  --grey: #6b6357;
  --grey-2: #9a9284;
  --line: #e2d9c9;
  --card: #fffdf8;

  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", "SimHei", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, "Segoe UI", Roboto, sans-serif;

  --shadow: 0 10px 40px rgba(26, 22, 18, .10);
  --shadow-lg: 0 24px 70px rgba(26, 22, 18, .20);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
.container { width: min(1160px, 90vw); margin: 0 auto; }

::selection { background: var(--red); color: #fff; }

/* ====================================================================
   按钮
   ==================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all .2s;
  white-space: nowrap;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-strong); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(200, 64, 42, .3); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--red); }
.btn-line { border: 1px solid rgba(255, 255, 255, .7); color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, .16); }
.btn-line-dark { border: 1px solid var(--ink); color: var(--ink); }
.btn-line-dark:hover { background: var(--ink); color: #fff; }

/* ====================================================================
   顶部信息条 + 导航
   ==================================================================== */
.topbar { background: var(--ink); color: #b8b0a3; font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item b { color: #e8dfd4; font-weight: 600; }
.topbar-ico { width: 14px; height: 14px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.topbar-sep { width: 1px; height: 13px; background: rgba(255, 255, 255, .16); }
.topbar-right a { color: #b8b0a3; transition: color .18s; }
.topbar-right a:hover { color: #fff; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 242, 234, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.nav.scrolled {
  box-shadow: 0 2px 24px rgba(26, 22, 18, .10);
  border-bottom-color: var(--line);
}
.nav-inner { width: min(1160px, 90vw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav-brand { display: flex; align-items: center; gap: 11px; flex: none; }
.nav-logo {
  width: 40px; height: 40px; border-radius: 2px;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 20px; font-weight: 700;
}
.nav-brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand-name { color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.nav-brand-name em { font-style: normal; font-size: 9px; font-weight: 600; color: var(--grey-2); letter-spacing: 2px; }

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 16px;
  font-size: 15px; color: var(--ink-2); font-weight: 500;
  position: relative; transition: color .2s;
}
.nav-item > a:hover, .nav-item > a.active { color: var(--red); }
.nav-item > a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .22s;
}
.nav-item > a:hover::after, .nav-item > a.active::after { transform: scaleX(1); }
.caret { width: 14px; height: 14px; transition: transform .22s; }
.nav-item:hover .caret { transform: rotate(180deg); }

/* 下拉菜单 */
.dropdown {
  position: absolute;
  top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(26, 22, 18, .16);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity .22s, transform .22s, visibility .22s;
  z-index: 200;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown::before {
  content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
.dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px;
  border-radius: 6px;
  transition: background .16s;
}
.dropdown a:hover { background: var(--paper); }
.drop-ico {
  width: 38px; height: 38px; border-radius: 6px; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--serif); font-size: 16px; font-weight: 700;
}
.drop-txt b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.drop-txt em { font-style: normal; font-size: 12px; color: var(--grey-2); }

/* 搜索框 + 动作区 */
.nav-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-search {
  display: flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 8px 0 14px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.nav-search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 64, 42, .1); }
.nav-search-ico { width: 16px; height: 16px; fill: none; stroke: var(--grey-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nav-search input {
  border: none; outline: none; background: none;
  padding: 9px 10px;
  font-size: 13.5px; font-family: var(--sans);
  width: 130px;
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ====================================================================
   Hero 轮播
   ==================================================================== */
.hero { position: relative; height: calc(100vh - 104px); min-height: 600px; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 6s ease;
}
.hero-slide.is-active .hero-img { transform: scale(1); }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 16, 11, .82) 0%, rgba(20, 16, 11, .45) 48%, rgba(20, 16, 11, .15) 100%);
}
.hero-content {
  position: absolute; inset: 0;
  width: min(1160px, 90vw); margin: 0 auto;
  display: flex; flex-direction: column; justify-content: center;
  z-index: 2;
}
.hero-kicker {
  display: inline-block; width: fit-content;
  font-size: 13px; letter-spacing: 4px; color: #f0d9cf;
  padding-bottom: 10px; border-bottom: 1px solid rgba(240, 217, 207, .4);
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--serif);
  font-size: 66px;
  line-height: 1.18;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 26px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .3);
}
.hero-sub { color: #e8dfd4; font-size: 17px; max-width: 480px; line-height: 1.9; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; }

/* 轮播导航 */
.hero-nav {
  position: absolute; left: 0; right: 0; bottom: 42px;
  z-index: 3;
  width: min(1160px, 90vw); margin: 0 auto;
  display: flex; align-items: center; gap: 22px;
}
.hero-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(0, 0, 0, .18);
  color: #fff; font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-dots { display: flex; gap: 12px; flex: 1; }
.hero-dot {
  width: 34px; height: 3px; border-radius: 2px;
  background: rgba(255, 255, 255, .35);
  border: none; transition: background .3s;
}
.hero-dot.is-active { background: #fff; }
.hero-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255, 255, 255, .12); z-index: 3; }
.hero-progress span { display: block; height: 100%; width: 0; background: var(--red); }

/* ====================================================================
   数据带
   ==================================================================== */
.band { border-bottom: 1px solid var(--line); background: var(--paper); }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 40px 16px;
  border-right: 1px solid var(--line);
}
.band-item:last-child { border-right: none; }
.band-num { font-family: var(--serif); font-size: 38px; font-weight: 700; color: var(--ink); }
.band-label { font-size: 13px; color: var(--grey-2); letter-spacing: 1px; }

/* ====================================================================
   Section 通用
   ==================================================================== */
.section { padding: 96px 0; }
.section-head { display: flex; align-items: baseline; gap: 22px; margin-bottom: 52px; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.section-head.center .section-sub { margin-left: 0; }
.section-index {
  font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--red);
  letter-spacing: 2px;
}
.section-eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 2px;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 12.5px;
  letter-spacing: 3px;
}
.section-title { font-family: var(--serif); font-size: 40px; font-weight: 700; letter-spacing: 1px; }
.section-sub { color: var(--grey-2); font-size: 15px; margin-left: auto; }

/* ====================================================================
   媒体资源
   ==================================================================== */
.media { background: var(--paper); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 40px; }
.tab {
  padding: 9px 22px;
  border-radius: 2px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--grey);
  font-size: 14px;
  transition: all .18s;
}
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.media-card {
  background: var(--card);
  padding: 24px 20px;
  transition: background .2s;
  position: relative;
  overflow: hidden;
}
.media-card:hover { background: #fff; }
.media-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red); transform: scaleY(0); transition: transform .25s;
}
.media-card:hover::before { transform: scaleY(1); }
.media-card-top { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.media-logo {
  width: 42px; height: 42px; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; font-weight: 700; color: #fff; flex: none;
}
.media-name { font-weight: 600; font-size: 15px; line-height: 1.4; }
.media-type { font-size: 12px; color: var(--grey-2); }
.media-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.mtag { padding: 2px 8px; border-radius: 2px; font-size: 11.5px; background: var(--paper-2); color: var(--grey); }
.mtag.hl { background: #f4e4dd; color: var(--red); }
.media-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
.media-metric { font-size: 12px; color: var(--grey-2); }
.media-metric b { color: var(--ink); font-weight: 600; }
.media-price { font-family: var(--serif); color: var(--red); font-weight: 700; font-size: 17px; }
.media-price small { font-size: 12px; font-weight: 400; color: var(--grey-2); }
.media-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--grey-2);
  background: var(--card);
}
.section-more { text-align: center; margin-top: 44px; }
.more-link { font-size: 15px; color: var(--ink); font-weight: 600; letter-spacing: 1px; }
.more-link span { display: inline-block; transition: transform .2s; color: var(--red); }
.more-link:hover span { transform: translateX(6px); }

/* ====================================================================
   服务项目（横向行式布局）
   ==================================================================== */
.service { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-list { max-width: 880px; }
.service-row {
  display: flex; gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: none; }
.service-num { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--red); flex: none; width: 40px; }
.service-body h3 { font-family: var(--serif); font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.service-body p { color: var(--grey); font-size: 15px; max-width: 600px; margin-bottom: 14px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tags span { padding: 4px 12px; border: 1px solid var(--line); border-radius: 2px; font-size: 12.5px; color: var(--grey); }

/* ====================================================================
   流程
   ==================================================================== */
.flow { background: var(--paper); }
.flow-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.flow-item { padding: 30px 20px; border-right: 1px solid var(--line); }
.flow-item:last-child { border-right: none; }
.flow-num { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--red); display: block; margin-bottom: 14px; }
.flow-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.flow-item p { font-size: 13px; color: var(--grey-2); }

/* ====================================================================
   客户案例
   ==================================================================== */
.cases { background: var(--card); border-top: 1px solid var(--line); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  border: 1px solid var(--line);
  padding: 30px 26px;
  background: var(--paper);
  transition: transform .2s, box-shadow .2s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-meta { display: flex; gap: 10px; margin-bottom: 18px; }
.case-tag { padding: 3px 10px; background: #f4e4dd; color: var(--red); font-size: 12px; border-radius: 2px; }
.case-date { padding: 3px 10px; color: var(--grey-2); font-size: 12px; }
.case-quote { font-family: var(--serif); font-size: 17px; line-height: 1.8; color: var(--ink-2); margin-bottom: 22px; }
.case-user { display: flex; align-items: center; gap: 12px; }
.case-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; flex: none;
}
.case-user b { display: block; font-size: 14px; }
.case-user em { font-style: normal; font-size: 12.5px; color: var(--grey-2); }

/* ====================================================================
   合作媒体墙
   ==================================================================== */
.partners { background: var(--card); border-top: 1px solid var(--line); }
.partner-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 34px; max-width: 920px; margin: 0 auto; }
.partner-wall span {
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  color: #c9c1ad; letter-spacing: 2px;
  transition: color .25s;
}
.partner-wall span:hover { color: var(--ink); }

/* ====================================================================
   行业解决方案
   ==================================================================== */
.industries { background: var(--paper); }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.industry-ico {
  width: 44px; height: 44px; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--serif); font-size: 18px; font-weight: 700;
  margin-bottom: 16px;
}
.industry-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.industry-card p { color: var(--grey); font-size: 14px; margin-bottom: 14px; }
.industry-link { font-size: 12.5px; color: var(--red); }

/* ====================================================================
   常见问题
   ==================================================================== */
.faq { background: var(--card); border-top: 1px solid var(--line); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px;
  font-family: var(--serif); font-size: 18px; font-weight: 700;
  color: var(--ink); background: none; border: none;
  transition: color .2s;
}
.faq-q:hover { color: var(--red); }
.faq-toggle { font-size: 24px; font-weight: 300; color: var(--grey-2); line-height: 1; transition: transform .25s, color .25s; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-a p { padding: 0 4px 22px; color: var(--grey); font-size: 14.5px; line-height: 1.9; }
.faq-item.open .faq-toggle { transform: rotate(45deg); color: var(--red); }
.faq-item.open .faq-a { max-height: 320px; }

/* ====================================================================
   CTA
   ==================================================================== */
.cta { padding: 96px 0; background: var(--paper); }
.cta-card {
  background: var(--ink);
  color: #fff;
  padding: 72px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::after {
  content: "云";
  position: absolute; right: -30px; top: -60px;
  font-family: var(--serif); font-size: 280px; font-weight: 700;
  color: rgba(255, 255, 255, .04); line-height: 1;
  pointer-events: none;
}
.cta-card h2 { font-family: var(--serif); font-size: 36px; font-weight: 700; letter-spacing: 2px; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-card p { color: #c9c2b6; font-size: 16px; margin-bottom: 34px; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 30px; position: relative; z-index: 1; }
.cta-actions .btn-line { border-color: rgba(255, 255, 255, .5); }
.cta-contact { display: flex; gap: 30px; justify-content: center; color: #8d8578; font-size: 13px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ====================================================================
   页脚
   ==================================================================== */
.footer { background: var(--ink-2); color: #9c9387; padding: 64px 0 0; }
.footer-main { display: grid; grid-template-columns: 1.2fr 2fr; gap: 60px; padding-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand .nav-logo { background: var(--red); }
.footer-brand .nav-brand-name { color: #fff; }
.footer-slogan { color: #7d7468; font-family: var(--serif); font-size: 16px; margin: 18px 0 22px; }
.footer-contact { display: flex; flex-direction: column; gap: 9px; }
.footer-contact a, .footer-contact span { color: #8d8478; font-size: 14px; transition: color .18s; }
.footer-contact a:hover { color: #fff; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h5 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 1px; margin-bottom: 18px; }
.footer-col a { display: block; color: #8d8478; font-size: 14px; padding: 6px 0; transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); color: #6d655a; font-size: 13px; }

/* ====================================================================
   动画
   ==================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ====================================================================
   响应式
   ==================================================================== */
@media (max-width: 1080px) {
  .hero-title { font-size: 52px; }
  .media-grid { grid-template-columns: repeat(3, 1fr); }
  .flow-list { grid-template-columns: repeat(3, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-title { font-size: 44px; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .band-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: 1fr 1fr; }

  .topbar { display: none; }
  .hero { height: calc(100vh - 66px); min-height: 560px; }
  .nav-menu { display: none; }
  .nav-search { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-menu {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper);
    padding: 6px 24px 20px; box-shadow: 0 18px 40px rgba(0,0,0,.14);
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .nav-item > a { width: 100%; justify-content: space-between; padding: 13px 2px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-item > a::after { display: none; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; min-width: 0; padding: 2px 0 10px; display: none; }
  .dropdown::before { display: none; }
  .nav-item.open .dropdown { display: block; }
  .dropdown a { padding: 10px 4px; }
  .nav-item.open .caret { transform: rotate(180deg); }
}
@media (max-width: 640px) {
  .hero { height: calc(100vh - 60px); min-height: 540px; }
  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .hero-nav { bottom: 24px; }
  .media-grid { grid-template-columns: 1fr; }
  .flow-list { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .partner-wall { gap: 12px 20px; }
  .partner-wall span { font-size: 16px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 30px; }
  .section-sub { margin-left: 0; }
  .cta-card { padding: 48px 24px; }
  .cta-card h2 { font-size: 28px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .nav-actions .btn { padding: 10px 16px; font-size: 13px; }
}

/* ====================================================================
   注册弹窗
   ==================================================================== */
.reg-mask {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(26, 22, 18, .55);
  display: flex; align-items: center; justify-content: center;
  animation: regFade .2s ease;
}
.reg-modal {
  background: var(--card);
  width: 420px; max-width: calc(100vw - 40px);
  max-height: calc(100vh - 60px); overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(26, 22, 18, .30);
  animation: regUp .25s ease;
}
.reg-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 1px solid var(--line);
}
.reg-head h3 { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: 1px; }
.reg-close { font-size: 26px; color: var(--grey-2); background: none; border: none; cursor: pointer; line-height: 1; }
.reg-close:hover { color: var(--red); }
.reg-body { padding: 24px; }
.reg-field { margin-bottom: 16px; }
.reg-field label { display: block; font-size: 13px; color: var(--grey); margin-bottom: 6px; font-weight: 500; }
.reg-field .req { color: var(--red); margin-left: 2px; }
.reg-field input {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: 6px;
  background: var(--paper);
  font-size: 14px; font-family: var(--sans); outline: none;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.reg-field input:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(200, 64, 42, .10); }
.reg-field input::placeholder { color: #b5ac9d; }
.reg-submit {
  width: 100%; padding: 12px;
  background: var(--red); color: #fff;
  border: none; border-radius: 4px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  margin-top: 4px; transition: background .18s;
}
.reg-submit:hover { background: var(--red-strong); }
.reg-submit:disabled { opacity: .6; cursor: not-allowed; }
.reg-tip { margin-top: 14px; text-align: center; color: var(--grey-2); font-size: 12px; }
@keyframes regFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes regUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ====================================================================
   右侧浮动联系方式侧栏
   ==================================================================== */
.side-tools {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.side-item {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(26, 22, 18, .10);
  transition: background .2s, color .2s, border-color .2s;
}
.side-item:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.side-item svg { width: 20px; height: 20px; }
.side-tip {
  position: absolute;
  right: 56px; top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--ink);
  color: #fff;
  padding: 7px 13px;
  border-radius: 4px;
  font-size: 12.5px;
  white-space: nowrap;
  opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  pointer-events: none;
}
.side-tip::after {
  content: "";
  position: absolute;
  right: -4px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px; height: 8px;
  background: var(--ink);
}
.side-item:hover .side-tip {
  opacity: 1; visibility: visible;
  transform: translateY(-50%) translateX(0);
}
.side-top {
  margin-top: 6px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s, background .2s, color .2s;
}
.side-top.show { opacity: 1; visibility: visible; }

@media (max-width: 640px) {
  .side-tools { right: 10px; }
  .side-item { width: 40px; height: 40px; }
  .side-item svg { width: 18px; height: 18px; }
}

/* 注册验证码 */
.reg-code-row { display: flex; gap: 8px; }
.reg-code-row input { flex: 1; }
.reg-code-btn {
  flex: none; padding: 0 14px; border: 1px solid var(--line);
  background: var(--bg); color: var(--red); font-size: 13px;
  border-radius: 4px; cursor: pointer; white-space: nowrap;
  transition: all .15s;
}
.reg-code-btn:hover { border-color: var(--red); }
.reg-code-btn:disabled { color: var(--grey); cursor: not-allowed; }

/* ====================================================================
   首页升级：滚动淡入 · 导航强化 · 媒体墙卡片 · 微交互
   ==================================================================== */

/* 滚动淡入 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* 导航滚动后变实心 */
.nav { transition: background .3s, box-shadow .3s; }
.nav.is-scrolled {
  background: rgba(255, 253, 248, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(26, 22, 18, .08);
}

/* 合作媒体墙：首字 logo 卡片 */
.partner-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.partner-logo {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px 9px 9px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 14px; font-weight: 500; color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.partner-logo i {
  font-style: normal;
  width: 30px; height: 30px; border-radius: 3px;
  color: #fff; font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif);
}
.partner-logo:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(26,22,18,.10); border-color: #d8cdbb; }

/* 卡片 hover 上浮微交互 */
.media-card, .industry-card, .case-card, .service-row {
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.media-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(26,22,18,.10); }
.industry-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(26,22,18,.12); border-color: var(--red); }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(26,22,18,.10); }
.service-row:hover { transform: translateX(6px); }

/* 数据带数字动画辅助 */
.band-num[data-count] { font-variant-numeric: tabular-nums; }

/* CTA 卡片质感 */
.cta-card {
  position: relative;
  overflow: hidden;
}
.cta-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 80% 0%, rgba(200,64,42,.14), transparent 55%);
  pointer-events: none;
}
