/* ============================================================
   好品中国出海商学院 · chuhai 主题
   参考语言：机构官网风（深蓝 + 白卡 + 黄色 CTA）
   ============================================================ */

:root {
  --blue: #0047ab;
  --blue-dark: #003776;
  --blue-deep: #00284a;
  --blue-light: #e6f0ff;
  --yellow: #ffd617;
  --yellow-dark: #e6c100;
  --text: #1a1a1a;
  --text-2: #555;
  --text-3: #767676;
  --bg: #fff;
  --bg-alt: #f5f6f8;
  --border: #e8ebf0;
  --shadow: 0 4px 12px rgba(0, 0, 0, .1);
  --radius: 4px;
  --header-h: 72px;
  --container: 1368px;
  --font: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-dark); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 600; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.section { padding: 3.5rem 0; }
.section--alt { background: var(--bg-alt); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-title { font-size: 1.5rem; color: var(--text); }
.section-title a:hover { color: var(--blue); }
.section-more { font-size: .875rem; font-weight: 500; white-space: nowrap; }

/* 按钮体系 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .55rem 1.6rem; font-size: .9375rem; font-weight: 600; border-radius: var(--radius); transition: background .2s ease, color .2s ease; }
.btn--yellow { background: var(--yellow); color: var(--text); }
.btn--yellow:hover { background: var(--yellow-dark); color: var(--text); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .75); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn--outline { border: 1px solid var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue-light); color: var(--blue-dark); }

/* ============================================================
   页头
   ============================================================ */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand img { height: 58px; width: auto; }
.brand-text { font-size: 1.15rem; font-weight: 700; color: var(--blue); white-space: nowrap; }
.main-nav { display: flex; align-items: center; }
.main-nav > ul { display: flex; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: .3rem; padding: .6rem .9rem; color: var(--text); font-size: .9375rem; font-weight: 500; white-space: nowrap; }
.main-nav > ul > li > a:hover { color: var(--blue); }
.main-nav > ul > li.active > a { color: var(--blue); font-weight: 600; }
.main-nav > ul > li.has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .55; }
.fy-submenu { position: absolute; top: 100%; left: 0; min-width: 180px; background: #fff; border-top: 3px solid var(--yellow); box-shadow: var(--shadow); padding: .4rem 0; display: none; z-index: 999; }
.main-nav li.has-children:hover .fy-submenu,
.main-nav li.has-children:focus-within .fy-submenu { display: block; }
.fy-submenu a { display: block; padding: .5rem 1.1rem; color: var(--text); font-size: .875rem; }
.fy-submenu li.active a, .fy-submenu a:hover { background: var(--blue-light); color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.header-cta { padding: .45rem 1.1rem; font-size: .875rem; }
.lang-switch { display: flex; align-items: center; gap: .15rem; font-size: .875rem; color: var(--text-2); }
.lang-switch .lang-btn { padding: .3rem .45rem; color: var(--text-2); }
.lang-switch .lang-btn:hover { color: var(--blue); }
.lang-switch .lang-current { color: var(--blue); font-weight: 600; }
.lang-switch .lang-sep { color: var(--border); }
.btn-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; }
.btn-menu span { display: block; height: 2px; background: var(--blue); }

/* ============================================================
   首页服务卡片（三维一体服务体系）
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-item { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem 1.4rem; background: #fff; border: 1px solid var(--border); border-bottom: 3px solid var(--yellow); border-radius: var(--radius); color: var(--text); transition: box-shadow .25s ease, transform .25s ease; }
.svc-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-item h3 { font-size: 1.08rem; font-weight: 600; color: var(--blue-dark); }
.svc-item:hover h3 { color: var(--blue); }
.svc-item p { font-size: .875rem; color: var(--text-2); line-height: 1.7; }

/* ============================================================
   首页 Hero（轮播：纯淡入淡出，固定高度避免布局跳动）
   ============================================================ */
.hero { position: relative; height: 500px; background: var(--blue-dark); overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; pointer-events: none; }
.hero-slide.active { opacity: 1; visibility: visible; transition: opacity .8s ease; pointer-events: auto; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, var(--blue-dark) 8%, rgba(0, 55, 118, .72) 42%, rgba(0, 55, 118, .25) 100%); }
.hero-content { position: absolute; z-index: 2; left: 0; right: 0; top: 50%; transform: translateY(-50%); padding: 0 1rem; }
.hero-content .container { max-width: var(--container); }
.hero-content-inner { max-width: 640px; }
.hero-title { font-size: 2.4rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.hero-desc { font-size: 1.1rem; color: rgba(255, 255, 255, .92); margin-bottom: 1.8rem; max-width: 480px; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 1.4rem; left: 0; right: 0; display: flex; justify-content: center; gap: .5rem; z-index: 3; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: background .2s ease; }
.hero-dot.active { background: var(--yellow); }

/* ============================================================
   卡片体系（全站统一：白底 + 上细边 + 下蓝粗边 + hover 投影）
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-bottom: 3px solid var(--blue); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s ease; }
.card:hover { box-shadow: var(--shadow); }
.card-link { position: absolute; inset: 0; z-index: 1; }
/* 整卡可点：链接包裹全部内容（图片/标题/摘要/按钮同一命中区） */
.card-hit { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.card-cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.card-date { font-size: .78rem; color: var(--text-3); margin-bottom: .3rem; }
.card-title { font-size: 1.02rem; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: .45rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover .card-title { color: var(--blue); }
.card-summary { font-size: .875rem; color: var(--text-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .8rem; font-size: .8rem; color: var(--text-3); }
.card-meta strong { color: var(--blue); font-weight: 600; }
.card-actions { margin-top: .9rem; position: relative; z-index: 2; }
.card-actions .btn { padding: .42rem 1.1rem; font-size: .84rem; }

/* 首页新闻双排布局：左主卡 + 右列表 */
.news-mix { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.5rem; align-items: stretch; }
.news-lead { position: relative; display: flex; flex-direction: column; border: 1px solid var(--border); border-bottom: 3px solid var(--blue); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .25s ease; }
.news-lead:hover { box-shadow: var(--shadow); }
.news-lead img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-lead-body { padding: 1.15rem 1.3rem 1.3rem; }
.news-lead-title { font-size: 1.15rem; font-weight: 600; margin-bottom: .4rem; color: var(--text); }
.news-lead:hover .news-lead-title { color: var(--blue); }
.news-lead-date { font-size: .78rem; color: var(--text-3); margin-bottom: .45rem; display: block; }
.news-lead-summary { font-size: .9rem; color: var(--text-2); }
.news-side { display: flex; flex-direction: column; }
.news-side-item { position: relative; display: flex; gap: 1rem; padding: .85rem .3rem; border-bottom: 1px solid var(--border); flex: 1; align-items: center; }
.news-side-item:first-child { padding-top: 0; }
.news-side-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-side-body { flex: 1; min-width: 0; }
.news-side-title { font-size: .95rem; font-weight: 500; color: var(--text); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-side-item:hover .news-side-title { color: var(--blue); }
.news-side-date { font-size: .78rem; color: var(--text-3); margin-top: .3rem; display: block; }
.news-side-thumb { flex-shrink: 0; width: 116px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }

/* ============================================================
   合作背书 logo 墙（纯图彩色常亮，无链接无名称）
   ============================================================ */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.partner-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; text-align: center; padding: 1.15rem .8rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: box-shadow .25s ease; }
.partner-item:hover { box-shadow: var(--shadow); }
.partner-item img { width: auto; max-width: 100%; height: 92px; object-fit: contain; }
.partner-item span { font-size: .8rem; color: var(--text-2); line-height: 1.4; }

/* ============================================================
   内页：page-hero + 面包屑
   ============================================================ */
/* 内页 Banner（背景大图 + 居中标题，无面包屑；全站非首页统一） */
.page-banner { position: relative; height: 300px; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; background-color: var(--blue-dark); }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 40, 74, .55), rgba(0, 40, 74, .75)); }
.page-banner .container { position: relative; z-index: 1; text-align: center; }
.page-banner-title { font-size: 2.1rem; font-weight: 700; color: #fff; letter-spacing: .04em; }

/* 面包屑栏（Banner 下方一行） */
.crumb-bar { background: #fff; border-bottom: 1px solid var(--border); }
.crumb-bar-inner { display: flex; align-items: center; min-height: 46px; }
.crumb-path { display: flex; align-items: center; gap: .4rem; list-style: none; flex-wrap: wrap; margin: 0; padding: 0; }
.crumb-path li, .crumb-path a, .crumb-path span { font-size: .84rem; color: var(--text-3); }
.crumb-path a { color: var(--text-3); }
.crumb-path a:hover { color: var(--blue); }
.crumb-path li + li::before, .crumb-path .fy-crumb-sep { margin: 0 .4rem; color: var(--border); }
.crumb-cur, .crumb-path span:last-child { color: var(--blue) !important; font-weight: 500; }

/* 旧 page-hero（保留兼容，不再使用） */
.page-hero { background: var(--blue); padding: 2.2rem 0; }
.page-hero h1 { font-size: 1.75rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.page-hero p { font-size: .9rem; color: rgba(255, 255, 255, .78); max-width: 720px; }

/* 带背景图的单页页头（已由 page-banner 取代，保留兼容） */
.page-hero--image { position: relative; min-height: 300px; display: flex; align-items: flex-end; padding: 3.2rem 0 2.6rem; background-size: cover; background-position: center; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 40, 74, .55), rgba(0, 40, 74, .78)); }
.page-hero--image .container { position: relative; z-index: 1; }
.page-hero--image h1 { font-size: 2.1rem; }
.page-hero--image p { font-size: .95rem; }

/* ============================================================
   富单页板块（single.html：h2 分节模块化 + 数据卡/成绩宫格/图集）
   ============================================================ */
.page-rich { background: var(--bg); }
.rich-title { font-size: 1.5rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 1.8rem; text-align: center; }
.rich-title--center { text-align: center; margin: 0 auto 2.2rem; }
.rich-title::after { content: ""; display: block; width: 44px; height: 4px; background: var(--yellow); margin: .7rem auto 0; border-radius: 2px; }

/* 概览模块（第一个章节）：左文右图，垂直居中 + 大图投影 + 首段导语强调 */
.rich-overview { padding: 4.5rem 0 5rem; }
.overview-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.overview-grid .rich-body { max-width: none; margin: 0; }
.overview-grid .rich-body > p:first-child { font-size: 1.05rem; color: var(--text); margin-bottom: 1.1rem; }
.overview-img { overflow: hidden; border-radius: 10px; box-shadow: 0 16px 40px rgba(0, 40, 74, .16); }
.overview-img img { width: 100%; height: 100%; aspect-ratio: 4 / 3; min-height: 320px; object-fit: cover; display: block; transition: transform .5s ease; }
.overview-img:hover img { transform: scale(1.04); }

/* 分节正文：宽度约束 + 排版 */
.rich-body { max-width: 1000px; margin: 0 auto; }
.rich-body p { margin-bottom: 1rem; line-height: 2; }
.rich-body img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* 正文卡片（普通列表 / fy-culture / fy-people 共用一套语言：直角、浅灰底、一排等高、hover 微动） */
.rich-body > ul:not([class]),
.rich-body ul.fy-culture,
.rich-body ul.fy-people {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1.25rem;
}
.rich-body > ul:not([class]) > li,
.rich-body ul.fy-culture > li,
.rich-body ul.fy-people > li {
  flex: 1 1 235px;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #f5f6f7;
  border: 1px solid #eceef0;
  border-radius: 0;
  padding: 1.3rem 1.4rem 1.35rem;
  font-size: .9rem;
  color: #58606a;
  line-height: 1.85;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.rich-body > ul:not([class]) > li:hover,
.rich-body ul.fy-culture > li:hover,
.rich-body ul.fy-people > li:hover {
  background: #eff1f3;
  border-color: #dfe3e7;
  transform: translateY(-2px);
}
.rich-body > ul:not([class]) > li strong,
.rich-body ul.fy-culture > li strong,
.rich-body ul.fy-people > li strong {
  display: block;
  color: #14171a;
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.5;
  min-height: 3em;
  margin-bottom: .35rem;
}

/* 平台优势：深蓝色带 + 编辑式两列清单（黄色短划标记，无卡片框），与页内发展历程深色板块同语言 */
.rich-adv { background: var(--blue-deep); padding: 4.2rem 0 4.6rem; }
.rich-adv .rich-title { color: #fff; margin-bottom: 2.4rem; }
.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .35rem 4.5rem; max-width: 1080px; margin: 0 auto; }
.adv-item { position: relative; padding: 1.05rem 0 1.05rem 2rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.adv-item:nth-last-child(-n + 2) { border-bottom: 0; }
.adv-item::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: 18px; height: 3px; background: var(--yellow); }
.adv-item h3 { font-size: 1.02rem; font-weight: 600; color: #fff; margin: 0 0 .4rem; }
.adv-item p { font-size: .85rem; color: rgba(255, 255, 255, .66); line-height: 1.8; margin: 0; }

/* 全球布局：官方布局图白卡大幅展示 + 彩点图例（红总部/蓝中心，呼应地图气泡），无卡片框 */
.rich-global { padding: 4.5rem 0 5rem; }
.rich-global .rich-title { margin-bottom: .6rem; }
.global-sub { text-align: center; color: var(--text-2); font-size: .95rem; margin: 0 0 2.2rem; }
.global-map {
  margin: 0 auto 2rem; max-width: 980px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(.8rem, 2vw, 1.6rem);
  box-shadow: 0 18px 44px -22px rgba(6, 21, 41, .28);
}
.global-map img { display: block; width: 100%; height: auto; }
.global-legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem 2.6rem; }
.global-legend__item { display: inline-flex; align-items: center; gap: .55rem; }
.global-legend__dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.global-legend--hq .global-legend__dot { background: #e33; }
.global-legend--hq strong { color: #b0271e; }
.global-legend--cn .global-legend__dot, .global-legend--sea .global-legend__dot { background: #1d5fc2; }
.global-legend--eu .global-legend__dot, .global-legend--na .global-legend__dot, .global-legend--me .global-legend__dot { background: #4a86d6; }
.global-legend__item strong { font-size: .92rem; font-weight: 600; color: var(--blue-dark); }

/* 轮播（全球布局等 >4 卡时启用）：一次 4 张，每次翻 1 张 */
.hl-carousel { overflow: hidden; }
.hl-track { display: flex; transition: transform .45s ease; }
.hl-track .hl-slide { flex-shrink: 0; padding: 0 .75rem; box-sizing: border-box; }
.hl-nav { display: flex; justify-content: center; gap: .8rem; margin-top: 1.6rem; }
.hl-btn { width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--border); color: var(--blue); font-size: 1.3rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; transition: all .2s ease; }
.hl-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* 企业文化：标签切换（数据来自后台 fy-culture 列表） */
.culture-tabs { padding-top: .5rem; }
.culture-tabbar { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2.9rem; border-bottom: 1px solid var(--border); margin-bottom: 2.4rem; }
.culture-tab { position: relative; appearance: none; background: none; border: 0; padding: 0 0 1.05rem; font-size: 1.02rem; font-weight: 500; color: var(--text-2); cursor: pointer; transition: color .2s ease; }
.culture-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s ease; }
.culture-tab:hover { color: var(--blue); }
.culture-tab.is-active { color: var(--blue); font-weight: 600; }
.culture-tab.is-active::after { transform: scaleX(1); }
.culture-panel { display: none; background: #f5f6f7; border: 1px solid #eceef0; padding: 2rem 2.2rem; }
.culture-panel.is-active { display: block; animation: cultureFade .28s ease both; }
@keyframes cultureFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.culture-panel h3 { font-size: 1.12rem; font-weight: 600; color: #14171a; margin-bottom: .85rem; text-align: center; }
.culture-panel p { font-size: .95rem; color: #58606a; line-height: 1.95; margin: 0; text-align: center; }

/* 移动端：标签栏一行右滑翻页（不换行，横向滚动，隐藏滚动条） */
@media (max-width: 767px) {
  .culture-tabbar { flex-wrap: nowrap; justify-content: flex-start; gap: 0; margin: 0 -.2rem 2rem; padding: 0 .2rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scrollbar-width: none; }
  .culture-tabbar::-webkit-scrollbar { display: none; }
  .culture-tabbar .culture-tab { flex-shrink: 0; padding: .9rem 1.05rem; font-size: .98rem; white-space: nowrap; scroll-snap-align: center; }
  .culture-tabs.is-scrollable .culture-tabbar { -webkit-mask-image: linear-gradient(to right, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(to right, transparent, #000 14px, #000 calc(100% - 14px), transparent); }
}

/* 时间轴（发展历程）：fy-timeline */
.rich-body ul.fy-timeline { list-style: none; padding: .5rem 0 0; margin: 0; position: relative; }
.rich-body ul.fy-timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.rich-body ul.fy-timeline li { position: relative; padding: 0 0 1.4rem 2.2rem; }
.rich-body ul.fy-timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--yellow); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--yellow); }
.rich-body ul.fy-timeline li:last-child { padding-bottom: .2rem; }
.rich-body ul.fy-timeline li strong { display: block; font-size: 1.02rem; color: var(--blue-dark); margin-bottom: .25rem; }
.rich-body ul.fy-timeline li span { display: block; font-size: .92rem; color: var(--text-2); line-height: 1.8; }

/* 服务卡（核心服务）：单列大卡，顶部标记线 + hover 提升（站内不使用 01/02 序号标） */
/* 作用域：svc-scope（模板按章节标题含「服务」自动判定，不影响其他单页的 fy-culture） */
.svc-scope ul.fy-culture { display: grid; grid-template-columns: 1fr; gap: 1.25rem; max-width: 1000px; margin: 0 auto; }
.svc-scope ul.fy-culture li { position: relative; display: block; background: #f5f6f7; border: 1px solid #eceef0; border-radius: 0; padding: 1.5rem 1.7rem 1.55rem; overflow: hidden; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.svc-scope ul.fy-culture li:hover { background: #eff1f3; border-color: #dfe3e7; transform: translateY(-2px); }
.svc-scope ul.fy-culture li strong { display: block; font-size: 1.08rem; font-weight: 600; color: #14171a; margin: 0 0 .5rem; }
.svc-scope ul.fy-culture li span { display: block; font-size: .92rem; color: #58606a; line-height: 1.9; }

/* 数据卡（图 16/10 强制裁剪 + 数字 + 说明） */
.stats-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-card { background: #fff; border: 1px solid var(--border); border-bottom: 3px solid var(--blue); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.stat-card-img { overflow: hidden; }
.stat-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s ease; }
.stat-card:hover .stat-card-img img { transform: scale(1.05); }
.stat-card-num { padding: 1rem 1.1rem 0; font-weight: 700; color: var(--blue); }
.stat-card-num .num { font-size: 2rem; line-height: 1.15; }
.stat-card-num .unit { font-size: 1rem; margin-left: .15rem; }
.stat-card-label { padding: .2rem 1.1rem 1.1rem; font-size: .86rem; color: var(--text-2); line-height: 1.6; }

/* 图文卡宫格（平台优势/全球布局统一：3 列，图 16/9 强制裁剪） */
.achieve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
/* 平台优势：≥5 条时一行铺满、并突破容器宽度（左右各外扩到接近视口） */
.achieve-grid--bleed { position: relative; left: 50%; transform: translateX(-50%); width: min(1600px, 94vw); display: flex; flex-wrap: nowrap; gap: 1.1rem; }
.achieve-grid--bleed > * { flex: 1 1 0; min-width: 0; }
.achieve-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.achieve-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.achieve-card-img { overflow: hidden; }
.achieve-card-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease; }
.achieve-card:hover .achieve-card-img img { transform: scale(1.05); }
.achieve-card-body { padding: 1.1rem 1.25rem 1.3rem; }
.achieve-card-body h3 { font-size: 1.05rem; font-weight: 600; color: var(--blue-dark); margin-bottom: .45rem; }
.achieve-card-body p { font-size: .875rem; color: var(--text-2); line-height: 1.7; }

/* 样板工程深色板块（tica 式：背景图 + 深蓝遮罩 + 玻璃文字卡；后台 achieve_bg 配图启用） */
.rich-achieve--dark { position: relative; background-size: cover; background-position: center; background-color: var(--blue-deep); padding: 5rem 0 5.5rem; }
.rich-achieve--dark::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 30, 56, .82), rgba(0, 40, 74, .68) 50%, rgba(0, 30, 56, .85)); }
.rich-achieve--dark .container { position: relative; z-index: 1; }
.achieve-grid--dark { display: block; column-count: 2; column-gap: 3.5rem; }
/* 产品卖点（服务页）：背景图上的方卡片，与师资页纯文字两栏相互独立 */
.achieve-grid--square { display: grid; grid-template-columns: repeat(3, minmax(0, 268px)); justify-content: center; gap: 1.3rem; }
.achieve-grid--square .achieve-card { position: relative; display: flex; flex-direction: column; justify-content: flex-start; padding: 1.1rem 1.25rem 1.2rem; background: rgba(8, 26, 48, .42); border: 1px solid rgba(255, 255, 255, .16); border-radius: 0; transition: background .25s ease, border-color .25s ease; }
.achieve-grid--square .achieve-card:hover { background: rgba(8, 26, 48, .64); border-color: rgba(255, 214, 23, .38); }
.achieve-grid--square .achieve-card-body { padding: 0; }
.achieve-grid--square .achieve-card-body h3 { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: .38rem; }
.achieve-grid--square .achieve-card-body p { color: rgba(255, 255, 255, .72); font-size: .8rem; line-height: 1.72; margin: 0; }
.achieve-card--dark { position: relative; break-inside: avoid; background: none; border: 0; border-radius: 0; padding: 0; margin: 0 0 2.4rem; backdrop-filter: none; }
.achieve-card--dark::before { display: none; }
.achieve-card--dark .achieve-card-body { padding: 0; background: none; border-bottom: 0; min-height: 0; }
.achieve-card--dark .achieve-card-body h3 { font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: .5rem; transition: color .2s ease; }
.achieve-card--dark:hover .achieve-card-body h3 { color: var(--yellow); }
.achieve-card--dark .achieve-card-body p { font-size: .89rem; color: rgba(255, 255, 255, .74); line-height: 1.9; }

/* 深色样板工程轮播（>3 张时启用：一行 3 张、每次翻 1 张、循环；按钮在图片外两侧） */
.achieve-row { display: flex; align-items: stretch; gap: 1rem; }
.achieve-btn { flex-shrink: 0; align-self: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 1.3rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; transition: all .2s ease; }
.achieve-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--blue-deep); }
.achieve-carousel { overflow: hidden; min-width: 0; }
.achieve-track { display: flex; transition: transform .45s ease; }
.achieve-track .achieve-slide { flex-shrink: 0; padding: 0 .65rem; box-sizing: border-box; }
.achieve-track .achieve-slide:first-child { padding-left: 0; }
.achieve-track .achieve-slide:last-child { padding-right: 0; }
.achieve-row .achieve-card--dark { height: 100%; }

/* 荣誉资质（博俊式）：板块头左标题右统计 + 证书图横向轮播 */
.honor-head { display: block; text-align: center; margin-bottom: 2.4rem; }
.honor-title { text-align: center; margin: 0; font-size: 1.6rem; }
.honor-title::after { margin-left: auto; margin-right: auto; }
.honor-title::after { margin: .6rem auto 0; }
.honor-sub { font-size: .95rem; color: var(--text-3); }
.honor-stats { display: flex; gap: 2.6rem; list-style: none; margin: 0; padding: 0; }
.honor-stats li { text-align: center; }
.honor-stat-top { font-size: .9rem; color: var(--text-2); margin-bottom: .3rem; }
.honor-stat-num { font-weight: 700; color: var(--blue); white-space: nowrap; }
.honor-stat-num span { font-size: 2.2rem; line-height: 1.1; }
.honor-stat-num em { font-style: normal; font-size: 1rem; margin-left: .15rem; }
.honor-row { display: flex; align-items: stretch; gap: 1rem; }
.honor-btn { flex-shrink: 0; align-self: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--border); color: var(--blue); font-size: 1.3rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; transition: all .2s ease; box-shadow: 0 2px 10px rgba(0, 40, 74, .12); }
.honor-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.honor-carousel { overflow: hidden; min-width: 0; }
.honor-track { display: flex; transition: transform .45s ease; }
.honor-track .honor-item { flex-shrink: 0; padding: 0 .6rem; box-sizing: border-box; }
.honor-track .honor-item:first-child { padding-left: 0; }
.honor-track .honor-item:last-child { padding-right: 0; }
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.honor-item { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.honor-item:hover { transform: translateY(-5px); box-shadow: 0 14px 32px rgba(0, 40, 74, .14); }
.honor-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.honor-item figcaption { padding: .75rem .9rem .85rem; font-size: .875rem; font-weight: 600; color: var(--blue-dark); text-align: center; }

/* 图集（4 列 1:1 强制裁剪 + 渐变说明） */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.gallery-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .8rem .7rem; font-size: .8rem; color: #fff; background: linear-gradient(to top, rgba(0, 40, 74, .82), transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 发展历程：海景背景沉浸板块（加大版；背景图后台字段 timeline_bg 可维护） */
.rich-timeline { position: relative; background-size: cover; background-position: center; background-color: var(--blue-deep); padding: 5.5rem 0 6rem; }
.rich-timeline::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 40, 74, .8), rgba(0, 40, 74, .58) 45%, rgba(0, 40, 74, .82)); }
.rich-timeline .container { position: relative; z-index: 1; }
.rich-title--light, .rich-title--light::after { color: #fff; }
.rich-title--light { font-size: 1.9rem; margin-bottom: 3.2rem; }
.rich-title--light::after { background: var(--yellow); width: 56px; height: 5px; }
.rich-timeline .rich-body--light, .rich-timeline .rich-body--light p { max-width: 1160px; color: rgba(255, 255, 255, .92); }

/* 桌面端：中线左右交替大时间轴，毛玻璃年卡 + 圆点嵌中线 */
.rich-timeline ul.fy-timeline { position: relative; padding: .5rem 0 0; }
.rich-timeline ul.fy-timeline::before { left: 50%; top: 6px; bottom: 6px; width: 2px; transform: translateX(-50%); background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .38) 10%, rgba(255, 255, 255, .38) 90%, transparent); }
.rich-timeline ul.fy-timeline li { position: relative; width: 50%; margin: 0; padding: 1.15rem 1.5rem 1.25rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; backdrop-filter: blur(5px); }
.rich-timeline ul.fy-timeline li:nth-child(odd) { margin-right: auto; text-align: right; }
.rich-timeline ul.fy-timeline li:nth-child(even) { margin-left: auto; text-align: left; }
.rich-timeline ul.fy-timeline li::before { top: 1.5rem; width: 18px; height: 18px; background: var(--yellow); border: 3px solid rgba(0, 40, 74, .92); box-shadow: 0 0 0 2px var(--yellow); z-index: 1; }
.rich-timeline ul.fy-timeline li:nth-child(odd)::before { left: auto; right: -10px; }
.rich-timeline ul.fy-timeline li:nth-child(even)::before { left: -10px; }
.rich-timeline ul.fy-timeline li strong { display: block; font-size: 1.35rem; letter-spacing: .02em; color: var(--yellow); margin-bottom: .45rem; }
.rich-timeline ul.fy-timeline li span { display: block; font-size: 1rem; line-height: 1.9; color: rgba(255, 255, 255, .9); }

/* 进场逐条点亮（JS IntersectionObserver 加 tl-item / tl-in；无 JS 时内容原样可见） */
.rich-timeline ul.fy-timeline li.tl-item { opacity: 0; transform: translateY(30px); transition: opacity .65s ease, transform .65s ease; }
.rich-timeline ul.fy-timeline li.tl-item::before { transform: scale(.3); opacity: 0; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), opacity .45s ease, box-shadow .3s ease; }
.rich-timeline ul.fy-timeline li.tl-in { opacity: 1; transform: none; transition: transform .25s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.rich-timeline ul.fy-timeline li.tl-in::before { transform: none; opacity: 1; }

/* 悬停反馈：卡片提亮上浮，圆点放大发光 */
.rich-timeline ul.fy-timeline li.tl-in:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); box-shadow: 0 12px 32px rgba(0, 20, 40, .35); }
.rich-timeline ul.fy-timeline li.tl-in:hover::before { transform: scale(1.3); box-shadow: 0 0 0 2px var(--yellow), 0 0 18px rgba(255, 214, 23, .8); }

