@charset "utf-8";
/* ==========================================================================
   公司官网 · 全站统一样式表  (css/style.css)
   --------------------------------------------------------------------------
   【非技术人员修改指南】
   1) 换整体配色：只改下面 :root 里的 --primary / --primary-dark / --primary-light
      三个颜色，全站按钮、标题、图标、边框会自动跟着变。
   2) 换文字大小：改 --font-size-base（例如 16px 改成 17px）。
   3) 换页面宽度：改 --container（例如 1160px 改成 1280px，页面会更宽）。
   4) 每个区块上方都有中文注释，说明它对应页面上的哪一块，方便定位。
   ========================================================================== */


/* ==========================================================================
   1. 全局变量（设计规范）—— 改这里就能换掉全站风格
   ========================================================================== */
:root {
  /* ---- 主色调：蓝色系 ---- */
  --primary:       #1d4ed8;   /* 主色：按钮、链接、强调文字 */
  --primary-dark:  #1a3fae;   /* 深色：鼠标悬停、深底 */
  --primary-light: #eff6ff;   /* 浅色：浅色底纹、标签底色 */
  --primary-soft:  #dbeafe;   /* 更浅的蓝色：分隔、边框 */

  /* ---- 中性色 ---- */
  --ink:         #0f172a;     /* 大标题文字 */
  --text:        #334155;     /* 正文文字 */
  --muted:       #64748b;     /* 次要说明文字 */
  --border:      #e2e8f0;     /* 分割线、卡片描边 */
  --surface:     #ffffff;     /* 卡片 / 内容底色 */
  --surface-alt: #f8fafc;     /* 浅灰区块底色 */
  --footer-bg:   #0f172a;     /* 页脚底色 */

  /* ---- 排版 ---- */
  --font-base: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
               "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-size-base: 16px;
  --line-height: 1.75;

  /* ---- 布局 ---- */
  --container: 1160px;        /* 内容区最大宽度 */
  --gutter: 40px;             /* 左右安全边距（手机上会自动变小） */
  --header-h: 72px;           /* 顶部导航高度 */
  --radius: 14px;             /* 圆角大小 */
  --radius-sm: 10px;

  /* ---- 阴影 ---- */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, .08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, .10);

  /* ---- 区块上下留白 ---- */
  --section-y: 96px;
}


/* ==========================================================================
   2. 基础重置
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* 锚点跳转时，避免标题被固定导航遮住 */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 移动端点击输入框时不会被键盘顶得乱跳 */
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--ink);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color .18s ease;
}
a:hover { color: var(--primary-dark); }

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

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

/* 键盘可访问性：Tab 聚焦时有明显轮廓 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}


/* ==========================================================================
   3. 通用布局与排版
   ========================================================================== */

/* 内容容器：所有区块的第一层都套这个，保证左右对齐 */
.container {
  width: min(var(--container), 100% - var(--gutter));
  margin-inline: auto;
}

/* 一个标准区块的上下留白 */
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--surface-alt); }   /* 浅灰底，用来做区块间隔 */

/* 「服务行业」标签条独立区块：白底 + 上下细分隔线，与前后区块区分开 */
.section-industries {
  padding: 48px 0;
  background: linear-gradient(180deg, #f5f9ff 0%, #eff6ff 100%);
  border-top: 1px solid var(--primary-soft);
  border-bottom: 1px solid var(--primary-soft);
}

/* 区块标题组（居中的小标题 + 大标题 + 说明） */
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head--left {
  margin-inline: 0;
  text-align: left;
}
/* 标题上方的品牌 Logo（如「走近盖世创」视频板块顶部） */
.section-logo {
  display: block;
  height: 40px;
  width: auto;
  margin: 0 auto 16px;
}
/* 品牌介绍配图（GASTRON 总部大楼） */
.brand-photo {
  display: block;
  width: 100%;
  max-width: 860px;
  margin: 0 auto 48px;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(15, 23, 42, .12);
}
.section-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 999px;
}
.section-title {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 14px;
}
.section-desc {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

/* 正文段落：长文阅读更舒服 */
.prose p { margin-bottom: 1.1em; color: var(--text); }
.prose strong { color: var(--ink); }


/* ==========================================================================
   4. 按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, box-shadow .18s ease,
              transform .18s ease;
}

/* 主按钮：实心蓝 */
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(29, 78, 216, .22);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(29, 78, 216, .28);
}

