/* =========================================================
   时间贸易 TIME TRADE — 高端响应式样式
   设计语言：午夜深蓝 + 香槟金，留白克制，质感考究
   ========================================================= */

:root {
  --navy:        #0a1428;
  --navy-2:      #0f1d3a;
  --navy-3:      #16264a;
  --gold:        #c9a35b;
  --gold-soft:   #d8b878;
  --gold-deep:   #a9842f;
  --cream:       #f7f4ee;
  --paper:       #fbfaf7;
  --ink:         #1a1f2b;
  --muted:       #6b7280;
  --line:        rgba(201,163,91,.28);
  --shadow:      0 24px 60px -24px rgba(10,20,40,.45);
  --radius:      18px;
  --maxw:        1180px;
  --serif:       "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans:        "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* 跳转链接（可访问性 + SEO） */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--navy);
  padding: 10px 18px; border-radius: 0 0 10px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ===================== 顶部导航 ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,20,40,.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(10,20,40,.92); box-shadow: 0 10px 30px -18px rgba(0,0,0,.7); }

.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark { width: 38px; height: 38px; color: var(--gold-soft); flex: none; }
.brand-text {
  font-family: var(--serif); font-weight: 700; font-size: 1.18rem;
  letter-spacing: .06em; line-height: 1; display: flex; flex-direction: column; gap: 3px;
}
.brand-text small { font-family: var(--sans); font-size: .58rem; letter-spacing: .32em; color: var(--gold-soft); font-weight: 600; }

.site-nav { display: flex; align-items: center; }
.nav-menu { display: flex; gap: clamp(14px, 2.4vw, 34px); }
.nav-menu a {
  position: relative; color: rgba(255,255,255,.82); font-size: .95rem;
  padding: 6px 2px; letter-spacing: .04em; transition: color .25s;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold-deep)); transition: width .28s ease;
}
.nav-menu a:hover { color: #fff; }
.nav-menu a:hover::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px;
  background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 10px;
  cursor: pointer; padding: 11px 10px;
}
.nav-toggle span { height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== 通用区块 ===================== */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--cream); }
.section-dark { background: radial-gradient(120% 120% at 50% 0%, var(--navy-2), var(--navy)); color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head.light { color: #fff; }
.section-eyebrow {
  font-size: .72rem; letter-spacing: .42em; color: var(--gold-deep);
  font-weight: 700; margin: 0 0 14px; text-transform: uppercase;
}
.section-head.light .section-eyebrow { color: var(--gold-soft); }
.section-head h2 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 4.4vw, 3rem);
  margin: 0 0 16px; letter-spacing: .02em; line-height: 1.2;
}
.section-lead { color: var(--muted); font-size: 1.04rem; margin: 0; }
.section-head.light .section-lead { color: rgba(255,255,255,.72); }