/* 活动掠影：单行轮播（一次 4 张，每次翻 1 张，可循环；按钮在图片外两侧） */
.gallery-row { display: flex; align-items: center; gap: 1rem; }
.gallery-btn { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--border); color: var(--blue); font-size: 1.3rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; transition: all .2s ease; box-shadow: 0 2px 10px rgba(0, 40, 74, .12); }
.gallery-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.gallery-carousel { overflow: hidden; min-width: 0; }
.gallery-track { display: flex; transition: transform .45s ease; }
.gallery-track .gallery-slide { flex-shrink: 0; padding: 0; margin: 0 .9rem; box-sizing: border-box; }
.gallery-track .gallery-slide .gallery-item { border-radius: 8px; }

/* ============================================================
   图片懒加载淡入（main.js 配合：加载完成后加 img-loaded）
   未加载时轻微降透明度占位，加载完成淡入；无 JS 时不影响显示
   ============================================================ */
img.img-loading { opacity: 0; }
img.img-loaded { opacity: 1; transition: opacity .45s ease; }
.no-js img { opacity: 1 !important; }

/* AOS 动画兜底（JS 未加载时不隐藏内容） */
[data-aos] { transition-property: opacity, transform; }
[data-aos^="fade"][data-aos^="fade"] { opacity: .001; transition: opacity .7s ease, transform .7s ease; }
[data-aos="fade-up"] { transform: translate3d(0, 26px, 0); }
[data-aos^="zoom"][data-aos^="zoom"] { opacity: .001; transition: opacity .7s ease, transform .7s ease; }
[data-aos="zoom-in"] { transform: scale(.94); }
[data-aos].aos-animate { opacity: 1 !important; transform: none !important; }
.no-js [data-aos], [data-aos]:not([data-aos]) { opacity: 1; transform: none; }
.breadcrumb { font-size: .8125rem; color: rgba(255, 255, 255, .65); }
.breadcrumb a { color: rgba(255, 255, 255, .8); }
.breadcrumb a:hover { color: var(--yellow); }
.page-main { padding: 2.5rem 1rem 4rem; }

