/* ============================================================
   Linguaspec 文语智格 · 官网样式
   配色：学术深蓝 #16324F + 金 #C9A227 + 白/米白 + 深墨 #0F2033
   字体：标题宋体（学术气质），正文无衬线
   响应式断点：1024 / 768 / 480
   ============================================================ */
:root {
  --blue-900: #0F2033;
  --blue-800: #16324F;
  --blue-700: #1B3A5C;
  --blue-600: #2C5176;
  --gold: #C9A227;
  --gold-light: #E3C565;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FA;
  --line: #E3E9F0;
  --text: #2B3A4A;
  --text-muted: #5C6C7E;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 4px 18px rgba(22,50,79,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-en { font-family: Georgia, var(--serif); font-size: 17px; letter-spacing: 2.5px; color: var(--blue-800); font-weight: 600; }
.brand-cn { font-size: 12px; letter-spacing: 4px; color: var(--text-muted); }
.site-nav { display: flex; gap: 6px; }
.site-nav a { padding: 8px 18px; font-size: 15px; color: var(--text); border-radius: 6px; transition: color .15s, background .15s; }
.site-nav a:hover { color: var(--blue-800); background: var(--bg-soft); }
.site-nav a.active { color: var(--blue-800); font-weight: 600; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; padding: 9px; }
.nav-toggle span { display: block; height: 2px; background: var(--blue-800); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首屏 Hero ---------- */
.hero { position: relative; background: var(--blue-800); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 78% 22%, rgba(201,162,39,.16), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(44,81,118,.55), transparent 50%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px; }
.hero-inner { position: relative; padding: 108px 24px 92px; text-align: center; }
.hero-eyebrow { font-size: 13px; letter-spacing: 6px; color: var(--gold-light); margin-bottom: 22px; }
.hero-title { font-family: var(--serif); font-weight: 600; }
.hero-en { display: block; font-family: Georgia, var(--serif); font-size: clamp(44px, 8vw, 76px); letter-spacing: 8px; line-height: 1.1; }
.hero-cn { display: inline-block; margin-top: 14px; font-size: clamp(26px, 4vw, 38px); letter-spacing: 14px; color: var(--gold-light); text-indent: 14px; }
.hero-slogan { margin: 28px auto 0; max-width: 620px; font-size: clamp(16px, 2.2vw, 19px); color: rgba(255,255,255,.88); line-height: 1.9; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 34px; border-radius: 6px; font-size: 15px; letter-spacing: 1px; transition: transform .15s, box-shadow .15s, background .15s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--blue-900); font-weight: 600; }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 8px 22px rgba(201,162,39,.35); }
.btn-ghost { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.hero-stats { margin: 64px auto 0; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-stat { min-width: 150px; padding: 18px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: rgba(255,255,255,.05); }
.hero-stat .num { display: block; font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--gold-light); line-height: 1.2; }
.hero-stat .label { font-size: 13px; color: rgba(255,255,255,.75); letter-spacing: 1px; }

/* ---------- 通用区块 ---------- */
.section { padding: 92px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-eyebrow { font-size: 13px; letter-spacing: 5px; color: var(--gold); margin-bottom: 10px; }
.section-title { font-family: var(--serif); font-size: clamp(28px, 4vw, 38px); font-weight: 600; color: var(--blue-800); letter-spacing: 3px; }
.section-sub { margin-top: 12px; color: var(--text-muted); font-size: 15px; }

/* ---------- 服务项目 ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 34px 28px; text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(22,50,79,.1); border-color: var(--gold); }
.service-icon { width: 62px; height: 62px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg-soft); color: var(--blue-800); border: 1px solid var(--line); transition: background .2s, color .2s; }
.service-card:hover .service-icon { background: var(--blue-800); color: var(--gold-light); border-color: var(--blue-800); }
.service-title { font-family: var(--serif); font-size: 19px; color: var(--blue-800); margin-bottom: 8px; letter-spacing: 1px; }
.service-summary { font-size: 14px; color: var(--text-muted); }

/* ---------- 我们的优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-card { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 30px 24px; border-top: 3px solid var(--gold); transition: transform .2s, box-shadow .2s; }
.adv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(22,50,79,.09); }
.adv-index { font-family: Georgia, var(--serif); font-size: 15px; color: var(--gold); letter-spacing: 2px; }
.adv-title { font-family: var(--serif); font-size: 18px; color: var(--blue-800); margin: 12px 0 8px; }
.adv-summary { font-size: 14px; color: var(--text-muted); }

/* ---------- 成功案例 ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(22,50,79,.09); border-color: var(--gold); }
.case-journal { align-self: flex-start; font-size: 12px; letter-spacing: 1px; color: var(--blue-800); background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 12px; border-radius: 20px; }
.case-title { font-family: var(--serif); font-size: 17px; color: var(--blue-800); margin: 16px 0 10px; line-height: 1.6; }
.case-summary { font-size: 13.5px; color: var(--text-muted); flex: 1; }
.case-meta { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; }
.case-subject { font-size: 13px; color: var(--gold); }
.case-year { font-family: Georgia, var(--serif); font-size: 13px; color: var(--text-muted); }
.cases-empty { grid-column: 1 / -1; text-align: center; color: var(--text-muted); padding: 40px 0; font-size: 15px; }

/* ---------- 联系我们 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.contact-intro .section-title { text-align: left; }
.contact-intro .section-eyebrow { text-align: left; }
.company-intro { margin-top: 22px; font-size: 15.5px; color: var(--text-muted); line-height: 2; text-align: justify; }
.contact-card { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 30px 28px; box-shadow: 0 8px 26px rgba(22,50,79,.06); }
.contact-card-title { font-family: var(--serif); font-size: 20px; color: var(--blue-800); margin-bottom: 20px; letter-spacing: 2px; }
.contact-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.contact-item:last-of-type { border-bottom: none; }
.contact-label { min-width: 76px; color: var(--text-muted); font-size: 14px; }
.contact-cta { margin-top: 24px; width: 100%; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.82); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 24px 40px; }
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-logo { width: 46px; height: 46px; }
.footer-brand-en { font-family: Georgia, var(--serif); font-size: 19px; letter-spacing: 3px; color: #fff; }
.footer-brand-cn { font-size: 13px; letter-spacing: 5px; color: var(--gold-light); margin-top: 4px; }
.footer-heading { font-size: 14px; color: #fff; margin-bottom: 14px; letter-spacing: 1px; }
.footer-links a { display: block; color: rgba(255,255,255,.72); font-size: 14px; padding: 4px 0; transition: color .15s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact p { font-size: 14px; color: rgba(255,255,255,.72); padding: 4px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 24px; font-size: 13px; color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 72px 0; }
}
@media (max-width: 768px) {
  .header-inner { height: 62px; }
  .nav-toggle { display: flex; }
  .site-nav { position: absolute; top: 62px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 10px 20px 18px; gap: 4px; display: none; box-shadow: 0 12px 24px rgba(22,50,79,.08); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 14px; font-size: 15px; border-radius: 8px; }
  .hero-inner { padding: 72px 20px 64px; }
  .hero-en { letter-spacing: 5px; }
  .hero-cn { letter-spacing: 8px; text-indent: 8px; }
  .hero-stats { margin-top: 44px; }
  .hero-stat { min-width: 118px; padding: 14px 8px; }
  .hero-stat .num { font-size: 26px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 38px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; padding: 44px 24px 32px; }
}
@media (max-width: 480px) {
  .services-grid, .cases-grid, .adv-grid { grid-template-columns: 1fr; }
  .brand-en { font-size: 15px; letter-spacing: 2px; }
  .hero-slogan { font-size: 15px; }
  .btn { padding: 11px 26px; font-size: 14px; }
  .contact-item { flex-direction: column; gap: 2px; }
}
