/*
Theme Name: Smartandone ZYI
Theme URI: https://smartandone.com
Author: 智亦一（重庆）科技有限公司
Author URI: https://smartandone.com
Description: 智亦一官网定制主题 —— 面向传统中小微企业的人工智能转型与数字化升级服务商官网。品牌视觉：ZYI 极光色系（深紫外 / 兰花紫 / 电光青 / 薄荷绿 / 酸性石灰绿），暖白底色，克制专业的国际咨询风格。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: smartandone
*/

/* ==========================================================================
   Design Tokens
   ========================================================================== */

:root {
  /* 品牌色 —— ZYI 极光色系 */
  --zy-uv-deep: #1b0f45;      /* 深紫外（深色区块底色） */
  --zy-uv: #2a1663;           /* 深紫外 */
  --zy-purple: #7b3bff;       /* 兰花紫 */
  --zy-violet: #a56eff;       /* 浅紫 */
  --zy-cyan: #00b8d9;         /* 电光青（可读文本级） */
  --zy-cyan-bright: #00d4ff;  /* 电光青（装饰级） */
  --zy-aqua: #00c2b5;         /* 冷水绿 */
  --zy-mint: #7bffd4;         /* 薄荷绿 */
  --zy-lime: #b4ff00;         /* 酸性石灰绿（识别色，仅深底使用） */

  /* 中性色 */
  --zy-ink: #1a1533;          /* 主文本 */
  --zy-ink-2: #4b4568;        /* 次级文本 */
  --zy-ink-3: #807a9c;        /* 弱文本 */
  --zy-line: #e9e5f6;         /* 分隔线 */
  --zy-bg: #faf9f6;           /* 暖白背景 */
  --zy-card: #ffffff;

  --zy-grad-brand: linear-gradient(120deg, var(--zy-purple) 0%, var(--zy-cyan) 100%);

  --zy-radius: 16px;
  --zy-radius-sm: 10px;
  --zy-shadow: 0 1px 2px rgba(27, 15, 69, .04), 0 8px 24px rgba(27, 15, 69, .06);
  --zy-shadow-hover: 0 2px 4px rgba(27, 15, 69, .06), 0 16px 40px rgba(27, 15, 69, .12);

  --zy-font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC",
    "HarmonyOS Sans SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei",
    "Segoe UI", sans-serif;
  --zy-container: 1160px;
  --zy-header-h: 72px;
}

/* ==========================================================================
   Base
   ========================================================================== */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; }

a { color: var(--zy-purple); text-decoration: none; }
a:hover { color: var(--zy-cyan); }

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--zy-ink);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

::selection { background: rgba(123, 59, 255, .18); }

.container {
  max-width: var(--zy-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* 站点主体留出固定头部高度 */
.site-main { min-height: 50vh; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--zy-grad-brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(123, 59, 255, .32);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 184, 217, .35);
}

.btn-ghost {
  background: transparent;
  color: var(--zy-ink);
  border-color: #d8d2ec;
}
.btn-ghost:hover { color: var(--zy-purple); border-color: var(--zy-purple); }

.btn-lime {
  background: var(--zy-lime);
  color: var(--zy-uv-deep);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(180, 255, 0, .25);
}
.btn-lime:hover { color: var(--zy-uv-deep); transform: translateY(-2px); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}
.btn-outline-light:hover { color: var(--zy-lime); border-color: var(--zy-lime); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--zy-line);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--zy-header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img.brand-logo,
.brand img.custom-logo,
.custom-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--zy-uv-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zy-lime);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .02em;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 20px; font-weight: 700; color: var(--zy-ink); letter-spacing: .06em; }
.brand-sub { font-size: 11px; color: var(--zy-ink-3); letter-spacing: .14em; text-transform: uppercase; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--zy-ink-2);
  transition: color .15s ease, background .15s ease;
}
.main-nav a:hover { color: var(--zy-purple); background: rgba(123, 59, 255, .07); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--zy-purple);
  background: rgba(123, 59, 255, .10);
  font-weight: 600;
}