/* 分类筛选条 */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--border); }
.filter-btn { display: inline-flex; padding: .3rem 1.1rem; font-size: .875rem; font-weight: 500; color: var(--text-2); border-radius: 20px; transition: all .2s ease; }
.filter-btn:hover { background: var(--blue-light); color: var(--blue); }
.filter-btn.active { background: var(--blue); color: #fff; }

/* ============================================================
   列表页（图文横卡）
   ============================================================ */
.post-rows { display: flex; flex-direction: column; gap: 1.4rem; }
.post-row { position: relative; display: block; padding-bottom: 1.4rem; border-bottom: 1px solid var(--border); }
.post-hit { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; color: inherit; text-decoration: none; }
.post-row-cover { overflow: hidden; border-radius: var(--radius); }
.post-row-cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s ease; }
.post-row:hover .post-row-cover img { transform: scale(1.04); }
.post-row-date { font-size: .78rem; color: var(--text-3); margin-bottom: .35rem; display: block; }
.post-row-title { font-size: 1.1rem; font-weight: 600; line-height: 1.4; margin-bottom: .5rem; color: var(--text); }
.post-row:hover .post-row-title { color: var(--blue); }
.post-row-summary { font-size: .9rem; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================================
   分页
   ============================================================ */
.pagenav { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pagenav a, .pagenav span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 .5rem; font-size: .875rem; color: var(--text); border: 1px solid #d3d7de; border-radius: var(--radius); }
.pagenav a:hover { border-color: var(--blue); color: var(--blue); }
.pagenav span.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ============================================================
   文章详情
   ============================================================ */
.article { max-width: 860px; margin: 0 auto; }
.article-head { border-bottom: 1px solid var(--border); padding-bottom: 1.6rem; margin-bottom: 2rem; }
.article-title { font-size: 1.75rem; font-weight: 700; line-height: 1.35; margin-bottom: .8rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: .85rem; color: var(--text-3); }
.content-body { font-size: 1.02rem; line-height: 2; color: var(--text); overflow-wrap: break-word; }
.content-body p { margin-bottom: 1.1rem; }
.content-body h2 { font-size: 1.3rem; margin: 1.8rem 0 .8rem; color: var(--blue-dark); }
.content-body h3 { font-size: 1.1rem; margin: 1.4rem 0 .6rem; }
.content-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1rem auto; }
.content-body figure { margin: 1.8rem auto; text-align: center; }
.content-body figure img { margin: 0 auto; display: block; }
.content-body figcaption { font-size: .84rem; color: var(--text-3); line-height: 1.6; margin-top: .55rem; }
.content-body ul { list-style: disc; padding-left: 1.6rem; margin-bottom: 1.1rem; }
.content-body ol { list-style: decimal; padding-left: 1.6rem; margin-bottom: 1.1rem; }
.content-body li { margin-bottom: .35rem; }
.content-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; }
.content-body th, .content-body td { border: 1px solid var(--border); padding: .55rem .8rem; text-align: left; }
.content-body blockquote { border-left: 3px solid var(--blue); background: var(--bg-alt); padding: .8rem 1.2rem; margin-bottom: 1.1rem; color: var(--text-2); }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--border); font-size: .875rem; }
.article-nav .sibling-prev, .article-nav .sibling-next { color: var(--text-2); }
.article-nav a:hover { color: var(--blue); }

