/* ==========================================================================
   全局核心变量与全局重置
   ========================================================================== */
:root {
  --bg: #081c2b;
  --card: #0d2b44;
  --card2: #0f3a62;
  --txt: #ffffff;
  --muted: #cbd6df;
  --accent: #55d0ff;
  --line: rgba(255, 255, 255, .10);
  --shadow: 0 20px 45px rgba(0, 0, 0, .45);
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  /*background: var(--bg);*/
  color: var(--txt);
  top: 0px !important;       /* 强行修复谷歌翻译导致的页面下移 */
  position: static !important; /* 强行修复谷歌翻译布局冲突 */
  background: linear-gradient(rgba(8,28,43,0.35), rgba(8,28,43,0.45)), url("https://www.gyjz.net/assets/hero-poster.jpg") no-repeat center top/cover fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* ==========================================================================
   顶部导航栏（Site Header）
   ========================================================================== */
.site-header {
  
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 28, 43, .78); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-text {
  line-height: 1.3;
}

.brand-text big {
  font-weight: 900;
  letter-spacing: .4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--txt);
}

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--txt);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
}

/* 语言切换栏小美化 */
.language-picker {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

/* ==========================================================================
   Hero Banner 巨幕区域
   ========================================================================== */
.hero {
 
  position: relative;
  overflow: hidden;
  /*
  position: relative;
  background: linear-gradient(rgba(8,28,43,0.35), rgba(8,28,43,0.45)), url("https://www.gyjz.net/assets/hero-poster.jpg") no-repeat center top/cover fixed;
  padding: 100px 20px;*/ 
  text-align: center;

}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: center;
  padding: 56px 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, .04);
  font-size: 13px;
}

.hero h1 {
  margin: 14px 0 10px;
  font-size: 44px;
  line-height: 1.08;
}

.hero h1 span {
  color: var(--accent);
}

.hero-lead {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  padding: 12px 16px;
  font-weight: 900;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #9ef0ff);
  color: #041a2a;
  box-shadow: var(--shadow);
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* 实力 KPI 板块 */
.kpis {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.kpi {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .04);
  min-width: 160px;
}

.kpi-label {
  font-size: 13px;
  font-weight: bold;
  color: var(--txt);
}

/* 右侧交互面板（卡片） */
.hero-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .04);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card-top {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.hero-card-title {
  font-weight: 900;
}

.hero-card-sub {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 6px;
}

.hero-card-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.hero-card-bottom {
  padding: 14px;
  border-top: 1px solid var(--line);
}

.text-link {
  color: var(--accent);
  font-weight: 800;
}

/* ==========================================================================
   页面公共区块（Sections）
   ========================================================================== */
.section {
  padding: 56px 0;
}

.section.alt {
  background: rgba(255, 255, 255, .03);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.section-head.left {
  justify-content: flex-start;
}

.section-head h2 {
  margin: 0;
  font-size: 28px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.7;
}

/* 网格布局体系 */
.grid-4 {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}

/* 基础卡片样式 */
.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, .04);
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.7;
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* 案例精选卡片 */
.case-link {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, .04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.case-link:hover {
  transform: translateY(-4px);
  border-color: rgba(85, 208, 255, .45);
}

.case-thumb {
  height: 160px;
  background-size: cover;
  background-position: center;
}

.case-meta {
  padding: 14px;
}

.case-title {
  font-weight: 900;
  margin-bottom: 6px;
}

.case-desc {
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   联系信息与询价表单（Contact Section）
   ========================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.mini {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, .04);
}

.mini-title {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.mini-value {
  font-weight: 800;
  line-height: 1.4;
}

/* 询价表单核心 */
.contact-form {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, .04);
}

.form-title {
  font-weight: 900;
  margin-bottom: 10px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

input, select, textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .18);
  color: var(--txt);
  outline: none;
  box-sizing: border-box; /* 规避表单越界 */
}

input:focus, select:focus, textarea:focus {
  border-color: rgba(85, 208, 255, .55);
  box-shadow: 0 0 0 4px rgba(85, 208, 255, .12);
}

.form-tip {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 8px;
}

/* ==========================================================================
   页脚（Footer）
   ========================================================================== */
.footer {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, .12);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-brand {
  font-weight: 900;
}

.footer-sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.footer-right {
  display: flex;
  gap: 14px;
  color: var(--muted);
}

.footer-right a:hover {
  color: var(--txt);
}

/* ==========================================================================
   可拖拽固定悬浮 WhatsApp 商务模块（已修复语法断层漏洞）
   ========================================================================== */
.float-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(11, 45, 77, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .35);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  
  /* 精准拦截：解决之前大括号外面裸露属性的重大安全隐患 */
  cursor: move !important;          
  user-select: none !important;     
  -webkit-user-select: none !important;
  touch-action: none !important;    
}

