/* ============================================================
   ASIA ROSEFINCH TECHNOLOGY LIMITED — Corporate Website
   Shared stylesheet
   ============================================================ */

:root {
  --bg-0: #060b16;
  --bg-1: #0a0f1d;
  --bg-2: #0f172a;
  --bg-3: #111827;
  --bg-4: #1e293b;
  --line: #1e293b;
  --line-2: #263449;
  --accent: #38bdf8;
  --accent-2: #0ea5e9;
  --accent-soft: rgba(56, 189, 248, .1);
  --text-1: #f8fafc;
  --text-2: #cbd5e1;
  --text-3: #94a3b8;
  --text-4: #64748b;
  --radius: 14px;
  --gap: 20px;
  --maxw: 1180px;
  --head-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-0);
  color: var(--text-2);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
.layout { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #04121f; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ===== Language modes ===== */
body.lang-zh .lang-en,
body.lang-zh .lang-sep { display: none !important; }
body.lang-en .lang-zh,
body.lang-en .lang-sep { display: none !important; }
.lang-en.block { display: block; }

/* ===== Top utility bar ===== */
.topbar {
  background: #03070f;
  border-bottom: 1px solid rgba(30, 41, 59, .8);
  font-size: 12.5px;
  color: var(--text-4);
}
.topbar-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 38px; flex-wrap: wrap;
  padding-top: 4px; padding-bottom: 4px;
}
.topbar-name { color: var(--text-3); font-weight: 600; letter-spacing: .3px; }
.topbar-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-links a { color: var(--text-3); transition: color .2s; }
.topbar-links a:hover { color: var(--accent); }
.topbar-links .sep { color: #334155; }

/* ===== Header ===== */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 11, 22, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-in {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--head-h); gap: 14px;
}
.logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #2563eb);
  color: #04121f; font-size: 14px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -.5px;
}
.logo-text { display: block; font-size: 17px; font-weight: 800; color: #fff; letter-spacing: .4px; line-height: 1.1; }
.logo-text span:not(.logo-sub) { color: var(--accent); }
.logo-sub { display: block; font-size: 9.5px; font-weight: 500; color: var(--text-4); letter-spacing: 1.1px; text-transform: uppercase; margin-top: 2px; }

.nav ul { display: flex; gap: 4px; }
.nav a {
  display: block; padding: 8px 10px; border-radius: 7px;
  font-size: 12.5px; color: var(--text-3); transition: all .2s; white-space: nowrap;
}
.nav a:hover { color: var(--accent); background: var(--accent-soft); }
.nav a.on { color: var(--accent); background: var(--accent-soft); }
.head-right { display: flex; align-items: center; gap: 10px; }
.lang-switcher { display: flex; gap: 3px; }
.lang-switcher button {
  font: inherit; padding: 5px 9px; font-size: 11.5px; color: var(--text-3);
  background: transparent; border: 1px solid var(--line); border-radius: 6px;
  cursor: pointer; transition: all .2s;
}
.lang-switcher button:hover { color: var(--accent); border-color: var(--accent); }
.lang-switcher button.active { background: var(--accent); color: #04121f; border-color: var(--accent); font-weight: 700; }
.head-cta {
  display: inline-block; padding: 9px 14px; border-radius: 7px;
  background: var(--accent); color: #04121f; font-size: 12px; font-weight: 700;
  white-space: nowrap; transition: all .2s;
}
.head-cta:hover { background: #7dd3fc; transform: translateY(-1px); }
.menu-btn {
  display: none; width: 40px; height: 40px; border-radius: 8px;
  background: transparent; border: 1px solid var(--line); color: var(--text-2);
  font-size: 18px; cursor: pointer; align-items: center; justify-content: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 8px;
  font-size: 14px; font-weight: 600; transition: all .2s;
  cursor: pointer; border: 1px solid transparent; font-family: inherit;
}
.btn-primary { background: var(--accent); color: #04121f; }
.btn-primary:hover { background: #7dd3fc; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ===== Hero (home) ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #060b16 0%, #0f172a 45%, #0c4a6e 100%);
  padding: 76px 0 92px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: .32; mix-blend-mode: screen; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(56, 189, 248, .16), transparent 42%),
    radial-gradient(circle at 82% 72%, rgba(14, 165, 233, .13), transparent 46%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; margin-bottom: 22px;
  background: rgba(56, 189, 248, .1); border: 1px solid rgba(56, 189, 248, .3);
  border-radius: 999px; color: var(--accent); font-size: 12.5px; font-weight: 600;
  letter-spacing: .3px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.hero h1 {
  font-size: clamp(27px, 4.6vw, 46px); font-weight: 800; color: #fff;
  line-height: 1.28; margin-bottom: 18px; letter-spacing: -.3px;
}
.hero h1 .accent { color: var(--accent); }
.hero .lead {
  font-size: clamp(14px, 1.8vw, 17px); color: var(--text-3);
  max-width: 720px; margin: 0 auto 30px;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-legal {
  margin-top: 34px; padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, .16);
  font-size: 12px; color: var(--text-4);
}
.hero-legal strong { color: var(--text-3); font-weight: 600; letter-spacing: .4px; }

/* ===== Trust strip ===== */
.trust {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; padding: 26px 0;
}
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-ico {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent-soft); border: 1px solid rgba(56, 189, 248, .25);
  color: var(--accent); font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.trust-item h4 { font-size: 11.5px; color: var(--text-4); font-weight: 600; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 2px; }
.trust-item p, .trust-item a { font-size: 13px; color: var(--text-2); line-height: 1.5; word-break: break-word; }
.trust-item a:hover { color: var(--accent); }

/* ===== Stats ===== */
.stats { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); padding: 46px 0; }
.stat-card { text-align: center; padding: 18px; }
.stat-num {
  font-size: clamp(34px, 5.6vw, 54px); font-weight: 800;
  color: var(--accent); line-height: 1; margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat-num .suffix { font-size: .5em; font-weight: 600; }
.stat-label { font-size: 13.5px; color: var(--text-3); }
.stat-label .lang-en { display: block; color: var(--text-4); font-size: 11.5px; margin-top: 2px; }

/* ===== Sections ===== */
section.block { padding: 72px 0; }
.section-alt { background: var(--bg-1); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head.left { text-align: left; margin-bottom: 30px; }
.section-eyebrow {
  font-size: 11.5px; color: var(--accent); font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.2px; margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(22px, 3.2vw, 31px); font-weight: 800; color: #fff;
  line-height: 1.35; margin-bottom: 10px;
}
.section-head .divider {
  width: 40px; height: 3px; background: var(--accent);
  margin: 14px auto 16px; border-radius: 2px;
}
.section-head.left .divider { margin-left: 0; }
.section-head .sub { font-size: 14px; color: var(--text-4); max-width: 700px; margin: 0 auto; }
.section-head.left .sub { margin-left: 0; }

/* ===== Service cards ===== */
.ser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.ser-card {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 20px 24px;
  transition: all .25s; display: flex; flex-direction: column;
}
.ser-card:hover {
  transform: translateY(-4px); border-color: rgba(56, 189, 248, .4);
  box-shadow: 0 16px 40px rgba(56, 189, 248, .1);
}
.ser-pic {
  width: 100%; aspect-ratio: 16/10; margin-bottom: 18px;
  background: var(--bg-4); border-radius: 11px; overflow: hidden;
  border: 1px solid var(--line);
}
.ser-pic img { width: 100%; height: 100%; object-fit: cover; }
.ser-card h3 { font-size: 16.5px; color: #fff; font-weight: 700; margin-bottom: 4px; line-height: 1.4; }
.ser-card .en { font-size: 12px; color: var(--accent); font-weight: 500; margin-bottom: 10px; display: block; }
.ser-card p { font-size: 13px; color: var(--text-3); line-height: 1.72; }
.ser-card p .lang-en { display: block; color: var(--text-4); font-size: 11.5px; margin-top: 6px; }
.ser-card .card-link {
  margin-top: auto; padding-top: 14px; font-size: 12.5px;
  color: var(--accent); font-weight: 600;
}
.ser-card .card-link:hover { text-decoration: underline; }

/* ===== Case cards ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.case-card {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: all .25s;
  display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); border-color: var(--line-2); }
.case-pic { position: relative; height: 200px; overflow: hidden; background: var(--bg-4); }
.case-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.case-card:hover .case-pic img { transform: scale(1.05); }
.case-tag {
  position: absolute; left: 14px; top: 14px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(6, 11, 22, .78); border: 1px solid rgba(56, 189, 248, .35);
  color: var(--accent); font-size: 11px; font-weight: 600;
  backdrop-filter: blur(6px);
}
.case-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { font-size: 15px; color: #fff; font-weight: 600; }
.case-body .en { font-size: 11.5px; color: var(--accent); display: block; margin-top: 3px; }
.case-body p { font-size: 12.8px; color: var(--text-3); margin-top: 10px; line-height: 1.7; }
.case-body .card-link { margin-top: auto; padding-top: 14px; font-size: 12.5px; color: var(--accent); font-weight: 600; }
.case-body .card-link:hover { text-decoration: underline; }

/* ===== Partners ===== */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.partner-card {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 10px; padding: 22px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.partner-card:hover { border-color: rgba(56, 189, 248, .4); transform: translateY(-2px); }
.partner-card .name { font-size: 14.5px; font-weight: 700; color: var(--text-2); text-align: center; }

/* ===== News ===== */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.news-card {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: all .25s;
  display: flex; flex-direction: column;
}
.news-pic { height: 150px; overflow: hidden; background: var(--bg-4); }
.news-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.news-card:hover .news-pic img { transform: scale(1.06); }
.news-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.news-card:hover { border-color: rgba(56, 189, 248, .3); transform: translateY(-3px); }
.news-date { font-size: 11.5px; color: var(--accent); font-weight: 600; margin-bottom: 8px; letter-spacing: .3px; }
.news-card h3 { font-size: 14.5px; color: #fff; font-weight: 600; margin-bottom: 9px; line-height: 1.55; }
.news-card p { font-size: 12.6px; color: var(--text-3); margin-bottom: 14px; }
.news-card .more-link { margin-top: auto; font-size: 12.5px; color: var(--accent); font-weight: 600; }
.news-card .more-link:hover { text-decoration: underline; }

/* ===== Page hero (inner pages) ===== */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #060b16 0%, #0f172a 55%, #0b3b57 100%);
  padding: 54px 0 48px; border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 78% 20%, rgba(56, 189, 248, .14), transparent 48%);
}
.page-hero .layout { position: relative; z-index: 1; }
.breadcrumb { font-size: 12px; color: var(--text-4); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 7px; color: #334155; }
.page-hero h1 {
  font-size: clamp(24px, 3.6vw, 36px); color: #fff; font-weight: 800;
  line-height: 1.32; margin-bottom: 10px;
}
.page-hero .lead { font-size: 14px; color: var(--text-3); max-width: 760px; }

/* ===== Breadcrumb-ish generic ===== */
.section-cta {
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 56px 0;
}
.section-cta .inner { text-align: center; max-width: 760px; margin: 0 auto; }
.section-cta h2 { font-size: clamp(21px, 3vw, 28px); color: #fff; font-weight: 800; margin-bottom: 10px; }
.section-cta p { font-size: 14px; color: var(--text-3); margin-bottom: 22px; }

/* ===== About page ===== */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.about-copy h2 { font-size: clamp(21px, 2.8vw, 28px); color: #fff; font-weight: 800; margin-bottom: 14px; }
.about-copy p { font-size: 14px; color: var(--text-3); margin-bottom: 14px; }
.about-copy p strong { color: var(--text-1); }
.about-list { margin-top: 18px; display: grid; gap: 12px; }
.about-list li {
  display: flex; gap: 10px; font-size: 13.5px; color: var(--text-3);
}
.about-list li::before {
  content: '✓'; flex: 0 0 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 3px;
}
.info-card {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.info-card h3 { font-size: 16px; color: #fff; font-weight: 700; margin-bottom: 16px; }
.info-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.info-table th, .info-table td { text-align: left; padding: 10px 0; vertical-align: top; border-bottom: 1px solid rgba(30, 41, 59, .8); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { width: 38%; color: var(--text-4); font-weight: 500; padding-right: 12px; }
.info-table td { color: var(--text-2); }
.info-table a { color: var(--accent); word-break: break-word; }
.verified-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 16px; padding: 12px 14px;
  background: rgba(74, 222, 128, .06); border: 1px solid rgba(74, 222, 128, .22);
  border-radius: 10px; font-size: 12px; color: #86efac;
}

/* ===== Process ===== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-card {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 20px;
}
.process-num { font-size: 12px; color: var(--accent); font-weight: 800; letter-spacing: 1px; margin-bottom: 10px; }
.process-card h4 { font-size: 15px; color: #fff; font-weight: 700; margin-bottom: 8px; }
.process-card p { font-size: 12.8px; color: var(--text-3); }

/* ===== Service detail ===== */
.svc-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; padding: 44px 0;
  border-bottom: 1px solid rgba(30, 41, 59, .7);
}
.svc-block:last-child { border-bottom: none; }
.svc-block:nth-child(even) .svc-pic { order: 2; }
.svc-pic {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-4); aspect-ratio: 16/10;
}
.svc-pic img { width: 100%; height: 100%; object-fit: cover; }
.svc-copy .num { font-size: 11.5px; color: var(--accent); font-weight: 700; letter-spacing: 1.6px; margin-bottom: 8px; }
.svc-copy h2 { font-size: clamp(20px, 2.6vw, 26px); color: #fff; font-weight: 800; margin-bottom: 4px; }
.svc-copy .en-title { font-size: 12.5px; color: var(--accent); font-weight: 600; display: block; margin-bottom: 14px; }
.svc-copy p { font-size: 13.5px; color: var(--text-3); margin-bottom: 12px; }
.svc-copy .deliverables { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.svc-copy .deliverables span {
  font-size: 11.5px; color: var(--text-2);
  background: var(--bg-3); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 999px;
}

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px;
}
.contact-ico {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent-soft); border: 1px solid rgba(56, 189, 248, .25);
  color: var(--accent); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.contact-item h4 { font-size: 11.5px; color: var(--text-4); font-weight: 600; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 3px; }
.contact-item p, .contact-item a { font-size: 13.5px; color: var(--text-2); word-break: break-word; }
.contact-item a:hover { color: var(--accent); }
.contact-item .hint { font-size: 11.5px; color: var(--text-4); margin-top: 3px; }

.form-card {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.form-card h3 { font-size: 17px; color: #fff; font-weight: 700; margin-bottom: 6px; }
.form-card .form-sub { font-size: 12.5px; color: var(--text-4); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 11.5px; color: var(--text-4); margin-bottom: 6px; font-weight: 600; letter-spacing: .3px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px;
  background: var(--bg-4); border: 1px solid var(--line-2);
  border-radius: 8px; color: var(--text-1); font-size: 13px;
  outline: none; transition: border-color .2s; font-family: inherit;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-4); }
.field textarea { min-height: 110px; resize: vertical; }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.platform-opt { position: relative; display: block; }
.platform-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.platform-opt span {
  display: flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 8px 10px; text-align: center;
  background: var(--bg-4); border: 1px solid var(--line-2);
  border-radius: 8px; font-size: 12.5px; color: var(--text-3);
  cursor: pointer; transition: all .2s; user-select: none;
}
.platform-opt:hover span { border-color: rgba(56, 189, 248, .5); color: var(--text-2); }
.platform-opt input:checked + span {
  background: rgba(56, 189, 248, .12); border-color: var(--accent);
  color: var(--accent); font-weight: 600;
}
.platform-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-note { font-size: 11.5px; color: var(--text-4); margin-top: 10px; line-height: 1.6; }
.form-note a { color: var(--accent); }
.form-alert {
  padding: 11px 14px; border-radius: 8px; font-size: 12.5px; margin-bottom: 16px;
}
.form-alert.ok { background: rgba(74, 222, 128, .08); border: 1px solid rgba(74, 222, 128, .28); color: #86efac; }
.form-alert.err { background: rgba(248, 113, 113, .08); border: 1px solid rgba(248, 113, 113, .28); color: #fca5a5; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.map-wrap {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-top: 28px; background: var(--bg-3);
}
.map-wrap iframe { width: 100%; height: 300px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

/* ===== Article / legal ===== */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-4); margin-bottom: 26px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.article-meta .tag { color: var(--accent); font-weight: 600; }
.article-body h2 { font-size: 19px; color: #fff; font-weight: 700; margin: 30px 0 12px; }
.article-body h3 { font-size: 16px; color: var(--text-1); font-weight: 700; margin: 22px 0 10px; }
.article-body p { font-size: 14px; color: var(--text-3); margin-bottom: 14px; }
.article-body ul, .article-body ol { margin: 0 0 16px 0; display: grid; gap: 8px; }
.article-body ul li, .article-body ol li {
  font-size: 13.8px; color: var(--text-3); padding-left: 20px; position: relative;
}
.article-body ul li::before {
  content: ''; position: absolute; left: 4px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.article-body ol { counter-reset: n; }
.article-body ol li::before {
  counter-increment: n; content: counter(n) '.';
  position: absolute; left: 0; color: var(--accent); font-weight: 700; font-size: 12.5px; top: 2px;
}
.article-body ol li { padding-left: 22px; }
.article-body blockquote {
  border-left: 3px solid var(--accent); background: var(--bg-3);
  padding: 14px 18px; border-radius: 0 8px 8px 0;
  font-size: 13.5px; color: var(--text-2); margin: 18px 0;
}
.article-body a { color: var(--accent); }
.article-body a:hover { text-decoration: underline; }
.article-body .back { display: inline-block; margin-top: 30px; font-size: 13px; color: var(--accent); font-weight: 600; }

.legal-wrap { max-width: 860px; margin: 0 auto; }
.legal-wrap .updated { font-size: 12px; color: var(--text-4); margin-bottom: 24px; }
.legal-wrap h2 { font-size: 18px; color: #fff; font-weight: 700; margin: 28px 0 10px; }
.legal-wrap h3 { font-size: 15px; color: var(--text-1); font-weight: 700; margin: 20px 0 8px; }
.legal-wrap p { font-size: 13.5px; color: var(--text-3); margin-bottom: 12px; }
.legal-wrap ul { display: grid; gap: 7px; margin-bottom: 14px; }
.legal-wrap ul li { font-size: 13.5px; color: var(--text-3); padding-left: 18px; position: relative; }
.legal-wrap ul li::before {
  content: ''; position: absolute; left: 4px; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--text-4);
}
.legal-wrap a { color: var(--accent); }
.legal-wrap .zh-note {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 10px; padding: 16px 18px; margin-bottom: 22px;
  font-size: 12.5px; color: var(--text-3);
}

/* ===== 404 ===== */
.err-wrap { text-align: center; padding: 90px 0; }
.err-code {
  font-size: clamp(64px, 14vw, 120px); font-weight: 900; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent);
  margin-bottom: 18px; letter-spacing: 2px;
}
.err-wrap h1 { font-size: 24px; color: #fff; font-weight: 800; margin-bottom: 10px; }
.err-wrap p { font-size: 14px; color: var(--text-3); margin-bottom: 24px; }

/* ===== Footer ===== */
.site-foot { background: #04080f; border-top: 1px solid var(--line); padding: 52px 0 22px; }
.foot-grid {
  display: grid; grid-template-columns: 1.3fr .8fr 1.05fr .85fr;
  gap: 34px; padding-bottom: 34px; border-bottom: 1px solid var(--line);
}
.foot-brand .foot-logo { font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 10px; letter-spacing: .3px; }
.foot-brand .foot-logo span { color: var(--accent); }
.foot-brand .legal-name {
  font-size: 11.5px; color: var(--text-3); font-weight: 600;
  letter-spacing: .5px; margin-bottom: 12px; line-height: 1.5;
}
.foot-brand p { font-size: 12.5px; color: var(--text-4); line-height: 1.75; }
.foot-col h4 {
  font-size: 11.5px; color: var(--text-2); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.3px; margin-bottom: 14px;
}
.foot-col ul { display: grid; gap: 8px; }
.foot-col a, .foot-col p { font-size: 12.5px; color: var(--text-4); line-height: 1.65; }
.foot-col a:hover { color: var(--accent); }
.foot-col .addr { margin-bottom: 8px; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; padding-top: 20px;
  font-size: 11.5px; color: var(--text-4);
}
.foot-bottom .links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-bottom a:hover { color: var(--accent); }

/* ===== Floating actions ===== */
.float {
  position: fixed; right: 16px; bottom: 76px; z-index: 90;
  display: flex; flex-direction: column; gap: 8px;
}
.float a, .float button {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--bg-3); border: 1px solid var(--line);
  color: var(--accent); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; font-family: inherit;
}
.float a:hover, .float button:hover { background: var(--accent); color: #04121f; border-color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .head-cta { display: none; }
}
@media (max-width: 1080px) {
  .ser-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .foot-col:last-child { grid-column: 1 / -1; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #070d1a; border-bottom: 1px solid var(--line);
    padding: 10px 24px 16px; display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { padding: 11px 12px; font-size: 13.5px; }
  .menu-btn { display: flex; }
  .head-in { position: relative; }
}
@media (max-width: 860px) {
  .about-grid, .contact-grid, .svc-block { grid-template-columns: 1fr; gap: 26px; }
  .svc-block:nth-child(even) .svc-pic { order: 0; }
  .logo-sub { display: none; }
}
@media (max-width: 680px) {
  .layout { padding: 0 18px; }
  .topbar-in { justify-content: center; text-align: center; }
  .topbar-links { gap: 12px; font-size: 11.5px; }
  .topbar-name { width: 100%; text-align: center; }
  .hero { padding: 54px 0 64px; }
  .stats-grid { grid-template-columns: 1fr; gap: 6px; padding: 30px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .ser-grid, .news-grid, .case-grid, .partner-grid, .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .foot-brand { grid-column: 1 / -1; }
  section.block { padding: 48px 0; }
  .page-hero { padding: 38px 0 34px; }
  .section-cta { padding: 42px 0; }
  .head-in { height: 60px; }
  .page-hero h1 { font-size: 23px; }
}
@media (max-width: 420px) {
  .foot-grid { grid-template-columns: 1fr; }
  .float { right: 10px; bottom: 64px; }
}
