/* ============================================
   TALANTE 塔兰 · 官网样式
   工业理性取向：深炭黑 + 白 + 单一工程橙
   无外部依赖，无 CDN，加载零阻塞
   ============================================ */

:root {
  --ink:        #14151A;
  --ink-2:      #2B2E37;
  --body:       #4A4E59;
  --muted:      #767B87;
  --line:       #E3E5EA;
  --bg:         #FFFFFF;
  --bg-soft:    #F6F7F9;
  --accent:     #E2571F;
  --accent-dk:  #B8430F;
  --wrap:       1180px;
  --r:          2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  color: var(--body);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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

/* ---------- 顶部导航 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 21, 26, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand-en {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
}

.brand-cn {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.55);
}

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: #fff; }

.nav-tel {
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

/* ---------- 首屏 ---------- */

.hero {
  background:
    repeating-linear-gradient(0deg,   rgba(255,255,255,.032) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg,  rgba(255,255,255,.032) 0 1px, transparent 1px 64px),
    linear-gradient(165deg, #14151A 0%, #1B1D24 55%, #14151A 100%);
  color: #fff;
  padding: 104px 0 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -18%;
  width: 52%;
  height: 90%;
  background: radial-gradient(circle at 50% 50%, rgba(226, 87, 31, 0.16), transparent 62%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  font-weight: 500;
}

.eyebrow.dark { color: var(--accent-dk); }

.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}

.lede {
  font-size: clamp(15px, 1.5vw, 17.5px);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.74);
  max-width: 620px;
  margin-bottom: 40px;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 30px;
  font-size: 15px;
  letter-spacing: 0.08em;
  border-radius: var(--r);
  transition: all 0.22s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-dk); }

.btn-ghost {
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.hero-foot {
  margin-top: 78px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.hero-facts > div {
  padding: 26px 22px 30px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-facts strong {
  font-size: 15px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero-facts span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* ---------- 通用段落 ---------- */

.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); }

.sec-head { margin-bottom: 56px; max-width: 640px; }

h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.sub {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.8;
}

/* ---------- 业务卡片 ---------- */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  background: #fff;
  padding: 36px 30px 34px;
  position: relative;
  transition: background 0.25s ease;
}

.card:hover { background: #FCFCFD; }

.card .idx {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 18.5px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.card p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--body);
  margin-bottom: 20px;
}

.card ul {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.card li {
  font-size: 13.5px;
  color: var(--muted);
  padding-left: 13px;
  position: relative;
  line-height: 2;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 4px;
  height: 1px;
  background: var(--accent);
}

/* ---------- 流程 ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}

.steps li {
  padding: 30px 24px 0 0;
  position: relative;
}

.steps li::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.step-no {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 15px;
  font-variant-numeric: tabular-nums;
}

.steps h4 {
  font-size: 16.5px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 10px;
}

.steps p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 为什么 ---------- */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.why-item {
  background: #fff;
  padding: 38px 34px;
}

.why-item h3 {
  font-size: 17.5px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 12px;
  padding-left: 16px;
  position: relative;
}

.why-item h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 3px;
  height: 15px;
  background: var(--accent);
}

.why-item p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--body);
}

/* ---------- 关于 ---------- */

.about-wrap {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-text h2 { margin-bottom: 24px; }

.about-text p {
  font-size: 15px;
  line-height: 1.95;
  margin-bottom: 18px;
  color: var(--body);
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.side-card {
  background: #fff;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.side-card span {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.side-card strong {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.65;
}

/* ---------- 联系 ---------- */

.contact {
  background: var(--ink);
  color: #fff;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.contact h2 { color: #fff; }

.contact .sub {
  color: rgba(255, 255, 255, 0.6);
  max-width: 440px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-list > * {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: padding-left 0.22s ease, color 0.22s ease;
}

.contact-list a:hover {
  padding-left: 12px;
  color: var(--accent);
}

.contact-list span {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.45);
  min-width: 74px;
  text-transform: uppercase;
}

.contact-list strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

/* ---------- 页脚 ---------- */

.foot {
  background: #0F1014;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.foot-brand .brand-en { font-size: 15px; }

.foot-brand .brand-cn {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.42);
}

.foot-meta { text-align: right; }

.foot-meta p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.9;
}

.foot-meta a {
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.foot-meta a:hover { color: #fff; }

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .steps li:nth-child(5) { grid-column: span 2; }
  .about-wrap { grid-template-columns: 1fr; gap: 44px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-inner { height: 60px; }
  .hero { padding-top: 64px; }
  .hero-foot { margin-top: 52px; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .hero-facts > div { padding: 20px 14px 22px 0; }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 36px; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .steps li:nth-child(5) { grid-column: auto; }
  .card, .why-item { padding: 28px 22px; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
  .foot-meta { text-align: left; }
  .contact-list > * { flex-direction: column; gap: 6px; }
}

/* ---------- 语言切换 ---------- */

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang-swap {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.26);
  padding: 5px 10px;
  border-radius: 2px;
  line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-swap:hover {
  color: #fff;
  border-color: var(--accent);
}

/* ---------- 英文版排版微调 ---------- */

html[lang="en"] body { letter-spacing: 0; }

html[lang="en"] .hero h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.22;
}

html[lang="en"] .lede {
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.8;
}

html[lang="en"] .eyebrow { letter-spacing: 0.24em; }

html[lang="en"] .brand-cn {
  font-size: 11.5px;
  letter-spacing: 0.18em;
}

html[lang="en"] .card h3 {
  font-size: 16.5px;
  line-height: 1.45;
}

html[lang="en"] .card p { font-size: 14px; }

html[lang="en"] .card li { line-height: 1.9; }

html[lang="en"] .why-item h3 { font-size: 17px; }

html[lang="en"] .contact-list span { min-width: 86px; }

html[lang="en"] .side-card span { letter-spacing: 0.16em; }

@media (max-width: 760px) {
  .nav-right { gap: 12px; }
  .lang-swap { padding: 4px 8px; font-size: 11px; }
  .nav-tel { font-size: 12.5px; }
}
