/* 德吉特官网 · 全站样式（零依赖） */

:root {
  --navy-900: #06182f;
  --navy-800: #0b2545;
  --navy-700: #123258;
  --blue-600: #1668dc;
  --blue-500: #2c7be5;
  --cyan: #58c8f5;
  --gold: #c9a961;
  --ink: #16243a;
  --muted: #5b6b85;
  --line: #e3e9f2;
  --bg: #f5f8fc;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 14px 40px rgba(9, 32, 65, .09);
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
[hidden] { display: none !important; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  padding: 10px 18px; background: var(--blue-600); color: #fff; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h); display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__cn { font-size: 17px; font-weight: 700; letter-spacing: .08em; color: var(--navy-800); }
.brand__en { font-size: 10px; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 18px; border-radius: 999px; font-size: 15px;
  color: var(--muted); transition: color .2s, background .2s;
}
.nav a:hover { color: var(--blue-600); background: var(--bg); }
.nav a[aria-current="page"] { color: var(--blue-600); background: #eaf2fe; font-weight: 600; }
.nav-toggle {
  display: none; width: 42px; height: 42px; place-items: center;
  border: 1px solid var(--line); background: #fff; border-radius: 10px; color: var(--navy-800);
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 820px) {
  .nav-toggle { display: grid; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 24px 20px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(9, 32, 65, .08);
  }
  .nav.is-open { display: flex; }
  .nav a { border-radius: 10px; padding: 12px 14px; }
}

/* ---------- 首页主视觉 ---------- */
.hero {
  position: relative; display: flex; align-items: center; overflow: hidden;
  min-height: min(720px, calc(100svh - var(--header-h)));
  background: var(--navy-900); color: #fff;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 18, 38, .94) 0%, rgba(5, 18, 38, .76) 38%, rgba(5, 18, 38, .16) 72%, rgba(5, 18, 38, .42) 100%),
    linear-gradient(0deg, rgba(5, 18, 38, .6) 0%, rgba(5, 18, 38, 0) 45%);
}
.hero__inner { position: relative; z-index: 1; padding: 88px 0 96px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-size: 13px; letter-spacing: .14em; color: #a9c9ee;
}
.hero__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--cyan); }
.hero h1 {
  max-width: 720px; font-size: clamp(32px, 5vw, 56px);
  line-height: 1.26; font-weight: 700; letter-spacing: .01em;
}
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero__desc {
  max-width: 580px; margin-top: 22px; font-size: 17px;
  line-height: 1.9; color: #c9d9ef;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 26px; border-radius: 10px;
  font-size: 15px; font-weight: 600; border: 1px solid transparent;
  transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue-600); color: #fff; }
.btn--primary:hover { background: var(--blue-500); }
.btn--ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.btn svg { width: 16px; height: 16px; }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--blue-600);
}
.section-head h2, .filing__head h2 {
  font-size: clamp(26px, 3vw, 36px); line-height: 1.35; font-weight: 700; color: var(--navy-800);
}
.section-head p, .filing__head p { margin-top: 14px; color: var(--muted); line-height: 1.9; }

