/*
Theme Name: QDWHCM Media
Theme URI: https://www.qdwhcm.com/
Author: 青岛文华传媒有限公司
Author URI: https://www.qdwhcm.com/
Description: 青岛文华传媒（qdwhcm.com）文化传媒企业官方主题。经典门户型企业官网布局，内置首页、关于我们、联系我们、服务列表/详情、案例、新闻动态、FAQ、隐私政策、404 等完整页面，含 Banner 轮播、数据展示、客户案例、面包屑导航、移动端汉堡菜单与 SEO TDK 优化。
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qdwhcm-media
Domain Path: /languages
Tags: corporate, business, media, culture, news, responsive, custom-logo, custom-menu, custom-colors, featured-images, threaded-comments, translation-ready

== SEO TDK（首页） ==
Title       : 青岛文华传媒有限公司官网 - 品牌策划丨影视制作丨活动策划丨新媒体运营
Description : 青岛文华传媒有限公司立足青岛、服务全国，提供品牌策划、影视制作、活动执行、新媒体运营四大核心业务，累计服务 500+ 品牌客户，是值得信赖的文化传媒整合服务商。
Keywords    : 青岛文化传媒,青岛广告公司,青岛影视制作,品牌策划公司,活动策划,新媒体运营,企业宣传片

== 视觉规范 ==
品牌色 Brand   : #B5121B（文化红）
辅助色 Accent  : #D9A441（鎏金）
中性色 Neutral : #2B2B2B / #6E6A66 / #F7F5F1 / #FFFFFF
标题字体 : 「Noto Serif SC」「Source Han Serif SC」「宋体」 serif
正文字体 : 「Noto Sans SC」「PingFang SC」「Microsoft YaHei」 sans-serif
字号 : H1 40px / H2 30px / H3 20px / Body 16px / 行高 1.75
圆角 : 卡片 8px，按钮 4px；阴影 0 8px 24px rgba(43,43,43,.08)
*/

/* ============ 设计令牌 ============ */
:root {
  --brand: #B5121B;
  --brand-dark: #8E0E15;
  --brand-soft: #F7E3E4;
  --accent: #D9A441;
  --accent-dark: #B98A2E;
  --ink: #2B2B2B;
  --muted: #6E6A66;
  --paper: #FFFFFF;
  --cream: #F7F5F1;
  --line: #E8E4DE;
  --shadow: 0 8px 24px rgba(43, 43, 43, .08);
  --shadow-lg: 0 16px 48px rgba(43, 43, 43, .14);
  --radius: 8px;
  --radius-btn: 4px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "PingFang SC", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ============ 基础重置 ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--brand-dark); }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); line-height: 1.35; color: var(--ink); font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--cream { background: var(--cream); }
.section--brand { background: var(--brand); color: #fff; }
.section--brand h1, .section--brand h2, .section--brand h3 { color: #fff; }

/* 栅格布局 */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ============ 加载动画 ============ */
#qdwhcm-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--paper);
  display: flex; flex-direction: column; gap: 16px;
  align-items: center; justify-content: center;
  transition: opacity .5s var(--ease), visibility .5s;
}
#qdwhcm-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#qdwhcm-loader .loader-logo { font-family: var(--serif); font-size: 28px; color: var(--brand); letter-spacing: 4px; }
#qdwhcm-loader .loader-spin {
  width: 42px; height: 42px; border-radius: 50%;
  border: 3px solid var(--brand-soft); border-top-color: var(--brand);
  animation: qdwhcm-spin .8s linear infinite;
}
@keyframes qdwhcm-spin { to { transform: rotate(360deg); } }

/* 滚动揭示动画 */
.qdwhcm-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.qdwhcm-reveal.is-visible { opacity: 1; transform: none; }

