/* ==========================================================================
   som 主题覆盖层（任务2236 终版）——逐项对齐参考站实测规则
   base = 参考站主样式表内化（字体 Benton→Libre Franklin 无版权替换）
   数值出处：.hero-homepage{height:var(--viewPortHeight)}、.title__text
   {Light 300,36px/43px}、.title__eyebrow{Bold,14px}、.sentence p{Light,
   64px/4.8rem}、.eyebrow{Bold,14px,mb16}、.navigation{h64,#000}
   ========================================================================== */

/* body 上下文修正 */
body { gap: 0; }

/* ===== 导航：黑底 64px 绝对顶条，混合大小写菜单 ===== */
.navigation { position: absolute; top: 0; left: 0; right: 0; background: #000; border-bottom: 1px solid rgba(255,255,255,0.2); color: #fff; height: 64px; z-index: 999; }
.navigation__wrapper { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.navigation__brand { display: flex; align-items: center; }
/* 全站页顶均为深色 hero，白 logo 常显 */
.navigation__logo--dark { display: none; }
.navigation__logo--light { display: block; }
.navigation-menu { display: flex !important; align-items: stretch; list-style: none; margin: 0; padding: 0; height: 64px; }
.navigation-menu__item { display: flex; }
.navigation-menu__link { display: flex; align-items: center; padding: 0 18px; color: #fff; font-size: 16px; }
.navigation-menu__link:hover { color: #fff; opacity: 0.7; }
.navigation-menu__link--active { text-decoration: underline; text-underline-offset: 6px; }
.navigation-menu__link--cta { border-left: 1px solid rgba(255,255,255,0.35); padding-left: 24px; }
.som-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.som-nav-toggle span { display: block; width: 20px; height: 1.5px; background: #fff; margin: 5px 0; }
@media (max-width: 900px) {
    .navigation-menu { display: none !important; position: absolute; top: 64px; left: 0; right: 0; background: #000; flex-direction: column; height: auto; }
    .navigation-menu.som-nav-open { display: flex !important; }
    .navigation-menu__link { padding: 14px 24px !important; }
    .som-nav-toggle { display: block; }
}

/* ===== 首页 hero：100vh 全幅 + 标题底部叠加 ===== */
.hero-homepage { position: relative; overflow: hidden; background: #0a0a0a; height: 100vh; }
.hero-homepage__wrapper { position: relative; height: 100%; display: flex; align-items: flex-end; }
.hero-homepage__top-gradient { position: absolute; top: 0; left: 0; right: 0; height: 24vh; background: linear-gradient(180deg, rgba(10,10,10,0.6), transparent); z-index: 2; }
.hero-homepage__backgrounds .background { position: absolute; inset: 0; opacity: 0; animation: somHeroFade 16s ease-in-out infinite; }
.hero-homepage__backgrounds .background:first-child { animation-delay: 0s; }
.hero-homepage__backgrounds .background + .background { animation-delay: 8s; }
@keyframes somHeroFade { 0% {opacity:0} 10%,45% {opacity:1} 55%,95% {opacity:0} 100% {opacity:0} }
.som-hero-media { width: 100%; height: 100%; object-fit: cover; }
.hero-homepage__titles { position: absolute; left: 0; right: 0; bottom: 12vh; z-index: 5; }
.hero-homepage__titles .title:not(:first-child) { display: none; }
.title__eyebrow { font-weight: 700; font-size: 14px; color: #fff; margin-bottom: 16px; letter-spacing: normal; text-transform: none; }
.title__text { font-weight: 300; font-size: 44px; line-height: 1.25; color: #fff; max-width: 760px; }
.title__link:hover { opacity: 0.85; }
.hero-homepage__buttons { display: none; }

/* ===== 使命宣言（Our Purpose）：黑底白字 64px 细体句 ===== */
.som-purpose { background: #000; color: #fff; }
.som-purpose .eyebrow { font-weight: 700; font-size: 14px; color: #fff; margin-bottom: 20px; }
.som-purpose .som-purpose__wrapper { max-width: 1240px; margin: 0 auto; padding: 110px 28px; }
.som-purpose .sentence p { font-weight: 300; font-size: 56px; line-height: 1.25; letter-spacing: -0.01em; margin: 0; }
.som-purpose .sentence a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.som-purpose .sentence a:hover { opacity: 0.7; }
@media (max-width: 768px) { .som-purpose .sentence p { font-size: 32px; } }

/* ===== 卡片包：4 列、eyebrow 粗体白、题白、日期灰 ===== */
.content-package { background: #000; color: #fff; padding: 88px 0; }
.content-package .wrapper { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.content-package .title__eyebrow { font-weight: 700; font-size: 14px; color: #fff; margin-bottom: 14px; }
.content-package .title__text { color: #fff; font-weight: 300; font-size: 34px; line-height: 1.3; margin-bottom: 48px; }
.content-package__cards-container.cards--four-up .cards__card-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.content-package .card__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #1a1a1a; }
.content-package .card__details-eyebrow { font-weight: 700; font-size: 14px; color: #fff; }
.content-package .card__details-title a { color: #fff; font-weight: 400; font-size: 17px; line-height: 1.5; }
.content-package .card__details-byline .date { color: #767676; font-size: 13px; }
.content-package .som-package-more { margin-top: 40px; }
.content-package .som-package-more .button { display: inline-block; border: 1px solid #fff; color: #fff; padding: 12px 30px; font-size: 13px; letter-spacing: 0.1em; background: transparent; }
.content-package .som-package-more .button:hover { background: #fff; color: #111; }

/* ===== 聚光包：黑底 + 大图特写 + 侧卡 ===== */
.spotlight-package { background: #000; color: #fff; padding: 88px 0; border-top: 1px solid #1a1a1a; }
.spotlight-package .wrapper { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.spotlight-package__section-title { font-weight: 300; font-size: 34px; color: #fff; margin-bottom: 20px; }
.spotlight-package__body-wrap-text { color: #9aa0a6; font-size: 15px; line-height: 1.9; max-width: 560px; margin-bottom: 52px; }
.spotlight-package__featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.spotlight-package__featured-image { position: relative; overflow: hidden; background: #1a1a1a; }
.spotlight-package__featured-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s var(--som-ease, ease); }
.spotlight-package__featured-card-link:hover img { transform: scale(1.03); }
.spotlight-package__featured-details-top { margin-bottom: 28px; }
.spotlight-package .som-spot-h2 { font-weight: 300; font-size: 28px; color: #fff; margin-bottom: 20px; }
.spotlight-package .cards--four-up .cards__card-list { display: grid; gap: 32px; list-style: none; padding: 0; margin: 0; }
.spotlight-package .card__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #1a1a1a; }
.spotlight-package .card__details-eyebrow { font-weight: 700; font-size: 14px; color: #fff; }
.spotlight-package .card__details-title a { color: #fff; font-weight: 400; font-size: 17px; line-height: 1.5; }
.spotlight-package .card__details-byline .date { color: #767676; font-size: 13px; }
@media (max-width: 900px) { .spotlight-package__featured { grid-template-columns: 1fr; gap: 40px; } }

/* ===== 通用页（内页 hero-landing + som-page） ===== */
.hero-landing { position: relative; overflow: hidden; background: #0a0a0a; }
.hero-landing__background { position: absolute; inset: 0; margin: 0; }
.hero-landing__background img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; }
.hero-landing__content { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 150px 28px 100px; }
.hero-landing__content h2 { color: #fff; font-size: 48px; font-weight: 300; letter-spacing: -0.01em; }
.hero-landing__content p { color: #9aa0a6; font-size: 16px; margin-top: 10px; }
.som-page { max-width: 1240px; margin: 0 auto; padding: 88px 28px; }
.som-page .toolkit h1 { font-size: 42px; font-weight: 300; line-height: 1.25; margin-bottom: 20px; }
.som-page .toolkit p { font-size: 17px; line-height: 1.9; color: #3a3a3a; max-width: 780px; }
.som-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 44px 32px; }
.som-cat-filter { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 44px; }
.som-cat-filter a { font-size: 14px; color: #767676; }
.som-cat-filter a:hover, .som-cat-filter a.active { color: #151515; text-decoration: underline; text-underline-offset: 6px; opacity: 1; }
.som-detail { max-width: 780px; margin: 0 auto; padding: 72px 28px 110px; }
.som-detail .toolkit h2 { font-size: 26px; font-weight: 400; margin: 40px 0 16px; padding-top: 20px; border-top: 1px solid #e4e4e4; }
.som-detail .toolkit p { font-size: 16px; line-height: 2; color: #3a3a3a; margin-bottom: 16px; }
.som-pagination { display: flex; justify-content: center; gap: 18px; padding: 24px 28px 88px; }
.som-pagination a { color: #767676; }
.som-pagination a:hover { color: #151515; opacity: 1; }

/* ===== 联系页 ===== */
.som-contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; max-width: 1240px; margin: 0 auto; padding: 72px 28px 110px; }
.som-form-page { display: grid; gap: 24px; }
.som-form-page input, .som-form-page select, .som-form-page textarea { border: none; border-bottom: 1px solid #151515; padding: 12px 0; font-size: 16px; outline: none; background: transparent; border-radius: 0; }
.som-form-page input:focus, .som-form-page textarea:focus, .som-form-page select:focus { border-bottom-color: #767676; }
.som-form-page button { justify-self: start; background: #151515; color: #fff; border: 1px solid #151515; padding: 14px 40px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.som-form-page button:hover { background: transparent; color: #151515; }
.som-contact-side { border-top: 1px solid #e4e4e4; padding-top: 24px; }
.som-contact-side p { font-size: 15px; margin-bottom: 14px; color: #3a3a3a; }
.som-contact-side p a { color: #151515; }
@media (max-width: 900px) { .som-contact-grid { grid-template-columns: 1fr; } }

/* ===== 页脚：黑底，公司名大字 + 链接行 ===== */
.footer { background: #000; color: #9aa0a6; padding: 64px 28px 28px; }
.footer__wrapper { max-width: 1240px; margin: 0 auto; }
.footer__company { color: #fff; font-size: 20px; font-weight: 300; letter-spacing: 0.04em; margin-bottom: 28px; }
.som-footer-tag { display: block; font-size: 12px; letter-spacing: 0.2em; color: #6b7178; margin-top: 6px; }
.footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 0; margin: 0 0 28px; }
.footer__link { color: #9aa0a6; font-size: 13.5px; }
.footer__link:hover { color: #fff; opacity: 1; }
.som-footer-wechat { margin: 20px 0 8px; }
.som-footer-wechat img { width: 104px; height: 104px; object-fit: contain; background: #fff; padding: 4px; margin-bottom: 8px; }
.som-footer-wechat p { font-size: 12px; }
.som-footer-legal { max-width: 1240px; margin: 0 auto; padding: 24px 28px 0; border-top: 1px solid #2a2e33; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; }
.som-footer-legal a { color: #9aa0a6; }

/* ===== 内页兼容（faq/help 沿用 jx-* 类） ===== */
.jx-faq, .jx-help { max-width: 860px; margin: 0 auto; padding: 64px 28px 96px; }
.jx-faq-search input { width: 100%; border: none; border-bottom: 1px solid #151515; padding: 12px 0; font-size: 18px; font-weight: 300; outline: none; background: transparent; }
.jx-faq-sec-title, .jx-help h1, .jx-help h2 { font-size: 30px; font-weight: 300; margin: 36px 0 20px; }
.jx-faq-list .jx-faq-item { border-bottom: 1px solid #e4e4e4; padding: 20px 0; }
.jx-faq-q { display: flex; justify-content: space-between; font-size: 16px; font-weight: 500; cursor: pointer; }
.jx-faq-a { padding: 14px 0 4px; font-size: 15px; color: #767676; line-height: 1.9; }
.jx-help-cats { display: flex; flex-wrap: wrap; gap: 18px; margin: 24px 0 36px; }
.jx-help-cats a { font-size: 13px; color: #767676; }
.jx-help-cats a:hover, .jx-help-cats a.active { color: #151515; opacity: 1; }
.jx-help-list .jx-help-item { border-bottom: 1px solid #e4e4e4; }
.jx-help-list .jx-help-item a { display: block; padding: 18px 0; font-size: 16px; }

/* 悬浮件/回顶隐藏（参考站无此件） */
.som-float-panel, .som-elevator, #jxBackTop { display: none !important; }

/* 动效降级 */
@media (prefers-reduced-motion: reduce) {
    .hero-homepage__backgrounds .background { animation: none; opacity: 1; }
}
@media (max-width: 768px) {
    .hero-homepage__titles .title__text { font-size: 28px; }
    .som-purpose .sentence p { font-size: 30px; }
    .content-package__cards-container.cards--four-up .cards__card-list { grid-template-columns: 1fr; }
    .spotlight-package__featured { grid-template-columns: 1fr; gap: 40px; }
    .som-list-grid { grid-template-columns: 1fr; }
    .som-contact-grid { grid-template-columns: 1fr; }
}
