/* =============================================================================
 * 烟台瑞林网络 (YTRLWL) 官网 — 全站统一样式表（古风山水 · 水墨版）
 * 设计语言：宣纸底 + 墨色 + 青绿山水 + 远山黛蓝 + 朱砂/赭石点睛
 * 约定：移动优先；断点 768px(平板) / 1200px(桌面) 与上一版一致
 * 说明：颜色统一用 CSS 变量；零外部资源（系统字体 + 内联 SVG）。
 * ========================================================================== */

/* -----------------------------------------------------------------------------
 * 1. 设计令牌 (CSS 变量)
 * -------------------------------------------------------------------------- */
:root {
  /* —— 古风山水语义色 —— */
  --paper: #f5f1e8;            /* 宣纸底 */
  --paper-bright: #fdfbf5;     /* 更亮的正文区 */
  --ink: #2b2b2b;              /* 墨色 */
  --ink-deep: #1a1a1a;         /* 深墨 */
  --green: #3a6b5a;            /* 松绿（青绿山水主色） */
  --green-dark: #2c5246;       /* 深松绿 */
  --green-light: #87a89a;      /* 淡青 */
  --dai: #4a5d6b;              /* 远山黛蓝 */
  --cinnabar: #9c4a3c;         /* 朱砂（印章 / 点睛） */
  --cinnabar-dark: #82392e;    /* 深朱砂 */
  --cinnabar-soft: #f4e7e3;    /* 淡朱砂底 */
  --ochre: #b5651d;            /* 赭石 */

  /* —— 兼容旧变量名（HTML 内联 var() 与 JS 选择器沿用，自动跟随新主题） —— */
  --color-primary: var(--green);
  --color-primary-dark: var(--green-dark);
  --color-primary-light: var(--green-light);
  --color-primary-soft: #e9efe9;
  --color-gold: var(--cinnabar);
  --color-gold-dark: var(--cinnabar-dark);
  --color-gold-soft: var(--cinnabar-soft);
  --color-bg: var(--paper);
  --color-surface: var(--paper-bright);
  --color-text: #3a3a36;
  --color-text-muted: #7c766b;
  --color-border: rgba(43, 43, 43, 0.15);
  --color-heading: var(--ink-deep);
  --color-footer: #23211c;     /* 墨底（暖近黑） */

  /* 阴影（墨色调，极淡） */
  --shadow-sm: 0 1px 3px rgba(43, 43, 43, 0.08);
  --shadow-md: 0 6px 20px rgba(43, 43, 43, 0.10);
  --shadow-lg: 0 16px 40px rgba(43, 43, 43, 0.16);

  /* 圆角与间距 */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1200px;

  /* 字体（系统栈，零外部字体） */
  --font-title: "STKaiti", "KaiTi", "楷体", "Songti SC", "SimSun", serif;  /* 标题：楷/宋营造古意 */
  --font-body: "Microsoft YaHei", "PingFang SC", sans-serif;               /* 正文 */
  --font-num: Georgia, "Times New Roman", serif;                           /* 数字/英文：古旧感 */
  --font-sans: var(--font-body);

  /* 动效 */
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  /* —— 装饰资源（内联 SVG data URI，零外部请求） —— */
  /* 朱砂印章（方形圆角，内嵌"瑞"字） */
  --seal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Crect x='5' y='5' width='54' height='54' rx='9' fill='%239c4a3c'/%3E%3Crect x='5' y='5' width='54' height='54' rx='9' fill='none' stroke='%23fdfbf5' stroke-opacity='0.55' stroke-width='2'/%3E%3Ctext x='32' y='45' font-family='STKaiti,KaiTi,SimSun,serif' font-size='38' fill='%23fdfbf5' text-anchor='middle'%3E%E7%91%9E%3C/text%3E%3C/svg%3E");
  /* 栏目头部小山纹（三峰，朱砂） */
  --mtn-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='24' viewBox='0 0 44 24'%3E%3Cpath d='M3 20 L13 7 L21 16 L30 5 L41 20' fill='none' stroke='%239c4a3c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  /* 宣纸肌理（feTurbulence 噪点，透明度极低） */
  --paper-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* -----------------------------------------------------------------------------
 * 2. 基础重置
 * -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  /* 宣纸底 + 极淡纸纹 */
  background-color: var(--paper);
  background-image: var(--paper-noise);
  background-repeat: repeat;
  background-size: 180px 180px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--green-dark);
}