.header-cta { flex-shrink: 0; padding: 10px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid #d8d2ec;
  border-radius: 10px;
  background: #fff;
  color: var(--zy-ink);
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--zy-ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--zy-header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--zy-line);
    box-shadow: var(--zy-shadow);
    padding: 12px 24px 20px;
    margin: 0;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 16px; font-size: 16px; }
}

/* ==========================================================================
   Hero（首页首屏）
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
  background:
    radial-gradient(560px 420px at 88% -10%, rgba(0, 212, 255, .14), transparent 60%),
    radial-gradient(640px 520px at -12% 18%, rgba(123, 59, 255, .12), transparent 60%),
    radial-gradient(420px 320px at 70% 110%, rgba(180, 255, 0, .10), transparent 65%),
    var(--zy-bg);
}

.hero-inner { max-width: 800px; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(123, 59, 255, .08);
  border: 1px solid rgba(123, 59, 255, .18);
  color: var(--zy-purple);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--zy-grad-brand);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.24;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: var(--zy-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 18px;
  color: var(--zy-ink-2);
  max-width: 640px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero-commitments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  padding: 20px 0 0;
  border-top: 1px solid var(--zy-line);
}
.hero-commitments li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: var(--zy-ink-2);
  font-weight: 500;
}
.hero-commitments li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zy-cyan);
  box-shadow: 0 0 0 3px rgba(0, 184, 217, .15);
}

/* ==========================================================================
   Sections 通用
   ========================================================================== */

.section { padding: 92px 0; }
.section-tint { background: #fff; border-top: 1px solid var(--zy-line); border-bottom: 1px solid var(--zy-line); }
.section-dark {
  background:
    radial-gradient(720px 480px at 85% 0%, rgba(123, 59, 255, .35), transparent 60%),
    radial-gradient(560px 420px at 8% 100%, rgba(0, 184, 217, .22), transparent 60%),
    var(--zy-uv-deep);
  color: rgba(255, 255, 255, .82);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, .75); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--zy-cyan);
  margin-bottom: 14px;
}
.section-dark .eyebrow { color: var(--zy-mint); }

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 16px;
}
.section-head .lead { font-size: 17px; color: var(--zy-ink-2); margin: 0; }
.section-dark .section-head .lead { color: rgba(255, 255, 255, .72); }

.section-more { margin-top: 40px; text-align: center; }

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   卡片网格（困境 / 能力 / 服务）
   ========================================================================== */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 980px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-5 { grid-template-columns: 1fr; }
}

.card {
  background: var(--zy-card);
  border: 1px solid var(--zy-line);
  border-radius: var(--zy-radius);
  padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--zy-shadow-hover);
  border-color: #d9d0f2;
}

.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(123, 59, 255, .09);
  color: var(--zy-purple);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.card h3 { font-size: 18.5px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--zy-ink-2); margin: 0; }

.card .card-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--zy-cyan);
  letter-spacing: .08em;
  margin-bottom: 12px;
}

/* 能力卡：顶部渐变细线 */
.card-cap { position: relative; overflow: hidden; }
.card-cap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--zy-grad-brand);
  opacity: .85;
}

/* 服务卡：编号大字 */
.card-svc .num {
  width: auto; height: auto; background: none; margin-bottom: 10px;
  font-size: 26px; border-radius: 0; padding: 0;
  background: var(--zy-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 深色区块里的卡片 */
.section-dark .card {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .12);
}
.section-dark .card h3 { color: #fff; }
.section-dark .card p { color: rgba(255, 255, 255, .68); }
.section-dark .card .num { background: rgba(180, 255, 0, .10); color: var(--zy-lime); }
.section-dark .card:hover { border-color: rgba(180, 255, 0, .35); }

/* ==========================================================================
   转型路径（时间线）
   ========================================================================== */

.path-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
}

.path-step {
  position: relative;
  padding: 26px 22px 24px;
  background: #fff;
  border: 1px solid var(--zy-line);
  border-radius: var(--zy-radius);
}
.path-step::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -14px;
  width: 12px;
  height: 12px;
  border-top: 2px solid #d5cdf0;
  border-right: 2px solid #d5cdf0;
  transform: rotate(45deg);
}
.path-step:last-child::after { display: none; }