/* 次按钮：白底蓝边 */
.btn-ghost {
  background: #fff;
  color: var(--primary);
  border-color: #c7d7fb;
}
.btn-ghost:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

/* 反白按钮：用在深色背景上 */
.btn-light {
  background: #fff;
  color: var(--primary);
}
.btn-light:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

/* 小尺寸按钮 */
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* 文字按钮（带箭头） */
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: 0;
  cursor: pointer;
}
.btn-text::after {
  content: "→";
  transition: transform .18s ease;
}
.btn-text:hover::after { transform: translateX(4px); }

/* 按钮组 */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}


/* ==========================================================================
   5. 顶部导航栏（含手机端汉堡菜单）
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
/* 页面往下滚动后，由 JS 加上这个类，出现轻微阴影 */
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

/* 左侧 Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
/* Logo 是横向字标（红 GAS + 绿 TRON），高度按字标比例设置 */
.brand-logo { height: 30px; width: auto; }
.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .08em;   /* GASTRON 品牌字的字间距 */
}
.brand-sub {
  display: block;
  margin-top: -1px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted);
  white-space: nowrap;
}
/* 页头公司名加大后（32px/20px 内联样式）的中窄屏收缩，防止挤出导航 */
@media (max-width: 1279px) {
  .header-inner .brand-sub { font-size: 20px !important; }
}
@media (max-width: 860px) {
  .header-inner .brand-sub { font-size: 14px !important; }
}

/* 中间菜单 */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;   /* 导航项不换行（如 About Us） */
  border-radius: 999px;
  transition: background-color .18s ease, color .18s ease;
}
.main-nav a:hover {
  color: var(--primary);
  background: var(--primary-light);
}
/* 当前所在页面的菜单项高亮 */
.main-nav a.is-active {
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-light);
}

/* 右侧按钮区：语言切换 + 咨询按钮 + 汉堡按钮 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ---- 中 / 英 语言切换（分段控件样式） ---- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lang-switch a {
  padding: 5px 13px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted);
  border-radius: 999px;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease;
}
.lang-switch a:hover {
  color: var(--primary);
  background: transparent;
}
/* 当前语言高亮 */
.lang-switch a.is-active {
  color: var(--primary);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

/* 右侧咨询按钮 */
.header-cta { flex-shrink: 0; }

/* 汉堡按钮：桌面端默认隐藏 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
/* 菜单打开时，汉堡变成 ✕ */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ==========================================================================
   6. 首页首屏 Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 116px 0 132px;
  min-height: 620px;
  /* 兜底渐变：晕染图未加载/不支持时也有底色 */
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
  overflow: hidden;
}
/* slogan 背景晕染图：改用真实 <img>（兼容所有手机/旧浏览器，避免多层 background 简写解析失败） */
.hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}
/* 文字侧柔光：保证深色文字的可读性（右下实景不受影响） */
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(100deg,
      rgba(255, 255, 255, .72) 0%,
      rgba(255, 255, 255, .46) 34%,
      rgba(255, 255, 255, .12) 62%,
      rgba(255, 255, 255, 0) 82%);
}
/* 右边淡淡的装饰圆 */
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: 40px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 78, 216, .10) 0%, rgba(29, 78, 216, 0) 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: #fff;
  border: 1px solid #c7d7fb;
  border-radius: 999px;
}

/* 总代理身份徽章：放在首屏最醒目的位置 */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 18px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(29, 78, 216, .25);
}
.hero-title {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.2;
  margin-bottom: 22px;
}
.hero-title em {
  font-style: normal;
  color: var(--primary);
}
.hero-desc {
  max-width: 620px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
  margin-bottom: 34px;
}