h1, h2, h3, h4, h5 {
  margin: 0 0 0.6em;
  color: var(--color-heading);
  line-height: 1.35;
  font-family: var(--font-title);   /* 标题用楷/宋 */
  font-weight: 600;
  letter-spacing: 1px;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 内联 SVG 雪碧图：隐藏但可供 <use> 引用 */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* 图标基础尺寸 */
.icon {
  width: 1.5em;
  height: 1.5em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

/* 通用工具类 */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.gold { color: var(--cinnabar); }

/* -----------------------------------------------------------------------------
 * 3. 按钮
 * -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 6px;            /* 方正稳重，近木牌/印感 */
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
    background-color var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
}

.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn--ghost:hover {
  background: var(--color-primary-soft);
  color: var(--green-dark);
  transform: translateY(-2px);
}

/* 朱砂强调按钮（点睛，如"立即来电"） */
.btn--gold {
  background: var(--cinnabar);
  color: #fff;
}

.btn--gold:hover {
  background: var(--cinnabar-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

/* -----------------------------------------------------------------------------
 * 4. 顶部导航 / 页头
 * -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 245, 0.9);   /* 宣纸半透 */
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--color-heading);
}

.brand:hover { color: var(--color-heading); }

.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
  color: var(--green);
}

.brand__text { line-height: 1.1; }

.brand__name {
  font-size: 18px;
  letter-spacing: 2px;
  font-family: var(--font-title);
}

.brand__en {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  font-family: var(--font-num);
}

/* 桌面端导航 */
.nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: color var(--transition), background-color var(--transition);
}

.nav__link:hover {
  color: var(--green-dark);
  background: var(--color-primary-soft);
}

.nav__link.is-active {
  color: #fff;
  background: var(--green);
}

/* 汉堡按钮（移动端显示） */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  position: relative;
}

.nav__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 28px; }

/* 移动端展开态 */
.nav.is-open .nav__toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.nav.is-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}
.nav.is-open .nav__toggle span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* 朱砂印章：置于 Logo 旁（仅页头，落款点睛） */
.site-header .brand {
  position: relative;
}
.site-header .brand::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translate(8px, -50%);
  width: 26px;
  height: 26px;
  background-image: var(--seal);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.92;
}

/* -----------------------------------------------------------------------------
 * 5. 区块通用
 * -------------------------------------------------------------------------- */
.section {
  padding: 80px 0;
}

.section--alt {
  background: #efe7d8;          /* 略深的宣纸暖调，与正文区区分 */
}

.section--tint {
  background: linear-gradient(180deg, var(--color-primary-soft) 0%, var(--paper) 100%);
}

.section__head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  position: relative;
}

/* 栏目头部：水墨小山纹（朱砂） */
.section__head::before {
  content: "";
  display: block;
  width: 44px;
  height: 24px;
  margin: 0 auto 16px;
  background-image: var(--mtn-mark);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--cinnabar);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 6px;
}

/* 标题下：淡墨晕开短横线（朱砂点睛） */
.section__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--cinnabar), transparent);
}

.section__subtitle {
  color: var(--color-text-muted);
  font-size: 16px;
  margin-bottom: 0;
}

/* 栅格 */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 > * { grid-column: 1 / -1; }
.grid-3 > * { grid-column: 1 / -1; }
.grid-4 > * { grid-column: 1 / -1; }

/* 图文交错布局：将带 .order-2 的元素排到右侧/下方 */
.order-2 { order: 2; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* -----------------------------------------------------------------------------
 * 6. 卡片
 * -------------------------------------------------------------------------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);   /* 淡墨细边框 */
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);            /* hover 转松绿 */
}

.card__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--color-primary-soft);
  color: var(--green);
  margin-bottom: 18px;
}

.card__icon .icon { width: 28px; height: 28px; }

.card__title {
  font-size: 19px;
  margin-bottom: 10px;
}

.card__desc {
  color: var(--color-text-muted);
  font-size: 15px;
  margin-bottom: 18px;
  flex: 1;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--green);
}

.card__link .icon {
  width: 1em;
  height: 1em;
  transition: transform var(--transition);
}

.card__link:hover { color: var(--cinnabar); }   /* 点睛：朱砂 */
.card__link:hover .icon { transform: translateX(4px); color: var(--cinnabar); }

/* 能力点列表 */
.feature-list {
  margin-top: 4px;
  display: grid;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--color-text);
}