/* ============ 顶部工具栏 ============ */
.topbar { background: var(--ink); color: #CFCBC6; font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 20px; }
.topbar a { color: #CFCBC6; }
.topbar a:hover { color: #fff; }
.topbar .icon { margin-right: 6px; color: var(--accent); }
.topbar__badge { background: var(--brand); color: #fff; padding: 1px 10px; border-radius: 999px; font-size: 12px; }

/* ============ 头部 / 主导航 ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }

.site-brand { display: flex; align-items: center; gap: 12px; }
.site-brand__logo {
  width: 46px; height: 46px; border-radius: var(--radius-btn);
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  box-shadow: var(--shadow);
}
.site-brand__text { line-height: 1.2; }
.site-brand__name { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--ink); }
.site-brand__name-en { font-size: 11px; letter-spacing: 2.5px; color: var(--muted); text-transform: uppercase; }

/* 主导航 */
.primary-nav ul { display: flex; align-items: center; gap: 4px; }
.primary-nav a.nav-link {
  display: block; padding: 10px 16px;
  color: var(--ink); font-size: 16px; font-weight: 500;
  position: relative;
}
.primary-nav a.nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--brand); transform: scaleX(0);
  transform-origin: left; transition: transform .3s var(--ease);
}
.primary-nav a.nav-link:hover::after,
.primary-nav li.current-menu-item > a.nav-link::after,
.primary-nav li.current_page_item > a.nav-link::after { transform: scaleX(1); }
.primary-nav a.nav-link:hover { color: var(--brand); }
.primary-nav li { position: relative; }
.primary-nav li.menu-item-has-children > a::before {
  content: "▾"; font-size: 10px; margin-left: 6px; color: var(--muted);
}
.primary-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s var(--ease);
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 8px 20px; color: var(--ink); font-size: 14px; }
.primary-nav .sub-menu a:hover { background: var(--cream); color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-search__toggle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.header-search__toggle:hover { border-color: var(--brand); color: var(--brand); }

/* 汉堡菜单按钮（移动端） */
.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: var(--radius-btn);
  background: #fff; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: all .3s var(--ease); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端菜单面板 */
.mobile-nav {
  display: none; position: fixed; top: 0; right: 0; bottom: 0; z-index: 99;
  width: min(320px, 84vw); background: #fff; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .35s var(--ease);
  padding: 88px 28px 28px; overflow-y: auto;
}
.mobile-nav.is-open { transform: none; }
.mobile-nav a { display: block; padding: 12px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav a:hover { color: var(--brand); }
.mobile-nav__mask {
  display: none; position: fixed; inset: 0; z-index: 98; background: rgba(43,43,43,.45);
  opacity: 0; transition: opacity .3s var(--ease);
}
.mobile-nav__mask.is-visible { opacity: 1; }

/* 头部搜索条 */
.header-searchbar {
  display: none; border-top: 1px solid var(--line); background: var(--cream);
  padding: 14px 0;
}
.header-searchbar.is-open { display: block; }
.header-searchbar form { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; }
.header-searchbar input[type="search"] {
  flex: 1; border: 1px solid var(--line); border-radius: var(--radius-btn);
  padding: 10px 16px; outline: none; background: #fff;
}
.header-searchbar input[type="search"]:focus { border-color: var(--brand); }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-btn);
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s var(--ease);
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--accent); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--brand); }
.btn--lg { padding: 15px 36px; font-size: 16px; }

/* ============ Banner 轮播 ============ */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero__slide {
  position: relative; min-height: 560px;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  opacity: 0; visibility: hidden;
  position: absolute; inset: 0;
  transition: opacity .8s var(--ease), visibility .8s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; position: relative; }