/* 首屏 slogan 下方的晕染横幅（左渐隐入白底，与参考风格一致） */
.hero-banner {
  margin-top: 48px;
}
.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* 首屏下方的数字/亮点条 */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stats li { min-width: 120px; }
.hero-stats b {
  display: block;
  font-size: 30px;
  line-height: 1.2;
  color: var(--ink);
  font-weight: 700;
}
.hero-stats span { font-size: 14px; color: var(--muted); }

/* 服务行业标签条（原来在首屏，现挪到「核心业务」下方独立成条）
   想换成数字/数据可以改用上面的 .hero-stats 样式 */
.industry-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.industry-bar .label {
  margin-right: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
}
/* 「服务行业」这类行首小标题：加一层底色胶囊，颜色自动跟随全站主色
   （换配色只需改最上面的 --primary，这里会自动变） */
.industry-bar .label--badge {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  padding: 7px 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .06em;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(29, 78, 216, .22);
}
.industry-bar .tag {
  padding: 6px 14px;
  font-size: 13.5px;
  color: var(--primary-dark);
  background: var(--primary-light);
  border: 1px solid var(--primary-soft);
}


/* ==========================================================================
   7. 内页顶部标题条（关于我们 / 服务 / 联系我们 共用）
   ========================================================================== */
.page-hero {
  padding: 68px 0 60px;
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(26px, 3.6vw, 40px);
  margin-bottom: 12px;
}
.page-hero p {
  max-width: 680px;
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}
/* 面包屑：首页 / 关于我们 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb li::after {
  content: "/";
  margin-left: 8px;
  color: #cbd5e1;
}
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }


/* ==========================================================================
   8. 卡片网格（首页核心业务 / 服务页共用）
   ========================================================================== */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 通用卡片 */
.card {
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover {
  border-color: #c7d7fb;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.card p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* 卡片左上角的图标方块 */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: var(--primary-light);
  color: var(--primary);
}
.card-icon svg { width: 24px; height: 24px; }

/* ---- 带配图的服务卡片 ---- */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.service-card:hover {
  border-color: #c7d7fb;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
/* 配图容器：固定 16:9，图片自动裁切填满，替换图片时不会撑坏布局 */
.service-card .media {
  aspect-ratio: 16 / 9;
  background: var(--primary-light);
}
.service-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 产品中心专用：产品图为竖版实拍，卡片图区改 4:5，避免裁掉设备 */
.products-grid .media { aspect-ratio: 4 / 5; }
.service-card .body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 28px 30px;
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 15px; color: var(--muted); margin: 0 0 18px; }
/* 让底部的“了解更多”对齐到卡片底部 */
.service-card .btn-text { margin-top: auto; align-self: flex-start; }

/* 服务卡片上的小标签 */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.tag {
  padding: 3px 10px;
  font-size: 12.5px;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 999px;
}

/* 服务页右侧带序号的列表卡片 */
.feature-list { display: grid; gap: 18px; }
.feature-item {
  display: flex;
  gap: 18px;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.feature-item .num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 10px;
}
.feature-item h3 { font-size: 17px; margin-bottom: 6px; }
.feature-item p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---- 服务中心（重点板块）：深蓝底大区块，视觉权重高于普通板块 ---- */
.service-center {
  background:
    radial-gradient(760px 340px at 88% -10%, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 65%),
    linear-gradient(135deg, #1d4ed8 0%, #17348f 100%);
  color: #fff;
}
.service-center .section-eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .18);
}
.service-center .section-title { color: #fff; }
.service-center .section-desc { color: rgba(255, 255, 255, .84); }

.sc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.sc-card {
  padding: 32px 26px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.sc-card:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .42);
  transform: translateY(-3px);
}
.sc-card .ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
}
.sc-card .ico svg { width: 22px; height: 22px; }
.sc-card h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.sc-card p { color: rgba(255, 255, 255, .84); font-size: 14.5px; margin: 0; }