.feature-list li .icon {
  width: 1.2em;
  height: 1.2em;
  color: var(--green);
  flex: none;
  margin-top: 4px;
}

/* -----------------------------------------------------------------------------
 * 7. Hero 首屏
 * -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--paper-bright) 0%, var(--color-primary-soft) 55%, var(--paper) 100%);
  padding: 96px 0 110px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}

.hero__inner {
  position: relative;
  max-width: 760px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 6px;
  background: var(--paper-bright);
  border: 1px solid var(--color-border);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.22;
  letter-spacing: 3px;
  color: var(--color-heading);
  margin-bottom: 20px;
  font-family: var(--font-title);
}

.hero__title .accent {
  color: var(--cinnabar);        /* 朱砂点睛 */
}

.hero__subtitle {
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--color-text-muted);
  margin-bottom: 34px;
  max-width: 620px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 54px;
}

.hero__stat-num {
  font-family: var(--font-num);
  font-size: 34px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.hero__stat-label {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* 落款印章：Hero 角落水墨印记（极淡） */
.hero::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: 8%;
  width: 130px;
  height: 130px;
  background-image: var(--seal);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.12;
  transform: rotate(-4deg);
  pointer-events: none;
}

/* -----------------------------------------------------------------------------
 * 8. 优势区
 * -------------------------------------------------------------------------- */
.feature {
  text-align: center;
  padding: 32px 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}

.feature__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cinnabar-soft);
  color: var(--cinnabar);
}

.feature__icon .icon { width: 30px; height: 30px; }

.feature__title {
  font-size: 18px;
  margin-bottom: 8px;
  font-family: var(--font-title);
}

.feature__desc {
  font-size: 14.5px;
  color: var(--color-text-muted);
  margin: 0;
}

/* -----------------------------------------------------------------------------
 * 9. 新闻列表
 * -------------------------------------------------------------------------- */
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}

.news-card__media {
  height: 150px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.news-card__cat {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(253, 251, 245, 0.92);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 600;
}

.news-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__date {
  font-size: 13px;
  color: var(--color-text-muted);
  font-family: var(--font-num);
  margin-bottom: 8px;
}

.news-card__title {
  font-size: 17px;
  line-height: 1.45;
  margin-bottom: 10px;
  font-family: var(--font-title);
}

.news-card__title a { color: var(--color-heading); }
.news-card__title a:hover { color: var(--cinnabar); }

.news-card__excerpt {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.news-card__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-card__more:hover { color: var(--cinnabar); }
.news-card__more .icon { width: 1em; height: 1em; }

/* 新闻列表条目（news.html 紧凑模式） */
.news-row {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.news-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}

.news-row__media {
  width: 120px;
  height: 90px;
  flex: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
}

.news-row__main { flex: 1; min-width: 0; }

.news-row__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.news-row__cat {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--cinnabar-soft);
  color: var(--cinnabar-dark);
  font-weight: 600;
}

.news-row__title {
  font-size: 18px;
  margin-bottom: 8px;
  font-family: var(--font-title);
}

.news-row__title a { color: var(--color-heading); }
.news-row__title a:hover { color: var(--cinnabar); }

.news-row__excerpt {
  font-size: 14.5px;
  color: var(--color-text-muted);
  margin: 0;
}

/* 分页占位 */
.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pager a,
.pager span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 14px;
}