/* 呼吸灯在线核心点 */
.wa-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #25D366;
  position: relative;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .18);
}

/* 呼吸灯外层光晕扩散 */
.wa-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  animation: wa-pulse-glow 2s infinite ease-in-out;
}

@keyframes wa-pulse-glow {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* ==========================================================================
   响应式流式布局（Responsive Layout）
   ========================================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}

/* ==========================================================================
   响应式流式布局：手机移动端完美咬合防线
   ========================================================================== */
@media (max-width: 760px) {
  /* 顶栏物理层级绝对防御 */
  .site-header {
    z-index: 99999 !important;
  }

  /* 右侧控制组：强制变为单行横向弹性盒，绝不允许换行堆叠 */
  .header-right-controls {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
  }

  /* 多语言组：横向并排 */
  .mobile-lang-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 4px !important;
  }

  /* 手机端多语言精修微型小胶囊 */
  .mobile-lang-group .lang-btn {
    font-size: 11px !important; 
    padding: 4px 6px !important;
    color: var(--txt) !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid var(--line) !important;
    white-space: nowrap !important;
    display: inline-block !important;
  }
  
  .mobile-lang-group .lang-btn.active {
    background: var(--accent, #55d0ff) !important;
    color: #081c2b !important;
    font-weight: bold !important;
  }

  /* 👑 纯文本按钮外壳：强制显示，并放大文字 ☰ 的渲染尺寸 */
  .menu-btn { 
    display: inline-flex !important; /* 强制在手机端冲破 display: none */
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: 1px solid var(--line) !important;
    color: var(--txt) !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    z-index: 100000 !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 24px !important; /* 强行放大纯文本 ☰ 图标，确保清晰可见 */
    line-height: 1 !important;
    padding: 0 !important;
  }
  
  /* 绝对定位深蓝色悬浮磨砂菜单 */
  .nav {
    display: none; /* 默认收起 */
    position: absolute !important;
    right: 4vw !important;
    top: 64px !important;
    flex-direction: column !important;
    gap: 12px !important;
    background: rgba(8, 28, 43, .98) !important; 
    backdrop-filter: blur(12px) !important;       
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--line) !important;
    border-radius: 16px !important;
    padding: 16px !important;
    min-width: 200px !important;
    z-index: 999999 !important; /* 顶层核心御敌：强行压制下方所有内容 */
  }
  
  /* 当 HTML 中的 onclick 成功为它加上 open 类名时，强制展示内容 */
  .nav.open { 
    display: flex !important; 
  }
  
  /* 增大手机端点击热区 */
  .nav a {
    width: 100% !important;
    padding: 12px 14px !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    color: var(--txt) !important;
    border-radius: 8px !important;
    display: block !important;
  }
  
  .nav a:hover {
    background: rgba(255, 255, 255, 0.06) !important;
  }

  /* 保持原本的手机端基础响应 */
  .hero h1 { font-size: 36px !important; }
  .contact-cards { grid-template-columns: 1fr !important; }
}