@charset "UTF-8";
/* =========================================================
   single 圣格润滑油 · 站点级共享样式
   配色：包装桶绿 #1c7a3f / 苔绿 #2f9e5b / 包装桶黄 #f0c419（取自产品包装）
   ========================================================= */

:root {
  --brand: #1c7a3f;
  --brand-deep: #12562e;
  --brand-ink: #145c33;
  --accent: #2f9e5b;
  --accent-soft: #e9f5ed;
  --gold: #f0c419;
  --gold-deep: #8a6a00;
  --ink: #17281d;
  --ink-soft: #40544a;
  --muted: #6d8177;
  --line: #dbe7de;
  --line-strong: #c3d6c9;
  --bg: #ffffff;
  --bg-alt: #f3f9f5;
  --bg-band: #e9f4ed;
  --card: #ffffff;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(10, 40, 25, .06);
  --shadow-md: 0 10px 28px rgba(10, 40, 25, .10);
  --shadow-lg: 0 22px 50px rgba(8, 32, 20, .16);
  --maxw: 1200px;
  --gutter: 24px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, system-ui, sans-serif;
  --t-fast: 160ms;
  --t-base: 240ms;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
svg { display: block; }
a { color: var(--brand); text-decoration: none; transition: color var(--t-fast) ease, background-color var(--t-fast) ease, border-color var(--t-fast) ease; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.3; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 3.4vw, 40px); }
h2 { font-size: clamp(22px, 2.4vw, 30px); }
h3 { font-size: clamp(18px, 1.6vw, 21px); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
figure { margin: 0; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--bg-band);
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  flex-wrap: wrap;
}
.topbar__note { color: var(--muted); }
.topbar__links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar__tel {
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .02em;
}
.topbar__tel:hover { color: var(--accent); }
.topbar__mail { color: var(--ink-soft); }
.topbar__mail:hover { color: var(--accent); }

/* ---------- 页头与主导航 ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--brand);
}
.brand__drop { width: 30px; height: 34px; color: var(--gold); }
.brand__word {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--brand);
}
.brand__sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
}
.brand:hover { color: var(--brand); }
.brand:hover .brand__word { color: var(--accent); }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-ink);
  border-radius: 6px;
  white-space: nowrap;
}
.nav__link:hover,
.nav__link:focus-visible { background: var(--accent-soft); color: var(--brand); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  background: var(--gold);
}
.nav__caret { width: 9px; height: 6px; }
.nav__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 262px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: none;
}
.nav__menu a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--ink-soft);
  border-radius: 6px;
}
.nav__menu a:hover { background: var(--bg-alt); color: var(--brand); }
.nav__menu .nav__count { color: var(--muted); font-size: 12px; }
.nav__item.is-open > .nav__menu { display: block; }
@media (min-width: 981px) {
  .nav__item:hover > .nav__menu,
  .nav__item:focus-within > .nav__menu { display: block; }
}

.masthead__cta { flex: 0 0 auto; }
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.nav-toggle:hover { background: var(--bg-alt); border-color: var(--accent); }
.nav-toggle__bars { width: 18px; height: 12px; position: relative; }
.nav-toggle__bars span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform var(--t-base) ease, opacity var(--t-fast) ease, top var(--t-base) ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease,
              border-color var(--t-fast) ease, transform var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--accent); color: #fff; box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold); color: #10281c; }
.btn--gold:hover { background: #f6d545; color: #10281c; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--brand); background: var(--accent-soft); }
.btn--onDark { background: #fff; color: var(--brand); border-color: var(--line-strong); }
.btn--onDark:hover { background: var(--accent-soft); color: var(--brand); border-color: var(--accent); }
.btn--sm { padding: 8px 15px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--brand);
}
.link-arrow svg { width: 13px; height: 13px; transition: transform var(--t-fast) ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 面包屑 ---------- */
.crumbs {
  font-size: 13px;
  color: var(--muted);
  padding: 18px 0 0;
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current="page"] { color: var(--ink-soft); }

/* ---------- 页面头部区 ---------- */
.page-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 8px 0 34px;
}
.page-hero h1 { margin: 14px 0 10px; }
.page-hero__lede { max-width: 760px; color: var(--ink-soft); font-size: 16px; margin: 0; }
.page-hero__meta { margin-top: 14px; font-size: 13px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero__meta .tag { background: #fff; border: 1px solid var(--line); }

/* ---------- 通用区块 ---------- */
.section { padding: 64px 0; }
.section--tight { padding: 44px 0; }
.section--alt { background: var(--bg-alt); }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.section__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.section__head h2 { margin: 0; }
.section__head p { margin: 8px 0 0; color: var(--muted); max-width: 640px; }

/* ---------- 卡片与列表 ---------- */
.tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
}
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 分页 ---------- */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}
.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}
.pager a:hover { border-color: var(--accent); color: var(--brand); background: var(--accent-soft); }
.pager .is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .is-gap { border: 0; background: transparent; color: var(--muted); min-width: 24px; }
.pager .is-disabled { color: var(--line-strong); }

