/* 缪斯创想 MUSEAGENT —— 联系我们页专属样式
   版式记忆点：左侧常驻联络台（sticky）+ 右侧三段式需求速递 + 深色自检清单。
   仅 contact.html 加载。
*/

/* ── Hero：紧凑型，不抢主体 ──────────────────────────────────── */
.c-hero {
  padding: calc(96px + var(--sp-14)) 0 var(--sp-12);
  background:
    radial-gradient(120% 80% at 8% 0%, var(--brand-a06) 0%, transparent 62%),
    var(--gray-25);
  border-bottom: 1px solid var(--gray-200);
}
.c-hero__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--grid-gap);
  align-items: end;
}
.c-hero__promise {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: flex-end;
}
@media (max-width: 900px) {
  .c-hero { padding: calc(80px + var(--sp-10)) 0 var(--sp-10); }
  .c-hero__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .c-hero__promise { justify-content: flex-start; }
}

/* ── 主体双栏 ────────────────────────────────────────────────── */
.c-main__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 1080px) {
  .c-main__grid { grid-template-columns: 320px 1fr; }
}
@media (max-width: 900px) {
  .c-main__grid { grid-template-columns: 1fr; }
}

/* ── 左：联络台（sticky）───────────────────────────────────── */
.c-desk { position: sticky; top: 96px; }
@media (max-width: 900px) {
  .c-desk { position: static; }
}

.c-qr {
  background: var(--d-bg);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: inset 0 1px 0 var(--d-bevel), var(--shadow-lg, 0 18px 48px rgba(10, 13, 17, 0.16));
  margin-bottom: var(--sp-5);
}
.c-qr__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-mono, 0.08em);
  text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: var(--sp-4);
}
.c-qr__tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fn-ok-d);
  box-shadow: 0 0 0 3px rgba(63, 203, 164, 0.18);
}
.c-qr__title {
  color: var(--d-ink);
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.c-qr__desc {
  color: var(--d-ink-3);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}
/* 二维码承托：白色底板，保证扫码识别率 */
.c-qr__plate {
  background: var(--gray-0);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.c-qr__plate .slot {
  width: 100%; height: 100%;
  border-radius: var(--r-sm);
}
.c-qr__hint {
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--d-ink-4);
  letter-spacing: 0.06em;
}

/* 直连方式列表 */
.c-lines {
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  background: var(--gray-0);
  overflow: hidden;
}
.c-line {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--d-1) var(--e-out, ease);
}
.c-line:last-child { border-bottom: 0; }
.c-line:hover { background: var(--gray-25); }
.c-line__ico {
  flex: 0 0 34px;
  height: 34px;
  border-radius: var(--r-xs);
  background: var(--brand-a10);
  color: var(--brand-700);
  display: flex; align-items: center; justify-content: center;
}
.c-line__k {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.c-line__v {
  font-size: var(--fs-sm);
  color: var(--gray-800);
  font-weight: 500;
  word-break: break-all;
}
a.c-line:hover .c-line__v { color: var(--brand-700); }

/* ── 右：三段式表单 ──────────────────────────────────────────── */
.c-form { max-width: 760px; }

.c-step {
  position: relative;
  padding-left: clamp(0px, 4vw, 56px);
  padding-bottom: var(--sp-12);
}
.c-step:last-of-type { padding-bottom: var(--sp-8); }

/* 左侧序号与竖线：桌面端才出现，移动端收起省空间 */
.c-step__no {
  position: absolute;
  left: 0; top: 2px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: var(--gray-0);
  color: var(--gray-500);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
  transition: border-color var(--d-2) var(--e-out, ease),
              color var(--d-2) var(--e-out, ease),
              background var(--d-2) var(--e-out, ease);
}
.c-step__no::after {
  content: "";
  position: absolute;
  top: 40px; left: 50%;
  width: 1px; height: 0;
  background: var(--gray-200);
  transform: translateX(-50%);
}
.c-step:not(:last-of-type) .c-step__no::after { height: calc(100% + 100%); }
.c-step.is-done .c-step__no {
  border-color: var(--brand-600);
  background: var(--brand-600);
  color: #fff;
}
@media (max-width: 900px) {
  .c-step { padding-left: 0; }
  .c-step__no { position: static; margin-bottom: var(--sp-3); }
  .c-step__no::after { display: none; }
}

.c-step__title {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--sp-2);
}
.c-step__desc {
  font-size: var(--fs-sm);
  color: var(--gray-500);
  margin-bottom: var(--sp-6);
}

.c-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
.c-fields--1 { grid-template-columns: 1fr; }
@media (max-width: 560px) {
  .c-fields { grid-template-columns: 1fr; }
}
.c-field__span { grid-column: 1 / -1; }

/* 多选标签组 */
.c-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.c-tag {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--gray-300);
  background: var(--gray-0);
  color: var(--gray-600);
  font-size: var(--fs-sm);
  cursor: pointer;
  user-select: none;
  transition: all var(--d-2) var(--e-out, ease);
}
.c-tag:hover {
  border-color: var(--brand-400);
  color: var(--brand-700);
}
.c-tag.is-on {
  border-color: var(--brand-600);
  background: var(--brand-a10);
  color: var(--brand-700);
  font-weight: 500;
}
.c-tag.is-on::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-600);
  margin-right: 7px;
  vertical-align: middle;
}

/* 提交区 */
.c-submit {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--gray-200);
}
.c-submit__note {
  font-size: var(--fs-xs);
  color: var(--gray-500);
  line-height: 1.7;
  flex: 1 1 260px;
}

