/* ==================================================================
   ArtCoatings 主样式（移动优先 · 欧美编辑风）
   ================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.22; font-weight: 700; letter-spacing: .01em; }

/* 高雅衬线标题（欧洲编辑风） */
.hero__title, .section__title, .page-hero__title, .company__name,
.article__title, .page__title, .error-title, .card__title, .panel__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .005em;
}

p { margin: 0 0 1em; }
button { font-family: inherit; }

/* ---------- 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}
.container--narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .04em;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn--gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-strong); border-color: var(--gold-strong); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--ghost-dark { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost-dark:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.28); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid var(--gold);
  color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .04em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text strong { font-size: 14px; letter-spacing: .12em; }
.brand__text em { font-style: normal; font-size: 10.5px; color: rgba(255,255,255,.55); letter-spacing: .08em; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 0 8px;
  background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: #fff; transition: all .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column; gap: 4px;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 16px 22px 24px;
}
.primary-nav.is-open { display: flex; }
.nav-list { display: flex; flex-direction: column; gap: 2px; }
.nav-list a {
  display: block; padding: 11px 4px; color: rgba(255,255,255,.82);
  font-size: 14px; letter-spacing: .02em; border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav-list a:hover { color: var(--gold); }
.nav-cta { margin-top: 12px; align-self: flex-start; }

/* ---------- 语言切换 ---------- */
.lang-switch { position: relative; margin-top: 14px; align-self: flex-start; }
.lang-switch__btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  color: var(--text-invert); font: inherit; font-size: 13px; letter-spacing: .02em;
  cursor: pointer; transition: background .18s ease, border-color .18s ease;
}
.lang-switch__btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.26); }
.lang-switch__icon, .lang-switch__caret { flex: none; opacity: .85; }
.lang-switch__caret { transition: transform .18s ease; }
.lang-switch.is-open .lang-switch__caret { transform: rotate(180deg); }

