@charset "UTF-8";

/* ==========================================================================
   博奥文化发展有限公司 · 官网样式（明亮科技风）
   纯手写 CSS，无外部依赖
   ========================================================================== */

:root {
  --brand: #2f5bff;
  --brand-2: #7c3aed;
  --brand-deep: #1f3fd6;
  --cyan: #06b6d4;
  --teal: #00c2a8;
  --coral: #ff6b5a;
  --pink: #ec4899;

  --ink: #0c1a3a;
  --text: #1b2436;
  --muted: #5d6b85;

  --bg: #ffffff;
  --soft: #f4f7ff;
  --soft-2: #eef3ff;
  --line: #e4eaf7;
  --line-2: #d3ddf0;

  --grad: linear-gradient(115deg, #2f5bff 0%, #6a4bff 52%, #7c3aed 100%);
  --grad-soft: linear-gradient(135deg, #eef4ff 0%, #f7f2ff 100%);

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", SimSun, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;

  --shadow-sm: 0 6px 18px rgba(26, 54, 140, 0.06);
  --shadow: 0 16px 40px rgba(26, 54, 140, 0.1);
  --shadow-lg: 0 30px 70px rgba(26, 54, 140, 0.18);
  --radius: 18px;
  --container: 1160px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

::selection {
  background: rgba(47, 91, 255, 0.18);
  color: var(--ink);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--brand);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.nowrap {
  white-space: nowrap;
}

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--grad);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  letter-spacing: 0.03em;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
}

.topbar-contacts {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.topbar a:hover {
  color: #ffffff;
}

.topbar-tag {
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.14em;
}

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(20, 40, 100, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--grad);
  color: #ffffff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(47, 91, 255, 0.28);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.1em;
}

.brand-text span {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.04em;
  transition: color 0.2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--brand);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-primary {
  background: var(--grad);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(47, 91, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(47, 91, 255, 0.36);
}

.btn-gold {
  background: #ffffff;
  color: var(--brand);
  box-shadow: 0 12px 28px rgba(6, 14, 40, 0.18);
}

.btn-gold:hover {
  transform: translateY(-2px);
  background: #f3f7ff;
}

.btn-outline {
  background: #ffffff;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand);
}

.link-arrow::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover {
  color: var(--brand-2);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ---------- 首页主视觉 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 88% 4%, #dfe8ff 0%, rgba(223, 232, 255, 0) 62%),
    radial-gradient(40% 50% at 4% 22%, #e2fbff 0%, rgba(226, 251, 255, 0) 58%),
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  right: -140px;
  top: 60px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.14), rgba(124, 58, 237, 0) 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 60px;
  padding: 96px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.hero h1 {
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.16;
  letter-spacing: 0.02em;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 32em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  min-width: 120px;
}

.hero-facts dt {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 4px;
}

.hero-facts dd {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
}

/* 主视觉右侧四块业务 */
.hero-visual {
  position: relative;
  justify-self: end;
  width: min(390px, 100%);
}

.hero-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 26px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(24, 52, 140, 0.18);
}

.tile::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.tile-char {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  opacity: 0.96;
}

.tile-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  opacity: 0.92;
}

.tile-1 {
  background: linear-gradient(140deg, #2f5bff, #6d8dff);
  transform: rotate(-3deg);
}

.tile-2 {
  background: linear-gradient(140deg, #7c3aed, #b06bff);
  transform: rotate(2deg);
}

.tile-3 {
  background: linear-gradient(140deg, #ff6b5a, #ff9f6b);
  transform: rotate(2deg);
}

.tile-4 {
  background: linear-gradient(140deg, #00b8a9, #22d3ee);
  transform: rotate(-2deg);
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 92px 0;
}

.section--paper {
  background: var(--soft);
}

.section--ink {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1a4d 0%, #2438a8 55%, #5b2ec4 100%);
  color: rgba(255, 255, 255, 0.82);
}

.section--ink::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), rgba(34, 211, 238, 0) 70%);
  pointer-events: none;
}

.section--ink h2,
.section--ink h3 {
  color: #ffffff;
}

.section-head {
  max-width: 660px;
  margin-bottom: 48px;
}

.section-head p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
  margin-bottom: 0;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section--ink .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.section--ink .eyebrow {
  color: #8ff0ff;
}

.section--ink .eyebrow::before {
  background: #8ff0ff;
}

.eyebrow.dark {
  color: var(--brand);
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: 0.02em;
}

/* ---------- 业务卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.cards--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 32px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 91, 255, 0.35);
  box-shadow: var(--shadow);
}

.card-num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}

.card-num::after {
  content: "";
  flex: 0 0 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  opacity: 0.6;
}

.card h3 {
  font-size: 21px;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.card .card-tags {
  font-size: 12.5px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 20px;
}

.card .link-arrow {
  margin-top: auto;
}

/* ---------- 优势列表 ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: start;
}

.advantage-list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.advantage-list li {
  position: relative;
  padding: 24px 0 24px 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.advantage-list li::before {
  content: "0" counter(adv);
  position: absolute;
  left: 0;
  top: 24px;
  font-size: 14px;
  font-weight: 700;
  color: #8ff0ff;
  letter-spacing: 0.06em;
}

.advantage-list {
  counter-reset: adv;
}

.advantage-list li {
  counter-increment: adv;
}

.advantage-list h3 {
  font-size: 18px;
  margin-bottom: 7px;
  letter-spacing: 0.04em;
}

.advantage-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.68);
}

/* ---------- 引言 ---------- */
.quote {
  position: relative;
  padding: 84px 0;
  background: linear-gradient(180deg, #f1f6ff 0%, #fbf8ff 100%);
  overflow: hidden;
}

.quote::before {
  content: "“";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 240px;
  line-height: 1;
  color: rgba(47, 91, 255, 0.1);
  pointer-events: none;
}

.quote blockquote {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.quote p {
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 29px);
  line-height: 1.85;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.quote cite {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--brand);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--grad);
  color: rgba(255, 255, 255, 0.86);
  padding: 58px 0;
}

.cta::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cta .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.cta h2 {
  color: #ffffff;
  font-size: clamp(24px, 2.6vw, 34px);
  margin-bottom: 8px;
}

.cta p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.02em;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cta .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
  color: #ffffff;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #070f26;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 50px;
}

.footer-brand .brand-text strong {
  color: #ffffff;
}

.footer-brand .brand-text span {
  color: rgba(255, 255, 255, 0.42);
}

.footer-desc {
  margin: 18px 0 0;
  max-width: 24em;
  line-height: 1.9;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer h4 {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: #8fb0ff;
}

.footer-contact li {
  margin-bottom: 13px;
  line-height: 1.7;
}

.footer-contact span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.34);
  margin-bottom: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: #ffffff;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* ---------- 子页页头 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50% 80% at 88% 0%, #dfe9ff 0%, rgba(223, 233, 255, 0) 62%),
    radial-gradient(40% 70% at 0% 100%, #e6fbff 0%, rgba(230, 251, 255, 0) 60%),
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
  color: var(--muted);
  padding: 68px 0 58px;
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.16), rgba(124, 58, 237, 0) 70%);
}

