/* ============================================================
   2026 可持续全球领导者大会 · PC 公共样式(pc-common.css)
   提取自 style.css:设计变量 / 基础重置 / 通用区块 / 头部导航 / 页脚
   供子页面独立引用;style.css 保持不变,与本文件共存时后加载者生效
   参数全部取自 ESG专题首页.psd(1920×8955)实测值
   ============================================================ */

:root {
  --green: #00A300;
  --green-text: #3DB63D;
  --green-cta: #00BB0C;
  --green-title: #009600;
  --green-speakers: #10AD2C;
  --green-footer: #3E753B;
  --ink: #4B524B;
  --line: rgba(0, 0, 0, .1);
  --bg-soft: #F3F3F3;
  --bg-tint: #E4E6E3;
  --bg-partners: #ECEEEB;
  --rainbow: linear-gradient(90deg,
    #DCA63A 0 14.25%, #27BDE2 14.25% 28.5%, #FF3A20 28.5% 42.75%, #009F01 42.75% 57%,
    #E5233B 57% 71.25%, #1A486A 71.25% 85.5%, #DD1367 85.5% 100%);
  --header-h: clamp(64px, 5.2083vw, 100px);  /* PSD 实测 100px @1920,随视口等比缩小 */
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { font-family: var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container { width: 1500px; max-width: 94%; margin: 0 auto; min-width: 1400px;}

/* ---------- 入场动效 ---------- */
body.anim .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
body.anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.anim .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .wall-track { animation: none !important; }
}

/* ===================== 头部导航(PSD:0-101) ===================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: #202020; transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .45); }
.header-inner {
  width: 1500px; max-width: 94%; height: 100%; margin: 0 auto;
  display: flex; align-items: center;
}
.logo { flex: none; display: flex; align-items: center; }
.logo-img { width: clamp(44px, 3.3854vw, 65px); height: clamp(44px, 3.3854vw, 65px); }

.nav-menu { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 48px); margin-left: auto; }
.nav-link {
  font-size: clamp(13px, 0.9375vw, 18px); color: #fff; padding: 8px 0; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; position: relative;
  transition: color .2s ease;
}
.nav-link:hover { color: var(--green-text); }
.nav-link.active { color: var(--green-text); }
.caret-wrap { position: relative; display: inline-block; width: .95em; height: .65em; vertical-align: baseline; perspective: 200px; }
.caret-ic {
  position: absolute; left: 0; top: 50%; width: .95em; height: auto;
  transform: translateY(-50%) rotateX(0deg);
  /* 参考 inclusionconf.com:0.5s rotateX 翻转;此处白下箭头翻出、绿上箭头翻入 */
  transition: transform .5s ease, opacity .3s ease;
  backface-visibility: hidden;
}
.caret-ic.ic-up { opacity: 0; transform: translateY(-50%) rotateX(180deg); }
/* 下拉项 hover:文字变绿;箭头 rotateX 翻转并换色 */
.nav-item.has-drop:hover .nav-link { color: var(--green-text); }
.nav-item.has-drop:hover .caret-ic.ic-down { opacity: 0; transform: translateY(-50%) rotateX(-180deg); }
.nav-item.has-drop:hover .caret-ic.ic-up { opacity: 1; transform: translateY(-50%) rotateX(0deg); }
.join-ic { width: .9em; height: auto; display: inline-block; }

.nav-item.has-drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  min-width: 113px; background: #141414;
  padding: 12px 0; opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.dropdown a { display: block; padding: 8px 12px; font-size: clamp(13px, 0.9375vw, 18px); line-height: 1.5; color: #D5D9D5; white-space: nowrap; text-align: center; }
.dropdown a:hover { color: var(--green-text); }
.nav-item.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.btn-join {
  flex: none; margin-left: clamp(20px, 2.5vw, 48px);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: clamp(100px, 7.3958vw, 142px); height: clamp(30px, 2.2396vw, 43px); border-radius: 4px;
  background: var(--green-cta); color: #fff; font-size: clamp(13px, 0.9375vw, 18px);
  transition: filter .2s ease, transform .2s ease;
}
.btn-join:hover { filter: brightness(1.1); }
.btn-join:active { transform: scale(.97); }

/* ===================== 通用区块头 ===================== */
.sec-head {
  display: inline-flex; flex-direction: column; align-items: stretch;
  padding: 84px 0 70px;
}
.sec-head .sec-title { align-self: flex-start; }
.sec-title { display: flex; align-items: baseline; gap: 16px; }
.sec-title .en { font-size: 40px; font-weight: 300; letter-spacing: 1px; color: var(--green-title); }
.sec-title .cn { font-size: 40px; font-weight: 700; color: var(--green-title); }
.sec-head.dark .en, .sec-head.dark .cn { color: var(--ink); }
.sec-head.light .en, .sec-head.light .cn { color: #fff; }

/* 标题下彩虹条:宽=标题宽,高 9px(PSD 实测) */
.rainbow-bar { display: block; width: 100%; height: 9px; margin-top: 18px; background: var(--rainbow); }
.rainbow-bar.light { opacity: .45; }

/* 整幅彩虹条(参会嘉宾/页脚顶部,PSD 高 6px) */
.rainbow-strip {
  display: block; height: 6px;
  background: linear-gradient(90deg,
    #DCA63A 0 270px, #27BDE2 270px 540px, #FF3A20 540px 810px, #009F01 810px 1080px,
    #E5233B 1080px 1350px, #1A486A 1350px 1620px, #DD1367 1620px 1890px);
  background-size: 1890px 100%;
}

/* 右侧指纹纹理水印(对应 PSD 大会视频/大会亮点中的大圆环) */
.ring-deco {
  position: absolute; right: -140px; top: 40px; width: 640px; height: 640px;
  border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle at center, rgba(0, 0, 0, .04) 0 3px, transparent 3px 34px);
}

/* 通用“查看更多”按钮(PSD:404×65,字 24px) */
.sec-more { text-align: center; margin-top: 48px; }
.btn-more {
  width: 404px; height: 65px; border: 2px solid var(--green-text); border-radius: 6px;
  font-size: 24px; color: var(--green-text); background: transparent;
  transition: background .25s ease, color .25s ease;
}
.btn-more:hover { background: var(--green-text); color: #fff; }
.btn-more:active { transform: scale(.98); }
.btn-more.btn-block { width: 100%; margin-top: 41px; }

/* ===================== 页脚(PSD:8245-8956) ===================== */
.site-footer { background: var(--green-footer); }
.footer-grid { display: flex; gap: 263px; padding: 83px 0 62px; }
.f-social { flex: none; }
.f-social h4, .f-contact h4 { font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 31px; }
.social-icons { display: flex; gap: 10px; margin-bottom: 30px; }
.social-icon { width: 54px; height: 54px; display: block; transition: transform .25s ease, opacity .25s ease; }
.social-icon img { width: 100%; height: 100%; }
.social-icon:hover { transform: translateY(-3px); }
.qr-box { width: 183px; height: 183px; border-radius: 16px; overflow: hidden; background: #fff; }
.qr-box img { width: 100%; height: 100%; object-fit: cover; }

.f-contact { flex: 1; min-width: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 60px; }
.contact-group h5 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.contact-group p { font-size: 18px; color: #fff; line-height: 1.56; }

.footer-bottom {
  background: var(--green); text-align: center; color: #fff;
  padding: 66px 0 70px; font-size: 16px; line-height: 2.4;
}
.footer-bottom .f-links a { padding: 0 14px; }

/* ===================== 右侧悬浮工具条(PSD:50×50,白底常态/绿底激活) ===================== */
.float-bar {
  position: fixed; right: max(24px, calc(50% - 777px)); top: 80%; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column;
}
.float-item {
  width: 50px; height: 50px; cursor: pointer; position: relative; flex: none;
}
.float-item .ic, .float-item .ic-on { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .2s ease; }
.float-item .ic-on { opacity: 0; }
.float-item:hover .ic-on { opacity: 1; }
.float-item:hover .ic { opacity: 0; }
.wechat-pop {
  position: absolute; right: 62px; top: 50%; transform: translateY(-50%) translateX(8px);
  width: 140px; background: #fff; border-radius: 8px; padding: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18); text-align: center;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.wechat-pop img { width: 116px; height: 116px; }
.wechat-pop p { font-size: 12px; color: var(--ink); margin-top: 6px; }
.float-wechat:hover .wechat-pop { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
/* ===================== 响应式(笔记本小屏) ===================== */
@media (max-width: 1560px) {
  .container { width: 1200px; }
  .header-inner { width: auto; padding: 0 30px; }
  .footer-grid { gap: 80px; }
}

/* ============================================================
   英文版专属覆盖(仅 body.lang-en 生效,不影响中文页)
   仅收录与页脚相关的覆盖;业务模块覆盖仍在 style.css
   ============================================================ */

/* 联系我们:英文条目较长,适当收窄左右间隙给联系方式留出列宽;
   第一组(Conference Speaking Inquiries)行数多,跨两行排布 */
body.lang-en .footer-grid { gap: 180px; }
body.lang-en .contact-grid { gap: 30px 48px; }
body.lang-en .contact-grid > .contact-group:first-child { grid-row: span 2; }

@media (max-width: 1560px) {
  body.lang-en .footer-grid { gap: 40px; }
  /* 小屏容器变窄,三列放不下完整邮箱,改两列 */
  body.lang-en .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 40px; }
}