/* ---------- 正文排版（文章 / 长文本） ---------- */
.prose { color: var(--ink-soft); font-size: 16.5px; line-height: 1.9; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 23px; margin: 1.6em 0 .6em; color: var(--ink); }
.prose h3 { font-size: 19px; margin: 1.4em 0 .5em; color: var(--ink); }
.prose p { margin: 0 0 1.05em; }
.prose img { margin: 18px auto; border-radius: 6px; max-width: 100%; height: auto; }
.prose strong, .prose b { color: var(--ink); }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose table { margin: 20px 0; font-size: 15px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--bg-alt); }
.prose blockquote {
  margin: 22px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--gold);
  background: var(--bg-alt);
  color: var(--ink-soft);
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

/* ---------- 侧栏 ---------- */
.layout-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: 44px;
  align-items: start;
}
.aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.aside-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.aside-card__title::before {
  content: "";
  width: 3px; height: 15px;
  background: var(--gold);
  border-radius: 2px;
}
.aside-list { margin: 0; padding: 0; list-style: none; }
.aside-list li + li { border-top: 1px dashed var(--line); }
.aside-list a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.aside-list a:hover { color: var(--accent); }
.aside-card--accent { background: var(--bg-band); border-color: var(--line-strong); color: var(--ink-soft); }
.aside-card--accent .aside-card__title { color: var(--brand); border-bottom-color: var(--line-strong); }
.aside-card--accent p { font-size: 14px; color: var(--ink-soft); }
.aside-card--accent .btn { width: 100%; }

/* ---------- 表单 ---------- */
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.form-field .req { color: #c2410c; margin-left: 2px; }
.input, .textarea, .select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.input:hover, .textarea:hover, .select:hover { border-color: var(--accent); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(38, 151, 233, .16);
}
.textarea { min-height: 118px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.form-status { min-height: 24px; font-size: 14px; font-weight: 600; color: var(--brand); }
.form-status.is-error { color: #c2410c; }

/* ---------- 页脚（沿用旧站浅灰基调） ---------- */
.site-footer {
  background: #eef5f0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 0;
}
.site-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 38px;
  padding: 52px 0 36px;
}
.site-footer h2, .site-footer h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .06em;
  margin: 0 0 16px;
}
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--accent); }
.site-footer p { margin: 0 0 10px; line-height: 1.8; }
.footer-brand .brand { color: var(--brand); margin-bottom: 14px; }
.footer-brand .brand__word { color: var(--brand); }
.footer-brand .brand__sub { color: var(--muted); }
.footer-brand .brand__drop { color: var(--gold); }
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li { margin-bottom: 9px; }
.footer-list--cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.footer-tel {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .02em;
}
.footer-tel:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0 24px;
  font-size: 12.5px;
  color: #5b6d63;
}
.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  justify-content: space-between;
}
.footer-bottom__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.footer-bottom a { color: #5b6d63; }
.footer-bottom a:hover { color: var(--brand); }
.footer-ai { display: inline-flex; align-items: center; gap: 12px; }
.footer-ai a { color: #5b6d63; }
.footer-ai a:hover { color: var(--brand); }
.footer-sep { color: var(--line-strong); }

/* ---------- 进入动效（仅在脚本就绪后生效） ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms ease, transform 480ms cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal--d1 { transition-delay: 70ms; }
html.js .reveal--d2 { transition-delay: 140ms; }
html.js .reveal--d3 { transition-delay: 210ms; }

/* ---------- 细滚动条（仅用于具体滚动容器） ---------- */
.scroll-thin {
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, .35) transparent;
}
.scroll-thin::-webkit-scrollbar { width: 8px; height: 8px; }
.scroll-thin::-webkit-scrollbar-thumb { background: rgba(100, 116, 139, .35); border-radius: 999px; }
.scroll-thin::-webkit-scrollbar-track { background: transparent; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout-2col { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
  .site-footer__main { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-footer__main .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .masthead__cta { display: none; }
  .nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }
  .masthead.is-open .nav { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; }
  .nav__link { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .nav__link[aria-current="page"]::after { left: 4px; right: auto; width: 22px; bottom: 4px; }
  .nav__menu {
    position: static;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 4px 0 10px;
    background: var(--bg-alt);
  }
  .nav__item.is-open > .nav__menu { display: block; }
  .layout-2col { grid-template-columns: minmax(0, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .section { padding: 46px 0; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .masthead__inner { min-height: 64px; }
  .brand__word { font-size: 22px; }
  .brand__drop { width: 24px; height: 28px; }
  .topbar__note { display: none; }
  .site-footer__main { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 0 28px; }
}

@media (max-width: 520px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .site-footer__main { grid-template-columns: 1fr; }
  .footer-bottom__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal,
  html.js .reveal--d1,
  html.js .reveal--d2,
  html.js .reveal--d3 {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover { transform: none; }
  .link-arrow:hover svg { transform: none; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
