/* service.yinkangtech.com — dark premium theme (UI-UX-Pro-Max: Luxury/Premium palette)
   Warm black + gold accent. Contrast checked: text #FAFAF9 ~17:1, muted #A8A29E ~7.9:1,
   gold #C9A227 on #0C0A09 ~8.3:1 — all above 4.5:1. */
:root {
  --bg: #0c0a09;
  --bg-2: #141110;
  --surface: #1c1917;
  --surface-2: #292524;
  --border: rgba(255, 255, 255, .09);
  --border-strong: #44403c;
  --text: #fafaf9;
  --muted: #a8a29e;
  --gold: #c9a227;
  --gold-bright: #e3b341;
  --gold-dim: rgba(201, 162, 39, .13);
  --on-gold: #0c0a09;
  --danger: #f87171;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-bright); }
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 24px; }

/* header */
header.site {
  background: rgba(12, 10, 9, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; flex-wrap: wrap; gap: 8px; padding-top: 10px; padding-bottom: 10px;
}
.brand { text-decoration: none; color: var(--text); }
.brand b { font-size: 21px; margin-right: 10px; letter-spacing: .02em; }
.brand span { font-size: 13px; color: var(--muted); letter-spacing: .08em; }
nav.main a { text-decoration: none; color: var(--text); margin-left: 22px; font-size: 15px; transition: color .2s; }
nav.main a:hover { color: var(--gold-bright); }
nav.main a.cta {
  background: var(--gold); color: var(--on-gold);
  padding: 10px 18px; border-radius: 8px; font-weight: 600;
  transition: background .2s;
}
nav.main a.cta:hover { background: var(--gold-bright); color: var(--on-gold); }

/* hero */
.hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(720px 360px at 50% -8%, rgba(201, 162, 39, .14), transparent 70%),
    linear-gradient(180deg, #141110 0%, var(--bg) 100%);
}
.hero .kicker {
  color: var(--gold); font-size: 13px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; margin: 0 0 20px;
}
.hero h1 {
  font-size: 48px; line-height: 1.25; letter-spacing: -.01em;
  margin: 0 0 20px; max-width: 640px; font-weight: 700;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 0 36px; }
.btnrow { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; background: var(--gold); color: var(--on-gold);
  text-decoration: none; padding: 14px 28px; border-radius: 8px;
  font-size: 16px; font-weight: 600; border: 0; cursor: pointer; min-height: 52px;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--gold-bright); }
.btn.ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn:disabled { opacity: .55; cursor: default; }

/* sections */
main section { padding: 64px 0 12px; }
main section:nth-of-type(even) { background: var(--bg-2); }
.eyebrow {
  color: var(--gold); font-size: 13px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; margin: 0 0 12px;
}
h2 { font-size: 32px; line-height: 1.3; margin: 0 0 20px; letter-spacing: -.01em; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.card {
  border: 1px solid var(--border); border-radius: 14px; padding: 28px;
  background: var(--surface);
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: rgba(201, 162, 39, .55); transform: translateY(-2px); }
.card h3 { margin: 0 0 10px; font-size: 19px; }
.card h3 .num {
  display: block; color: var(--gold); font-size: 13px; font-weight: 600;
  letter-spacing: .2em; margin-bottom: 8px;
}
.card p { margin: 0 0 10px; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.card ul li { margin-bottom: 4px; }
.card ul li::marker { color: var(--gold); }
.note { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li {
  border: 1px solid var(--border); border-radius: 14px; padding: 24px 28px;
  background: var(--surface); display: flex; gap: 20px; align-items: flex-start;
}
.steps .step-num {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-dim); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
}
.steps b { display: block; font-size: 18px; margin-bottom: 4px; }
.steps span { color: var(--muted); }

/* faq */
#faq .card { margin-bottom: 16px; }

/* form: two columns on desktop — form left, direct contact right */
.contact-grid { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: start; }
.contact-side {
  border: 1px solid var(--border); border-radius: 14px; padding: 24px;
  background: var(--surface); position: sticky; top: 92px;
}
.contact-side h3 { margin: 0 0 12px; font-size: 17px; }
.contact-side p { color: var(--muted); margin: 0 0 10px; }
.contact-side p:last-child { margin-bottom: 0; }

/* case screenshot */
.case-img {
  display: block; width: 100%; border-radius: 10px;
  border: 1px solid var(--border); margin: 4px 0 14px;
}

/* form */
#contact form { max-width: 600px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  border: 1px solid var(--border-strong); border-radius: 8px;
  font-size: 16px; font-family: inherit;
  background: var(--surface); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #78716c; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .25);
}
.field select option { background: var(--surface); color: var(--text); }
.hp { display: none; }
.form-status { min-height: 24px; margin: 10px 0; }
.form-err { color: var(--danger); }
.form-ok {
  border: 1px solid rgba(201, 162, 39, .5); background: var(--surface);
  border-radius: 12px; padding: 24px;
}
.form-ok h3 { margin-top: 0; color: var(--gold-bright); }
.contact-alt { color: var(--muted); margin-top: 20px; }

footer.site {
  border-top: 1px solid var(--border); margin-top: 80px; padding: 32px 0;
  color: var(--muted); font-size: 14px;
}
footer.site p { margin: 4px 0; }
footer.site b { color: var(--text); }

@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { position: static; }
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 32px; }
  .hero .lede { font-size: 17px; }
  h2 { font-size: 26px; }
  main section { padding: 56px 0 12px; }
  nav.main a { margin-left: 14px; }
  .steps li { flex-direction: column; gap: 12px; }
  .card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
