
/* ====================== 全局CSS变量（缺失补充，统一色彩） ====================== */
:root {
  --dark-bg: #1C4532;
  --dark-light: #1e293b;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #e2e8f0;
  --text-pale-white: #f1f5f9;
  --border-gray: #e5e7eb;
  --page-bg: #f6f7fb;
  --white: #ffffff;
  --focus-ring: 0 0 0 3px rgba(15, 23, 42, 0.2);
}

/* 全局基础 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: system-ui, Arial, sans-serif;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--page-bg);
}
:focus-visible {
  outline: 2px solid var(--dark-bg);
  box-shadow: var(--focus-ring);
  border-radius: 8px;
}
a {
  transition: color 0.2s ease;
}
img, iframe {
  max-width: 100%;
  display: block;
}
button, input, textarea, a {
  font-family: inherit;
  font-size: inherit;
}

/* ========================= 页面基础容器 ========================= */
.site-main{
  padding: 0;
  background: #fff;
}
.page-container{
  max-width:1100px;
  margin:0 auto;
  padding:60px 20px;
}

/* ========================= 顶部面包屑导航 ========================= */
.page-top-bar {
  width: 100%;
  background: #f6f8fb;
  border-bottom: 1px solid #e5e7eb;
  padding: 0;
}
.page-top-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 20px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #555;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  color: #555;
}
.breadcrumb li + li::before {
  content: "/";
  margin: 0 6px;
  color: #999;
}
.breadcrumb a {
  color: #555;
  text-decoration: none;
}
.breadcrumb a:hover {
  color: #15234d;
}
.breadcrumb li:last-child {
  color: #0f172a;
  font-weight: 500;
}

/* ========================= 页面标题区 ========================= */
.page-header{
  text-align:center;
  margin-bottom:40px;
}
.page-title{
  font-size:42px;
  font-weight:700;
  color:#0f172a;
  margin:0;
  line-height:1.2;
}
.page-title::after{
  content:"";
  display:block;
  width:60px;
  height:3px;
  background:#f2a900;
  margin:16px auto 0;
  border-radius:2px;
}

/* ========================= 通用页面正文 ========================= */
.page-body{
  font-size:16px;
  line-height:1.9;
  color:#334155;
}
.page-body p{
  margin-bottom:18px;
}
.page-body h2{
  font-size:28px;
  margin:40px 0 18px;
  color:#0f172a;
}
.page-body h3{
  font-size:22px;
  margin:30px 0 15px;
  color:#0f172a;
}
.page-body img{
  max-width:100%;
  height:auto;
  border-radius:12px;
  margin:25px 0;
}

/* ====================== Contact Us 独立区块样式 ====================== */
.contact-section{
  padding: 100px 20px;
  background: var(--page-bg);
}
.contact-container{
  max-width: 1100px;
  margin: 0 auto;
}
/* Contact头部标题 */
.contact-header{
  text-align: center;
  margin-bottom: 60px;
}
.contact-header h1{
  font-size: 40px;
  color: var(--text-main);
  margin-bottom: 12px;
  font-weight: 700;
}
.contact-header p{
  font-size: 16px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}
/* 两栏网格 */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}
/* 左侧深色联系卡片（修复aria-labelledby对应id） */
.contact-info{
  background: var(--dark-bg);
  color: var(--white);
  padding: 40px;
  border-radius: 16px;
}
.contact-info-title{
  margin-bottom: 25px;
  font-size: 22px;
  font-weight: 600;
  color: #fff !important;
}
.info-block{
  margin-bottom: 22px;
}
.label{
  font-size: 12px;
  color: var(--text-pale-white);
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-info p {
  margin: 0;
  color: var(--text-light);
}
.contact-info a{
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.contact-info a:hover,
.contact-info a:focus-visible {
  border-bottom: 1px solid #fff;
}
/* 时效提示框 */
.response-box{
  margin-top: 32px;
  padding: 16px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  color: var(--text-pale-white);
}
.response-box strong {
  color: #ffffff;
}
/* 右侧表单卡片 */
.contact-form{
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
}
.contact-form h2{
  margin-bottom: 10px;
  color: var(--text-main);
  font-size: 22px;
  font-weight: 600;
}
.subtext{
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 26px;
}
/* 表单控件 */
.form-item {
  margin-bottom: 16px;
}
.form-item label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea{
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border-gray);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-main);
  background: #fff;
}
.contact-form textarea{
  min-height: 130px;
  resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus{
  outline: none;
  border-color: var(--dark-bg);
  box-shadow: var(--focus-ring);
}
/* 提交按钮 */
.contact-form button[type="submit"]{
  width: 100%;
  padding: 13px;
  background: var(--dark-bg);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease;
  font-size: 15px;
}
.contact-form button[type="submit"]:hover{
  background: var(--dark-light);
}
/* 地图 */
.contact-map iframe{
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 16px;
}

/* ========================= 移动端适配 ========================= */
@media(max-width: 900px){
  .contact-section {
    padding: 60px 16px;
  }
  .contact-grid{
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-header h1{
    font-size: 30px;
  }
  .contact-info, .contact-form {
    padding: 28px 24px;
  }
  .contact-map iframe {
    height: 300px;
  }
}
@media(max-width:768px){
  .page-title{
    font-size:28px;
  }
  .page-container{
    padding:40px 16px;
  }
}