.lang-switch__menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  min-width: 168px; margin: 0; padding: 6px; list-style: none;
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); box-shadow: 0 14px 34px rgba(0,0,0,.38);
}
.lang-switch.is-open .lang-switch__menu { display: block; }
.lang-switch__menu button {
  display: block; width: 100%; text-align: left;
  padding: 9px 12px; border: 0; border-radius: var(--radius);
  background: transparent; color: rgba(255,255,255,.82);
  font: inherit; font-size: 13.5px; cursor: pointer;
}
.lang-switch__menu button:hover { background: rgba(255,255,255,.09); color: #fff; }
.lang-switch__menu button.is-active { color: var(--gold); font-weight: 600; }
.lang-switch__menu button.is-active::after { content: " ✓"; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--text-invert);
  padding: 84px 0 72px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -12%; top: -25%;
  width: 62%; height: 150%;
  background: radial-gradient(circle at 60% 40%, rgba(184,150,95,.18), transparent 62%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow { font-size: 11px; letter-spacing: .32em; color: var(--gold); margin: 0 0 20px; text-transform: uppercase; }
.hero__title {
  font-size: 38px; line-height: 1.12;
  margin: 0 0 20px;
}
.hero__sub { max-width: 560px; color: rgba(255,255,255,.72); font-size: 15.5px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { display: flex; gap: 44px; margin-top: 46px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.1); }
.hero__stats strong { display: block; font-size: 28px; color: var(--gold); font-weight: 700; font-family: var(--font-display); }
.hero__stats span { font-size: 11.5px; color: rgba(255,255,255,.55); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- 区块 ---------- */
.section { padding: 60px 0; }
.section--tight { padding: 40px 0; }
.section--muted { background: var(--bg-muted); }
.section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 30px;
}
.section__title { font-size: 24px; position: relative; padding-left: 16px; }
.section__title::before {
  content: ""; position: absolute; left: 0; top: 5px; bottom: 5px;
  width: 3px; background: var(--gold);
}
.section__more { font-size: 13px; color: var(--text-muted); white-space: nowrap; letter-spacing: .02em; }
.section__more:hover { color: var(--gold-strong); }

/* ---------- 胶囊筛选 ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 15px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 13px; color: var(--text);
  background: #fff; transition: all .2s var(--ease); letter-spacing: .01em;
}
.pill:hover { border-color: var(--gold); color: var(--gold-strong); }
.pill--active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill__count { font-size: 11px; color: var(--text-muted); }
.pill--active .pill__count { color: rgba(255,255,255,.6); }

/* ---------- 卡片网格 ---------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card__link { display: block; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-muted); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media--empty { background: var(--bg-muted-2, #efeae3); }
.monogram {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: var(--gold);
  font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: 0;
}
.monogram--lg { width: 64px; height: 64px; font-size: 28px; }
.card__body { padding: 20px; }
.card__title { font-size: 17px; margin-bottom: 8px; }
.card__meta { font-size: 12px; color: var(--gold-strong); letter-spacing: .05em; margin-bottom: 9px; text-transform: uppercase; }
.card__desc { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* ---------- 新闻列表 ---------- */
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: flex; gap: 18px; padding: 20px 0;
  border-bottom: 1px solid var(--line); transition: all .2s var(--ease);
}
.news-item:first-child { padding-top: 0; }
.news-item:hover .news-item__title { color: var(--gold-strong); }
.news-item__date { flex: 0 0 54px; font-size: 13px; color: var(--gold-strong); font-weight: 600; padding-top: 2px; }
.news-item__title { font-size: 16px; margin-bottom: 4px; transition: color .2s var(--ease); font-family: var(--font-display); }
.news-item__desc { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* ---------- 内页头 ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 60px 0 52px; }
.page-hero__eyebrow { font-size: 11px; letter-spacing: .32em; color: var(--gold); margin: 0 0 16px; text-transform: uppercase; }
.page-hero__title { font-size: 32px; margin-bottom: 12px; }
.page-hero__sub { color: rgba(255,255,255,.7); max-width: 620px; margin: 0; }

/* ---------- 筛选块 ---------- */
.filter-block { display: flex; flex-direction: column; gap: 18px; }
.filter-row { display: flex; flex-direction: column; gap: 10px; }
.filter-label { font-size: 11px; letter-spacing: .14em; color: var(--text-muted); text-transform: uppercase; }

/* ---------- 企业详情 ---------- */
.breadcrumb { font-size: 12px; color: var(--text-muted); padding: 24px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a:hover { color: var(--gold-strong); }
.breadcrumb em { font-style: normal; color: var(--text); }

.company__head { display: flex; flex-direction: column; gap: 22px; padding: 28px 0 36px; border-bottom: 1px solid var(--line); }
.company__logo {
  flex: 0 0 100px; width: 100px; height: 100px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  color: #b9b3a7; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; background: var(--bg-muted);
}
.company__logo img { width: 100%; height: 100%; object-fit: cover; }
.company__name { font-size: 30px; margin-bottom: 10px; }
.company__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag { font-size: 12px; padding: 5px 11px; background: var(--gold-soft); color: var(--gold-strong); border-radius: var(--radius); letter-spacing: .02em; }
.tag--ghost { background: transparent; border: 1px solid var(--line); color: var(--text-muted); }
.company__summary { color: var(--text-muted); max-width: 640px; }
.company__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.company__grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 40px 0 64px; }
.company__main { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.panel { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; }
.panel__title { font-size: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.panel__text { margin: 0; color: var(--text-muted); }
.panel--contact { background: var(--bg-muted); }
.badge-unverified {
  display: inline-block; margin-left: 8px; padding: 2px 9px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-strong); background: var(--gold-soft); border-radius: var(--radius);
  vertical-align: middle;
}
.cert-note { margin: 10px 0 0; font-size: 11.5px; color: var(--text-muted); line-height: 1.6; }

/* 图集 */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; background: var(--bg-muted); border: 1px solid var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { color: var(--text-muted); flex: 0 0 70px; }
.contact-list strong { font-weight: 600; text-align: right; word-break: break-all; }

/* ---------- 文章 ---------- */
.article { padding-bottom: 64px; }
.article__head { padding: 28px 0 22px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }
.article__title { font-size: 28px; line-height: 1.3; margin-bottom: 14px; }
.article__lead { color: var(--text-muted); font-size: 15.5px; }
.article__cover { margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; }
.article__cover img { width: 100%; }
.article__foot { margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }

/* ---------- 正文排版 ---------- */
.prose { font-size: 15.5px; line-height: 1.9; color: #2b2823; }
.prose h2 { font-size: 21px; margin: 32px 0 12px; font-family: var(--font-display); }
.prose h3 { font-size: 17px; margin: 24px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose img { margin: 18px auto; border-radius: var(--radius); }
.prose a { color: var(--gold-strong); text-decoration: underline; }
.prose blockquote { margin: 22px 0; padding: 16px 22px; border-left: 3px solid var(--gold); background: var(--bg-muted); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

/* ---------- 页面 / 404 ---------- */
.page { padding: 44px 0 64px; }
.page__head { margin-bottom: 24px; }
.page__title { font-size: 28px; }
.section--error { text-align: center; padding: 100px 0; }
.error-code { font-size: 76px; font-weight: 700; color: var(--gold); margin: 0; line-height: 1; font-family: var(--font-display); }
.error-title { font-size: 26px; margin: 16px 0 8px; }
.error-sub { color: var(--text-muted); margin-bottom: 28px; }

/* ---------- 分页 ---------- */
.pagination { margin-top: 40px; display: flex; justify-content: center; gap: 6px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 13px; color: var(--text);
}
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .page-numbers:hover { border-color: var(--gold); }

.empty { color: var(--text-muted); font-size: 14px; padding: 44px 0; text-align: center; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); margin-top: 24px; }
.site-footer__inner { display: grid; grid-template-columns: 1fr; gap: 34px; padding: 54px 22px 38px; }
.footer-brand .brand__text { margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,.5); max-width: 340px; }
.footer-col h4 { color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: 13.5px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 12px; color: rgba(255,255,255,.4); }
.footer-disclaimer { max-width: 720px; margin: 10px 0 0; color: rgba(255,255,255,.35); font-size: 11.5px; line-height: 1.7; }

/* ==================================================================
   断点：640 / 768 / 1024 / 1200
   ================================================================== */
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-row { flex-direction: row; align-items: flex-start; }
  .filter-label { flex: 0 0 52px; padding-top: 10px; }
  .site-footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

@media (min-width: 768px) {
  body { font-size: 16px; }
  .hero { padding: 104px 0 92px; }
  .hero__title { font-size: 50px; }
  .section { padding: 76px 0; }
  .page-hero { padding: 70px 0 60px; }
  .page-hero__title { font-size: 38px; }
  .company__head { flex-direction: row; align-items: flex-start; }
  .article__title { font-size: 34px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 32px; }
  .site-header__inner { height: 74px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static; flex-direction: row; align-items: center;
    gap: 30px; background: transparent; border: 0; padding: 0;
  }
  .nav-list { flex-direction: row; gap: 28px; }
  .nav-list a { padding: 6px 0; border: 0; font-size: 14px; letter-spacing: .02em; }
  .nav-cta { margin-top: 0; }
  .lang-switch { margin-top: 0; align-self: center; }
  .lang-switch__menu { left: auto; right: 0; }
  .hero__title { font-size: 58px; }
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .company__grid { grid-template-columns: minmax(0, 1fr) 348px; gap: 48px; }
  .company__logo { flex: 0 0 124px; width: 124px; height: 124px; }
  .company__name { font-size: 34px; }
  .section__title { font-size: 26px; }
}

@media (min-width: 1200px) {
  .hero__title { font-size: 62px; }
}

/* ============================================================
   编辑政策 / 来源声明（第三方平台视角：来源、核验状态、免责）
   ============================================================ */
.panel--note {
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.note-list { margin: 0; }
.note-list__row {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.note-list__row:last-child { border-bottom: 0; }
.note-list dt {
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 2px;
}
.note-list dd { margin: 0; font-size: 14px; line-height: 1.65; color: var(--text); }
.note-text { margin: 14px 0 0; font-size: 13px; line-height: 1.7; }
.note-text__muted { color: var(--text-muted); }
.note-link { color: var(--gold-strong); text-decoration: underline; text-underline-offset: 3px; }

.policy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}
.policy__title { font-family: var(--font-display); font-size: 22px; margin: 0 0 14px; }
.policy__text { font-size: 14.5px; line-height: 1.75; color: var(--text); margin: 0 0 16px; }
.policy__list { margin: 0; padding-left: 20px; }
.policy__list li { font-size: 14px; line-height: 1.75; margin-bottom: 8px; }
.policy__list strong { color: var(--ink); }

.faq { margin: 0; }
.faq dt {
  font-weight: 600;
  font-size: 14.5px;
  margin-top: 18px;
  line-height: 1.6;
}
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 6px 0 0; font-size: 14px; line-height: 1.75; color: var(--text-muted); }

.news-item__byline {
  margin: 8px 0 0;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .policy { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