/* ===================== 按钮 ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; font-size: .96rem; font-weight: 600;
  letter-spacing: .04em; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
}
.btn-gold {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  box-shadow: 0 14px 30px -12px rgba(201,163,91,.7);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(201,163,91,.85); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: .88rem; }

/* ===================== Hero ===================== */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,20,40,.55), rgba(10,20,40,.35) 40%, rgba(10,20,40,.85)),
    radial-gradient(80% 60% at 70% 30%, rgba(201,163,91,.18), transparent 60%);
}
.hero-inner { padding-top: 90px; padding-bottom: 70px; max-width: 880px; }
.hero-eyebrow {
  font-size: .8rem; letter-spacing: .4em; color: var(--gold-soft); font-weight: 600;
  margin: 0 0 22px; text-transform: uppercase;
}
.hero h1 {
  font-family: var(--serif); font-weight: 700; line-height: 1.12;
  font-size: clamp(2.4rem, 6.4vw, 4.6rem); margin: 0 0 24px; letter-spacing: .02em;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.hero-sub {
  font-size: clamp(1.02rem, 1.7vw, 1.22rem); color: rgba(255,255,255,.82);
  max-width: 620px; margin: 0 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 6vw, 64px); margin: 0; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt {
  font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700;
  color: var(--gold-soft); line-height: 1;
}
.hero-stats dd { margin: 8px 0 0; font-size: .9rem; color: rgba(255,255,255,.66); letter-spacing: .04em; }

/* Hero 轮播 */
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.1s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-dots {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 2; display: flex; gap: 12px;
}
.hero-dots .dot {
  width: 11px; height: 11px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid rgba(255,255,255,.55); background: transparent; transition: .3s;
}
.hero-dots .dot.is-active { background: var(--gold-soft); border-color: var(--gold-soft); width: 26px; border-radius: 6px; }



/* ===================== 核心业务 ===================== */
.service-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.service-card {
  position: relative; background: #fff; border: 1px solid #ece7dd; border-radius: var(--radius);
  padding: 34px 30px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(201,163,91,.08), transparent 45%);
  opacity: 0; transition: opacity .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.service-card:hover::before { opacity: 1; }
.service-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px;
  color: var(--gold-deep); background: linear-gradient(135deg, rgba(201,163,91,.16), rgba(201,163,91,.05));
}
.service-ico svg { width: 28px; height: 28px; }
.service-card h3 { font-family: var(--serif); font-size: 1.25rem; margin: 0 0 10px; color: var(--ink); }
.service-card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ===================== 关于我们 ===================== */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-text h2 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 20px; line-height: 1.2; }
.about-text p { color: #46505f; margin: 0 0 16px; }
.about-points { margin-top: 24px; display: grid; gap: 14px; }
.about-points li {
  position: relative; padding-left: 30px; color: var(--ink); font-weight: 500;
}
.about-points li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px;
  border-radius: 50%; background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
}
.about-figure { margin: 0; }
.about-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ===================== 旗下公司 ===================== */
.sub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.sub-card {
  background: #fff; border: 1px solid #ece7dd; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; color: inherit; text-decoration: none; cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.sub-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.sub-img { width: 100%; height: 240px; object-fit: cover; }
.sub-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 10px; }
.sub-body h3 { font-family: var(--serif); font-size: 1.3rem; margin: 0; color: var(--ink); }
.sub-body p { color: var(--muted); margin: 0; font-size: .96rem; }
.sub-more {
  display: inline-flex; align-items: center; margin-top: 6px;
  color: var(--gold-deep); font-weight: 600; font-size: .92rem; letter-spacing: .04em;
  transition: color .25s ease, transform .25s ease;
}
.sub-card:hover .sub-more { color: var(--gold-soft); transform: translateX(4px); }

/* ===================== 全球网络 ===================== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.feature {
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px 26px;
  background: rgba(255,255,255,.03); transition: border-color .3s ease, background .3s ease;
}
.feature:hover { border-color: var(--line); background: rgba(201,163,91,.07); }
.feature h3 { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 12px; color: var(--gold-soft); }
.feature p { margin: 0; color: rgba(255,255,255,.72); font-size: .96rem; }

/* ===================== 联系我们 ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-info h2 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 16px; }
.contact-list { margin-top: 28px; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: #46505f; font-size: 1rem; }
.contact-ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; color: var(--gold-deep);
  background: linear-gradient(135deg, rgba(201,163,91,.16), rgba(201,163,91,.05));
}
.contact-ico svg { width: 22px; height: 22px; }

.contact-form {
  background: #fff; border: 1px solid #ece7dd; border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); display: grid; gap: 18px;
}
.field { display: grid; gap: 8px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  border: 1px solid #ddd6c8; border-radius: 12px; padding: 13px 15px; background: var(--paper);
  transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,163,91,.15);
}
.form-note { margin: 0; font-size: .9rem; color: var(--gold-deep); min-height: 1.2em; }

/* ===================== 页脚 ===================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding-top: 60px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px;
}
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { margin: 0; color: rgba(255,255,255,.55); max-width: 280px; }
.footer-nav h4, .footer-companies h4, .footer-contact h4 {
  color: #fff; font-family: var(--serif); font-size: 1.05rem; margin: 0 0 16px; letter-spacing: .04em;
}
.footer-companies ul { display: grid; gap: 10px; }
.footer-companies a { color: rgba(255,255,255,.62); font-size: .92rem; transition: color .25s; }
.footer-companies a:hover { color: var(--gold-soft); }
.footer-contact ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-contact li { color: rgba(255,255,255,.62); font-size: .92rem; }
.footer-contact a { color: rgba(255,255,255,.62); font-size: .92rem; transition: color .25s; }
.footer-contact a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0 30px;
  font-size: .82rem; color: rgba(255,255,255,.45); text-align: center;
}

/* ===================== 进入动画 ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===================== 响应式 ===================== */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-figure { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(10,20,40,.97); backdrop-filter: blur(14px);
    max-height: 0; overflow: hidden; transition: max-height .35s ease; padding: 0;
  }
  .nav-menu.open { max-height: 420px; padding: 10px 0 18px; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 14px clamp(20px,5vw,48px); }
  .nav-menu a::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { min-height: 86vh; }
}

@media (max-width: 460px) {
  .hero-actions .btn { width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
}
