/* ====================================================================
 *  沪霖数据 — iOS 风格简约科技
 *  Shanghai Hulin Data — Apple HIG Inspired
 * ==================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --c-brand-50:  #E0F2FE;
  --c-brand-100: #BAE6FD;
  --c-brand-300: #7DD3FC;
  --c-brand-500: #0EA5E9;   /* sky-500 */
  --c-brand-600: #0284C7;
  --c-brand-700: #0369A1;

  /* iOS system colors */
  --c-blue:   #007AFF;
  --c-cyan:   #06B6D4;
  --c-green:  #34C759;
  --c-orange: #FF9500;
  --c-red:    #FF3B30;
  --c-purple: #5856D6;

  /* Neutrals (iOS Light) */
  --c-bg:        #F2F2F7;   /* iOS systemGroupedBackground */
  --c-bg-alt:    #FFFFFF;
  --c-card:      #FFFFFF;
  --c-line:      rgba(60, 60, 67, 0.08);
  --c-line-2:    rgba(60, 60, 67, 0.12);
  --c-text:      #1C1C1E;   /* iOS label */
  --c-text-2:    #3C3C43;   /* secondaryLabel */
  --c-text-3:    #8E8E93;   /* tertiaryLabel */
  --c-text-4:    #C7C7CC;
  --c-dark:      #0B1220;

  /* Gradient — matches the supplied logo (cyan → blue) */
  --grad-brand: linear-gradient(135deg, #22D3EE 0%, #0EA5E9 50%, #0A84FF 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(34,211,238,0.10) 0%, rgba(10,132,255,0.10) 100%);
  --grad-hero: radial-gradient(1200px 600px at 20% 10%, rgba(34,211,238,0.18) 0%, transparent 60%),
               radial-gradient(1000px 500px at 90% 20%, rgba(10,132,255,0.16) 0%, transparent 60%),
               linear-gradient(180deg, #F5FBFF 0%, #F2F2F7 100%);

  /* Shadow (Apple-style, soft + layered) */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 64px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.05);

  /* Radius (iOS uses continuous corners; we use plain large radii) */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-pill: 980px;

  /* Type scale (SF Pro Display) */
  --fs-display: clamp(30px, 3.8vw, 44px);
  --fs-h1:      clamp(26px, 3.2vw, 36px);
  --fs-h2:      clamp(22px, 2.6vw, 28px);
  --fs-h3:      19px;
  --fs-h4:      17px;
  --fs-body:    16px;
  --fs-sm:      14px;
  --fs-xs:      12px;

  /* Spacing scale (8pt grid) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  24px;
  --sp-6:  32px;
  --sp-7:  48px;
  --sp-8:  64px;
  --sp-9:  96px;

  /* Easing */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Font stack — Apple SF + PingFang */
  --ff-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
             "PingFang SC", "Helvetica Neue", "Microsoft YaHei",
             "Hiragino Sans GB", sans-serif;
  --ff-mono: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-bg);
  letter-spacing: -0.01em;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--c-brand-600); }
h1, h2, h3, h4, h5 { margin: 0; color: var(--c-dark); font-weight: 700; }
h1 { font-size: var(--fs-h1); line-height: 1.18; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); line-height: 1.25; letter-spacing: -0.025em; }
h3 { font-size: var(--fs-h3); line-height: 1.35; letter-spacing: -0.015em; }
h4 { font-size: var(--fs-h4); line-height: 1.4; letter-spacing: -0.01em; }
h5 { font-size: var(--fs-sm); line-height: 1.5; letter-spacing: 0; }
p { margin: 0; line-height: 1.65; color: var(--c-text-2); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: var(--sp-9) 0; }
section + section { padding-top: 0; }