.path-step .step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--zy-grad-brand);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}
.path-step:last-child .step-dot { background: var(--zy-lime); color: var(--zy-uv-deep); }
.path-step h3 { font-size: 16.5px; margin-bottom: 8px; }
.path-step p { font-size: 13.5px; color: var(--zy-ink-2); margin: 0; }

@media (max-width: 1080px) {
  .path-steps { grid-template-columns: repeat(2, 1fr); }
  .path-step:nth-child(2n)::after { display: none; }
  .path-step:nth-child(2n+1)::after { display: block; }
}
@media (max-width: 640px) {
  .path-steps { grid-template-columns: 1fr; }
  .path-step::after { display: none; }
}

/* ==========================================================================
   案例卡
   ========================================================================== */

.case-card {
  background: #fff;
  border: 1px solid var(--zy-line);
  border-radius: var(--zy-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case-card .case-top {
  padding: 26px 30px 22px;
  border-bottom: 1px solid var(--zy-line);
  background:
    radial-gradient(320px 200px at 90% 0%, rgba(0, 212, 255, .08), transparent 60%),
    radial-gradient(300px 200px at 0% 100%, rgba(123, 59, 255, .07), transparent 60%);
}
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.case-tags span {
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 184, 217, .09);
  color: var(--zy-cyan);
}
.case-tags span.alt { background: rgba(123, 59, 255, .09); color: var(--zy-purple); }
.case-card h3 { font-size: 21px; margin: 0 0 6px; }
.case-goal { font-size: 14px; color: var(--zy-ink-2); margin: 0; }

.case-body { padding: 24px 30px 28px; display: grid; gap: 18px; }
.case-block h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--zy-ink-3);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.case-block ul { margin: 0; padding-left: 18px; }
.case-block li { font-size: 14.5px; color: var(--zy-ink-2); margin-bottom: 5px; }
.case-block .case-change {
  margin: 0;
  font-size: 14.5px;
  color: var(--zy-ink-2);
  padding: 14px 16px;
  border-radius: var(--zy-radius-sm);
  background: rgba(0, 184, 217, .06);
  border-left: 3px solid var(--zy-cyan);
}

/* ==========================================================================
   对比表
   ========================================================================== */

.compare {
  border: 1px solid var(--zy-line);
  border-radius: var(--zy-radius);
  overflow: hidden;
  background: #fff;
}
.compare table { width: 100%; border-collapse: collapse; margin: 0; }
.compare th, .compare td {
  padding: 15px 22px;
  font-size: 14.5px;
  text-align: left;
  border-bottom: 1px solid var(--zy-line);
  vertical-align: top;
}
.compare tr:last-child td { border-bottom: none; }
.compare thead th {
  background: var(--zy-bg);
  font-size: 13.5px;
  letter-spacing: .06em;
  color: var(--zy-ink-3);
  font-weight: 700;
}
.compare td:first-child { color: var(--zy-ink-3); width: 26%; }
.compare td.old { color: var(--zy-ink-2); }
.compare td.new {
  color: var(--zy-ink);
  font-weight: 500;
  background: linear-gradient(90deg, rgba(123, 59, 255, .05), rgba(0, 212, 255, .05));
}
.compare thead th.new-head { color: var(--zy-purple); }

/* ==========================================================================
   CTA 横幅
   ========================================================================== */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background:
    radial-gradient(640px 400px at 82% 20%, rgba(123, 59, 255, .4), transparent 60%),
    radial-gradient(520px 380px at 10% 90%, rgba(0, 184, 217, .25), transparent 60%),
    var(--zy-uv-deep);
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 16px;
}
.cta-band p { color: rgba(255, 255, 255, .72); font-size: 17px; max-width: 560px; margin: 0 auto 34px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #120a2e;
  color: rgba(255, 255, 255, .62);
  padding: 64px 0 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; flex: 0 0 auto; }