/* 相关阅读 */
.related { margin-top: 2.5rem; }
.related h2 { font-size: 1.25rem; margin-bottom: 1.2rem; }
.related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-list li { position: relative; border: 1px solid var(--border); border-bottom: 3px solid var(--blue); border-radius: var(--radius); padding: .9rem 1rem; transition: box-shadow .25s ease; }
.related-list li:hover { box-shadow: var(--shadow); }
.related-list a { color: var(--text); font-size: .9rem; font-weight: 500; display: block; margin-bottom: .3rem; }
.related-list li:hover a { color: var(--blue); }
.related-list time { font-size: .78rem; color: var(--text-3); }

/* ============================================================
   详情页侧栏（课程字段卡 + 表单）
   ============================================================ */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.side-block { background: var(--bg-alt); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.side-block h3 { font-size: 1.05rem; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--blue); }
.field-list li { display: flex; justify-content: space-between; gap: .8rem; padding: .5rem 0; border-bottom: 1px dashed var(--border); font-size: .9rem; }
.field-list li:last-child { border-bottom: none; }
.field-list .k { color: var(--text-3); flex-shrink: 0; }
.field-list .v { color: var(--text); font-weight: 500; text-align: right; }
.qr-row { display: flex; gap: 1rem; justify-content: center; }
.qr-item { text-align: center; }
.qr-item img { width: 108px; height: 108px; object-fit: cover; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); padding: 4px; }
.qr-item span { display: block; font-size: .78rem; color: var(--text-3); margin-top: .4rem; }