.section-header { text-align: center; margin-bottom: var(--sp-8); }
.section-header .eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-brand-700);
  background: var(--c-brand-50);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-4);
}
.section-header h2 {
  font-size: var(--fs-h1);
  font-weight: 800;
  margin-bottom: var(--sp-3);
}
.section-header p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-text-2);
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.30);
}
.btn-primary:hover {
  color: #fff;
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.40);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.6);
  color: var(--c-text);
  border: 1px solid var(--c-line-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-outline:hover { background: #fff; border-color: var(--c-brand-500); color: var(--c-brand-600); }

.btn-ghost { color: var(--c-brand-600); padding: 8px 0; height: auto; }

/* ---------- Nav (glass) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--c-line);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--c-line-2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--c-dark);
  letter-spacing: -0.02em;
}
.nav-logo .mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}
.nav-menu { display: flex; gap: 4px; align-items: center; }
.nav-menu a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-2);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-menu a:hover { background: var(--c-brand-50); color: var(--c-brand-700); }
.nav-menu a.active { background: var(--c-brand-50); color: var(--c-brand-700); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--c-text);
  border-radius: 1px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 24px 72px;
  background: var(--grad-hero);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-brand-700);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--c-line);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-brand-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
}
.hero h1 {
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--c-dark);
  background: linear-gradient(180deg, #0B1220 0%, #0B1220 60%, #1E40AF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
.hero p {
  font-size: 15px;
  color: var(--c-text-2);
  max-width: 760px;
  margin: 0 auto 32px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-grid { display: none; }

/* ---------- Page Banner (sub pages) ---------- */
.page-banner {
  position: relative;
  padding: 96px 24px 72px;
  background: var(--grad-hero);
  text-align: center;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.page-banner > * { position: relative; z-index: 1; }
.page-banner h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--c-dark);
  margin-bottom: 12px;
}
.page-banner p {
  font-size: 17px;
  color: var(--c-text-2);
  max-width: 720px;
  margin: 0 auto 20px;
  line-height: 1.6;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-text-3);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--c-line);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.breadcrumb a { color: var(--c-text-2); }
.breadcrumb a:hover { color: var(--c-brand-600); }
.breadcrumb .sep { color: var(--c-text-4); }

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 28px;
}
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 26px;
  background: var(--c-brand-50);
  color: var(--c-brand-600);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-5);
  flex-shrink: 0;
}
.service-card h3 { font-size: 19px; color: var(--c-dark); margin-bottom: var(--sp-2); font-weight: 700; }
.service-card .en {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.service-card p { color: var(--c-text-2); font-size: var(--fs-sm); line-height: 1.65; flex: 1; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-brand-600);
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}
.service-link:hover { gap: 8px; color: var(--c-brand-700); }

/* Service detail blocks (services.html) */
.service-detail { padding: 80px 0; border-top: 1px solid var(--c-line); }
.service-detail:first-of-type { border-top: 0; }
.service-detail-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  background: var(--grad-brand-soft);
  border-radius: var(--r-xl);
  height: 240px;
}
.service-detail h2 { font-size: var(--fs-h2); color: var(--c-dark); margin-bottom: 12px; }
.service-detail .en { font-size: 12px; color: var(--c-text-3); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.service-detail h3 { font-size: 16px; color: var(--c-dark); margin: 24px 0 8px; }

/* ---------- Advantages ---------- */
.advantages { background: var(--c-bg); }
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 28px;
}
.advantage-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  text-align: left;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.advantage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 24px;
  background: var(--c-brand-50);
  color: var(--c-brand-600);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-5);
  flex-shrink: 0;
}
.advantage-card h3 { font-size: 19px; color: var(--c-dark); margin-bottom: var(--sp-2); font-weight: 700; }
.advantage-card p { font-size: var(--fs-sm); color: var(--c-text-2); line-height: 1.65; flex: 1; }