.page-hero .eyebrow {
  margin-bottom: 14px;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 50em;
  margin: 0;
  line-height: 1.9;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 24px;
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb span::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.5;
}

/* ---------- 关于页 ---------- */
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 56px;
  align-items: start;
}

.about-intro .lead {
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--text);
}

.about-intro .lead strong {
  color: var(--ink);
  font-weight: 700;
}

.info-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
}

.info-panel h3 {
  font-size: 17px;
  letter-spacing: 0.06em;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--line);
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-list .label {
  color: var(--muted);
  flex-shrink: 0;
}

.info-list .value {
  text-align: right;
  color: var(--ink);
  font-weight: 500;
}

.value-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.value-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value-item .tag {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--brand);
  text-transform: uppercase;
}

.value-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.value-item p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.9;
}

/* 流程 */
.process {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.process li {
  position: relative;
  counter-increment: step;
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
}

.process li::before {
  content: "0" counter(step);
  position: absolute;
  top: 10px;
  left: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
}

.process h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.process p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

/* ---------- 业务页 ---------- */
.service-list {
  display: grid;
  gap: 24px;
}

.service-item {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 110px;
}

.service-item-head {
  position: relative;
  overflow: hidden;
  padding: 38px 34px;
  color: rgba(255, 255, 255, 0.85);
}

.service-item-head::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.service-item:nth-child(1) .service-item-head {
  background: linear-gradient(150deg, #2f5bff, #6d8dff);
}

.service-item:nth-child(2) .service-item-head {
  background: linear-gradient(150deg, #7c3aed, #b06bff);
}

.service-item:nth-child(3) .service-item-head {
  background: linear-gradient(150deg, #ff6b5a, #ff9f6b);
}

.service-item:nth-child(4) .service-item-head {
  background: linear-gradient(150deg, #00b8a9, #22d3ee);
}

.service-item:nth-child(5) .service-item-head {
  background: linear-gradient(150deg, #0284c7, #38bdf8);
}

.service-item:nth-child(6) .service-item-head {
  background: linear-gradient(150deg, #db2777, #f472b6);
}

.service-item-head .num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 16px;
}

.service-item-head h3 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.service-item-head p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.8);
}

.service-item-body {
  padding: 34px 38px;
}

.service-item-body h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 14px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.chip-list li {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9ff;
  font-size: 13px;
  color: var(--ink);
}

.service-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* ---------- 代表作品 ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.work-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.work-thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 168px;
  padding: 20px 22px;
  color: #ffffff;
  overflow: hidden;
}

.work-thumb::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

.work-kicker {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  backdrop-filter: blur(4px);
}

.work-glyph {
  align-self: flex-end;
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
  font-weight: 700;
  opacity: 0.95;
}

.thumb-blue,
.cover-blue {
  background: linear-gradient(140deg, #2f5bff, #6d8dff);
}

.thumb-violet,
.cover-violet {
  background: linear-gradient(140deg, #7c3aed, #b06bff);
}

.thumb-coral,
.cover-coral {
  background: linear-gradient(140deg, #ff6b5a, #ff9f6b);
}

.cover-teal {
  background: linear-gradient(140deg, #00b8a9, #22d3ee);
}

.cover-cyan {
  background: linear-gradient(140deg, #0284c7, #38bdf8);
}

.work-body {
  padding: 20px 22px 24px;
}

.work-body h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.work-body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.works-more {
  margin: 30px 0 0;
}

.works-more .link-arrow {
  font-size: 15px;
}

.works-note {
  margin: 26px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.work-list {
  display: grid;
  gap: 26px;
}

.work-item {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.work-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 32px;
  color: #ffffff;
  overflow: hidden;
  min-height: 300px;
}

.work-cover::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.work-cover::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -90px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.work-cover .work-kicker {
  position: relative;
  z-index: 1;
}

.work-cover .work-glyph {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  font-size: 86px;
  opacity: 0.95;
}

.work-brand {
  position: relative;
  z-index: 1;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  opacity: 0.72;
}

.work-content {
  padding: 36px 40px;
}

.work-type {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand);
  text-transform: uppercase;
}

.work-content h2 {
  font-size: 24px;
  margin: 10px 0 12px;
  letter-spacing: 0.02em;
}

.work-content p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
  margin-bottom: 0;
}

.work-points {
  margin: 16px 0 20px;
  display: grid;
  gap: 8px;
}

.work-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.work-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.contact-card .icon {
  flex: 0 0 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--soft-2);
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
}

.contact-card h3 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.7;
}

.contact-card a:hover {
  color: var(--brand);
}

.contact-form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 36px;
  box-shadow: var(--shadow-sm);
}

.contact-form h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.contact-form .hint {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 26px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.field label .req {
  color: var(--coral);
  margin-left: 4px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: #f7f9ff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(47, 91, 255, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-status {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--brand);
  min-height: 1.4em;
}

.form-note {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

/* 到访地图 */
.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-visual {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 320px;
  background: var(--soft-2);
}

.map-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.map-visual img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease);
}

.map-visual:hover img {
  transform: scale(1.02);
}

.map-open {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(12, 26, 58, 0.88);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 0.25s var(--ease);
}

.map-visual:hover .map-open {
  background: var(--brand);
}

.map-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 36px;
  border-left: 1px solid var(--line);
}

.map-info h3 {
  font-size: 23px;
  margin-bottom: 10px;
}

.map-address {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 14px;
}

.map-address span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

.map-tip {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 24px;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 90px 0;
}

.notfound .code {
  font-size: clamp(70px, 12vw, 130px);
  line-height: 1;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.notfound p {
  color: var(--muted);
  margin-bottom: 28px;
}

/* ---------- 滚动动效 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 74px 0 64px;
  }

  .hero-visual {
    display: none;
  }

  .split,
  .about-intro,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .service-item {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-item {
    grid-template-columns: 1fr;
  }

  .work-cover {
    min-height: 220px;
  }

  .map-layout {
    grid-template-columns: 1fr;
  }

  .map-visual {
    min-height: 0;
  }

  .map-info {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 32px 28px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    order: 3;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 24px 40px rgba(20, 40, 100, 0.12);
    display: none;
    padding: 10px 0 18px;
  }

  body.nav-open .nav {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
  }

  .nav li {
    border-bottom: 1px solid var(--line);
  }

  .nav li:last-child {
    border-bottom: 0;
  }

  .nav a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
  }

  .nav a::after {
    display: none;
  }

  .topbar-tag {
    display: none;
  }

  .section {
    padding: 68px 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .topbar-contacts {
    gap: 16px;
    font-size: 11.5px;
  }

  .topbar .container {
    justify-content: center;
  }

  .header-inner {
    min-height: 68px;
    gap: 12px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 20px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .hero h1 {
    font-size: 32px;
    letter-spacing: 0.02em;
  }

  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .hero-facts {
    gap: 16px 0;
    margin-top: 38px;
    padding-top: 22px;
  }

  .hero-facts div {
    min-width: 100%;
  }

  .card {
    padding: 28px 24px;
  }

  .cards--four {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-content {
    padding: 28px 24px;
  }

  .work-cover {
    padding: 28px 24px;
    min-height: 200px;
  }

  .work-cover .work-glyph {
    font-size: 64px;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .quote {
    padding: 62px 0;
  }

  .page-hero {
    padding: 50px 0 44px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cta .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1 1 auto;
  }

  .service-item-body {
    padding: 26px 24px;
  }

  .service-item-head {
    padding: 28px 24px;
  }

  .map-info {
    padding: 28px 22px;
  }
}

@media (max-width: 380px) {
  .topbar-contacts a[href^="mailto:"] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
