/* ==========================================================
   维塔人工智能 官网样式表
   改颜色只需要改下面 :root 里的几个值，全站会跟着变。
   全部用系统自带字体，不加载任何外部资源，国内打开很快。
   ========================================================== */

:root{
  --ink:      #16242b;   /* 主文字色（深墨） */
  --ink-soft: #4a5b63;   /* 次要文字色 */
  --accent:   #0f6f6c;   /* 品牌色（青绿） */
  --accent-d: #0a4f4d;   /* 品牌色·深 */
  --paper:    #faf9f6;   /* 页面底色（暖白） */
  --line:     #e2e0da;   /* 分隔线 */
  --wrap:     1080px;    /* 内容最大宽度 */
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
               "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a{ color: var(--accent); text-decoration: none; }
a:hover{ color: var(--accent-d); }

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

/* ---------- 页头 ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,249,246,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px; flex-wrap: wrap;
}
.brand{ display: flex; align-items: baseline; gap: 8px; color: var(--ink); }
.brand-mark{ font-size: 21px; font-weight: 700; letter-spacing: 2px; }
.brand-sub{
  font-size: 12px; letter-spacing: 2px; color: var(--accent);
  font-weight: 600;
}
.site-nav{ display: flex; gap: 26px; flex-wrap: wrap; }
.site-nav a{
  color: var(--ink-soft); font-size: 15px; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover{ color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- 主视觉 ---------- */
.hero{
  padding: 88px 0 76px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(15,111,108,.10), transparent 70%),
    var(--paper);
}
.hero-eyebrow{
  margin: 0 0 14px;
  font-size: 13px; letter-spacing: 4px; color: var(--accent);
  font-weight: 600;
}
.hero h1{
  margin: 0 0 22px;
  font-size: 40px; line-height: 1.45; font-weight: 700;
  letter-spacing: 1px;
}
.hero-lead{
  margin: 0 0 32px; max-width: 640px;
  font-size: 17px; color: var(--ink-soft);
}
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; }

.btn{
  display: inline-block; padding: 11px 26px;
  border-radius: 2px; font-size: 15px;
  border: 1px solid transparent; transition: .18s;
}
.btn-primary{ background: var(--accent); color: #fff; }
.btn-primary:hover{ background: var(--accent-d); color: #fff; }
.btn-ghost{ border-color: var(--accent); color: var(--accent); }
.btn-ghost:hover{ background: var(--accent); color: #fff; }

/* ---------- 通用区块 ---------- */
.section{ padding: 76px 0; }
.section-alt{ background: #f2f1ec; border-block: 1px solid var(--line); }

.section-title{
  margin: 0 0 10px;
  font-size: 26px; font-weight: 700; letter-spacing: 1px;
  padding-left: 14px; border-left: 4px solid var(--accent);
  line-height: 1.4;
}
.section-desc{ margin: 0 0 40px; color: var(--ink-soft); font-size: 15px; }

/* ---------- 业务卡片 ---------- */
.cards{
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card{
  background: #fff; border: 1px solid var(--line);
  padding: 30px 26px 26px; position: relative;
  transition: .2s;
}
.card:hover{
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,36,43,.07);
}
.card-no{
  position: absolute; top: 18px; right: 22px;
  font-size: 30px; font-weight: 700; color: rgba(15,111,108,.13);
  letter-spacing: 1px;
}
.card h3{ margin: 0 0 12px; font-size: 19px; font-weight: 700; }
.card p{ margin: 0 0 16px; color: var(--ink-soft); font-size: 14.5px; }
.card-list{
  margin: 0; padding: 16px 0 0; list-style: none;
  border-top: 1px dashed var(--line);
  font-size: 13.5px; color: var(--ink-soft);
}
.card-list li{ padding: 3px 0 3px 14px; position: relative; }
.card-list li::before{
  content: ""; position: absolute; left: 0; top: 13px;
  width: 5px; height: 5px; background: var(--accent); border-radius: 50%;
}

/* ---------- 关于我们 ---------- */
.about-grid{
  display: grid; gap: 44px;
  grid-template-columns: 1.35fr 1fr; align-items: start;
}
.about-grid p{ margin: 0 0 18px; color: var(--ink-soft); }
.about-grid em{ font-style: italic; color: var(--accent); }

.facts{ background: #fff; border: 1px solid var(--line); padding: 8px 26px; }
.facts dl{ margin: 0; }
.facts dl > div{ padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dl > div:last-child{ border-bottom: 0; }
.facts dt{
  font-size: 12.5px; color: var(--accent);
  letter-spacing: 1px; margin-bottom: 4px;
}
.facts dd{ margin: 0; font-size: 15px; line-height: 1.7; }

/* ---------- 合作方式 ---------- */
.steps{
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  counter-reset: step;
}
.steps li{
  background: #fff; border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 24px 22px; font-size: 14.5px; color: var(--ink-soft);
}
.step-no{
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-bottom: 12px;
  background: rgba(15,111,108,.09); color: var(--accent);
  border-radius: 50%; font-size: 14px; font-weight: 700;
}
.steps strong{
  display: block; color: var(--ink); font-size: 16.5px;
  margin-bottom: 8px; font-weight: 700;
}

/* ---------- 联系我们 ---------- */
.section-dark{ background: var(--ink); color: #e8eceb; }
.section-dark .section-title{ color: #fff; border-left-color: #4fb3ae; }
.section-dark .section-desc{ color: #9fb0b3; }

.contact-grid{
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.contact-item{
  border: 1px solid rgba(255,255,255,.14);
  padding: 22px 20px;
}
.contact-label{
  display: block; font-size: 12.5px; letter-spacing: 1px;
  color: #4fb3ae; margin-bottom: 6px;
}
.contact-value{
  font-size: 16px; color: #fff; line-height: 1.6;
  display: block; word-break: break-all;
}
a.contact-value:hover{ color: #4fb3ae; }

/* ---------- 页脚 ---------- */
.site-footer{
  background: #101b21; color: #8b9ba0;
  padding: 26px 0; font-size: 13.5px;
}
.footer-inner{
  display: flex; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.site-footer p{ margin: 0; }
.beian a{ color: #8b9ba0; }
.beian a:hover{ color: #4fb3ae; }

/* ---------- 手机适配 ---------- */
@media (max-width: 760px){
  .hero{ padding: 56px 0 48px; }
  .hero h1{ font-size: 27px; }
  .hero-lead{ font-size: 15.5px; }
  .section{ padding: 52px 0; }
  .section-title{ font-size: 21px; }
  .about-grid{ grid-template-columns: 1fr; gap: 28px; }
  .header-inner{ padding-block: 10px; }
  .site-nav{ gap: 18px; width: 100%; }
  .site-nav a{ font-size: 14px; }
  .footer-inner{ justify-content: center; text-align: center; }
}