/* ── 深色自检清单 ────────────────────────────────────────────── */
.c-fit__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .c-fit__grid { grid-template-columns: 1fr; }
}

.c-checks { display: flex; flex-direction: column; gap: var(--sp-3); }

.c-check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--r-md);
  border: 1px solid var(--d-line);
  background: var(--d-surface);
  cursor: pointer;
  user-select: none;
  transition: border-color var(--d-2) var(--e-out, ease),
              background var(--d-2) var(--e-out, ease),
              transform var(--d-3) var(--e-out, ease);
}
.c-check:hover {
  border-color: rgba(140, 186, 232, 0.4);
  transform: translateX(3px);
}
.c-check.is-on {
  border-color: var(--brand-400);
  background: var(--d-surface-2);
}
.c-check__box {
  flex: 0 0 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 5px;
  border: 1.5px solid var(--d-ink-4);
  position: relative;
  transition: all var(--d-2) var(--e-out, ease);
}
.c-check.is-on .c-check__box {
  border-color: var(--brand-400);
  background: var(--brand-500);
}
.c-check__box::after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform var(--d-2) var(--e-out, ease);
}
.c-check.is-on .c-check__box::after { transform: rotate(45deg) scale(1); }
.c-check__t {
  color: var(--d-ink-2);
  font-size: var(--fs-sm);
  line-height: 1.65;
}
.c-check.is-on .c-check__t { color: var(--d-ink); }

/* 结论面板 */
.c-verdict {
  position: sticky;
  top: 96px;
  border: 1px solid var(--d-line);
  border-radius: var(--r-lg);
  background: var(--d-bg-deep);
  padding: var(--sp-7);
}
@media (max-width: 900px) {
  .c-verdict { position: static; }
}
.c-verdict__meter {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: var(--sp-5);
}
.c-verdict__fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-300));
  transition: width var(--d-4) var(--e-out, ease);
}
.c-verdict__score {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--d-ink-4);
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-3);
}
.c-verdict__title {
  color: var(--d-ink);
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: var(--sp-3);
  transition: opacity var(--d-2) var(--e-out, ease);
}
.c-verdict__desc {
  color: var(--d-ink-3);
  font-size: var(--fs-sm);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
  transition: opacity var(--d-2) var(--e-out, ease);
}

/* ── 联系页 FAQ（轻量版）────────────────────────────────────── */
.c-qa {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--grid-gap);
}
.c-qa__item {
  padding: var(--sp-6);
  border-radius: var(--r-md);
  border: 1px solid var(--gray-200);
  background: var(--gray-0);
  transition: border-color var(--d-2) var(--e-out, ease),
              transform var(--d-3) var(--e-out, ease);
}
.c-qa__item:hover {
  border-color: var(--brand-300);
  transform: translateY(-2px);
}
.c-qa__q {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--sp-3);
  line-height: 1.5;
}
.c-qa__a {
  font-size: var(--fs-sm);
  color: var(--gray-600);
  line-height: 1.75;
}

/* ── 如何开始：四步流程（预约演示页） ─────────────────────── */
.c-how__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: var(--sp-4);
  align-items: stretch;
  margin-top: var(--head-gap);
}
.c-how__step {
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  background: #fff;
  box-shadow: var(--sh-1);
}
.c-how__no {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tr-mono);
  color: var(--brand-600);
  background: color-mix(in srgb, var(--brand-500) 12%, transparent);
  padding: 2px 10px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-3);
}
.c-how__title { font-size: var(--fs-lg); margin-bottom: var(--sp-2); color: var(--gray-900); }
.c-how__desc { color: var(--gray-600); font-size: var(--fs-sm); line-height: 1.6; }
.c-how__arrow {
  color: var(--brand-400);
  font-size: 22px;
  align-self: center;
  font-weight: 300;
}

@media (max-width: 980px) {
  .c-how__grid { grid-template-columns: 1fr 1fr; }
  .c-how__arrow { display: none; }
}
@media (max-width: 600px) {
  .c-how__grid { grid-template-columns: 1fr; }
}

/* ── 如何开始：四步流程 ─────────────────────────────────────── */
.c-how__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: var(--sp-4);
  align-items: stretch;
  margin-top: var(--head-gap);
}
.c-how__step {
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  background: #fff;
  box-shadow: var(--sh-1);
}
.c-how__no {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tr-mono);
  color: var(--brand-600);
  background: color-mix(in srgb, var(--brand-500) 12%, transparent);
  padding: 2px 10px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-3);
}
.c-how__title { font-size: var(--fs-lg); margin-bottom: var(--sp-2); color: var(--gray-900); }
.c-how__desc { color: var(--gray-600); font-size: var(--fs-sm); line-height: 1.6; }
.c-how__arrow { color: var(--brand-400); font-size: 22px; align-self: center; font-weight: 300; }

@media (max-width: 980px) {
  .c-how__grid { grid-template-columns: 1fr 1fr; }
  .c-how__arrow { display: none; }
}
@media (max-width: 600px) {
  .c-how__grid { grid-template-columns: 1fr; }
}

/* ── 预约表单：同意条款行 ───────────────────────────────────── */
.c-agree {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--gray-600);
  line-height: 1.6;
}
.c-agree input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--brand-500);
  flex: none;
  cursor: pointer;
}
.c-agree label { cursor: pointer; }
.c-agree a { color: var(--brand-600); text-decoration: none; }
.c-agree a:hover { text-decoration: underline; }
