/* ===========================================================
   深圳他言科技 · 展会服务平台（参照示例图版式）
   所有展会名称与图形均为原创展示设计，不含真实商标
   =========================================================== */

:root {
  --green: #8cc63f;
  --green-deep: #6ea42a;
  --green-dark: #5b8f22;
  --ink: #2a2f2b;
  --muted: #7a8379;
  --line: #e8eee2;
  --cream: #f6f8f3;
  --dark: #2e3129;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

/* ---------- 顶部 ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; }
.topbar {
  background: #f2f5ee;
  border-bottom: 1px solid #e4ebdb;
  font-size: 12px;
  color: #7c8776;
}
.topbar-inner { display: flex; justify-content: space-between; height: 30px; align-items: center; }
.nav-wrap {
  height: 66px;
  display: flex;
  align-items: center;
  background: rgba(46, 49, 41, .92);
  border-radius: 0 0 6px 6px;
  backdrop-filter: blur(6px);
  transition: background .25s ease;
}
.site-header.scrolled .nav-wrap { background: rgba(46, 49, 41, .98); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 38px; height: 38px; display: block; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { color: #fff; font-size: 19px; letter-spacing: .08em; }
.brand-text small { color: rgba(255,255,255,.55); font-size: 10px; margin-top: 4px; letter-spacing: .05em; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 4px;
  transition: .2s ease;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active { color: #fff; background: var(--green); }
.nav-toggle {
  display: none; margin-left: auto; width: 40px; height: 38px;
  border: 1px solid rgba(255,255,255,.3); background: transparent; border-radius: 5px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 通用 ---------- */
.section { padding: 66px 0; position: relative; overflow: hidden; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 {
  margin: 0; font-size: 27px; letter-spacing: .14em; font-weight: 600;
  display: inline-block; padding-bottom: 12px; position: relative;
}
.section-title h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 44px; height: 3px; background: var(--green);
}
.section-title span {
  display: block; font-size: 11px; letter-spacing: .3em; color: #b4bdb0; margin-top: 10px;
}
.section-title-light h2 { color: #fff; }
.section-title-light h2::after { background: var(--green); }
.section-title-light span { color: rgba(255,255,255,.4); }
.section-title-left { text-align: left; }
.section-title-left h2::after { left: 0; transform: none; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 30px; border-radius: 3px; font-size: 14px; font-weight: 600;
  transition: .2s ease;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn-small { padding: 10px 24px; font-size: 13px; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  height: 560px;
  margin-top: 96px;
  background: #0e120e;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/hero-expo.jpg") center center / cover no-repeat;
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,12,9,.78) 0%, rgba(8,12,9,.45) 45%, rgba(8,12,9,.18) 100%);
}
.hero-inner { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; }
.hero-content { color: #fff; max-width: 560px; padding-left: 30px; }
.hero-kicker { color: var(--green); letter-spacing: .32em; font-size: 12px; margin: 0 0 12px; }
.hero-content h1 {
  font-size: 60px; letter-spacing: .3em; margin: 0 0 14px; font-weight: 600;
  text-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.hero-sub { font-size: 19px; letter-spacing: .18em; margin: 0 0 10px; color: #eef4e6; }
.hero-desc { font-size: 13px; color: rgba(255,255,255,.7); margin: 0 0 28px; line-height: 1.9; }
.hero-thumb {
  position: absolute; bottom: 24px; z-index: 3;
  width: 118px; height: 66px; border: 2px solid rgba(255,255,255,.7);
  background: center/cover no-repeat; box-shadow: 0 4px 14px rgba(0,0,0,.35); opacity: .85;
}
.hero-thumb-left { left: 24px; background-image: url("../img/tour-hall.jpg"); }
.hero-thumb-right { right: 24px; background-image: url("../img/digital-hall.jpg"); }
.hero-edge {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; z-index: 4;
  background: #fff; clip-path: polygon(0 100%, 100% 100%, 100% 60%, 0 100%);
}

/* ---------- Logo 卡片 ---------- */
.logo-grid { display: grid; gap: 16px; }
.logo-grid-3 { grid-template-columns: repeat(3, 1fr); }
.logo-grid-4 { grid-template-columns: repeat(4, 1fr); }
.expo-logo {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border: 1px solid #edf1e8;
  border-radius: 6px 22px 6px 6px;
  padding: 14px 14px;
  min-height: 92px;
  box-shadow: 0 4px 14px rgba(40,55,35,.05);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.expo-logo::before {
  content: ""; position: absolute; right: -1px; top: -1px;
  width: 26px; height: 26px;
  background: var(--green);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  border-radius: 0 6px 0 0;
  opacity: .85;
}
.expo-logo:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(40,55,35,.12); }
.logo-figure { flex: none; width: 52px; text-align: center; }
.logo-figure svg { width: 40px; height: 40px; display: block; margin: 0 auto; }
.logo-short { display: block; font-weight: 800; font-size: 13px; letter-spacing: .02em; line-height: 1.1; margin-top: 2px; }
.logo-caption { min-width: 0; display: flex; flex-direction: column; }
.logo-en { font-size: 10px; color: #a3ada0; letter-spacing: .04em; line-height: 1.3; }
.logo-zh { font-size: 13px; font-weight: 600; color: #3d453d; margin-top: 4px; line-height: 1.35; }
.expo-logo-smart { min-height: 100px; flex-direction: column; justify-content: center; text-align: center; padding: 16px 10px; }
.expo-logo-smart .logo-figure { width: auto; }
.expo-logo-smart .logo-caption { align-items: center; }

/* ---------- 做巡展 ---------- */
.section-tour { background: #fff; }
.tour-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.tour-photo { position: relative; height: 340px; }
.photo-mask {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}
.photo-edge {
  position: absolute; inset: -8px;
  border: 3px solid var(--green);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  pointer-events: none;
}

/* ---------- 艺术展会（深色） ---------- */
.section-art { background: var(--dark); }
.art-logos .expo-logo { background: #fbfcfa; border-color: rgba(255,255,255,.08); }
.art-logos .expo-logo::before { background: var(--green); }

/* ---------- 数码展（斜切绿色区） ---------- */
.section-digital { background: #f4f7ef; padding: 76px 0; }
.dig-shape { position: absolute; z-index: 0; pointer-events: none; }
.dig-shape-left {
  left: -6%; top: -60px; width: 42%; height: calc(100% + 120px);
  background: linear-gradient(120deg, var(--green), var(--green-deep));
  clip-path: polygon(0 0, 78% 0, 32% 100%, 0 100%);
  opacity: .92;
}
.dig-shape-right {
  right: -8%; top: -40px; width: 30%; height: calc(100% + 80px);
  background: linear-gradient(300deg, var(--green), var(--green-deep));
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .9;
}
.digital-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .82fr 1.18fr; gap: 46px; align-items: center; }
.digital-photo { position: relative; height: 320px; }
.photo-frame {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  box-shadow: 0 14px 34px rgba(30,50,20,.22);
}
.digital-content .section-title { margin-bottom: 14px; }
.digital-desc { color: #697563; font-size: 13px; line-height: 1.95; margin: 0 0 22px; max-width: 620px; }
.digital-logos { gap: 12px; margin-bottom: 22px; }
.digital-logos .expo-logo { min-height: 80px; padding: 10px; border-radius: 5px 16px 5px 5px; }

/* ---------- 智能推荐 ---------- */
.section-smart { background: #fff; }
.smart-logos { gap: 14px; }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--green-deep), var(--green));
  color: #fff; padding: 54px 0 24px; text-align: center;
}
.footer-wedge { position: absolute; pointer-events: none; }
.footer-wedge-left {
  left: -4%; top: -80px; width: 30%; height: 260px;
  background: rgba(255,255,255,.10); transform: rotate(18deg);
  clip-path: polygon(0 0, 100% 0, 40% 100%, 0 100%);
}
.footer-wedge-right {
  right: -6%; bottom: -70px; width: 32%; height: 240px;
  background: rgba(0,0,0,.08); transform: rotate(-12deg);
  clip-path: polygon(60% 0, 100% 0, 100% 100%, 0 100%);
}
.footer-photo { position: absolute; bottom: 0; width: 26%; height: 100%; background-size: cover; background-position: center; opacity: .22; }
.footer-photo-left { left: 0; background-image: url("../img/tour-hall.jpg"); clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%); }
.footer-photo-right { right: 0; background-image: url("../img/digital-hall.jpg"); clip-path: polygon(0 0, 100% 40%, 100% 100%, 0 100%); }
.footer-main { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: rgba(255,255,255,.7); }
.footer-contact p { margin: 3px 0; font-size: 13px; color: rgba(255,255,255,.92); }
.footer-bottom {
  position: relative; z-index: 2; margin-top: 34px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.28);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { margin: 0; font-size: 12px; color: rgba(255,255,255,.8); }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .logo-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .site-nav a { padding: 10px 11px; }
}
@media (max-width: 860px) {
  .site-nav {
    position: absolute; top: 96px; left: 0; right: 0; display: none;
    flex-direction: column; gap: 0; margin: 0; padding: 10px 24px 16px;
    background: rgba(46,49,41,.98); border-radius: 0 0 8px 8px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-toggle { display: flex; }
  .tour-layout, .digital-layout { grid-template-columns: 1fr; }
  .tour-photo, .digital-photo { height: 260px; }
  .logo-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .dig-shape-left, .dig-shape-right { opacity: .3; }
  .hero-content h1 { font-size: 46px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .logo-grid-4, .logo-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero { height: 460px; }
  .hero-content h1 { font-size: 40px; }
  .hero-thumb { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
