* { margin:0; padding:0; box-sizing:border-box; font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB","Source Han Sans CN",sans-serif; }
:root { --gold:#a88b5e; --gold-light:#c4a87a; --dark:#222; --light-bg:#f8f5f0; --white:#fff; }
body { color:#333; line-height:1.6; }
.container { max-width:1600px; margin:0 auto; padding:0 20px; }

/* Header */
header { background:#fff; box-shadow:0 2px 6px rgba(0,0,0,.05); position:sticky; top:0; z-index:99; }
.header-wrap { max-width:1600px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; padding:16px 20px; }
.logo { display:flex; align-items:center; gap:10px; }
.logo svg { width:48px; height:48px; }
.logo-text h1 { font-size:22px; color:var(--dark); font-weight:600; }
.logo-text p { font-size:13px; color:var(--gold); letter-spacing:2px; }
nav > ul { display:flex; list-style:none; gap:36px; }
nav > ul > li { position:relative; }
nav > ul > li > a { text-decoration:none; color:#333; font-size:16px; display:block; padding:4px 0; transition:color .3s; }
nav > ul > li > a:hover { color:var(--gold); }
nav .submenu { position:absolute; top:100%; left:50%; transform:translateX(-50%); background:#fff; box-shadow:0 6px 20px rgba(0,0,0,.1); border-radius:8px; padding:10px 0; min-width:180px; list-style:none; opacity:0; visibility:hidden; transition:all .3s; z-index:100; }
nav > ul > li:hover .submenu { opacity:1; visibility:visible; }
nav .submenu li a { display:block; padding:10px 20px; color:#555; text-decoration:none; font-size:14px; white-space:nowrap; transition:all .2s; }
nav .submenu li a:hover { background:var(--light-bg); color:var(--gold); padding-left:24px; }
.header-right { display:flex; align-items:center; gap:18px; }
.tel { font-size:17px; font-weight:600; display:flex; align-items:center; gap:6px; color:var(--dark); }
.tel svg { width:18px; height:18px; stroke:var(--gold); fill:none; stroke-width:2; }
/* 设计稿里「立即咨询」是 <button>，后台 head.html 出来的是 <a>，必须显式去下划线 */
.btn-gold,
.btn-gold:link, .btn-gold:visited, .btn-gold:hover, .btn-gold:active {
  text-decoration:none;
}
.btn-gold { background:var(--gold); color:#fff; border:none; padding:10px 22px; border-radius:6px; font-size:15px; cursor:pointer; transition:background .3s; display:inline-block; }
.btn-gold:hover { background:#8f7449; }
.mobile-menu { display:none; cursor:pointer; font-size:24px; color:var(--dark); }

/* Mobile Nav */
.mobile-nav { position:fixed; top:0; right:-100%; width:80%; max-width:320px; height:100vh; background:#fff; z-index:200; transition:right .3s; overflow-y:auto; padding:20px; box-shadow:-4px 0 20px rgba(0,0,0,.1); }
.mobile-nav.open { right:0; }
.mobile-nav-close { text-align:right; font-size:28px; cursor:pointer; color:#666; margin-bottom:20px; }
.mobile-nav ul { list-style:none; }
.mobile-nav li { border-bottom:1px solid #eee; }
.mobile-nav a { display:block; padding:14px 0; color:#333; text-decoration:none; font-size:16px; }
.m-submenu { padding-left:16px; display:none; }
.m-submenu.open { display:block; }
.m-submenu a { font-size:14px; padding:10px 0; color:#666; }
.mobile-overlay { position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:150; display:none; }
.mobile-overlay.open { display:block; }

/* Banner */
.page-banner { position:relative; height:460px; background:linear-gradient(135deg,#2f2a20 0%,#4a3f2f 45%,#a88b5e 100%); background-size:cover; background-position:center; overflow:hidden; }
.page-banner::after { content:''; position:absolute; inset:0; background:rgba(0,0,0,.35); z-index:1; }
.banner-content { position:absolute; top:38%; left:50%; transform:translate(-50%,-50%); z-index:2; width:100%; max-width:1600px; padding:0 20px; text-align:center; }
.banner-title { font-size:48px; color:#fff; font-weight:500; margin-bottom:12px; text-shadow:0 2px 10px rgba(0,0,0,.5); }
.breadcrumb { font-size:14px; color:rgba(255,255,255,.8); margin-top:16px; }
.breadcrumb a { color:rgba(255,255,255,.8); text-decoration:none; transition:color .3s; }
.breadcrumb a:hover { color:var(--gold-light); }
.breadcrumb span { margin:0 8px; }
.banner-subnav { position:absolute; bottom:0; left:0; right:0; z-index:2; width:100%; background:rgba(0,0,0,.4); }
.banner-subnav-list { max-width:1600px; margin:0 auto; display:flex; list-style:none; padding:0 20px; justify-content:center; }
.banner-subnav-list li { flex:0 0 auto; text-align:center; }
.banner-subnav-list li a { display:block; padding:18px 40px; color:#fff; text-decoration:none; font-size:18px; transition:color .3s; position:relative; }
.banner-subnav-list li a:hover { color:var(--gold-light); }
.banner-subnav-list li a.active::after { content:''; position:absolute; bottom:0; left:15%; right:15%; height:3px; background:var(--gold); }
.banner-gold-bar { position:absolute; bottom:0; height:3px; background:var(--gold); transition:all .3s ease; pointer-events:none; }

/* Contact Cards */
.contact-section { background:#fff; padding:70px 0; }
.contact-title { font-size:36px; color:var(--dark); margin-bottom:40px; font-weight:500; }
.contact-cards { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.contact-card { background:#eee; border-radius:12px; padding:40px 28px; text-align:center; transition:all .4s ease; cursor:pointer; position:relative; overflow:hidden; }
.contact-card::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background:var(--gold); transform:scaleX(0); transition:transform .4s ease; }
.contact-card:hover { background:var(--gold); transform:translateY(-8px); box-shadow:0 16px 36px rgba(168,139,94,.3); }
.contact-card:hover::before { transform:scaleX(1); }
.contact-card:hover .contact-icon svg { stroke:#fff; }
.contact-card:hover .contact-card-name { color:#fff; }
.contact-card:hover .contact-info p { color:#fff; }
.contact-card:hover .contact-info .label { color:rgba(255,255,255,.8); }
.contact-card.active { background:var(--gold); }
.contact-card.active .contact-icon svg { stroke:#fff; }
.contact-card.active .contact-card-name { color:#fff; }
.contact-card.active .contact-info p { color:#fff; }
.contact-card.active .contact-info .label { color:rgba(255,255,255,.8); }
.contact-icon { width:64px; height:64px; margin:0 auto 20px; display:flex; align-items:center; justify-content:center; }
.contact-icon svg { width:56px; height:56px; stroke:var(--gold); fill:none; stroke-width:1.5; transition:stroke .4s; }
.contact-card-name { font-size:22px; color:var(--dark); margin-bottom:20px; font-weight:500; transition:color .4s; }
.contact-info { text-align:left; display:inline-block; }
.contact-info p { font-size:15px; color:#333; margin-bottom:10px; transition:color .4s; }
.contact-info .label { color:#888; margin-right:6px; transition:color .4s; }

/* Map & Address */
.map-section { background:#fff; padding:0 0 70px; }
.map-wrap { display:grid; grid-template-columns:1.5fr 1fr; gap:0; border-radius:12px; overflow:hidden; }
.map-img { min-height:400px; }
.map-img img { width:100%; height:100%; object-fit:cover; display:block; }
.map-address { background:#eee; padding:50px 40px; transition:all .4s ease; position:relative; overflow:hidden; text-align:center; }
.map-address::before { content:''; position:absolute; top:0; left:0; width:4px; height:0; background:var(--gold); transition:height .4s ease; }
.map-address:hover { background:#f5f0e8; box-shadow:inset 0 0 0 2px var(--gold); }
.map-address:hover::before { height:100%; }
.map-address:hover h3 { color:#8f7449; }
.map-address h3 { font-size:28px; color:var(--gold); margin-bottom:24px; font-weight:500; transition:color .4s; }
.map-address .company-name { font-size:20px; color:#333; margin-bottom:16px; font-weight:500; }
.map-address p { font-size:15px; color:#555; line-height:2; margin-bottom:10px; }
.map-address .office-title { font-size:18px; color:#333; margin:30px 0 12px; font-weight:500; }

/* Contact Form */
.form-section { background:#fff; padding:30px 0 80px; }
.form-title { font-size:36px; color:var(--dark); text-align:center; margin-bottom:40px; font-weight:500; }
.contact-form { max-width:1200px; margin:0 auto; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-bottom:24px; }
.form-group { position:relative; }
.form-group .form-icon { position:absolute; left:16px; top:50%; transform:translateY(-50%); width:40px; height:40px; background:var(--gold); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.form-group .form-icon svg { width:20px; height:20px; stroke:#fff; fill:none; stroke-width:2; }
.form-group input, .form-group select { width:100%; padding:18px 20px 18px 68px; border:1px solid #e0e0e0; border-radius:30px; font-size:15px; color:#333; background:#fff; transition:border-color .3s, box-shadow .3s; outline:none; }
.form-group input:focus, .form-group select:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(168,139,94,.1); }
.form-group textarea { width:100%; padding:20px 20px 20px 68px; border:1px solid #e0e0e0; border-radius:20px; font-size:15px; color:#333; background:#fff; min-height:160px; resize:vertical; transition:border-color .3s, box-shadow .3s; outline:none; font-family:inherit; }
.form-group textarea:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(168,139,94,.1); }
.form-group.textarea-group .form-icon { top:24px; transform:none; }
.form-submit { text-align:center; margin-top:30px; }
.btn-submit { background:var(--gold); color:#fff; border:none; padding:16px 60px; border-radius:30px; font-size:17px; cursor:pointer; transition:all .3s; box-shadow:0 4px 16px rgba(168,139,94,.3); }
.btn-submit:hover { background:#8f7449; transform:translateY(-2px); box-shadow:0 8px 24px rgba(168,139,94,.4); }

/* Footer */
footer { background:#333; color:#ddd; padding:60px 0 30px; }
.footer-wrap { max-width:1600px; margin:0 auto; display:grid; grid-template-columns:1.2fr repeat(5,1fr); gap:30px; padding:0 20px; }
.footer-logo h3 { color:#fff; font-size:22px; margin:8px 0 16px; }
.footer-logo p { margin:8px 0; font-size:14px; }
.footer-col h4 { color:#fff; font-size:18px; margin-bottom:20px; }
.footer-col ul { list-style:none; }
.footer-col li { margin-bottom:10px; }
.footer-col a { color:#ccc; text-decoration:none; font-size:14px; transition:color .3s; }
.footer-col a:hover { color:var(--gold); }
.copyright { max-width:1600px; margin:40px auto 0; padding:20px 20px 0; border-top:1px solid #444; display:flex; justify-content:space-between; font-size:14px; }

/* Responsive */
@media(max-width:1200px){
  .contact-cards { grid-template-columns:repeat(2,1fr); }
  .map-wrap { grid-template-columns:1fr; }
  .map-img { min-height:300px; }
  .footer-wrap { grid-template-columns:repeat(3,1fr); }
}
@media(max-width:768px){
  nav { display:none; }
  .mobile-menu { display:block; }
  .header-right .tel { display:none; }
  .page-banner { height:320px; }
  .banner-title { font-size:32px; }
  .banner-content { padding:0 20px; }
  .banner-subnav-list li a { font-size:15px; padding:14px 20px; }
  .contact-section { padding:40px 0; }
  .contact-title { font-size:28px; margin-bottom:24px; }
  .contact-cards { grid-template-columns:1fr; gap:16px; }
  .contact-card { padding:30px 20px; }
  .contact-card-name { font-size:19px; }
  .contact-info p { font-size:14px; }
  .map-address { padding:30px 20px; }
  .map-address h3 { font-size:22px; }
  .map-address .company-name { font-size:17px; }
  .form-title { font-size:28px; }
  .form-row { grid-template-columns:1fr; gap:16px; margin-bottom:16px; }
  .form-group input, .form-group select { padding:14px 16px 14px 56px; font-size:14px; }
  .form-group .form-icon { width:34px; height:34px; left:12px; }
  .form-group .form-icon svg { width:16px; height:16px; }
  .form-group textarea { padding:16px 16px 16px 56px; min-height:120px; }
  .btn-submit { padding:14px 40px; font-size:15px; }
  .footer-col { display:none; }
  .copyright { flex-direction:column; gap:8px; text-align:center; }
}

/* ================= 康城站通用补丁 ================= */
:root{ --kc-gold:#a88b5e; --kc-gold-l:#c9ad7f; --kc-dark:#2f2a20; }
html{ -webkit-text-size-adjust:100%; }
body{ font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB","Source Han Sans CN",sans-serif !important; }

/* 无图兜底：容器显示品牌渐变，图片缺失时隐藏 */
.no-pic,.product-img,.news-img,.article-img,.case-img,.video-img,.job-img,
.about-right,.banner-slide,.page-banner,.business-slide,.cert-item{
  background-color:#efe9dd;
}
.banner-slide{ background:linear-gradient(135deg,#2f2a20 0%,#4a3f2f 45%,#a88b5e 100%); }
.page-banner{ background:linear-gradient(135deg,#2f2a20 0%,#4a3f2f 45%,#a88b5e 100%);
  background-size:cover; background-position:center; }
img{ max-width:100%; }
img[data-empty="1"]{ display:none !important; }
.no-pic{ background:linear-gradient(135deg,#f2ede3 0%,#e4dac6 100%);
  display:flex; align-items:center; justify-content:center; min-height:160px; }
.no-pic::after{ content:""; width:56px; height:56px; opacity:.32;
  background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10 50L30 10H70L90 50L70 90H30L10 50Z' stroke='%23a88b5e' stroke-width='6' fill='none'/%3E%3Cpath d='M35 25L55 50L40 75' stroke='%23a88b5e' stroke-width='6' fill='none'/%3E%3Cpath d='M55 25L40 50L60 75' stroke='%23a88b5e' stroke-width='6' fill='none'/%3E%3C/svg%3E"); }

/* 证书墙：统一高度，不变形 */
.cert-item img{ height:320px; object-fit:contain; background:#fff; padding:10px; }
.cert-item{ background:transparent; }

/* 首页关于我们视觉块 */
.about-visual{ position:relative; width:100%; height:100%; min-height:320px; border-radius:12px;
  background:linear-gradient(135deg,#2f2a20 0%,#5c4f3a 55%,#a88b5e 100%);
  display:flex; flex-direction:column; align-items:center; justify-content:center; color:#fff; overflow:hidden; }
.about-visual svg{ position:absolute; width:78%; height:78%; opacity:.5; }
.about-visual-year{ font-size:64px; font-weight:700; letter-spacing:2px; color:#fff; text-shadow:0 2px 12px rgba(0,0,0,.35); position:relative; z-index:2; }
.about-visual-txt{ margin-top:12px; font-size:15px; line-height:1.9; text-align:center; opacity:.92; position:relative; z-index:2; }

/* 主营业务卡片背景（替代缺失配图） */
.business-slide > .business-bg{ position:absolute; inset:0;
  background:linear-gradient(135deg,#2b2620 0%,#4d4233 48%,#a88b5e 100%); }
.business-slide > .business-bg::after{ content:""; position:absolute; inset:0; opacity:.16;
  background:repeating-linear-gradient(45deg,transparent 0 22px,rgba(255,255,255,.10) 22px 24px); }

/* 查看全部链接 */
.qual-more{ float:right; color:var(--kc-gold,#a88b5e); font-size:15px; margin-top:14px; text-decoration:none; }
.qual-more:hover{ text-decoration:underline; }
.qual-header{ overflow:hidden; }

/* 新闻卡片高度一致 */
.news-card{ min-height:230px; }
.news-card h4{ display:flex; align-items:center; }

/* 按钮当链接用 */
a.card-btn, a.btn-more{ display:inline-block; text-decoration:none; cursor:pointer; }

/* 合作伙伴 logo */
.logo-box{ background:#fff; }
.logo-box img{ max-height:60px; width:auto; }

@media (max-width:768px){
  .cert-item img{ height:220px; }
  .about-visual{ min-height:240px; }
  .about-visual-year{ font-size:46px; }
  .news-card{ min-height:200px; }
}


/* ===== 共用：头部 / 页脚 LOGO 尺寸 =====
   依据设计稿（1920 视图 1x 实测）：
   头部 logo 234x69，页脚 logo 233x68，header 总高 93px
   logo.png 原图 1760x517（宽高比 3.404），锁高度、宽度自适应，比例不变形。
   69px 高 -> 宽约 235px，与设计稿实测 234x69 一致 */
.site-logo { height:69px; width:auto; display:block; }
.footer-logo-img { height:68px; width:auto; display:block; margin-bottom:22px; }
@media (min-width:769px) {
  .header-wrap { padding:12px 20px; }
}
@media (max-width:768px) {
  .header-wrap { padding:10px 16px; }
  .site-logo { height:44px; }
  .footer-logo-img { height:48px; margin-bottom:16px; }
}

/* ================= 联系我们页修正（第5轮） =================
   问题：.map-img 原本是个空 div（没图），左半边整块空白。
   方案：品牌风地图位置卡（路网质感 + 定位标 + 公司名地址 + 跳高德按钮）。
   ⚠️ 实测高德 uri.amap.com 带登录风控，iframe 嵌入会弹「短信登录 + 滑块验证」，
      所以不做实时嵌入；要真地图请自行接入高德/百度「静态地图 API」（需申请 key）。 */
.map-img{ position:relative; min-height:400px; overflow:hidden;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.055) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.055) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(30deg, rgba(255,255,255,.04) 0 1px, transparent 1px 104px),
    repeating-linear-gradient(-30deg, rgba(255,255,255,.03) 0 1px, transparent 1px 152px),
    linear-gradient(135deg,#2f2a20 0%,#4a3f2f 45%,#a88b5e 100%); }
.map-card{ position:absolute; inset:0; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:10px; padding:34px;
  text-align:center; text-decoration:none; color:#fff; }
.map-card .map-pin{ width:46px; height:46px; stroke:#c9ad7f; fill:none; stroke-width:1.6; }
.map-card-name{ font-size:17px; font-weight:500; letter-spacing:.5px; }
.map-card-addr{ font-size:14px; color:rgba(255,255,255,.82); line-height:1.8; }
.map-card-btn{ margin-top:8px; font-size:13px; padding:8px 22px; border-radius:30px;
  border:1px solid rgba(255,255,255,.5); transition:all .3s; }
.map-card:hover .map-card-btn{ background:var(--gold); border-color:var(--gold); color:#fff; }

@media (max-width:768px){
  .map-img{ min-height:300px; }
  .map-card-name{ font-size:15px; }
}

/* ================= 联系我们页修正（第6轮 · 2026-09-16） =================
   需求：公司地址左侧改用后台已上传的地图实景图 template/default/images/mapp.jpg
        （原 .map-card 品牌位置卡不再使用，样式保留以便随时回退）。
   做法：图片绝对定位铺满 .map-img（父容器 min-height:400px，grid 内两列自动等高），
        object-fit:cover 居中裁切、不变形；外层 <a> 仍指向高德，保留「点击看实时路况」。 */
.map-photo{ position:absolute; inset:0; display:block; }
.map-img img{ position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center; display:block; }

/* ================= 招贤纳士（2026-09-23 从原 /list_22/ 页面并入本页） =================
   客户要求：联系方式 / 留言 / 招聘 合并为一个页面，导航与子导航走页内锚点。 */
/* 「招贤纳士」是本页最后一段，锚点跳转要把它顶到 header 下方，
   需要页面底部留出「一屏 − header 高」的滚动余量，否则滚到底也差一截（实测差 30px）。 */
.jobs-section { padding:0 0 160px; background:#fff; }
.jobs-section > .container { max-width:1240px; }
.jobs-title { font-size:36px; color:var(--dark); margin-bottom:30px; font-weight:500; }
.job-list { display:flex; flex-direction:column; gap:16px; }
/* 本页整体是白底，卡片反过来用浅灰，层次更清楚 */
.job-card { background:#f7f7f7; border-radius:10px; overflow:hidden; transition:box-shadow .3s; }
.job-card:hover { box-shadow:0 6px 20px rgba(0,0,0,.06); }
.job-head { display:flex; justify-content:space-between; align-items:center; padding:24px 32px; cursor:pointer; user-select:none; }
.job-head-left { display:flex; align-items:center; gap:16px; }
.job-name { font-size:20px; color:var(--dark); font-weight:500; }
.job-head-right { display:flex; align-items:center; gap:24px; }
.job-meta { font-size:14px; color:#888; }
.job-meta span { margin-left:16px; }
.job-arrow { width:32px; height:32px; border-radius:50%; background:var(--gold); display:flex; align-items:center; justify-content:center; transition:transform .4s; flex-shrink:0; }
.job-arrow svg { width:16px; height:16px; stroke:#fff; fill:none; stroke-width:2.5; transition:transform .4s; }
.job-card.open .job-arrow svg { transform:rotate(180deg); }
.job-body { display:grid; grid-template-rows:0fr; transition:grid-template-rows .4s ease; }
.job-card.open .job-body { grid-template-rows:1fr; }
.job-body-inner { overflow:hidden; }
.job-content { padding:0 32px 28px; }
.job-content p { font-size:14px; color:#555; line-height:2; }
.job-content ol, .job-content ul { padding-left:20px; }
.job-content li { font-size:14px; color:#555; line-height:2; }
.job-apply { margin-top:8px; padding:0 32px 28px; }
.job-apply p { font-size:14px; color:#555; line-height:1.9; }
.job-apply strong { color:var(--gold); }

/* 页内锚点：header 是 sticky 的（高 93px），跳转时留出这段高度 */
#contact-cards, #contact-form, #jobs { scroll-margin-top:93px; }

@media(max-width:768px){
  /* 同理：窄屏也要留出一屏减 header 的滚动余量，招聘段才能顶到 header 下方 */
  .jobs-section { padding:0 0 120px; }
  .jobs-title { font-size:28px; margin-bottom:20px; }
  .job-head { padding:18px 20px; flex-wrap:wrap; gap:10px; }
  .job-name { font-size:17px; }
  .job-head-right { gap:12px; width:100%; justify-content:space-between; }
  .job-meta { font-size:12px; }
  .job-meta span { margin-left:10px; }
  .job-content { padding:0 20px 24px; }
  .job-content p, .job-content li { font-size:13px; }
  .job-apply { padding:0 20px 24px; }
  .job-apply p { font-size:13px; }
  #contact-cards, #contact-form, #jobs { scroll-margin-top:64px; }
}