.footer-brand .brand-mark { background: rgba(255, 255, 255, .08); }
.footer-brand .brand-name { color: #fff; }

.footer-desc { max-width: 340px; line-height: 1.8; margin: 0; }

.site-footer h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: .1em;
  margin-bottom: 18px;
  font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, .62); }
.site-footer a:hover { color: var(--zy-lime); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

@media (max-width: 920px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   内页（通用 page）
   ========================================================================== */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 60px;
  background:
    radial-gradient(520px 340px at 90% -20%, rgba(0, 212, 255, .12), transparent 60%),
    radial-gradient(560px 420px at -10% 30%, rgba(123, 59, 255, .10), transparent 60%),
    #fff;
  border-bottom: 1px solid var(--zy-line);
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}
.page-hero .page-lead { font-size: 17px; color: var(--zy-ink-2); max-width: 720px; margin: 0; }

.page-content { padding: 72px 0 88px; }
.page-content .entry-content { max-width: 860px; margin: 0 auto; }

/* 内容页通用排版（富文本 HTML 类） */
.entry-content h2 {
  font-size: 26px;
  margin: 1.6em 0 .7em;
  padding-left: 14px;
  border-left: 4px solid;
  border-image: var(--zy-grad-brand) 1;
}
.entry-content h3 { font-size: 19px; margin: 1.5em 0 .6em; }
.entry-content p, .entry-content li { color: var(--zy-ink-2); font-size: 16px; }
.entry-content ul { padding-left: 20px; margin-bottom: 1.2em; }
.entry-content li { margin-bottom: 6px; }
.entry-content a { font-weight: 500; }

.zy-wide { max-width: 1080px !important; }

.zy-note {
  padding: 18px 22px;
  border-radius: var(--zy-radius-sm);
  background: rgba(0, 184, 217, .06);
  border: 1px solid rgba(0, 184, 217, .18);
  color: var(--zy-ink-2);
  font-size: 15px;
  margin: 1.4em 0;
}

.zy-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 1.6em 0; }
@media (max-width: 720px) { .zy-cards { grid-template-columns: 1fr; } }

.zy-card {
  background: #fff;
  border: 1px solid var(--zy-line);
  border-radius: var(--zy-radius);
  padding: 26px 26px 22px;
}
.zy-card h3 { margin-top: 0; font-size: 18px; }
.zy-card ul { margin-bottom: 0; }
.zy-card .card-tag { display: block; }