/* ============================================================
   表单
   ============================================================ */
.fy-form { display: flex; flex-direction: column; gap: .9rem; }
.fy-form-field { display: flex; flex-direction: column; gap: .35rem; }
.fy-form-label { font-size: .875rem; font-weight: 500; color: var(--text); }
.fy-form input[type="text"], .fy-form input[type="tel"], .fy-form input[type="email"], .fy-form textarea {
  width: 100%; padding: .55rem .8rem; font-size: .9375rem; font-family: inherit; color: var(--text);
  border: 1px solid #d3d7de; border-radius: var(--radius); transition: border-color .2s ease;
}
.fy-form input:focus, .fy-form textarea:focus { outline: none; border-color: var(--blue); }
.fy-form-captcha-row { display: flex; gap: .6rem; align-items: center; }
.fy-form-captcha-row input { flex: 1; }
.fy-form-captcha-row img { cursor: pointer; border-radius: var(--radius); }
.fy-form button[type="submit"] { align-self: flex-start; padding: .55rem 2rem; background: var(--blue); color: #fff; font-size: .9375rem; font-weight: 600; border-radius: var(--radius); transition: background .2s ease; }
.fy-form button[type="submit"]:hover { background: var(--blue-dark); }
.fy-form-errors { background: #fdf0f0; border: 1px solid #f3c1c1; color: #a33; border-radius: var(--radius); padding: .7rem 1rem; font-size: .85rem; }
.fy-form-success { background: #eff7ef; border: 1px solid #bfe3bf; color: #2b6e2b; border-radius: var(--radius); padding: .9rem 1.1rem; font-size: .9rem; }
.fy-hp { position: absolute; left: -9999px; }

/* ============================================================
   搜索
   ============================================================ */
.search-banner { background: var(--bg-alt); padding: 2.2rem 0; }
.search-box { display: flex; max-width: 680px; gap: .6rem; }
.search-box input { flex: 1; padding: .6rem 1rem; font-size: 1rem; font-family: inherit; border: 1px solid #d3d7de; border-radius: var(--radius); }
.search-box input:focus { outline: none; border-color: var(--blue); }

/* ============================================================
   页脚（品牌区 + 导航栏 + 联系卡 + 二维码）
   ============================================================ */
.site-footer { background: var(--blue-deep); color: #fff; }
/* 页脚 CTA：远洋货轮航拍整幅背景带，左侧渐变压暗保文字，右侧黄色主按钮 + 电话直拨 */
.footer-cta {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  padding: 5.6rem 0;
  background: var(--blue-deep) url('../images/footer-sea.jpg') center center / cover no-repeat;
}
.footer-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 16, 32, .82) 0%, rgba(2, 16, 32, .55) 45%, rgba(2, 16, 32, .18) 100%); }
.footer-cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1.8rem; flex-wrap: wrap; }
.footer-cta-slogan { font-size: 1.42rem; font-weight: 700; color: #fff; letter-spacing: .02em; margin: 0 0 .5rem; }
.footer-cta-sub { font-size: .88rem; color: rgba(255, 255, 255, .72); margin: 0; letter-spacing: .04em; }
.footer-cta-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-cta-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--yellow); color: var(--blue-deep);
  font-size: 1rem; font-weight: 700; padding: .85rem 2.1rem; border-radius: 999px;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 26px -10px rgba(255, 214, 23, .45);
}
.footer-cta-btn:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(255, 214, 23, .55); }
.footer-cta-tel { display: inline-flex; align-items: center; gap: .45rem; color: #fff; font-size: 1.02rem; font-weight: 600; padding: .8rem 1.4rem; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; backdrop-filter: blur(2px); transition: color .2s ease, border-color .2s ease, background .2s ease; }
.footer-cta-tel::before { content: ""; width: 14px; height: 14px; background: var(--yellow); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M6.6 10.8a15.9 15.9 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .57 3.6 1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M6.6 10.8a15.9 15.9 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .57 3.6 1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.footer-cta-tel:hover { color: var(--yellow); border-color: var(--yellow); background: rgba(255, 214, 23, .16); }
.footer-main { display: grid; grid-template-columns: minmax(280px, 1.4fr) repeat(2, minmax(120px, .8fr)) minmax(280px, 1.2fr) auto; gap: 2.5rem; padding-top: 2.4rem; padding-bottom: 2.4rem; align-items: start; }
.footer-about img { height: 58px; margin-bottom: .9rem; background: #fff; padding: 4px; border-radius: var(--radius); }
.footer-about p { font-size: .84rem; color: rgba(255, 255, 255, .68); line-height: 1.7; }
.footer-col h4 { font-size: .92rem; font-weight: 600; margin-bottom: .9rem; color: #fff; }
.footer-col li { margin-bottom: .45rem; }
.footer-col a { color: rgba(255, 255, 255, .68); font-size: .845rem; }
.footer-col a:hover { color: #fff; }
.footer-contact { font-size: .84rem; color: rgba(255, 255, 255, .68); }
.footer-contact li { display: flex; gap: .6rem; padding: .32rem 0; align-items: baseline; }
.footer-contact .k { flex-shrink: 0; color: rgba(255, 255, 255, .45); min-width: 3.5em; }
.footer-contact .v { color: rgba(255, 255, 255, .85); }
.footer-contact .v a { color: rgba(255, 255, 255, .85); }
.footer-contact .v a:hover { color: var(--yellow); }
.footer-qr { text-align: center; }
.footer-qr img { width: 108px; height: 108px; object-fit: cover; background: #fff; padding: 4px; border-radius: var(--radius); }
.footer-qr figcaption { font-size: .78rem; color: rgba(255, 255, 255, .65); margin-top: .5rem; max-width: 116px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.1rem 0; }
.footer-bottom .container { display: flex; justify-content: center; text-align: center; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: rgba(255, 255, 255, .55); }

/* ============================================================
   404
   ============================================================ */
.notfound { text-align: center; padding: 5rem 1rem; }
.notfound h1 { font-size: 4rem; color: var(--blue); margin-bottom: .8rem; }
.notfound p { color: var(--text-2); margin-bottom: 1.6rem; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1023px) {
  .card-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr; gap: 2rem; }
  .overview-img img { min-height: 0; aspect-ratio: 16 / 9; }
  .svc-scope ul.fy-culture { gap: 1rem; }
  .adv-grid { gap: 0 2.6rem; }
  .adv-item:nth-last-child(-n + 2) { border-bottom: 0; }
  .adv-item:nth-last-child(3), .adv-item:nth-last-child(4) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .svc-scope ul.fy-culture li { grid-template-columns: 1fr; gap: .6rem; padding: 1.3rem 1.3rem 1.4rem; }
  .svc-scope ul.fy-culture li::before { font-size: 1.8rem; }
  .rich-body > ul:not([class]) { grid-template-columns: 1fr; }
  .rich-global { padding: 3rem 0 3.5rem; }
  .global-legend { gap: .55rem 1.6rem; }
  .rich-adv { padding: 3rem 0 3.4rem; }
  .adv-grid { grid-template-columns: 1fr; gap: 0; max-width: none; }
  .adv-item:nth-last-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .adv-item:last-child { border-bottom: 0; }
  .adv-item::before { top: 1.35rem; }
  .global-map { box-shadow: 0 10px 26px -16px rgba(6, 21, 41, .25); }
  .stats-cards { grid-template-columns: repeat(2, 1fr); }
  .achieve-grid { grid-template-columns: repeat(2, 1fr); }
  .achieve-grid--bleed { left: auto; transform: none; width: auto; flex-wrap: wrap; }
  .achieve-grid--bleed > * { flex: 1 1 45%; }
  .achieve-grid--dark { column-gap: 2rem; }
  .rich-achieve--dark { padding: 3.5rem 0 4rem; }
  .achieve-row { gap: .6rem; }
  .achieve-btn { width: 34px; height: 34px; font-size: 1rem; }
  .honor-head { margin-bottom: 1.8rem; }
  .honor-stats { gap: 1.8rem; }
  .honor-row { gap: .6rem; }
  .honor-btn { width: 34px; height: 34px; font-size: 1rem; }
  .honor-track .honor-item { padding: 0 .5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-row { gap: .6rem; }
  .gallery-track .gallery-slide { margin: 0 .6rem; }
  /* 时间轴移动端：单列左线布局 */
  .rich-timeline { padding: 3.5rem 0 4rem; }
  .rich-title--light { font-size: 1.5rem; margin-bottom: 2rem; }
  .rich-timeline .rich-body--light, .rich-timeline .rich-body--light p { max-width: none; }
  .rich-timeline ul.fy-timeline::before { left: 9px; transform: none; }
  .rich-timeline ul.fy-timeline li,
  .rich-timeline ul.fy-timeline li:nth-child(odd),
  .rich-timeline ul.fy-timeline li:nth-child(even) { width: 100%; margin: 0 0 1.1rem; padding: 1.05rem 1.2rem 1.15rem 2.5rem; text-align: left; }
  .rich-timeline ul.fy-timeline li:nth-child(odd)::before,
  .rich-timeline ul.fy-timeline li:nth-child(even)::before { left: 1px; right: auto; top: 1.3rem; }
  .rich-timeline ul.fy-timeline li strong { font-size: 1.15rem; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-about { grid-column: 1 / -1; }
  .footer-qr { grid-column: 1 / -1; text-align: left; }
  .footer-qr figcaption { max-width: none; }
}

/* 桌面横排导航需要约 1150px（9 个中文菜单 + CTA + 大 logo），
   只在 ≥1440px 铺开；以下宽度一律收进汉堡菜单，避免页头溢出换行 */
@media (max-width: 1439px) {
  .btn-menu { display: flex; }
  .main-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--blue); display: none; box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .main-nav > ul > li > a { color: #fff; padding: .85rem 1.4rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .main-nav > ul > li.active > a, .main-nav > ul > li > a:hover { color: var(--yellow); }
  .fy-submenu { position: static; display: block; background: transparent; border-top: none; box-shadow: none; padding: 0 0 .4rem; }
  .fy-submenu a { color: rgba(255, 255, 255, .78); padding: .5rem 2.2rem; }
  .fy-submenu li.active a, .fy-submenu a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
}

@media (max-width: 767px) {
  :root { --header-h: 60px; }
  .header-bar { height: var(--header-h); }
  .brand img { height: auto; max-height: 44px; width: auto; max-width: min(56vw, 240px); object-fit: contain; }
  .brand-text { font-size: .95rem; }
  /* 详情/列表正文移动端边距加宽，避免文字贴边 */
  .page-main { padding-left: 1.15rem; padding-right: 1.15rem; }
  .header-cta { display: none; }
  .hero { height: 380px; }
  .hero-content { padding: 0 1rem; }
  .hero-title { font-size: 1.6rem; }
  .hero-desc { font-size: .95rem; }
  .section { padding: 2.4rem 0; }
  .card-grid, .card-grid--4, .card-grid--2 { grid-template-columns: 1fr; }
  .news-mix { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  .stats-cards { grid-template-columns: 1fr 1fr; }
  .achieve-grid { grid-template-columns: 1fr; }
  .achieve-grid--dark { column-count: 1; }
  .achieve-card--dark { margin-bottom: 1.9rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-track .gallery-slide { margin: 0 .45rem; }
  .gallery-btn { width: 34px; height: 34px; font-size: 1rem; flex-shrink: 0; }
  .post-hit { grid-template-columns: 1fr; gap: .8rem; }
  .article-nav { grid-template-columns: 1fr; }
  .related-list { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.35rem; }
  .article-title { font-size: 1.3rem; }
  .footer-main { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-col { min-width: 45%; }
  .footer-cta { padding: 3rem 0; }
  .footer-cta-slogan { font-size: 1.18rem; }
  .footer-cta-sub { font-size: .8rem; }
  .footer-cta-btn { padding: .75rem 1.7rem; font-size: .92rem; }
  .footer-cta-tel { padding: .68rem 1.15rem; font-size: .92rem; }
  .footer-bottom .container { flex-direction: column; gap: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* 合作机构页：开放合作表单容器（样式对齐关于我们模块语言） */
.apply-box { max-width: 720px; margin: 0 auto; background: var(--bg-alt); border-radius: var(--radius); padding: 1.8rem 2rem; }
.apply-box .apply-intro { font-size: .925rem; color: var(--text-2); line-height: 1.8; margin: 0 0 1.2rem; }

/* ===== 防孤儿网格：按卡片数量自适应铺满整行（桌面端；svc-scope 编号宽行布局不受影响） ===== */
@media (min-width: 1024px) {
  /* 概览板块（左文右图）内的小卡：窄栏内单列堆叠 */
  .overview-grid .rich-body ul.fy-culture:not(.svc-scope ul),
  .overview-grid .rich-body ul.fy-people { display: block; }
  .overview-grid .rich-body ul.fy-culture:not(.svc-scope ul) > li,
  .overview-grid .rich-body ul.fy-people > li { margin-bottom: .9rem; }

  /* 带图大卡（achieve-grid）：4 张 2×2、5 张 3+2（末行两张平分整行） */
  .achieve-grid:has(> :nth-child(4)):not(:has(> :nth-child(5))) { grid-template-columns: repeat(2, 1fr); }
  .achieve-grid:has(> :nth-child(5)):not(:has(> :nth-child(6))) { grid-template-columns: repeat(6, 1fr); }
  .achieve-grid:has(> :nth-child(5)):not(:has(> :nth-child(6))) > :nth-child(-n+3) { grid-column: span 2; }
  .achieve-grid:has(> :nth-child(5)):not(:has(> :nth-child(6))) > :nth-child(4),
  .achieve-grid:has(> :nth-child(5)):not(:has(> :nth-child(6))) > :nth-child(5) { grid-column: span 3; }

  /* 合作伙伴 logo 墙：按数量铺满，不留空位 */
  .partner-grid:not(:has(> :nth-child(4))) { grid-template-columns: repeat(3, 1fr); }
  .partner-grid:has(> :nth-child(4)):not(:has(> :nth-child(5))) { grid-template-columns: repeat(4, 1fr); }
  .partner-grid:has(> :nth-child(5)):not(:has(> :nth-child(6))) { grid-template-columns: repeat(5, 1fr); }
}

/* 无图文字卡适配：数据卡无图时数字居中放大；成绩卡无图时浅蓝底标题条 */
@media (min-width: 1024px) {
  .stat-card:not(:has(> .stat-card-img)) { text-align: center; padding: 1.6rem 1.2rem 1.3rem; }
  .stat-card:not(:has(> .stat-card-img)) .stat-card-num { padding: 0; font-size: 1.15em; }
  .stat-card:not(:has(> .stat-card-img)) .stat-card-label { padding: .5rem .6rem 0; }
  .achieve-card:not(.achieve-card--dark):not(:has(> .achieve-card-img)) .achieve-card-body { background: linear-gradient(180deg, #eef4fb, transparent); border-bottom: 3px solid var(--blue); min-height: 100%; }
}

/* 列表分页器（课程 / 案例 / 新闻通用） */
.fy-pagenav { margin: 3rem 0 1.5rem; }
.fy-pagenav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.fy-pagenav-item { margin: 0; }
.fy-pagenav-item > a,
.fy-pagenav-item > span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 .95rem; font-size: .9rem; color: #3c4450; background: #fff; border: 1px solid var(--border); border-radius: 0; text-decoration: none; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.fy-pagenav-item > a:hover { color: var(--blue); border-color: var(--blue); }
.fy-pagenav-item.is-active > a,
.fy-pagenav-item.is-active > span { color: #fff; background: var(--blue); border-color: var(--blue); }
.fy-pagenav-item.is-disabled > span { color: #b7bcc4; background: #f7f8f9; }
/* ============================================================
   联系我们：左侧联系方式 + 右侧留言表单卡
   ============================================================ */
.contact-page { padding: 3.5rem 0 4.5rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 3.5rem; align-items: start; }

.contact-eyebrow { font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; color: #8b929c; margin: 0 0 1.1rem; }
.contact-title { font-size: 2.35rem; font-weight: 700; color: var(--blue-dark); letter-spacing: .02em; margin: 0 0 2.2rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 2.2rem; }
.contact-list li { display: flex; gap: .95rem; padding: 1.05rem 0; border-bottom: 1px solid #e9ecef; }
.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ci { flex: 0 0 auto; width: 21px; height: 21px; color: var(--blue); margin-top: .12rem; }
.contact-list .ci svg { width: 100%; height: 100%; display: block; }
.ci-body strong { display: block; font-size: .9rem; font-weight: 600; color: #14171a; margin-bottom: .32rem; }
.ci-body p { margin: 0; font-size: .93rem; color: #5a616b; line-height: 1.75; overflow-wrap: anywhere; }
.ci-body a { color: var(--blue); text-decoration: none; }
.ci-body a:hover { text-decoration: underline; }

.contact-qr { display: flex; align-items: center; gap: 1.1rem; background: #f5f6f7; border: 1px solid #eceef0; padding: 1.1rem 1.2rem; }
.contact-qr img { width: 96px; height: 96px; object-fit: cover; background: #fff; flex: 0 0 auto; }
.contact-qr strong { display: block; font-size: .95rem; font-weight: 600; color: #14171a; margin-bottom: .3rem; }
.contact-qr p { margin: 0; font-size: .82rem; color: #6b7280; line-height: 1.7; }

.contact-form-card { background: #fff; border: 1px solid #e6e9ec; }
.cf-head { background: var(--blue-deep); padding: 1.5rem 1.8rem; }
.cf-head h2 { font-size: 1.15rem; font-weight: 600; color: #fff; margin: 0 0 .35rem; }
.cf-head p { margin: 0; font-size: .82rem; color: rgba(255, 255, 255, .72); }
.cf-body { padding: 1.7rem 1.8rem 1.9rem; }
.cf-body .fy-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem 1rem; }
.cf-body .fy-form-field:has(textarea),
.cf-body .fy-form-captcha,
.cf-body .fy-form-submit { grid-column: 1 / -1; }
.cf-body .fy-form button[type="submit"] { width: 100%; padding: .85rem 1rem; font-size: .95rem; border-radius: 0; background: var(--blue); color: #fff; }
.cf-body .fy-form button[type="submit"]:hover { background: var(--blue-dark); }
.cf-body .fy-form input[type="text"],
.cf-body .fy-form input[type="tel"],
.cf-body .fy-form input[type="email"],
.cf-body .fy-form textarea { border-radius: 0; }
.contact-extra { margin-top: 3rem; }
@media (max-width: 1023px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .contact-title { font-size: 1.9rem; margin-bottom: 1.6rem; }
  .cf-body .fy-form { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contact-qr { flex-direction: column; align-items: flex-start; }
}
/* 移动端页脚左右留白（原 .footer-main 的 padding 简写吃掉了容器内边距） */
@media (max-width: 767px) {
  .footer-main { padding-left: 1.25rem; padding-right: 1.25rem; }
  .footer-cta-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .footer-bottom .container { padding-left: 1.25rem; padding-right: 1.25rem; }
}
/* 移动端活动掠影：一次只显示一张照片（占满整行，按钮悬浮图上） */
@media (max-width: 699px) {
  .gallery-row { position: relative; }
  .gallery-carousel { width: 100%; }
  .gallery-btn { position: absolute; top: 38%; z-index: 2; }
  .gallery-btn--prev { left: .7rem; }
  .gallery-btn--next { right: .7rem; }
  .gallery-track .gallery-slide { margin: 0; flex-basis: 100% !important; }
}

/* 产品卖点卡片：窄屏按 2 → 1 列自适应，卡片高度始终跟随内容 */
@media (max-width: 1023px) {
  .achieve-grid--square { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
}
@media (max-width: 560px) {
  .achieve-grid--square { grid-template-columns: 1fr; }
  .achieve-grid--square .achieve-card { padding: 1rem 1.15rem 1.05rem; }
}
/* 详情页正文图册（fy-gallery-block）：标题 + 自适应图片网格，竖图/肖像自动放大占位 */
.fy-gallery-block { margin: 2.6rem 0 1rem; }
.fy-gallery-title { font-size: 1.08rem; font-weight: 600; color: var(--blue-dark); padding-left: .7rem; border-left: 3px solid var(--yellow); margin-bottom: 1.1rem; }
.fy-gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .9rem; }
.fy-gallery-item { margin: 0; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.fy-gallery-item img { display: block; width: 100%; height: auto; }
.fy-gallery-item--portrait { grid-column: span 1; }
.fy-gallery-item--portrait img { aspect-ratio: 3 / 4; object-fit: cover; }
.fy-gallery-item figcaption { padding: .6rem .8rem; font-size: .78rem; color: var(--text-2); line-height: 1.6; }
@media (min-width: 700px) {
  .fy-gallery-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  /* 单图板块：竖版海报限高居中，不无限放大 */
  .fy-gallery-grid:has(> :only-child) { grid-template-columns: 1fr; }
  .fy-gallery-grid > :only-child img { max-height: 520px; width: auto; max-width: 100%; margin: 0 auto; }
}