.hero__slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(24,16,14,.82) 0%, rgba(24,16,14,.45) 55%, rgba(24,16,14,.15) 100%);
}
.hero__content { position: relative; z-index: 2; color: #fff; max-width: 640px; padding: 80px 0; }
.hero__kicker { color: var(--accent); letter-spacing: 4px; font-size: 14px; text-transform: uppercase; margin-bottom: 14px; }
.hero__title { font-size: 44px; color: #fff; margin-bottom: 18px; }
.hero__desc { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 30px; max-width: 520px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__nav { position: absolute; z-index: 5; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.45); border: 0; cursor: pointer; transition: all .3s var(--ease); }
.hero__dot.is-active { width: 28px; background: var(--accent); }
.hero__arrow {
  position: absolute; z-index: 5; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.hero__arrow:hover { background: var(--brand); }
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }

/* ============ Section 标题 ============ */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head__en { color: var(--brand); letter-spacing: 4px; font-size: 13px; text-transform: uppercase; margin-bottom: 10px; }
.section-head__title { font-size: 30px; margin-bottom: 14px; }
.section-head__title em { font-style: normal; color: var(--brand); }
.section-head__desc { color: var(--muted); }
.section-head--left { text-align: left; margin: 0 0 36px; }
.section-head--left .section-head__title::after {
  content: ""; display: block; width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  margin-top: 14px; border-radius: 2px;
}

/* ============ 卡片 ============ */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--cream); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--brand); color: #fff; font-size: 12px;
  padding: 3px 12px; border-radius: 999px;
}
.card__body { padding: 22px 24px 26px; }
.card__title { font-size: 19px; margin-bottom: 10px; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--brand); }
.card__excerpt { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.card__meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.card__more { font-size: 14px; font-weight: 600; color: var(--brand); }
.card__more::after { content: " →"; transition: margin-left .25s var(--ease); }
.card__more:hover::after { margin-left: 6px; }

/* ============ 核心业务三栏 ============ */
.biz-card { text-align: left; padding: 32px 28px; }
.biz-card__icon {
  width: 60px; height: 60px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
  transition: all .3s var(--ease);
}
.biz-card:hover .biz-card__icon { background: var(--brand); color: #fff; }
.biz-card__title { font-size: 20px; margin-bottom: 10px; }
.biz-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }

/* ============ 数据统计 ============ */
.stats { background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0; opacity: .08;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 22px 22px;
}
.stats .container { position: relative; }
.stat-item { text-align: center; padding: 12px 8px; }
.stat-item__num { font-family: var(--serif); font-size: 46px; font-weight: 700; color: #fff; line-height: 1.1; }
.stat-item__num small { font-size: 24px; color: var(--accent); }
.stat-item__label { color: rgba(255,255,255,.8); font-size: 14.5px; margin-top: 6px; }
.stats__divider { width: 1px; background: rgba(255,255,255,.2); }

/* ============ 客户 Logo 墙 ============ */
.client-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: center; }
.client-logo {
  height: 72px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--muted);
  font-family: var(--serif); font-size: 17px; letter-spacing: 2px;
  filter: grayscale(1); opacity: .75;
  transition: all .3s var(--ease);
}
.client-logo:hover { filter: none; opacity: 1; color: var(--brand); border-color: var(--brand); }

/* ============ 新闻列表 ============ */
.news-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-item__date {
  flex: 0 0 72px; text-align: center; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px 6px; height: fit-content;
}
.news-item__date b { display: block; font-family: var(--serif); font-size: 26px; color: var(--brand); line-height: 1.1; }
.news-item__date span { font-size: 12px; color: var(--muted); }
.news-item__title { font-size: 18px; margin-bottom: 8px; }
.news-item__title a { color: var(--ink); }
.news-item__title a:hover { color: var(--brand); }
.news-item__excerpt { color: var(--muted); font-size: 14.5px; }