/* 服务中心底部的一条服务承诺 */
.sc-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: 15px;
  color: rgba(255, 255, 255, .9);
}
.sc-note b { color: #fff; }

/* ---- 品牌介绍板块 ---- */
.brand-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.brand-fact {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.brand-fact b {
  display: block;
  font-size: 24px;
  line-height: 1.25;
  color: var(--primary);
  font-weight: 700;
}
.brand-fact span { font-size: 14px; color: var(--muted); }

/* 认证资质标签 */
.cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cert-tag {
  padding: 7px 15px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  background: #fff;
  border: 1px solid #c7d7fb;
  border-radius: 999px;
}


/* ==========================================================================
   9. 关于我们 专属区块
   ========================================================================== */

/* ---- 9.1 公司简介：左文右图 ---- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.split .media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--primary-light);
  box-shadow: var(--shadow-md);
}
.split .media img { width: 100%; height: 100%; object-fit: cover; }

/* 简介里的勾选列表 */
.check-list { display: grid; gap: 12px; margin-top: 26px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
}

/* ---- 9.2 关键数据 ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat {
  padding: 30px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stat b {
  display: block;
  font-size: 34px;
  line-height: 1.2;
  color: var(--primary);
  font-weight: 700;
}
.stat span { font-size: 14.5px; color: var(--muted); }

/* ---- 9.3 发展历程（竖向时间轴） ---- */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 34px;
}
/* 中间的竖线 */
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-soft), #f1f5f9);
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
/* 时间轴上的圆点 */
.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
}
.timeline-year {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--primary);
}
.timeline-item h3 { font-size: 18px; margin-bottom: 6px; }
.timeline-item p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---- 9.4 团队介绍 ---- */
.team-card {
  padding: 30px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.team-card:hover { border-color: #c7d7fb; box-shadow: var(--shadow-md); }
.team-card .avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary-light);
}
.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 17px; margin-bottom: 4px; }
.team-card .role {
  display: block;
  margin-bottom: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
}
.team-card p { font-size: 14.5px; color: var(--muted); margin: 0; }


/* ==========================================================================
   10. 联系我们
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

/* ---- 10.1 左侧信息列表 ---- */
.contact-list { display: grid; gap: 4px; margin-bottom: 32px; }
.contact-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
}
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list dt,
.contact-list .label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-list .value {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  word-break: break-all;
}
.contact-list a.value:hover { color: var(--primary); }

/* ---- 10.2 地图占位区（拿到真实地图后替换这一整块） ---- */
.map-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 6px;
  padding: 24px;
  background: var(--surface-alt);
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  color: var(--muted);
}
.map-frame .map-hint { font-size: 15px; font-weight: 600; color: var(--text); }
.map-frame .map-sub { font-size: 13px; }

