/* ============================================================
   深圳市驰通创合科技有限公司 · 企业官网
   设计语言：简约大气 / 中式雅致 / 墨色 + 鎏金点缀
   ============================================================ */
:root {
  --ink: #17181c;
  --ink-2: #26282f;
  --ink-3: #3a3d46;
  --paper: #fbfaf8;
  --white: #ffffff;
  --gold: #b8935a;
  --gold-light: #d9bd8c;
  --red: #b9372e;
  --muted: #767b85;
  --line: #e9e6e0;
  --shadow-sm: 0 1px 2px rgba(23, 24, 28, .04), 0 2px 8px rgba(23, 24, 28, .05);
  --shadow-md: 0 4px 12px rgba(23, 24, 28, .07), 0 12px 32px rgba(23, 24, 28, .08);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, #1d1f25, #34363f);
  color: var(--gold-light); display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; letter-spacing: 1px;
}
.brand-text .cn { font-size: 18px; font-weight: 700; letter-spacing: 2px; line-height: 1.2; }
.brand-text .en { font-size: 10px; letter-spacing: 2.6px; color: var(--muted); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 16px; border-radius: 999px; font-size: 15px; color: var(--ink-2);
  transition: .18s ease;
}
.nav a:hover { background: #f1efeb; color: var(--ink); }
.nav a.active { background: var(--ink); color: #fff; }
.nav a.nav-admin { color: var(--gold); font-size: 14px; }
.nav a.nav-admin:hover { background: #f6efe4; color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; color: var(--ink); line-height: 1; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(12, 12, 16, .86) 0%, rgba(12, 12, 16, .62) 42%, rgba(90, 18, 14, .38) 100%);
}
.hero-inner { position: relative; padding: 132px 0 148px; max-width: 760px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 3px; color: var(--gold-light);
  border: 1px solid rgba(217, 189, 140, .4); padding: 7px 18px; border-radius: 999px;
  margin-bottom: 28px; background: rgba(0, 0, 0, .18);
}
.hero h1 {
  font-size: clamp(34px, 5vw, 58px); line-height: 1.22; font-weight: 700; letter-spacing: 1px;
  margin-bottom: 24px; text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero p.lead { font-size: 17px; color: rgba(255, 255, 255, .82); max-width: 620px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; transition: .2s ease; letter-spacing: 1px;
}
.btn-gold { background: linear-gradient(135deg, #c9a468, #a97f45); color: #fff; box-shadow: 0 6px 22px rgba(184, 147, 90, .38); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(184, 147, 90, .5); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------------- 数据条 ---------------- */
.stats-band { background: var(--ink); color: #fff; border-top: 1px solid rgba(255, 255, 255, .07); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 44px 0; }
.stat { text-align: center; padding: 6px 10px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; }
.stat .num { font-size: 34px; font-weight: 700; color: var(--gold-light); line-height: 1.2; letter-spacing: 1px; }
.stat .label { font-size: 13px; color: rgba(255, 255, 255, .62); margin-top: 6px; letter-spacing: 1px; }

/* ---------------- 区块 ---------------- */
.section { padding: 96px 0; }
.section.alt { background: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker {
  display: inline-block; font-size: 12.5px; letter-spacing: 4px; color: var(--gold);
  margin-bottom: 14px; text-transform: uppercase; font-weight: 600;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: 1px; line-height: 1.3; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 16px; }
.head-rule { width: 46px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 2px; margin: 20px auto 0; }

/* ---------------- 产品 ---------------- */
.cat-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.cat-tab {
  padding: 10px 26px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); font-size: 15px; transition: .18s ease;
}
.cat-tab:hover { border-color: var(--gold); color: var(--gold); }
.cat-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .25s ease; display: flex; flex-direction: column; cursor: pointer;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-thumb { position: relative; aspect-ratio: 4 / 3; background: #f4f2ee; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 14px; left: 14px; background: rgba(23, 24, 28, .82); color: var(--gold-light);
  font-size: 12px; padding: 4px 12px; border-radius: 999px; letter-spacing: 1px; backdrop-filter: blur(4px);
}
.product-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 12px; color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.product-name { font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.product-tagline { font-size: 14px; color: var(--muted); flex: 1; }
.product-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.product-price { font-size: 22px; font-weight: 700; color: var(--red); }
.product-price small { font-size: 13px; font-weight: 500; color: var(--muted); margin-right: 2px; }
.product-more { font-size: 13px; color: var(--muted); }

/* 产品详情弹层 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(15, 15, 18, .58); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  backdrop-filter: blur(6px); animation: fadeIn .22s ease;
}
.modal {
  background: #fff; border-radius: 18px; max-width: 980px; width: 100%;
  max-height: 88vh; overflow-y: auto; position: relative; animation: slideUp .28s ease;
}
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .92); font-size: 20px; line-height: 1; z-index: 5;
  box-shadow: var(--shadow-sm); color: var(--ink);
}
.modal-close:hover { background: var(--ink); color: #fff; }
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; }
.pd-gallery { padding: 28px; }
.pd-main-img { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: #f4f2ee; }
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.pd-thumbs img { width: 76px; height: 60px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; flex: none; }
.pd-thumbs img.active { border-color: var(--gold); }
.pd-info { padding: 36px 36px 36px 8px; }
.pd-info .cat { font-size: 12.5px; color: var(--gold); letter-spacing: 3px; }
.pd-info h3 { font-size: 26px; font-weight: 700; margin: 10px 0 6px; line-height: 1.35; }
.pd-info .tagline { color: var(--muted); font-size: 15px; }
.pd-price { font-size: 30px; font-weight: 700; color: var(--red); margin: 18px 0 4px; }
.pd-price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.pd-features { margin: 20px 0; }
.pd-features li { list-style: none; padding: 7px 0 7px 26px; position: relative; font-size: 14.5px; color: var(--ink-2); }
.pd-features li::before { content: "✦"; position: absolute; left: 4px; color: var(--gold); font-size: 12px; top: 10px; }
.pd-specs { margin-top: 8px; border-top: 1px solid var(--line); }
.pd-specs .row { display: grid; grid-template-columns: 132px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.pd-specs .row .k { color: var(--muted); }
.pd-specs .row .v { color: var(--ink); }
.pd-desc { margin-top: 20px; font-size: 14.5px; color: var(--ink-3); background: var(--paper); padding: 16px 18px; border-radius: 10px; line-height: 1.9; }

/* ---------------- 关于 / 优势 / 服务 ---------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-media { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); }
.about-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.about-media .mascot {
  position: absolute; right: -18px; bottom: -18px; width: 148px; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .3));
  animation: floaty 4.5s ease-in-out infinite;
}
.about-copy h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; }
.about-copy .en { color: var(--gold); font-size: 13px; letter-spacing: 4px; margin-bottom: 18px; display: block; }
.about-copy p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.about-quote {
  border-left: 3px solid var(--gold); padding: 14px 20px; background: #faf7f1;
  border-radius: 0 10px 10px 0; font-size: 16px; color: var(--ink); font-weight: 600; margin-top: 22px; letter-spacing: 1px;
}

.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: .22s ease;
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.adv-num { font-size: 13px; color: var(--gold); letter-spacing: 2px; font-weight: 700; margin-bottom: 14px; }
.adv-card h4 { font-size: 18px; margin-bottom: 10px; }
.adv-card p { font-size: 14px; color: var(--muted); }

.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-card { text-align: center; padding: 38px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .22s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-icon {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 18px;
  background: linear-gradient(135deg, #fbf4e8, #f3e6d0); display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.svc-card h4 { font-size: 17px; margin-bottom: 10px; }
.svc-card p { font-size: 13.5px; color: var(--muted); }

/* ---------------- 案例 / 新闻 ---------------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; background: var(--ink); transition: .25s ease;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case-card img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: .4s ease; }
.case-card:hover img { opacity: .6; transform: scale(1.04); }
.case-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 14, .85));
  color: #fff;
}
.case-client { font-size: 12px; letter-spacing: 2px; color: var(--gold-light); margin-bottom: 8px; }
.case-title { font-size: 18px; font-weight: 700; line-height: 1.45; }
.case-industry { position: absolute; top: 16px; right: 16px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: .25s ease; cursor: pointer; display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-cover { aspect-ratio: 16/9; overflow: hidden; background: #f4f2ee; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.news-card:hover .news-cover img { transform: scale(1.05); }
.news-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.news-tag { background: #f6efe4; color: var(--gold); padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.news-title { font-size: 17px; font-weight: 700; line-height: 1.5; flex: 1; }
.news-summary { font-size: 13.5px; color: var(--muted); margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 文章页 */
.article { max-width: 800px; margin: 0 auto; }
.article-head { text-align: center; margin-bottom: 40px; }
.article-head .meta { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.article-head h1 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.4; font-weight: 700; }
.article-cover { border-radius: 16px; overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow-sm); }
.article-content { font-size: 16px; color: var(--ink-2); line-height: 2; }
.article-content p { margin-bottom: 20px; }
.article-content strong { color: var(--ink); }

/* ---------------- 合作伙伴 ---------------- */
.clients-band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
.clients-band img { max-height: 130px; margin: 0 auto; mix-blend-mode: multiply; }

/* ---------------- CTA ---------------- */
.cta-band { background: linear-gradient(120deg, #1c1e24, #2c2320 55%, #3d2a1c); color: #fff; text-align: center; padding: 90px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 120%, rgba(184, 147, 90, .28), transparent 70%);
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; letter-spacing: 2px; margin-bottom: 14px; position: relative; }
.cta-band p { color: rgba(255, 255, 255, .72); margin-bottom: 34px; position: relative; }

/* ---------------- 联系页 ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact-info-card { background: var(--ink); color: #fff; border-radius: 18px; padding: 40px 36px; }
.contact-info-card h3 { font-size: 22px; margin-bottom: 8px; letter-spacing: 1px; }
.contact-info-card .sub { color: rgba(255, 255, 255, .6); font-size: 14px; margin-bottom: 30px; }
.contact-row { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .1); align-items: flex-start; }
.contact-row .ico { width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(217, 189, 140, .14); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.contact-row .k { font-size: 12.5px; color: rgba(255, 255, 255, .5); letter-spacing: 1px; }
.contact-row .v { font-size: 15.5px; margin-top: 2px; word-break: break-all; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; }
.form-card h3 { font-size: 20px; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.field label span { color: var(--red); }
.field input, .field textarea, .field select {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14.5px;
  background: var(--paper); transition: .18s; outline: none; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 147, 90, .14); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.form-tip { font-size: 13px; color: var(--muted); margin-top: 14px; }
.alert-ok { background: #f0f7ef; color: #2f6b3a; border: 1px solid #cfe6d1; padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-top: 16px; }
.alert-err { background: #fdf1f0; color: #a33; border: 1px solid #f0d3d1; padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-top: 16px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .62); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 52px; }
.footer-brand .cn { color: #fff; font-size: 19px; font-weight: 700; letter-spacing: 2px; }
.footer-brand .en { font-size: 11px; letter-spacing: 3px; color: var(--gold); margin-top: 4px; }
.footer-brand p { font-size: 13.5px; margin-top: 18px; line-height: 1.9; }
.site-footer h5 { color: #fff; font-size: 15px; letter-spacing: 1px; margin-bottom: 18px; font-weight: 600; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 11px; font-size: 13.5px; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding: 22px 0; font-size: 12.5px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom .icp { color: inherit; opacity: .85; margin-left: 10px; }
.footer-bottom .icp:hover { opacity: 1; text-decoration: underline; }

/* ---------------- 动画 ---------------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1000px) {
  .product-grid, .case-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid, .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .stat:nth-child(3) { border-left: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; border-radius: 10px; }
  .nav-toggle { display: block; }
  .product-grid, .case-grid, .news-grid, .adv-grid, .svc-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 68px 0; }
  .hero-inner { padding: 88px 0 96px; }
  .pd { grid-template-columns: 1fr; }
  .pd-info { padding: 0 28px 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .container { padding: 0 20px; }
}
