* { 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; }
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-text h1 { font-size:24px; color:var(--dark); font-weight:600; }
.logo-text p { font-size:14px; color:var(--gold); letter-spacing:2px; }
nav { position:relative; }
nav > ul { display:flex; list-style:none; gap:36px; position:relative; }
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, nav > ul > li.active > a { color:var(--gold); }
/* 金色跟随条 */
.nav-indicator { position:absolute; bottom:-6px; left:0; height:3px; background:var(--gold); border-radius:2px; transition:all .35s cubic-bezier(.4,0,.2,1); width:0; }
/* 二级下拉 */
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:20px; }
.tel { font-size:18px; font-weight:600; display:flex; align-items:center; gap:6px; color:var(--dark); }
.tel svg { width:20px; height:20px; flex-shrink:0; }
.btn-gold { background:var(--gold); color:#fff; border:none; padding:10px 24px; border-radius:6px; font-size:16px; cursor:pointer; transition:opacity .3s; }
.btn-gold:hover { opacity:.85; }
.mobile-menu { display:none; font-size:24px; cursor:pointer; width:40px; height:40px; align-items:center; justify-content:center; border-radius:6px; }
.mobile-nav { display:none; position:absolute; top:100%; left:0; right:0; background:#fff; box-shadow:0 4px 12px rgba(0,0,0,.1); z-index:98; max-height:calc(100vh - 80px); overflow-y:auto; }
.mobile-nav.open { display:block; }
.mobile-nav > .m-item { border-bottom:1px solid #f0f0f0; }
.mobile-nav > .m-item > a { display:flex; justify-content:space-between; align-items:center; padding:14px 24px; color:#333; text-decoration:none; font-size:16px; }
.mobile-nav > .m-item > a .arrow { transition:transform .3s; font-size:12px; color:#999; }
.mobile-nav > .m-item.open > a .arrow { transform:rotate(180deg); }
.mobile-nav .m-submenu { display:none; background:#fafafa; }
.mobile-nav > .m-item.open .m-submenu { display:block; }
.mobile-nav .m-submenu a { display:block; padding:12px 24px 12px 40px; color:#666; text-decoration:none; font-size:14px; border-top:1px solid #f0f0f0; }

/* ===== Banner 单图 + 子导航 ===== */
.page-banner { position:relative; width:100%; height:460px; overflow:hidden; }
.page-banner > img { width:100%; height:100%; object-fit:cover; display:block; }
.page-banner-overlay { position:absolute; inset:0; background:rgba(0,0,0,.35); }
.page-banner-text { position:absolute; top:38%; left:50%; transform:translate(-50%,-50%); text-align:center; color:#fff; }
.page-banner-text h2 { font-size:48px; font-weight:500; margin-bottom:12px; text-shadow:0 2px 10px rgba(0,0,0,.5); }
.page-banner-text p { font-size:20px; opacity:.9; }
.page-banner-text .breadcrumb { font-size:14px; color:rgba(255,255,255,.8); margin-top:16px; }
.page-banner-text .breadcrumb a { color:rgba(255,255,255,.8); text-decoration:none; transition:color .3s; }
.page-banner-text .breadcrumb a:hover { color:var(--gold-light); }
.page-banner-text .breadcrumb span { margin:0 8px; }
.banner-subnav { position:absolute; bottom:0; left:0; right:0; background:rgba(0,0,0,.45); backdrop-filter:blur(4px); }
.banner-subnav-inner { max-width:1600px; margin:0 auto; padding:0 20px; display:flex; justify-content:center; position:relative; }
.banner-subnav-list { display:flex; list-style:none; position:relative; }
.banner-subnav-list li a { display:block; padding:18px 30px; color:#fff; text-decoration:none; font-size:16px; transition:color .3s; white-space:nowrap; }
.banner-subnav-list li a:hover { color:var(--gold-light); }
.banner-subnav-indicator { position:absolute; bottom:0; left:0; height:5px; background:var(--gold); border-radius:2px; transition:all .35s cubic-bezier(.4,0,.2,1); width:0; }

/* ===== 公司简介 ===== */
.profile { padding:80px 0; background:#fff; border-bottom:2px solid var(--gold); }
.profile-wrap { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.profile-left .tag { color:var(--gold); font-size:18px; margin-bottom:8px; }
.profile-left h3 { font-size:42px; margin-bottom:24px; }
.profile-left p { font-size:14px; color:#444; margin-bottom:14px; line-height:1.7; }
.profile-right { border-radius:12px; overflow:hidden; box-shadow:0 8px 30px rgba(0,0,0,.1); }
.profile-right img { width:100%; display:block; }

/* ===== 企业文化 全屏图文字叠加 ===== */
.culture { padding:80px 0 0; }
.culture-header { max-width:1600px; margin:0 auto 40px; padding:0 20px; display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:20px; }
.culture-title h3 { font-size:42px; margin-bottom:8px; }
.culture-title p { font-size:18px; color:#666; }
.culture-tabs { display:flex; gap:10px; }
.culture-tab { padding:10px 28px; border-radius:30px; border:1px solid #ddd; background:#fff; color:#666; font-size:15px; cursor:pointer; transition:all .3s; }
.culture-tab:hover { border-color:var(--gold); color:var(--gold); }
.culture-tab.active { background:var(--gold); border-color:var(--gold); color:#fff; }
.culture-content { position:relative; width:100%; }
.culture-slide { position:absolute; inset:0; opacity:0; visibility:hidden; transition:opacity .6s ease; }
.culture-slide.active { opacity:1; visibility:visible; position:relative; }
.culture-slide-bg { width:100%; height:560px; background-size:cover; background-position:center; position:relative; }
.culture-slide-bg::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.1) 100%); }
.culture-slide-text { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); max-width:640px; color:#fff; z-index:2; text-align:center; }
.culture-slide-text h4 { font-size:36px; color:var(--gold-light); margin-bottom:20px; }
.culture-slide-text p { font-size:16px; color:#eee; margin-bottom:14px; line-height:1.8; }

/* ===== 发展历程 滚动展开闭合 ===== */
.timeline { padding:80px 0; background:#fff; color:#333; }
.timeline .section-title { text-align:center; font-size:42px; margin-bottom:40px; color:#222; }
.timeline-list { max-width:1100px; margin:0 auto; }
.timeline-item { margin-bottom:2px; }
.timeline-header { display:flex; align-items:center; gap:16px; padding:16px 24px; background:#f2f2f2; border-radius:10px; cursor:pointer; transition:background .3s; }
.timeline-item.active .timeline-header { background:rgba(168,139,94,.12); }
.timeline-label { font-size:17px; color:#333; flex:1; font-weight:500; }
.timeline-year { font-size:19px; font-weight:bold; color:var(--gold); }
.timeline-toggle { width:30px; height:30px; border-radius:50%; border:1px solid #ccc; display:flex; align-items:center; justify-content:center; font-size:17px; color:#666; transition:transform .5s; flex-shrink:0; background:#fff; }
.timeline-item.active .timeline-toggle { transform:rotate(45deg); background:var(--gold); border-color:var(--gold); color:#fff; }
.timeline-body { display:grid; grid-template-rows:0fr; transition:grid-template-rows .6s ease, opacity .4s ease; opacity:0; }
.timeline-item.active .timeline-body { grid-template-rows:1fr; opacity:1; }
.timeline-body-inner { overflow:hidden; min-height:0; display:grid; grid-template-columns:1fr 1fr; gap:28px; padding:18px 24px; align-items:center; }
.timeline-body-img { border-radius:12px; overflow:hidden; }
.timeline-body-img img { width:100%; height:320px; object-fit:cover; display:block; }
.timeline-body-text h5 { font-size:24px; color:var(--gold); margin-bottom:16px; }
.timeline-body-text p { font-size:15px; color:#555; margin-bottom:12px; line-height:1.8; }

/* ===== 资质证书 复用首页 ===== */
.qualification { background:#1a1a1a; color:#fff; padding:80px 0; }
.qual-header { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:30px; }
.qual-title { font-size:42px; }
.tab-group { display:flex; gap:12px; }
.tab { padding:8px 24px; border-radius:30px; border:1px solid #777; cursor:pointer; transition:all .3s; background:transparent; color:#fff; font-size:15px; }
.tab.active { background:var(--gold); border-color:var(--gold); }
.cert-wrapper { position:relative; }
.cert-carousel { overflow:hidden; margin:0 64px; }
.cert-track { display:flex; gap:20px; transition:transform .5s ease; cursor:grab; will-change:transform; user-select:none; -webkit-user-select:none; }
.cert-track.dragging { transition:none; cursor:grabbing; }
.cert-item { flex:0 0 calc((100% - 80px) / 5); cursor:zoom-in; }
.cert-item img { width:100%; border-radius:4px; display:block; transition:transform .3s; }
.cert-item:hover img { transform:scale(1.03); }
.cert-nav { position:absolute; top:50%; transform:translateY(-50%); width:48px; height:48px; background:rgba(255,255,255,.15); border:none; color:#fff; font-size:20px; cursor:pointer; z-index:10; border-radius:50%; display:flex; align-items:center; justify-content:center; transition:background .3s; }
.cert-nav:hover { background:rgba(255,255,255,.3); }
.cert-nav.prev { left:0; }
.cert-nav.next { right:0; }

/* Lightbox */
.lightbox { display:none; position:fixed; inset:0; background:rgba(0,0,0,.85); z-index:9999; align-items:center; justify-content:center; padding:40px; }
.lightbox.show { display:flex; }
.lightbox img { max-width:85%; max-height:85vh; border-radius:8px; box-shadow:0 10px 60px rgba(0,0,0,.5); object-fit:contain; }
.lightbox-close { position:absolute; top:30px; right:40px; width:50px; height:50px; border-radius:50%; background:rgba(255,255,255,.15); border:none; color:#fff; font-size:28px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .3s; z-index:2; }
.lightbox-close:hover { background:rgba(255,255,255,.3); }
.lightbox-nav { position:absolute; top:50%; transform:translateY(-50%); width:56px; height:56px; border-radius:50%; background:rgba(255,255,255,.15); border:none; color:#fff; font-size:24px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .3s; z-index:2; }
.lightbox-nav:hover { background:rgba(255,255,255,.3); }
.lightbox-nav.prev { left:40px; }
.lightbox-nav.next { right:40px; }
.lightbox-counter { position:absolute; bottom:30px; left:50%; transform:translateX(-50%); color:#fff; font-size:16px; opacity:.8; }

/* ===== 合作伙伴 ===== */
.partner { padding:80px 0; background:#f5f5f5; }
.partner h3 { text-align:center; font-size:42px; margin-bottom:40px; }
.partner-logo-wrap { display:grid; grid-template-columns:repeat(6,1fr); gap:24px; }
.logo-box { background:#fff; display:flex; align-items:center; justify-content:center; padding:30px; border-radius:8px; overflow:hidden; transition:box-shadow .3s; }
.logo-box:hover { box-shadow:0 4px 16px rgba(0,0,0,.08); }
.logo-box img { max-width:80%; max-height:60px; object-fit:contain; transition:transform .4s ease; }
.logo-box:hover img { transform:scale(1.15); }

/* ===== 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:24px; margin:8px 0 16px; }
.footer-logo p { margin:8px 0; font-size:14px; }
.footer-col h4 { color:#fff; font-size:20px; 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){
  .profile-wrap { grid-template-columns:1fr; }
  .culture-slide-bg { height:480px; }
  .culture-slide-text { max-width:520px; }
  .culture-slide-text h4 { font-size:28px; }
  .timeline-body-inner { grid-template-columns:1fr; }
  .partner-logo-wrap { grid-template-columns:repeat(3,1fr); }
  .footer-wrap { grid-template-columns:repeat(3,1fr); }
  .cert-item { flex:0 0 calc((100% - 60px) / 4); }
}
@media(max-width:768px){
  nav { display:none; }
  .mobile-menu { display:flex; }
  .header-right .tel { display:none; }
  .page-banner { height:320px; }
  .page-banner-text h2 { font-size:32px; }
  .page-banner-text p { font-size:16px; }
  .banner-subnav-inner { overflow-x:auto; justify-content:flex-start; }
  .banner-subnav-list { flex-shrink:0; }
  .banner-subnav-list li a { padding:14px 18px; font-size:14px; }
  .profile-left h3, .culture-title h3, .timeline .section-title, .qual-title, .partner h3 { font-size:30px; }
  .culture-tabs { width:100%; overflow-x:auto; }
  .culture-tab { flex-shrink:0; padding:8px 20px; font-size:14px; }
  .culture-slide-bg { height:420px; }
  .culture-slide-text { left:50%; right:auto; transform:translate(-50%,-50%); max-width:88%; padding:0 10px; }
  .culture-slide-text h4 { font-size:24px; margin-bottom:12px; }
  .culture-slide-text p { font-size:14px; margin-bottom:10px; }
  .timeline-label { font-size:14px; }
  .timeline-year { font-size:15px; }
  .timeline-header { padding:12px 16px; gap:10px; }
  .timeline-body-inner { padding:20px; gap:20px; }
  .timeline-body-img img { height:220px; }
  .cert-carousel { margin:0 52px; }
  .cert-track { gap:16px; }
  .cert-item { flex:0 0 calc((100% - 16px) / 2); }
  .cert-nav { width:40px; height:40px; font-size:16px; }
  .partner-logo-wrap { grid-template-columns:repeat(2,1fr); gap:16px; }
  .logo-box { padding:20px; }
  .footer-col { display:none; }
  .footer-wrap { grid-template-columns:1fr; }
  .copyright { flex-direction:column; gap:8px; }
  .lightbox-nav { width:44px; height:44px; font-size:18px; }
  .lightbox-nav.prev { left:12px; }
  .lightbox-nav.next { right:12px; }
  .lightbox-close { top:20px; right:20px; width:44px; height:44px; }
}

/* ================= 康城站通用补丁 ================= */
: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; }
}
