/* 天津中泰继保工程技术有限公司 —— 多页官网共享样式（参考企业站通用结构） */
:root {
  --bg: #f5f8fb;
  --bg2: #ffffff;
  --ink: #0e2a47;
  --muted: #5d6b7d;
  --rule: #e3e9f2;
  --accent: #0a4b93;
  --accent2: #1b7fd4;
  --accent-deep: #073a73;
  --brand-grad: linear-gradient(135deg, #0a4b93 0%, #1b7fd4 100%);
  --shadow: 0 16px 40px -24px rgba(10, 75, 147, .45);
  --font-head: 'BigShoulders', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  --font-body: 'InstrumentSans', 'Microsoft YaHei', 'PingFang SC', sans-serif;
}
@font-face { font-family: 'BigShoulders'; src: url('./_shared/fonts/BigShoulders-Bold.ttf') format('truetype'); font-weight: 700; }
@font-face { font-family: 'BigShoulders'; src: url('./_shared/fonts/BigShoulders-Regular.ttf') format('truetype'); font-weight: 400; }
@font-face { font-family: 'InstrumentSans'; src: url('./_shared/fonts/InstrumentSans-Regular.ttf') format('truetype'); font-weight: 400; }
@font-face { font-family: 'InstrumentSans'; src: url('./_shared/fonts/InstrumentSans-Bold.ttf') format('truetype'); font-weight: 700; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.75; color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }

/* ---------- 顶部导航 ---------- */
.topnav { position: sticky; top: 0; z-index: 60; background: var(--accent-deep); color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.topnav .inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.brand .logo { width: 34px; height: 34px; border-radius: 8px; background: #fff; color: var(--accent); display: grid; place-items: center; font-size: 18px; }
.nav-links { display: flex; gap: 30px; font-size: 15px; }
.nav-links a { color: rgba(255,255,255,.86); padding: 6px 2px; }
.nav-links a:hover, .nav-links a.active { color: #fff; border-bottom: 2px solid #ffd24a; }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* ---------- 页首大图 ---------- */
.pagetitle { position: relative; color: #fff; padding: 70px 0; background: linear-gradient(120deg,#073a73,#1b7fd4); overflow: hidden; }
.pagetitle::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.1); top: -120px; right: 6%; }
.pagetitle h1 { font-family: var(--font-head); font-size: clamp(30px,4vw,44px); font-weight: 700; }
.pagetitle .crumb { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.75); }
.crumblink { color: #ffd24a; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: 110px 0 130px; overflow: hidden; background: linear-gradient(120deg,#073a73 0%, #0a4b93 55%, #1b7fd4 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 82% 18%, rgba(255,210,74,.22), transparent 42%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; z-index: 1; }
.hero-kicker { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 13px; font-weight: 700; letter-spacing: .5px; }
.hero h1 { font-family: var(--font-head); font-size: clamp(40px,5.6vw,60px); line-height: 1.1; font-weight: 700; margin: 20px 0 18px; }
.hero h1 em { font-style: normal; color: #ffd24a; }
.hero p { font-size: 17px; color: rgba(255,255,255,.88); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 15px; }
.btn-gold { background: #ffd24a; color: #073a73; }
.btn-ghost-w { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.hero-visual img { border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.2); }

/* ---------- Hero 全宽宣传图 ---------- */
.hero-banner { position: relative; width: 100%; height: clamp(520px, 78vh, 760px); overflow: hidden; color: #fff; }
.hero-banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-banner-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,58,115,.82) 0%, rgba(10,75,147,.45) 45%, rgba(10,75,147,.12) 100%); }
.hero-banner-content { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 4vw; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero-banner-content .hero-kicker { align-self: flex-start; }
.hero-banner-content h1 { font-family: var(--font-head); font-size: clamp(40px,5.6vw,60px); line-height: 1.12; font-weight: 700; margin: 22px 0 18px; }
.hero-banner-content h1 em { font-style: normal; color: #ffd24a; }
.hero-banner-content p { font-size: 17px; color: rgba(255,255,255,.9); max-width: 560px; }
.hero-banner-content .hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* ---------- 公司简介 ---------- */
.about-band { background: var(--bg2); }
.about-grid { display: grid; grid-template-columns: 1fr; align-items: center; padding: 88px 0; }
.about-text h2 { font-family: var(--font-head); font-size: clamp(26px,3.4vw,36px); font-weight: 700; margin-bottom: 18px; }
.about-text h2 small { display: block; color: var(--accent2); font-size: 13px; letter-spacing: 1.5px; margin-bottom: 6px; }
.about-text p { color: var(--muted); margin-bottom: 14px; }
.about-text .totong { display: inline-flex; align-items: center; gap: 6px; color: var(--accent2); font-weight: 700; }
.slice3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 40px 0 0; }
.slice3 .item { text-align: center; padding: 26px 10px; border: 1px solid var(--rule); border-radius: 16px; background: var(--bg); }
.slice3 .item b { display: block; font-family: var(--font-head); font-size: 42px; font-weight: 700; color: var(--accent); }
.slice3 .item span { color: var(--muted); font-size: 14px; }

/* ---------- 分区标题 ---------- */
.section { padding: 88px 0; }
.section.hl { background: var(--bg2); }
.section-title { text-align: center; margin-bottom: 54px; }
.section-title .en { color: var(--accent2); font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; }
.section-title h2 { font-family: var(--font-head); font-size: clamp(28px,3.6vw,38px); font-weight: 700; margin-top: 6px; }
.section-title p { color: var(--muted); margin-top: 12px; margin: 12px auto 0; max-width: 620px; }

/* ---------- 解决方案/产品卡片网格 ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sol-card { background: var(--bg2); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.sol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.sol-cover { height: 150px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-size: 30px; font-weight: 700; position: relative; }
.sol-cover::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: rgba(255,255,255,.25); }
.cover-1 { background-image: linear-gradient(rgba(7,42,74,.35),rgba(7,42,74,.65)), url(sol-substation.jpg); background-size: cover; background-position: center; }
.cover-2 { background-image: linear-gradient(rgba(7,42,74,.35),rgba(7,42,74,.65)), url(sol-pv.jpg); background-size: cover; background-position: center; }
.cover-3 { background-image: linear-gradient(rgba(7,42,74,.35),rgba(7,42,74,.65)), url(sol-distribution.jpg); background-size: cover; background-position: center; }
.cover-4 { background-image: linear-gradient(rgba(7,42,74,.35),rgba(7,42,74,.65)), url(sol-storage.jpg); background-size: cover; background-position: center; }
.cov-other { background-image: linear-gradient(rgba(7,42,74,.45),rgba(7,42,74,.7)), url(sol-energy.jpg); background-size: cover; background-position: center; }
.cov-aux { background-image: linear-gradient(rgba(7,42,74,.45),rgba(7,42,74,.7)), url(sol-aux.jpg); background-size: cover; background-position: center; }
.cov-sec { background-image: linear-gradient(rgba(7,42,74,.45),rgba(7,42,74,.7)), url(sol-security.jpg); background-size: cover; background-position: center; }
.cov-svc { background-image: linear-gradient(rgba(7,42,74,.45),rgba(7,42,74,.7)), url(sol-service.jpg); background-size: cover; background-position: center; }
.cov-sg { background-image: linear-gradient(rgba(7,42,74,.45),rgba(7,42,74,.7)), url(sol-switchgear.jpg); background-size: cover; background-position: center; }
.sol-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.sol-body h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.sol-body p { color: var(--muted); font-size: 14px; flex: 1; }
.sol-body .more { margin-top: 14px; color: var(--accent2); font-weight: 700; font-size: 14px; }
.sol-body .more:hover { color: var(--accent-deep); }

/* ---------- 公司动态列表 ---------- */
.news-list { max-width: 980px; margin: 0 auto; }
.news-row { display: flex; align-items: center; gap: 24px; padding: 22px 8px; border-bottom: 1px solid var(--rule); }
.news-row:last-child { border-bottom: 0; }
.news-row time { flex: 0 0 118px; font-family: var(--font-head); font-weight: 700; color: var(--accent2); font-size: 16px; }
.news-row .n-text { flex: 1; }
.news-row h3 { font-size: 17px; font-weight: 700; }
.news-row h3 a:hover { color: var(--accent2); }
.news-row p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.news-row .arrow { color: var(--accent2); font-size: 20px; }

/* ---------- 合作伙伴 logo 墙 ---------- */
.partner-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.partner { height: 74px; background: var(--bg2); border: 1px solid var(--rule); border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #9fb0c6; letter-spacing: .5px; font-size: 15px; transition: .2s; }
.partner:hover { color: var(--accent2); border-color: var(--accent2); }

/* ---------- 关于：时间轴 ---------- */
.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: var(--rule); }
.tl-item { position: relative; padding: 0 0 34px 26px; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg2); border: 4px solid var(--accent2); }
.tl-item .yr { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: 20px; }
.tl-item h3 { font-size: 17px; margin: 6px 0 4px; }
.tl-item p { color: var(--muted); font-size: 14px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.contact-item .ic { flex: 0 0 44px; height: 44px; border-radius: 11px; background: var(--brand-grad); color: #fff; display: grid; place-items: center; font-size: 20px; }
.contact-item b { display: block; font-size: 15px; }
.contact-item span { color: var(--muted); font-size: 14px; }
.form-card { background: var(--bg2); border: 1px solid var(--rule); border-radius: 16px; padding: 30px; }
.form-card h3 { font-family: var(--font-head); font-size: 22px; margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 10px; font-family: inherit; font-size: 14px; background: #fbfcfe; }
.field textarea { min-height: 110px; resize: vertical; }

/* ---------- 解决方案详情页 ---------- */
.detail-hero { position: relative; color:#fff; overflow:hidden; background:#073a73; }
.detail-hero .dh-bg { position:absolute; inset:0; background-size:cover; background-position:center; }
.detail-hero .dh-mask { position:absolute; inset:0; background:linear-gradient(90deg,rgba(7,42,74,.9),rgba(7,42,74,.5) 55%,rgba(7,42,74,.18)); }
.detail-hero .inner { position:relative; z-index:1; padding:84px 0 70px; }
.detail-hero .dh-kick { display:inline-flex; padding:6px 14px; border-radius:999px; background:rgba(255,255,255,.15); font-size:13px; font-weight:700; letter-spacing:.5px; }
.detail-hero h1 { font-family:var(--font-head); font-size:clamp(32px,4.6vw,48px); font-weight:700; margin:16px 0 14px; line-height:1.15; }
.detail-hero p { font-size:16px; color:rgba(255,255,255,.9); max-width:660px; }
.detail-hero .dh-actions { display:flex; gap:14px; margin-top:26px; flex-wrap:wrap; }

.detail-intro { background:var(--bg2); }
.detail-intro .grid { display:grid; grid-template-columns:1.35fr .65fr; gap:44px; align-items:start; padding:78px 0; }
.detail-intro h2, .detail-block h2 { font-family:var(--font-head); font-size:clamp(24px,3vw,30px); font-weight:700; margin-bottom:18px; position:relative; padding-bottom:12px; }
.detail-intro h2::after, .detail-block h2::after { content:""; position:absolute; left:0; bottom:0; width:64px; height:4px; border-radius:2px; background:var(--brand-grad); }
.detail-intro p { color:var(--muted); margin-bottom:14px; }
.detail-facts { background:var(--bg); border:1px solid var(--rule); border-radius:16px; padding:24px; }
.detail-facts h3 { font-family:var(--font-head); font-size:18px; margin-bottom:16px; }
.detail-facts ul { list-style:none; }
.detail-facts li { display:flex; gap:12px; align-items:flex-start; padding:11px 0; border-bottom:1px solid var(--rule); font-size:14px; color:var(--muted); }
.detail-facts li:last-child { border-bottom:0; }
.detail-facts li b { color:var(--ink); min-width:76px; font-weight:700; }

.detail-block { background:var(--bg); }
.detail-block.hl { background:var(--bg2); }
.detail-block .inner { max-width:1180px; }
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.feature-card { background:var(--bg2); border:1px solid var(--rule); border-radius:14px; padding:24px; transition:.22s; }
.feature-card:hover { box-shadow:var(--shadow); transform:translateY(-4px); }
.feature-card .fc-ic { width:44px; height:44px; border-radius:11px; background:var(--brand-grad); color:#fff; display:grid; place-items:center; font-size:20px; margin-bottom:14px; }
.feature-card h4 { font-family:var(--font-head); font-size:17px; margin-bottom:8px; }
.feature-card p { color:var(--muted); font-size:13.5px; }

.scene-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.scene-tag { background:var(--bg2); border:1px solid var(--rule); border-radius:12px; padding:18px 12px; text-align:center; font-weight:700; font-size:14px; color:var(--ink); }
.scene-tag:hover { border-color:var(--accent2); color:var(--accent2); box-shadow:var(--shadow); }

.device-table { width:100%; border-collapse:collapse; background:var(--bg2); border:1px solid var(--rule); border-radius:12px; overflow:hidden; }
.device-table th { background:var(--accent-deep); color:#fff; text-align:left; padding:13px 16px; font-family:var(--font-head); font-size:15px; }
.device-table td { padding:13px 16px; border-bottom:1px solid var(--rule); font-size:14px; color:var(--muted); vertical-align:top; }
.device-table td:first-child { color:var(--ink); font-weight:700; }
.device-table tr:nth-child(even) td { background:#f7fafd; }

/* ---------- 页脚 ---------- */
footer.site-foot { background: #0a1f33; color: rgba(255,255,255,.75); padding: 56px 0 26px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-brand { color: #fff; }
.foot-brand .logo { background: #fff; color: var(--accent); }
.foot-cols p { font-size: 14px; margin-top: 14px; max-width: 280px; }
.foot-col h4 { color: #fff; font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.foot-col a { display: block; color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 9px; }
.foot-col a:hover { color: #ffd24a; }
.foot-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- 响应式 ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .sol-grid, .partner-wall { grid-template-columns: repeat(2, 1fr); }
  .slice3 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 84px; left: 0; right: 0; background: var(--accent-deep); flex-direction: column; gap: 0; padding: 6px 6vw; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .burger { display: block; }
}
@media (max-width: 560px) { .wrap { width: 90vw; } .sol-grid { grid-template-columns: 1fr; } }
/* brand logo image (transparent white on dark header) */
.brand .brand-img{display:block;height:80px;width:auto;}
