/* 亚星企业官网 - 共享样式 */
:root {
  --ink: #14243b;
  --ink-soft: #41536b;
  --muted: #7b8ba1;
  --line: #e5eaf1;
  --paper: #ffffff;
  --mist: #f6f8fb;
  --primary: #16365c;
  --accent: #2f6fed;
  --accent-soft: #eaf1ff;
  --shadow: 0 18px 50px rgba(20, 36, 59, 0.08);
  --radius: 14px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--accent-soft); color: var(--primary); }

.container { width: min(calc(100% - 48px), var(--wrap)); margin: 0 auto; }
.section { padding: 100px 0; }
.section--mist { background: var(--mist); }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .18em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 14px;
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 20px; }
p { margin: 0; }
.lead { color: var(--ink-soft); font-size: 17px; margin-top: 18px; }
.text-muted { color: var(--muted); }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 8px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; transition: all .2s ease; cursor: pointer;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(47, 111, 237, .22); }
.btn--primary:hover { background: #225fcf; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { transform: translateY(-2px); }
.link-arrow { color: var(--accent); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow:hover { gap: 10px; }

/* 顶部导航 */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 36px; height: 36px; border-radius: 9px; background: var(--primary);
  display: grid; place-items: center; color: #fff; flex: none;
}
.brand__name { font-size: 20px; font-weight: 800; letter-spacing: .06em; line-height: 1.1; }
.brand__en { display: block; font-size: 9px; letter-spacing: .24em; color: var(--muted); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: 14px; color: var(--ink-soft); font-weight: 500; position: relative; padding: 26px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .2s ease;
}
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-cta { display: inline-flex; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }

/* 首页首屏 */
.hero { padding: 104px 0 92px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,111,237,.09), transparent 68%);
  right: -180px; top: -260px; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.8vw, 62px); letter-spacing: -.04em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 18px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); letter-spacing: .03em; }
.hero-art {
  position: relative; aspect-ratio: 1 / .92; border-radius: 20px;
  background: linear-gradient(145deg, #f3f7ff 0%, #ffffff 55%, #eef3fb 100%);
  border: 1px solid var(--line); overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-art__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(22,54,92,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(22,54,92,.055) 1px, transparent 1px);
  background-size: 46px 46px;
}
.hero-art__ring { position: absolute; border: 1px solid rgba(47,111,237,.28); border-radius: 50%; }
.hero-art__ring.r1 { width: 74%; height: 74%; left: 13%; top: 13%; }
.hero-art__ring.r2 { width: 52%; height: 52%; left: 24%; top: 24%; }
.hero-art__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 33%; aspect-ratio: 1; border-radius: 22px; background: var(--primary);
  display: grid; place-items: center; color: #fff; font-size: 34px; font-weight: 800; letter-spacing: .08em;
  box-shadow: 0 24px 50px rgba(22,54,92,.28);
}
.hero-art__dot { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(47,111,237,.12); }
.hero-art__dot.d1 { left: 17%; top: 26%; } .hero-art__dot.d2 { right: 19%; top: 34%; } .hero-art__dot.d3 { right: 25%; bottom: 18%; }
.hero-art__tag {
  position: absolute; bottom: 26px; left: 26px; right: 26px; padding: 14px 18px;
  background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: 10px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 12px; color: var(--ink-soft); backdrop-filter: blur(6px);
}
.hero-art__tag b { color: var(--primary); font-size: 13px; }

/* 卡片与网格 */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d4e0f5; }
.card__icon {
  width: 46px; height: 46px; border-radius: 11px; background: var(--accent-soft);
  display: grid; place-items: center; color: var(--accent); margin-bottom: 22px;
}
.card__icon svg { width: 22px; height: 22px; }
.card p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.card__more { margin-top: 20px; }

/* 优势条 */
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.feature-strip__item { padding: 34px 28px; border-right: 1px solid var(--line); }
.feature-strip__item:last-child { border-right: 0; }
.feature-strip b { display: block; font-size: 17px; margin-bottom: 6px; }
.feature-strip span { font-size: 13px; color: var(--muted); }