/* ---------- Stats ---------- */
.stats.compact { padding: 80px 0; background: var(--c-bg-alt); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  padding: 16px 8px;
}
.stat-number {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--c-dark);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 14px;
  color: var(--c-text-3);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---------- Cases ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
}
.case-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-industry {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-brand-700);
  background: var(--c-brand-50);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-3);
  letter-spacing: 0.02em;
}
.case-card h3 { font-size: 18px; color: var(--c-dark); margin-bottom: var(--sp-2); font-weight: 700; }
.case-card p { font-size: var(--fs-sm); color: var(--c-text-2); line-height: 1.65; flex: 1; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 80px 24px;
  text-align: center;
  background: var(--grad-brand);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { font-size: var(--fs-h1); color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 17px; margin-bottom: 28px; }
.cta-banner .btn-primary {
  background: #fff;
  color: var(--c-brand-700);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.cta-banner .btn-primary:hover { color: var(--c-brand-700); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.about-mv { display: flex; flex-direction: column; gap: var(--sp-4); }
.mv-card {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
}
.mv-card h4 { font-size: 17px; color: var(--c-brand-700); margin-bottom: var(--sp-2); display: flex; align-items: center; gap: var(--sp-2); font-weight: 700; }
.mv-card p { color: var(--c-text-2); font-size: var(--fs-sm); line-height: 1.65; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.value-card {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  text-align: center;
}
.value-card h3 { font-size: 18px; color: var(--c-dark); margin-bottom: var(--sp-2); font-weight: 700; }
.value-card p { font-size: 13px; color: var(--c-text-3); line-height: 1.65; }

.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 2px;
  background: var(--c-line-2);
}
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-brand-500);
  box-shadow: 0 0 0 4px rgba(14,165,233,0.15);
}
.timeline-year { font-size: 13px; font-weight: 700; color: var(--c-brand-700); margin-bottom: 4px; }
.timeline-item h3 { font-size: 17px; color: var(--c-dark); margin-bottom: 6px; }
.timeline-item p { font-size: 14px; color: var(--c-text-2); line-height: 1.6; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-5);
  align-items: start;
}
.contact-info-card,
.contact-form {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-7);
  box-shadow: var(--shadow-sm);
}
.contact-info-card h3 { font-size: 22px; color: var(--c-dark); margin-bottom: var(--sp-2); font-weight: 700; }
.contact-info-list { display: grid; gap: var(--sp-5); margin-top: var(--sp-5); }
.contact-info-item { display: flex; gap: var(--sp-3); align-items: flex-start; }
.contact-info-icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-brand-50);
  color: var(--c-brand-600);
  border-radius: var(--r-md);
  font-size: 20px;
}
.contact-info-item h5 { font-size: 13px; color: var(--c-text-3); font-weight: 500; margin-bottom: 4px; letter-spacing: 0.02em; }
.contact-info-item p { font-size: 15px; color: var(--c-text); font-weight: 500; line-height: 1.5; }
.contact-info-item a { color: var(--c-text); }
.contact-info-item a:hover { color: var(--c-brand-600); }