/* ============ 联系方式模块 ============ */
.contact-strip { background: var(--ink); color: #fff; }
.contact-strip .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.contact-strip__item { display: flex; align-items: center; gap: 16px; }
.contact-strip__icon {
  width: 54px; height: 54px; border-radius: 50%; flex: 0 0 54px;
  background: rgba(181,18,27,.18); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.contact-strip__label { font-size: 13px; color: rgba(255,255,255,.6); }
.contact-strip__value { font-size: 18px; font-weight: 600; color: #fff; }

/* ============ 面包屑 ============ */
.breadcrumb {
  background: var(--cream); border-bottom: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted); padding: 14px 0;
}
.breadcrumb .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb__sep { color: #C9C4BD; }
.breadcrumb__current { color: var(--brand); font-weight: 600; }

/* ============ 页面头部 ============ */
.page-hero { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; padding: 56px 0; text-align: center; }
.page-hero__en { letter-spacing: 5px; font-size: 13px; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; }
.page-hero__title { color: #fff; font-size: 36px; }

/* ============ 正文排版 ============ */
.entry-content { font-size: 16px; line-height: 1.85; color: #3B3835; }
.entry-content p { margin-bottom: 1.2em; }
.entry-content h2 { font-size: 26px; margin: 1.6em 0 .7em; padding-left: 14px; border-left: 4px solid var(--brand); }
.entry-content h3 { font-size: 20px; margin: 1.4em 0 .6em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.6em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 1.2em 0; }
.entry-content blockquote {
  border-left: 4px solid var(--accent); background: var(--cream);
  padding: 18px 24px; margin: 1.4em 0; border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted); font-style: italic;
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 14.5px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--cream); font-weight: 600; }

/* 文章头部 */
.entry-header { margin-bottom: 28px; }
.entry-title { font-size: 32px; margin-bottom: 14px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: var(--muted); }
.entry-meta .icon { color: var(--brand); margin-right: 5px; }
.entry-thumb { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 32px; }

/* 上一篇/下一篇 */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 40px 0; }
.post-nav__card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; background: #fff; transition: all .25s var(--ease);
}
.post-nav__card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.post-nav__label { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.post-nav__title { font-size: 15.5px; color: var(--ink); }
.post-nav__card--next { text-align: right; }

/* ============ 侧边栏 ============ */
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.widget {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.widget__title { font-size: 18px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--brand); display: inline-block; }
.widget ul li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.widget ul li:last-child { border-bottom: 0; }
.widget ul li a { color: #3B3835; }
.widget ul li a:hover { color: var(--brand); }
.widget--cta { background: var(--brand); border-color: var(--brand); color: #fff; }
.widget--cta .widget__title { color: #fff; border-color: var(--accent); }
.widget--cta p { color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 16px; }

/* ============ 分页 ============ */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 40px 0 0; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius-btn);
  background: #fff; color: var(--ink); font-size: 14.5px;
  transition: all .25s var(--ease);
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ============ FAQ 折叠面板 ============ */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; background: #fff; overflow: hidden; transition: box-shadow .25s var(--ease); }
.faq-item.is-open { box-shadow: var(--shadow); }
.faq-item__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 52px 18px 22px; font-size: 16.5px; font-weight: 600; color: var(--ink);
  position: relative;
}
.faq-item__q::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--brand); transition: transform .3s var(--ease);
}
.faq-item.is-open .faq-item__q::after { transform: translateY(-50%) rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-item__a-inner { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ============ 留言表单 ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.form-field label .req { color: var(--brand); }
.form-field input, .form-field textarea, .form-field select {
  border: 1px solid var(--line); border-radius: var(--radius-btn);
  padding: 12px 16px; background: #fff; outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }

/* ============ 404 ============ */
.page-404 { text-align: center; padding: 90px 24px 110px; }
.page-404__code {
  font-family: var(--serif); font-size: 128px; font-weight: 700; line-height: 1;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-404__title { font-size: 26px; margin: 12px 0 14px; }
.page-404__desc { color: var(--muted); max-width: 520px; margin: 0 auto 30px; }
.page-404__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.page-404__links { max-width: 640px; margin: 0 auto; }

/* ============ 评论 ============ */
.comments-area { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 36px; }
.comments-title { font-size: 22px; margin-bottom: 20px; }
.comment-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-form input, .comment-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-btn);
  padding: 12px 16px; margin-bottom: 14px; outline: none;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--brand); }

/* ============ 页脚 ============ */
.site-footer { background: var(--ink); color: #B9B4AE; }
.site-footer__main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.site-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.site-footer__logo {
  width: 44px; height: 44px; border-radius: var(--radius-btn);
  background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 20px;
}
.site-footer__name { color: #fff; font-family: var(--serif); font-size: 20px; }
.site-footer__desc { font-size: 14px; line-height: 1.9; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--accent); }
.site-footer ul li { padding: 6px 0; font-size: 14px; }
.site-footer ul li a { color: #B9B4AE; }
.site-footer ul li a:hover { color: #fff; padding-left: 4px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--accent); margin-top: 4px; }
.site-footer__qrcode {
  width: 108px; height: 108px; background: #fff; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); font-size: 11px; text-align: center; line-height: 1.5; padding: 8px;
}
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 13px; }
.site-footer__bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.site-footer__bottom a { color: #B9B4AE; margin-left: 18px; }
.site-footer__bottom a:hover { color: #fff; }
.site-footer__icp { color: #8F8A84; }

/* 返回顶部 */
.back-to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--brand); color: #fff; font-size: 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--brand-dark); }

/* 分割线装饰 */
.divider { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); margin: 40px 0; }
.divider--brand { background: linear-gradient(90deg, transparent, var(--brand), var(--accent), transparent); height: 2px; }

/* 徽标条（资质荣誉） */
.badge-row { display: flex; flex-wrap: wrap; gap: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-size: 14px; color: var(--muted); background: #fff;
}
.badge .icon { color: var(--accent-dark); }

/* 时间轴（发展历程） */
.timeline { position: relative; padding-left: 28px; border-left: 2px solid var(--line); }
.timeline__item { position: relative; padding: 0 0 28px 18px; }
.timeline__item::before {
  content: ""; position: absolute; left: -37px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand); border: 3px solid var(--brand-soft);
}
.timeline__year { color: var(--brand); font-family: var(--serif); font-weight: 700; font-size: 18px; }
.timeline__title { font-weight: 600; margin: 2px 0 4px; }
.timeline__desc { color: var(--muted); font-size: 14.5px; }

/* 服务流程步骤 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step-card { text-align: center; padding: 28px 14px; position: relative; }
.step-card__num {
  font-family: var(--serif); font-size: 40px; font-weight: 700;
  color: var(--brand-soft); line-height: 1;
}
.step-card__title { font-size: 17px; margin: 8px 0 6px; }
.step-card__desc { font-size: 13.5px; color: var(--muted); }

/* 无结果 */
.no-results { text-align: center; padding: 70px 20px; color: var(--muted); }

/* ============ 无障碍 ============ */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: 10px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ============ 响应式：移动端适配 ============ */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .client-wall { grid-template-columns: repeat(4, 1fr); }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .hero__title { font-size: 36px; }
}

@media (max-width: 860px) {
  .primary-nav, .header-search__toggle { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
  .mobile-nav__mask { display: block; pointer-events: none; }
  .mobile-nav__mask.is-visible { pointer-events: auto; }
  .topbar__right { display: none; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .hero__slide { min-height: 480px; }
  .hero__content { padding: 60px 0; }
  .hero__title { font-size: 30px; }
  .hero__arrow { display: none; }
  .stats .container { grid-template-columns: 1fr 1fr !important; row-gap: 28px; }
  .stats__divider { display: none; }
  .contact-strip .container { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .page-hero__title { font-size: 28px; }
  .entry-title { font-size: 26px; }
  .section { padding: 52px 0; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .client-wall { grid-template-columns: repeat(2, 1fr); }
  .site-footer__main { grid-template-columns: 1fr; gap: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 26px; }
  .page-404__code { font-size: 88px; }
  .news-item { flex-direction: column; gap: 12px; }
  .stats .container { grid-template-columns: 1fr 1fr !important; }
  .stat-item__num { font-size: 36px; }
  .topbar .container { justify-content: center; }
  .topbar__left span:nth-child(2) { display: none; }
}

/* 打印样式 */
@media print {
  .topbar, .site-header, .site-footer, .back-to-top, .hero__arrow, .hero__nav, #qdwhcm-loader { display: none !important; }
  body { color: #000; }
}