/* 文本 + 视觉块 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.visual {
  min-height: 380px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(140deg, #eaf1fd 0%, #fff 60%, #f2f6fc 100%);
  position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.visual::before, .visual::after { content: ""; position: absolute; border: 1px solid rgba(47,111,237,.22); border-radius: 50%; }
.visual::before { width: 260px; height: 260px; right: -60px; top: -70px; }
.visual::after { width: 180px; height: 180px; left: -50px; bottom: -60px; }
.visual__inner { position: absolute; inset: 34px; border: 1px solid rgba(22,54,92,.1); border-radius: 12px; padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.visual__line { height: 10px; border-radius: 5px; background: rgba(22,54,92,.09); margin-bottom: 16px; }
.visual__line:nth-child(2) { width: 78%; }
.visual__line:nth-child(3) { width: 56%; }
.visual__badge { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font-size: 12px; color: var(--accent); font-weight: 700; margin-bottom: 26px; }
.visual__big { font-size: 44px; font-weight: 800; color: var(--primary); letter-spacing: -.03em; margin: 10px 0 6px; }

/* 列表式内容 */
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: 15px; }
.check-list svg { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 4px; }

/* 页面小标题区 */
.page-hero { padding: 84px 0 72px; background: var(--mist); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(34px, 4vw, 52px); }
.page-hero .lead { max-width: 640px; }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--accent); }

/* 关于我们 */
.timeline { position: relative; margin-top: 20px; padding-left: 28px; border-left: 1px solid var(--line); display: grid; gap: 34px; }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -35px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.timeline__item b { display: block; color: var(--accent); font-size: 13px; letter-spacing: .08em; margin-bottom: 6px; }
.timeline__item h3 { font-size: 19px; }
.timeline__item p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.value-card { text-align: left; }

/* 服务页 */
.service-row {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 28px; align-items: center;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 0; }
.service-row__no { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.service-row h3 { font-size: 22px; }
.service-row p { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 720px; }
.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process__item { position: relative; padding-top: 26px; border-top: 2px solid var(--primary); }
.process__item::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -15px; left: 0; background: #fff; padding-right: 12px; font-size: 12px; font-weight: 800; color: var(--accent); }
.process__item h3 { font-size: 17px; margin-bottom: 8px; }
.process__item p { font-size: 13px; color: var(--muted); }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field label span { color: #e05b5b; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfe;
  padding: 12px 14px; font-size: 14px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,111,237,.1); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field__error { color: #d64545; font-size: 12px; min-height: 0; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 14px; }
.form-success { display: none; padding: 18px; border-radius: 10px; background: #edf8f2; border: 1px solid #c9e8d8; color: #1c6b46; font-size: 14px; margin-top: 18px; }
.form-success.show { display: block; }
.contact-info { display: grid; gap: 16px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.info-card__icon { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.info-card__icon svg { width: 19px; height: 19px; }
.info-card b { display: block; font-size: 14px; margin-bottom: 4px; }
.info-card p { font-size: 14px; color: var(--muted); word-break: break-all; }
.faq { margin-top: 26px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-size: 15px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* 行动号召 / 页脚 */
.cta { background: var(--primary); color: #fff; }
.cta .container { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); }
.cta p { color: rgba(255,255,255,.66); font-size: 15px; margin-top: 8px; }
.site-footer { padding: 66px 0 24px; background: #0f2743; color: rgba(255,255,255,.7); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-grid .brand__name { color: #fff; }
.footer-grid .brand__mark { background: rgba(255,255,255,.12); }
.footer-grid p { font-size: 14px; margin-top: 18px; line-height: 1.9; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; margin-bottom: 11px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.45); }

/* 滚动出现 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { max-width: 620px; }
  .grid--4, .feature-strip, .process { grid-template-columns: repeat(2, 1fr); }
  .feature-strip__item:nth-child(2) { border-right: 0; }
  .feature-strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(calc(100% - 36px), var(--wrap)); }
  .section { padding: 70px 0; }
  .header-inner { height: 66px; }
  .nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 18px 20px;
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(20,36,59,.08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .hero { padding: 66px 0 70px; }
  .grid--3, .grid--2, .grid--4, .feature-strip, .process { grid-template-columns: 1fr; }
  .feature-strip__item { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .feature-strip__item:last-child { border-bottom: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 10px; }
  .service-row .link-arrow { justify-self: start; }
  .cta .container { flex-direction: column; align-items: flex-start; padding-top: 44px; padding-bottom: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .card { padding: 26px; }
}