/* ---- 10.2b 双地图并排（高德 + Google，各占一半，窄屏上下堆叠） ---- */
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}
.map-item { display: grid; gap: 10px; }
.map-item .map-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.map-item .map-wrap {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}
.map-item iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---- 10.3 留言表单（纯前端样式，需对接后端才能真正收信） ---- */
.form-card {
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form-card > h2 { font-size: 22px; margin-bottom: 8px; }
.form-card > .form-intro {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
/* 必填项后面的星号 */
.form-field label .req { color: #dc2626; margin-left: 2px; }

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.form-field textarea {
  min-height: 132px;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #94a3b8; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
}

/* 提交行 */
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}
.form-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* 提交后的提示条（由 JS 控制显示） */
.form-feedback {
  display: none;
  margin-top: 20px;
  padding: 14px 18px;
  font-size: 14.5px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid #c7d7fb;
}
.form-feedback.is-visible { display: block; }


/* ==========================================================================
   11. 底部行动号召条（CTA）
   ========================================================================== */
.cta-band {
  padding: 72px 0;
  background:
    radial-gradient(700px 320px at 15% 0%, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 65%),
    linear-gradient(135deg, #1d4ed8 0%, #1e3fae 100%);
  color: #fff;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(22px, 2.8vw, 32px);
  margin-bottom: 12px;
}
.cta-band p {
  color: rgba(255, 255, 255, .84);
  max-width: 620px;
  margin: 0;
  font-size: 16px;
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}


/* ==========================================================================
   12. 页脚
   ========================================================================== */
.site-footer {
  padding: 64px 0 0;
  background: var(--footer-bg);
  color: #94a3b8;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand:hover { color: #fff; }
.footer-brand .brand-name { color: #fff; }
/* 深色页脚里，给 Logo 垫一块白色圆角底，保证红绿配色清晰可读 */
.footer-brand .brand-logo {
  height: 28px;
  padding: 7px 10px;
  background: #fff;
  border-radius: 8px;
}
.footer-brand .brand-sub { color: #cbd5e1; }
.footer-brand p {
  margin: 18px 0 0;
  max-width: 300px;
  line-height: 1.8;
}
.site-footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #94a3b8; }
.footer-links a:hover { color: #fff; }

/* 页脚联系方式 */
.footer-contact { display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 8px; }
.footer-contact .k { color: #64748b; flex-shrink: 0; }
/* 页脚里的电话 / 邮箱链接（深色底上不能用默认的蓝色） */
.footer-contact a { color: #94a3b8; }
.footer-contact a:hover { color: #fff; }

/* 页脚最下面的版权行 */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
  color: #64748b;
}
.footer-bottom p { margin: 0; }


/* ==========================================================================
   13. 工具类（小助手）
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mb-0 { margin-bottom: 0; }

/* 屏幕阅读器专用文字（视觉上隐藏，无障碍可读） */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 滚动进入视口时的轻微淡入（JS 加 .is-in。不喜欢可删掉这两条） */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}


/* ==========================================================================
   13.5 新增模块：宣传视频 / 业务插图 / 产品卡 / 项目展示 / 伙伴客户 / 资质 / 团队图标
   ========================================================================== */

/* ---- 首页宣传视频（换视频：覆盖 assets/video/promo.mp4 即可） ---- */
.video-frame {
  max-width: 920px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b1220;
  box-shadow: var(--shadow-lg);
}
.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0b1220;
}

/* ---- 核心业务卡片：统一 1:1 圆形插图 ---- */
.card-icon--img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--primary-light);
  overflow: hidden;
}
.card-icon--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---- 产品卡：白底 1:1 图区，产品图等比完整显示、大小完全一致 ---- */
.products-grid .media {
  aspect-ratio: 1 / 1;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.products-grid .media img {
  object-fit: contain;
  padding: 20px;
}
.products-grid .card-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding-top: 4px;
}
.products-grid .card-links .btn-text { margin-top: 0; }

/* 产品总数不是 3 的倍数时，最后一张卡片居中显示，保持排版均衡 */
.products-grid .service-card:last-child:nth-child(3n+1) { grid-column: 2; }

/* ---- 项目展示 ---- */
.project-list { display: grid; gap: 32px; }
.project-item {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.project-item--flip .project-media { order: 2; }
.project-media .main {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-alt);
}
.project-media .main img { width: 100%; height: 100%; object-fit: cover; }
.project-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.project-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.project-chip {
  padding: 4px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 999px;
}
.project-item h3 { font-size: clamp(20px, 2.2vw, 25px); margin-bottom: 12px; }
.project-points { margin: 0; padding: 0; list-style: none; }
.project-points li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
}
.project-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---- 客户 Logo 墙（深色底座，各家 Logo 原色清晰、大小统一） ---- */
.client-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 14px;
}
.client-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  padding: 16px 22px;
  background: #ffffff;                       /* Logo 底色：白色 */
  border: 1px solid var(--border);           /* 白底区块需要描边分隔 */
  box-shadow: 0 2px 8px rgba(15, 23, 42, .05);
  border-radius: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.client-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.client-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---- 合作伙伴名单 ---- */
.partner-label {
  margin: 28px 0 20px;      /* 往上贴近 Logo 墙 */
  text-align: center;
  font-size: 26px;          /* 放大 */
  font-weight: 700;
  color: var(--ink);
}
.partner-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.partner-chip {
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* ---- 公司资质展示 ---- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.cert-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cert-card:hover { border-color: #c7d7fb; box-shadow: var(--shadow-md); }
.cert-card .media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 16px;
  background: var(--surface-alt);
}
.cert-card .media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .14);
}
.cert-card .body { padding: 20px 22px 24px; }
.cert-card h3 { font-size: 17px; margin-bottom: 6px; }
.cert-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---- 团队介绍：渐变图标底座（替代部门照片） ---- */
.team-card .avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(29, 78, 216, .25);
}
.team-card .avatar svg { width: 38px; height: 38px; }


/* ==========================================================================
   14. 响应式断点
   --------------------------------------------------------------------------
   1024px 以下：平板（三栏变两栏）
    860px 以下：手机横屏 / 小平板（导航折叠成汉堡菜单）
    640px 以下：手机竖屏（全部改单栏）
   ========================================================================== */

/* ---------- 平板 ---------- */
@media (max-width: 1024px) {
  :root {
    --section-y: 76px;
    --gutter: 32px;
  }
  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sc-grid { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 44px; }
  .contact-layout { gap: 40px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .stats { grid-template-columns: repeat(2, 1fr); }
  /* 项目展示：平板上改为上下结构 */
  .project-item { grid-template-columns: 1fr; gap: 24px; padding: 26px; }
  .project-item--flip .project-media { order: 0; }
}

/* ---------- 手机 / 平板导航折叠 ---------- */
@media (max-width: 860px) {
  :root {
    --section-y: 64px;
    --header-h: 64px;
    --gutter: 32px;
  }

  /* 显示汉堡按钮 */
  .nav-toggle { display: flex; }
  /* 手机上隐藏右上角咨询按钮，避免和汉堡挤在一起（语言切换保留） */
  .header-cta { display: none; }
  /* 小屏上把语言切换收紧一点 */
  .header-actions { gap: 8px; }
  .lang-switch a { padding: 5px 10px; font-size: 12.5px; }

  /* 菜单变成从导航栏下方滑出的面板 */
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    /* 默认收起：用 max-height 做展开动画 */
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.is-open { max-height: 420px; }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 16px;
  }
  .main-nav a {
    padding: 14px 0;
    font-size: 16px;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }
  .main-nav li:last-child a { border-bottom: 0; }

  /* 首屏 */
  .hero { padding: 72px 0 64px; }
  .hero-stats {
    gap: 28px 36px;
    margin-top: 44px;
    padding-top: 26px;
  }
  .hero-stats b { font-size: 26px; }

  /* 图文左右结构改成上下堆叠 */
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split .media { order: -1; }

  /* 联系我们改成上下堆叠 */
  .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .map-grid { grid-template-columns: 1fr; }

  .cta-inner { flex-direction: column; align-items: flex-start; }
  .form-card { padding: 30px 24px; }
}

/* ---------- 手机竖屏 ---------- */
@media (max-width: 640px) {
  :root {
    --gutter: 32px;
    --radius: 12px;
  }

  /* 屏幕很窄时隐藏 Logo 旁的小字，避免导航栏过于拥挤 */
  .brand-sub { display: none; }
  .brand-name { font-size: 18px; }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .sc-grid,
  .brand-facts { grid-template-columns: 1fr; }

  .hero { padding: 56px 0 52px; }
  .hero-title { font-size: 30px; }
  .hero-desc { font-size: 16px; }
  .btn-group { width: 100%; }
  /* 手机上的按钮一行一个、方便点按 */
  .btn-group .btn { flex: 1 1 100%; }

  .hero-stats { gap: 24px; }
  .hero-stats li { flex: 1 1 40%; }

  .page-hero { padding: 48px 0 42px; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat b { font-size: 28px; }

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

  .form-grid { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .btn { width: 100%; }

  .timeline { padding-left: 26px; }
  .timeline-item::before { left: -26px; }

  .service-card .body { padding: 22px 22px 26px; }
  .card { padding: 26px 22px; }
  /* 手机竖屏：客户 Logo 墙固定两列，合作伙伴靠左 */
  .client-wall { grid-template-columns: repeat(2, 1fr); }
  .partner-cloud { justify-content: flex-start; }
  /* 单列布局下取消最后一张产品卡的居中位移 */
  .products-grid .service-card:last-child:nth-child(3n+1) { grid-column: auto; }
}

/* ---------- 超大屏：内容区稍微宽一点 ---------- */
@media (min-width: 1440px) {
  :root { --container: 1240px; }
}