.pager a:hover { background: var(--color-primary-soft); color: var(--green-dark); }
.pager .is-active { background: var(--green); color: #fff; border-color: var(--green); }

/* -----------------------------------------------------------------------------
 * 10. 时间轴（关于我们）
 * -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--green), var(--cinnabar));
}

.timeline__item {
  position: relative;
  padding: 0 0 36px 28px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper-bright);
  border: 3px solid var(--green);
  box-shadow: 0 0 0 4px var(--color-primary-soft);
}

.timeline__year {
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
}

.timeline__title {
  font-size: 17px;
  margin: 4px 0 6px;
  font-family: var(--font-title);
}

.timeline__desc {
  color: var(--color-text-muted);
  font-size: 15px;
  margin: 0;
}

/* -----------------------------------------------------------------------------
 * 11. 服务流程步骤条（产品服务）
 * -------------------------------------------------------------------------- */
.process {
  display: grid;
  gap: 18px;
  counter-reset: step;
}

@media (min-width: 768px) {
  .process { grid-template-columns: repeat(5, 1fr); }
}

.process__step {
  position: relative;
  text-align: center;
  padding: 28px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.process__num {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 18px;
}

.process__title {
  font-size: 16px;
  margin-bottom: 6px;
  font-family: var(--font-title);
}

.process__desc {
  font-size: 13.5px;
  color: var(--color-text-muted);
  margin: 0;
}

/* -----------------------------------------------------------------------------
 * 12. 联系 / CTA 区块 & 表单
 * -------------------------------------------------------------------------- */
.cta {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta__title {
  color: #fff;
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: 1px;
  font-family: var(--font-title);
}

.cta__sub {
  color: rgba(253, 251, 245, 0.88);
  font-size: 16px;
  margin-bottom: 28px;
}

.cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn--ghost {
  color: #fff;
  border-color: rgba(253, 251, 245, 0.6);
}
.cta .btn--ghost:hover { background: rgba(253, 251, 245, 0.12); }

.contact {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .contact { grid-template-columns: 1fr 1fr; align-items: start; }
}

.contact__info h3 { font-size: 22px; font-family: var(--font-title); }
.contact__line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--color-text);
}
.contact__line .icon { width: 1.4em; height: 1.4em; color: var(--green); flex: none; margin-top: 3px; }
.contact__line a { color: var(--color-text); }
.contact__line a:hover { color: var(--cinnabar); }

/* 表单 */
.form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.form__row {
  margin-bottom: 18px;
}

.form__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--color-heading);
}

.form__label .req { color: var(--cinnabar); margin-left: 2px; }

.form__input,
.form__textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--paper-bright);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.form__textarea { resize: vertical; min-height: 110px; }

.form__input.is-invalid,
.form__textarea.is-invalid {
  border-color: var(--cinnabar);
  box-shadow: 0 0 0 3px rgba(156, 74, 60, 0.12);
}

.form__error {
  display: none;
  color: var(--cinnabar);
  font-size: 13px;
  margin-top: 6px;
}

.form__error.is-show { display: block; }

.form__hint {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 14px;
  text-align: center;
}

.form__success {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-soft);
  color: var(--green-dark);
  font-size: 14px;
  text-align: center;
}

.form__success.is-show { display: block; }

/* -----------------------------------------------------------------------------
 * 13. 页脚（墨底）
 * -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-footer);
  color: #cdc6b8;
  padding: 56px 0 0;
}

.footer__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

.footer__brand .brand { color: #fff; margin-bottom: 14px; }
.footer__brand .brand__en { color: #b6ad9d; }
.footer__brand .brand__mark { color: var(--green-light); }
.footer__intro { font-size: 14px; color: #b6ad9d; }

.footer__col h4 {
  color: #f3ede0;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-family: var(--font-title);
}

.footer__nav li { margin-bottom: 10px; }
.footer__nav a { color: #cdc6b8; font-size: 14px; }
.footer__nav a:hover { color: var(--green-light); }

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
  color: #cdc6b8;
}
.footer__contact .icon { width: 1.3em; height: 1.3em; color: var(--cinnabar); flex: none; margin-top: 3px; }
.footer__contact a { color: #cdc6b8; }
.footer__contact a:hover { color: #fff; }

.footer__bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(253, 251, 245, 0.08);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: #a59c8c;
}

/* -----------------------------------------------------------------------------
 * 14. 滚动淡入动效（含极轻"水墨晕开"感）
 * -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .btn, .card, .feature, .news-card, .news-row { transition: none; }
}

/* -----------------------------------------------------------------------------
 * 15. 响应式：移动端导航折叠（< 768px）
 * -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .section { padding: 56px 0; }

  .nav__toggle { display: block; }

  .nav__list {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--paper-bright);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 12px 16px 18px;
    /* 默认收起 */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height var(--transition), opacity var(--transition);
  }

  .nav.is-open .nav__list {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    display: block;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .news-row { flex-direction: column; }
  .news-row__media { width: 100%; height: 140px; }
  .cta { padding: 40px 22px; }

  /* 古风元素优雅收缩：印章缩小，山水背景降透明 */
  .site-header .brand::after { width: 20px; height: 20px; transform: translate(6px, -50%); }
  .hero::after { width: 84px; height: 84px; opacity: 0.1; right: 4%; bottom: 6%; }
  .hero__bg { opacity: 0.4; }
}

/* 小屏微调 */
@media (max-width: 420px) {
  .hero__stats { gap: 24px; }
  .hero__stat-num { font-size: 28px; }
}