.contact-form h3 { font-size: 22px; color: var(--c-dark); margin-bottom: var(--sp-2); font-weight: 700; }
.form-sub { color: var(--c-text-3); font-size: var(--fs-sm); margin-bottom: var(--sp-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-group { margin-bottom: var(--sp-4); }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-2);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.01em;
}
.form-group .req { color: var(--c-red); }
.form-control {
  width: 100%;
  height: 46px;
  padding: 0 var(--sp-4);
  background: #fff;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--c-text);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  outline: none;
}
textarea.form-control { height: auto; min-height: 120px; padding: var(--sp-3) var(--sp-4); line-height: 1.6; resize: vertical; }
.form-control:focus { border-color: var(--c-brand-500); box-shadow: 0 0 0 4px rgba(14,165,233,0.15); }
.form-submit {
  width: 100%;
  height: 48px;
  background: var(--grad-brand);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(14,165,233,0.30);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.form-submit:hover { box-shadow: 0 10px 28px rgba(14,165,233,0.40); }
.form-submit:active { transform: scale(0.99); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-message { margin-top: var(--sp-3); font-size: var(--fs-sm); min-height: 20px; }
.form-message.success { color: var(--c-green); }
.form-message.error { color: var(--c-red); }

.map-placeholder {
  margin-top: var(--sp-5);
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  background: var(--c-brand-50);
  border: 1px dashed var(--c-brand-300);
  border-radius: var(--r-lg);
  color: var(--c-text-2);
  text-align: center;
  padding: var(--sp-5);
}
.map-placeholder .map-icon { font-size: 36px; }
.map-placeholder small { color: var(--c-text-3); font-size: 12px; }

/* ---------- Legal / Long-form ---------- */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 48px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text-2);
}
.legal-content h2 { font-size: 22px; color: var(--c-dark); margin: 32px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul { margin: 8px 0 16px 24px; list-style: disc; }

/* ---------- Footer ---------- */
.footer {
  background: #0B1220;
  color: rgba(255,255,255,0.85);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand .mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: cover;
}
.footer p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.85); }
.footer h5 { font-size: 14px; color: #fff; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.04em; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: rgba(255,255,255,0.85); transition: color 0.18s var(--ease); }
.footer ul a:hover { color: #fff; }
.footer-contact p { margin-bottom: 8px; font-size: 14px; color: rgba(255,255,255,0.85); }
.footer-contact a { color: rgba(255,255,255,0.85); }
.footer-contact a:hover { color: #fff; }
.footer-contact .icp { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.8; }
.footer-contact .icp .icp-entity { display: inline-block; color: rgba(255,255,255,0.85); margin-bottom: 4px; }
.footer-contact .icp a { color: rgba(255,255,255,0.7); display: inline-flex; align-items: center; gap: 4px; transition: color 0.18s var(--ease); }
.footer-contact .icp a:hover { color: #fff; }
.footer-contact .icp a .icp-icon { width: 14px; height: 14px; opacity: 0.85; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* ---------- Client Breakdown (About page) ---------- */
.client-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: var(--sp-5);
}
.client-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  text-align: center;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.client-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.client-count {
  display: inline-block;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.client-suffix {
  display: inline-block;
  font-size: 20px;
  color: var(--c-text-3);
  margin-left: 4px;
  font-weight: 600;
}
.client-card h3 { font-size: 18px; color: var(--c-dark); margin: 12px 0 8px; }
.client-card p { font-size: 14px; color: var(--c-text-2); line-height: 1.6; }
.client-bar {
  height: 4px;
  background: var(--c-line);
  border-radius: 2px;
  margin-top: 18px;
  overflow: hidden;
}
.client-bar-fill {
  height: 100%;
  background: var(--grad-brand);
  border-radius: 2px;
  transition: width 1s var(--ease);
}

/* ---------- Industry Grid (About page) ---------- */
.industry-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-dark);
  margin: 40px 0 20px;
  letter-spacing: -0.01em;
}
.industry-group-title:first-of-type { margin-top: 0; }
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-medical { background: var(--c-brand-500); box-shadow: 0 0 0 4px rgba(14,165,233,0.18); }
.dot-general { background: #8E8E93; box-shadow: 0 0 0 4px rgba(142,142,147,0.18); }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
}
.industry-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.industry-card.medical {
  background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 60%);
  border-color: rgba(14,165,233,0.2);
}
.industry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 22px;
  background: var(--c-brand-50);
  color: var(--c-brand-600);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-4);
  flex-shrink: 0;
}
.industry-card.medical .industry-icon { background: var(--grad-brand); color: #fff; }
.industry-card h4 { font-size: 17px; color: var(--c-dark); margin-bottom: var(--sp-2); font-weight: 700; }
.industry-card p { font-size: 13px; color: var(--c-text-3); line-height: 1.65; flex: 1; }

/* ---------- Assurance Cards (About page) ---------- */
.assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: var(--sp-5);
}
.assurance-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.assurance-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.assurance-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 26px;
  background: var(--c-brand-50);
  color: var(--c-brand-600);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-5);
  flex-shrink: 0;
}
.assurance-number {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.assurance-number span { font-size: 28px; opacity: 0.8; }
.assurance-card h3 { font-size: 17px; color: var(--c-dark); margin-bottom: 8px; }
.assurance-card p { font-size: 14px; color: var(--c-text-2); line-height: 1.6; flex: 1; }

@media (max-width: 960px) {
  .client-breakdown,
  .industry-grid,
  .assurance-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .client-breakdown,
  .industry-grid,
  .assurance-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  section { padding: var(--sp-8) 0; }
  .section-header { margin-bottom: var(--sp-7); }

  .nav-menu {
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(255,255,255,0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-line);
    padding: var(--sp-4);
    gap: var(--sp-1);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { width: 100%; padding: 12px var(--sp-4); }
  .nav-toggle { display: flex; }

  .hero { padding: 80px var(--sp-5) var(--sp-8); }

  .services-grid,
  .cases-grid { grid-template-columns: 1fr; }

  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-5); }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
  }

  .legal-content { padding: var(--sp-6) var(--sp-5); }
}

@media (max-width: 480px) {
  .advantages-grid,
  .values-grid,
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-info-card, .contact-form { padding: var(--sp-5) var(--sp-4); }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 14px; }
  .btn { height: 44px; padding: 0 var(--sp-5); font-size: 14px; }
}
/* 隐藏联系页地图模块 */
.map-box {
    display: none !important;
}