.zy-steps { counter-reset: zystep; display: grid; gap: 14px; margin: 1.6em 0; }
.zy-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--zy-line);
  border-radius: var(--zy-radius);
  padding: 22px 24px;
}
.zy-step::before {
  counter-increment: zystep;
  content: counter(zystep, decimal-leading-zero);
  font-size: 20px;
  font-weight: 800;
  background: var(--zy-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  align-self: start;
  line-height: 1.4;
}
.zy-step h3 { margin: 0 0 6px; font-size: 17.5px; }
.zy-step p { margin: 0; font-size: 15px; }

.zy-table-wrap { overflow-x: auto; margin: 1.6em 0; }
.entry-content .zy-table { width: 100%; border-collapse: collapse; background: #fff; }
.zy-table th, .zy-table td {
  border: 1px solid var(--zy-line);
  padding: 13px 18px;
  font-size: 14.5px;
  text-align: left;
  vertical-align: top;
}
.zy-table th { background: var(--zy-bg); font-weight: 700; color: var(--zy-ink); }
.zy-table td { color: var(--zy-ink-2); }
.zy-table td:first-child { color: var(--zy-ink-3); width: 24%; }

.zy-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 1.6em 0; }
@media (max-width: 860px) { .zy-facts { grid-template-columns: repeat(2, 1fr); } }
.zy-fact {
  background: #fff;
  border: 1px solid var(--zy-line);
  border-radius: var(--zy-radius-sm);
  padding: 18px 16px;
  text-align: center;
}
.zy-fact strong {
  display: block;
  font-size: 19px;
  background: var(--zy-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.zy-fact span { font-size: 13.5px; color: var(--zy-ink-2); }

.zy-cta-box {
  margin: 2em 0 0;
  padding: 34px 36px;
  border-radius: var(--zy-radius);
  background:
    radial-gradient(400px 260px at 90% 10%, rgba(123, 59, 255, .35), transparent 60%),
    var(--zy-uv-deep);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.zy-cta-box h2, .zy-cta-box h3 { color: #fff; margin: 0 0 6px; border: none; padding: 0; font-size: 22px; }
.zy-cta-box p { color: rgba(255, 255, 255, .7); margin: 0; font-size: 15px; }

/* ==========================================================================
   联系表单
   ========================================================================== */

.zy-form {
  background: #fff;
  border: 1px solid var(--zy-line);
  border-radius: var(--zy-radius);
  padding: 40px;
  box-shadow: var(--zy-shadow);
}
@media (max-width: 640px) { .zy-form { padding: 26px 20px; } }

.zy-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .zy-form .form-row { grid-template-columns: 1fr; } }

.zy-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--zy-ink);
  margin-bottom: 7px;
}
.zy-form label .req { color: #e5484d; margin-left: 2px; }

.zy-form input[type="text"],
.zy-form input[type="tel"],
.zy-form input[type="email"],
.zy-form select,
.zy-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px solid #d8d2ec;
  border-radius: var(--zy-radius-sm);
  font-family: var(--zy-font);
  font-size: 15px;
  color: var(--zy-ink);
  background: var(--zy-bg);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.zy-form input:focus,
.zy-form select:focus,
.zy-form textarea:focus {
  outline: none;
  border-color: var(--zy-purple);
  box-shadow: 0 0 0 3px rgba(123, 59, 255, .12);
  background: #fff;
}
.zy-form textarea { min-height: 120px; resize: vertical; }

.zy-form .form-privacy { font-size: 13px; color: var(--zy-ink-3); margin: -6px 0 20px; }

.zy-form-status {
  padding: 16px 20px;
  border-radius: var(--zy-radius-sm);
  margin-bottom: 22px;
  font-size: 15px;
}
.zy-form-status.ok { background: rgba(0, 194, 181, .08); border: 1px solid rgba(0, 194, 181, .3); color: #04705f; }
.zy-form-status.err { background: rgba(229, 72, 77, .06); border: 1px solid rgba(229, 72, 77, .3); color: #a3262a; }

/* 联系页双栏 */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 880px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-aside .zy-card { margin-bottom: 18px; }
.contact-aside h3 { font-size: 16px; margin-bottom: 10px; }
.contact-aside p { font-size: 14.5px; margin-bottom: 4px; }

/* ==========================================================================
   文章列表 / 404
   ========================================================================== */

.post-list { display: grid; gap: 24px; max-width: 860px; margin: 0 auto; }
.post-card {
  background: #fff;
  border: 1px solid var(--zy-line);
  border-radius: var(--zy-radius);
  padding: 28px 30px;
}
.post-card h2 { font-size: 22px; margin-bottom: 8px; }
.post-card .meta { font-size: 13px; color: var(--zy-ink-3); margin-bottom: 10px; }
.post-card p { font-size: 15px; color: var(--zy-ink-2); margin: 0; }

.error-404 { text-align: center; padding: 110px 0; }
.error-404 h1 {
  font-size: 88px;
  margin: 0;
  background: var(--zy-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   WordPress 核心类
   ========================================================================== */

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; word-wrap: normal !important;
}
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.wp-caption { max-width: 100%; }
.sticky { background: #fffdf2; }
.gallery-caption, .wp-caption-text { font-size: 13px; color: var(--zy-ink-3); text-align: center; }