/* ---------- 首页备案信息 ---------- */
.filing { padding: 88px 0; background: var(--bg); }
.filing__inner { display: grid; grid-template-columns: .88fr 1.12fr; gap: 56px; align-items: start; }
.filing__note {
  margin-top: 26px; padding: 16px 18px; border-left: 3px solid var(--blue-600);
  background: #fff; border-radius: 0 10px 10px 0; color: var(--muted); font-size: 14px; line-height: 1.8;
}
.filing__list {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.filing__row {
  display: grid; grid-template-columns: 150px 1fr; gap: 20px;
  padding: 20px 28px; border-bottom: 1px solid var(--line);
}
.filing__row:last-child { border-bottom: 0; }
.filing__row dt { font-size: 14px; color: var(--muted); }
.filing__row dd { font-weight: 600; word-break: break-word; }
.filing__row a { color: var(--blue-600); }
.filing__row a:hover { text-decoration: underline; }
.filing__tag {
  display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px;
  background: #eaf2fe; color: var(--blue-600); font-size: 11px; font-weight: 600; vertical-align: middle;
}
@media (max-width: 900px) { .filing__inner { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .filing__row { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; } }

/* ---------- 内页页头 ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: 68px 0 74px; color: #fff;
  background: linear-gradient(120deg, var(--navy-800) 0%, var(--navy-700) 58%, #0e4a72 100%);
}
.page-hero::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -100px; top: -180px;
  border-radius: 50%; background: radial-gradient(circle, rgba(88, 200, 245, .22), transparent 68%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { margin-bottom: 18px; font-size: 13px; color: #9db6dc; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.3; }
.page-hero p { max-width: 720px; margin-top: 16px; color: #c6d6ef; line-height: 1.9; }

/* ---------- 关于我们 ---------- */
.about-intro { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.about-intro__text p { color: var(--muted); line-height: 2; }
.about-intro__text p + p { margin-top: 16px; }
.about-intro__figure { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.about-intro__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-intro__figure figcaption { padding: 12px 16px; background: #fff; font-size: 12px; color: var(--muted); }

.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.fact { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.fact__k { font-size: 12px; color: var(--muted); }
.fact__v { margin-top: 8px; font-size: 17px; font-weight: 700; color: var(--navy-800); line-height: 1.4; }

@media (max-width: 900px) {
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .fact-grid { grid-template-columns: 1fr; }
}

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 18px; padding: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .25s, border-color .25s;
}
.contact-card:hover { box-shadow: var(--shadow); border-color: #cfe0f7; }
.contact-card__icon {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  border-radius: 12px; background: #eaf2fe; color: var(--blue-600);
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__body { min-width: 0; flex: 1; }
.contact-card__label { font-size: 13px; color: var(--muted); }
.contact-card__value {
  margin-top: 6px; font-size: 19px; font-weight: 700; line-height: 1.55;
  color: var(--navy-800); word-break: break-word;
}
.contact-card__value a:hover { color: var(--blue-600); text-decoration: underline; }
.contact-card__hint { margin-top: 8px; font-size: 13px; color: var(--muted); }
.copy-btn {
  flex: none; padding: 7px 13px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--blue-600); font-size: 13px; transition: background .2s;
}
.copy-btn:hover { background: #eaf2fe; }

.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 200;
  padding: 12px 22px; border-radius: 10px; background: var(--navy-800); color: #fff;
  font-size: 14px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translate(-50%, 14px);
  transition: opacity .25s, transform .25s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-900); color: #a9bbda; padding: 58px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.site-footer .brand__cn { color: #fff; }
.site-footer .brand__en { color: #7f97bb; }
.footer-about { margin-top: 18px; font-size: 14px; line-height: 1.9; max-width: 380px; }
.site-footer h3 { margin-bottom: 16px; font-size: 14px; color: #fff; letter-spacing: .06em; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: 14px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col li { font-size: 14px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 46px; padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px; line-height: 1.9;
}
.footer-bottom a { color: #c6d6ef; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-beian { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.footer-beian__item { display: inline-flex; align-items: center; gap: 7px; }
.footer-beian svg { width: 15px; height: 15px; flex: none; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 动效 ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .contact-card { transition: none; }
}

/* ---------- 404 ---------- */
.error-page { padding: 110px 0 130px; text-align: center; }
.error-page__code { font-size: clamp(76px, 14vw, 140px); font-weight: 700; line-height: 1; color: var(--blue-600); }
.error-page h1 { margin-top: 12px; font-size: 26px; color: var(--navy-800); }
.error-page p { margin-top: 12px; color: var(--muted); }
.error-page .btn { margin-top: 30px; background: var(--blue-600); color: #fff; }

@media (max-width: 520px) {
  .container { width: min(100% - 32px, 1160px); }
  .section, .filing { padding: 60px 0; }
  .hero { min-height: min(600px, calc(100svh - var(--header-h))); }
  .hero__inner { padding: 56px 0 62px; }
  .hero__desc { font-size: 15px; }
  .btn { min-height: 46px; padding: 0 20px; }
  .contact-card { padding: 22px; flex-wrap: wrap; }
  .contact-card__value { font-size: 17px; }
}
