/* =========================================================
   浙江瓯信律师事务所 官网样式
   配色：深海军蓝 + 暖金 ｜ 衬线标题 + 无衬线正文
   ========================================================= */

:root {
  --navy: #0e2a47;
  --navy-2: #14365c;
  --navy-3: #1d4673;
  --gold: #c2a15a;
  --gold-soft: #d8c08a;
  --gold-deep: #a8842f;
  --ink: #1f2a36;
  --muted: #5d6b7a;
  --line: #e4e1d8;
  --bg: #f7f5f0;
  --bg-alt: #eef1f5;
  --white: #ffffff;
  --header-h: 86px;
  --shadow: 0 18px 40px rgba(14, 42, 71, 0.10);
  --shadow-lg: 0 30px 70px rgba(14, 42, 71, 0.18);
  --radius: 14px;
  --maxw: 1160px;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* 分享缩略图占位：保持渲染但移出可视区，供微信 / QQ 抓取链接缩略图，不占布局、不影响阅读 */
.share-thumb {
  position: absolute; top: 0; left: -9999px;
  width: 300px; height: 300px;
  max-width: none; pointer-events: none;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===================== 顶部导航 ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);            /* 高度精确含 border，避免整屏算高出现 1px 偏差 */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 46px; width: auto; flex: 0 0 auto; }
.site-header .brand-mark { height: 64px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 20px; color: var(--navy); letter-spacing: 1.5px; font-weight: 700; }
.brand-text em { font-style: normal; font-size: 10px; letter-spacing: 2.4px; color: var(--gold-deep); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a, .nav-item > .nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  font-size: 18px; color: var(--ink); padding: 9px 12px; border-radius: 10px;
  letter-spacing: .6px; transition: color .2s ease, background .2s ease;
}
.nav > a::after, .nav-item > .nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav > a:hover, .nav-item > .nav-link:hover { color: var(--navy); }
.nav > a:hover::after,
.nav-item:hover > .nav-link::after,
.nav-item:focus-within > .nav-link::after { transform: scaleX(1); }
.nav-cta {
  background: var(--navy); color: var(--white) !important;
  padding: 10px 20px !important; border-radius: 999px; font-weight: 600;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--navy-3); }

/* 下拉菜单 */
.nav-item { position: relative; }
.nav-item > .nav-link { background: none; border: 0; cursor: pointer; font-family: inherit; text-align: left; -webkit-appearance: none; appearance: none; }
.nav-caret { width: 12px; height: 12px; fill: currentColor; opacity: .55; margin-top: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); opacity: 1; }
.dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 10px);
  min-width: 196px; padding: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 44px rgba(9,26,45,.14);
  opacity: 0; visibility: hidden; pointer-events: none; z-index: 60;
  transition: opacity .22s ease, transform .24s ease, visibility .22s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dropdown-wide { min-width: 236px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 6px);
}
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 9px;
  font-size: 15px; color: var(--ink); white-space: nowrap; letter-spacing: .3px;
  transition: background .2s ease, color .2s ease, padding-left .2s ease;
}
.dropdown a::after { display: none; }
.dropdown a:hover, .dropdown a:focus-visible { background: rgba(198,161,91,.14); color: var(--navy); padding-left: 18px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: .3s; }

/* ===================== 首屏 Hero ===================== */
.hero { position: relative; color: var(--white); overflow: hidden; min-height: 88vh; display: flex; align-items: center; }
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("../images/hero-comic.webp");
  background-size: cover; background-position: center 42%;
  transform: scale(1.03);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 38%, rgba(9,26,45,.50) 0%, rgba(9,26,45,.40) 46%, rgba(9,26,45,.66) 100%),
    linear-gradient(180deg, rgba(9,26,45,.58) 0%, rgba(9,26,45,.20) 34%, rgba(9,26,45,.74) 100%),
    radial-gradient(900px 520px at 84% 12%, rgba(194,161,90,.16), transparent 62%);
}
.hero-inner { position: relative; padding: 110px 24px; text-align: center; width: 100%; }
.eyebrow { letter-spacing: 6px; color: var(--gold-soft); font-size: 13px; margin: 0 0 14px; }
.hero-title { font-family: var(--serif); font-size: clamp(34px, 6vw, 62px); margin: 0; font-weight: 700; letter-spacing: 2px; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.hero-slogan { font-family: var(--serif); font-size: clamp(18px, 3vw, 27px); color: var(--gold-soft); margin: 18px 0 10px; letter-spacing: 5px; }
.hero-sub { color: rgba(255,255,255,.86); font-size: 16px; margin: 0 auto; max-width: 660px; }
.hero-actions { margin: 34px 0 50px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-block; padding: 13px 32px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: .25s; }
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 12px 28px rgba(194,161,90,.35); }
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }

.hero-stats { list-style: none; display: flex; justify-content: center; gap: 54px; padding: 0; margin: 0; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--serif); font-size: 28px; color: var(--gold-soft); }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.72); }

.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: var(--gold-soft); font-size: 28px; animation: bob 1.8s infinite; z-index: 2; }
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* ===================== 通用区块 ===================== */
.section { padding: 96px 0; position: relative; }
section[id], .card[id] { scroll-margin-top: 96px; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.section-kicker { font-size: 12px; letter-spacing: 4px; color: var(--gold); font-weight: 700; }
.section-title { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); color: var(--navy); margin: 10px 0 12px; position: relative; display: inline-block; }
.section-title::after { content: ""; display: block; width: 54px; height: 3px; background: var(--gold); margin: 14px auto 0; }
.section-lead { color: var(--muted); font-size: 16px; margin: 8px 0 0; }

/* ===================== 关于瓯信 ===================== */
.section-about::before {
  content: ""; position: absolute; top: 40px; right: -40px; width: 360px; height: 360px;
  background: url("../images/villa-line-1.jpg") no-repeat center / contain;
  opacity: .05; pointer-events: none;
}
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 52px; align-items: start; position: relative; z-index: 1; }
.about-main p { font-size: 16.5px; margin: 0 0 20px; color: #2c3845; }
.about-aside { display: flex; flex-direction: column; gap: 22px; }

.about-media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.about-media img { width: 100%; height: 320px; object-fit: cover; }
.about-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 5px rgba(255,255,255,.12); border-radius: var(--radius); pointer-events: none; }
.about-seal {
  position: absolute; right: 16px; bottom: 16px; width: 84px; height: 84px; border-radius: 50%;
  background: #fff; padding: 8px; box-shadow: 0 10px 24px rgba(14,42,71,.25); border: 2px solid var(--gold-soft);
}
.about-seal img { width: 100%; height: 100%; object-fit: contain; }

.focus-card { background: linear-gradient(160deg, var(--navy), var(--navy-3)); color: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.focus-tag { display: inline-block; font-size: 12px; letter-spacing: 2px; color: var(--gold-soft); border: 1px solid rgba(216,192,138,.5); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.focus-card h3 { font-family: var(--serif); font-size: 23px; margin: 0 0 12px; line-height: 1.5; }
.focus-card p { color: rgba(255,255,255,.78); margin: 0; font-size: 15px; }

.value-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.value-list li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 14px 18px; font-size: 15px; color: #2c3845; }
.value-list span { display: inline-block; min-width: 42px; font-weight: 700; color: var(--navy); margin-right: 8px; }

/* ===================== 业务领域 ===================== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: .28s; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card:hover::before { transform: scaleX(1); }
.card-no { font-family: var(--serif); font-size: 30px; color: var(--gold-soft); opacity: .6; font-weight: 700; }
.card h3 { font-family: var(--serif); font-size: 19px; color: var(--navy); margin: 6px 0 10px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ===================== 专业团队 ===================== */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 36px 20px; }
.member { text-align: center; margin: 0; }
.avatar {
  width: 152px; height: 152px; margin: 0 auto 16px;
  border-radius: 50%; overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--navy), var(--navy-3));
  border: 3px solid #fff; outline: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease, outline-color .35s ease;
}
.avatar img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transform: scale(1.02); transition: transform .6s cubic-bezier(.2,.7,.3,1), filter .45s ease;
}
.member:hover .avatar { transform: translateY(-6px); box-shadow: var(--shadow-lg); outline-color: var(--gold); }
.member:hover .avatar img { transform: scale(1.07); }
.member figcaption { font-size: 16px; font-weight: 600; color: var(--navy); display: flex; flex-direction: column; gap: 2px; letter-spacing: .5px; }
.member figcaption small { font-weight: 400; font-size: 12px; color: var(--gold-deep); }

/* 带「个人网站」入口的成员卡：整卡可点 */
.member-linked { position: relative; cursor: pointer; }
.member-link { position: absolute; inset: 0; z-index: 3; border-radius: 14px; }
.member-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 8px; }
.member-site {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 10px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; letter-spacing: .5px; color: var(--gold-deep);
  background: rgba(198,161,91,.10); border: 1px solid rgba(198,161,91,.34);
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.member-site svg { width: 12px; height: 12px; fill: currentColor; flex: 0 0 auto; }
.member-linked:hover .member-site { background: var(--gold-deep); color: #fff; border-color: var(--gold-deep); }
.member-linked:hover .member-site svg { transform: translate(1px,-1px); }

/* 个人网站尚未上线：独立占位标记，不跳转（置于头像跳转层之上，点击不进简介页） */
.member-site--pending {
  position: relative; z-index: 4; cursor: default;
  color: #97a3b0; background: rgba(70,84,99,.06);
  border: 1px dashed rgba(70,84,99,.38);
}
.member-linked:hover .member-site--pending {
  background: rgba(70,84,99,.06); color: #97a3b0; border-color: rgba(70,84,99,.38);
}
.member-linked:hover .member-site--pending svg { transform: none; }

/* ===================== 党建工作 ===================== */
.party-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; }
.party-intro h3 { font-family: var(--serif); color: var(--navy); font-size: 24px; margin: 0 0 16px; }
.party-intro p { color: #2c3845; font-size: 16px; margin: 0 0 16px; }
.party-members { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.party-members::before {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 160px; height: 160px;
  background: url("../images/villa-line-2.jpg") no-repeat center / contain; opacity: .06; pointer-events: none;
}
.party-label { display: inline-block; font-size: 12px; letter-spacing: 2px; color: var(--gold); font-weight: 700; margin-bottom: 18px; position: relative; z-index: 1; }

.party-lead {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 18px;
  padding: 18px; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(11,32,58,.055), rgba(198,161,91,.09));
  border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 12px;
}
.party-lead-photo {
  flex: 0 0 auto; width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
  border: 2px solid #fff; outline: 1px solid var(--gold-soft); box-shadow: var(--shadow);
}
.party-lead-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.party-lead-text strong { display: block; font-family: var(--serif); font-size: 21px; color: var(--navy); letter-spacing: 1px; }
.party-lead-text em { display: inline-block; font-style: normal; font-size: 12px; color: #fff; background: var(--gold-deep); padding: 3px 10px; border-radius: 999px; margin: 6px 0 8px; letter-spacing: 1px; }
.party-lead-text p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.75; }

.party-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; position: relative; z-index: 1; }
.party-list li { display: block; text-align: center; padding: 0; border-bottom: 0; font-size: 14px; }
.party-list li:last-child { border-bottom: 0; }
.party-list .avatar { width: 74px; height: 74px; margin: 0 auto 9px; border-width: 2px; }
.party-list span { color: var(--navy); font-weight: 600; letter-spacing: .5px; }
/* 党员卡底部说明条 */
.party-footnote {
  position: relative; z-index: 1;
  margin: 20px 0 0; padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px; line-height: 1.8; color: var(--muted);
}

/* ---- 党建做法四卡横条 + 引语 ---- */
.party-doings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.party-doing {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 16px;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.party-doing:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(14,42,71,.09); }
.party-doing-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: 10px;
  background: rgba(198,161,91,.14); color: var(--gold-deep);
}
.party-doing-ico svg {
  width: 19px; height: 19px; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.party-doing strong { display: block; font-family: var(--serif); font-size: 16px; color: var(--navy); margin-bottom: 6px; letter-spacing: 1px; }
.party-doing p { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--muted); }

.party-quote {
  position: relative; margin: 30px 0 0; padding: 22px 26px 20px 34px;
  border-left: 3px solid var(--gold); border-radius: 0 14px 14px 0;
  background: linear-gradient(120deg, rgba(198,161,91,.10), rgba(198,161,91,.02));
}
.party-quote::before {
  content: "\201C"; position: absolute; left: 9px; top: 0;
  font-family: var(--serif); font-size: 44px; line-height: 1.1; color: var(--gold); opacity: .5;
}
.party-quote p { margin: 0 0 8px; font-family: var(--serif); font-size: 16.5px; line-height: 1.8; color: var(--navy); }
.party-quote cite { display: block; font-style: normal; font-size: 12px; letter-spacing: 1px; color: var(--muted); }

/* ===================== 收费标准 ===================== */
.fees-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
.fee-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.fee-col-title { font-family: var(--serif); color: var(--navy); font-size: 20px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--gold-soft); }
.fee-list { list-style: none; padding: 0; margin: 0; }
.fee-list li { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.fee-list li:last-child { border-bottom: 0; }
.fee-name { font-weight: 700; color: var(--navy); font-size: 16px; }
.fee-desc { color: var(--muted); font-size: 14px; margin: 4px 0 6px; }
.fee-price { color: var(--gold-deep); font-weight: 700; font-size: 15px; }

.fee-table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 14px; }
.fee-table th, .fee-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.fee-table thead th { background: var(--navy); color: #fff; font-weight: 600; }
.fee-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.fee-table td:last-child { color: var(--gold-deep); font-weight: 700; text-align: right; }
.fee-col.full { grid-column: 1 / -1; }
.fee-col.full .fee-table td:first-child { font-weight: 600; color: var(--navy); }

.fee-notes { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.fee-notes h4 { font-family: var(--serif); color: var(--navy); margin: 0 0 14px; letter-spacing: 4px; }
.fee-notes ul { margin: 0; padding-left: 20px; color: #2c3845; font-size: 14.5px; }
.fee-notes li { margin-bottom: 8px; }

/* ===================== 联系我们 ===================== */
.section-contact::before {
  content: ""; position: absolute; left: -40px; bottom: 30px; width: 320px; height: 320px;
  background: url("../images/villa-line-2.jpg") no-repeat center / contain; opacity: .05; pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; position: relative; z-index: 1; }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: center; }
.info-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.info-label { display: block; font-size: 12px; letter-spacing: 2px; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.info-item p { margin: 0; font-size: 16px; color: var(--ink); }
.info-item a { color: var(--navy); font-weight: 600; }
/* 邮箱等长串不撑破卡片 */
.info-item a[href^="mailto:"] { overflow-wrap: anywhere; word-break: break-word; }
/* 单列铺满一行（数量为奇数时用，避免末尾空半格） */
.info-item--wide { grid-column: 1 / -1; }

.contact-qr { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.contact-qr img { width: 96px; height: 96px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); }
.contact-qr-text strong { display: block; color: var(--navy); font-size: 17px; font-family: var(--serif); }
.contact-qr-text span { color: var(--muted); font-size: 13.5px; }

/* 停车指引（内联于「联系我们」下方，同一屏内向下滚动可见） */
.parking-inline { margin-top: 64px; padding-top: 52px; border-top: 1px solid var(--line); }
.parking-inline-head { text-align: center; margin-bottom: 30px; }
.parking-inline-title {
  font-family: var(--serif); font-size: clamp(22px, 2.6vw, 28px); color: var(--navy);
  margin: 12px 0 12px; letter-spacing: 3px; font-weight: 700;
}
.parking-inline-head p { margin: 0 auto; max-width: 660px; font-size: 14px; color: var(--muted); line-height: 1.85; }
.parking-inline .pk-note { margin-top: 26px; }
@media (max-width: 700px) {
  .parking-inline { margin-top: 44px; padding-top: 38px; }
  .parking-inline-title { letter-spacing: 2px; }
}

.contact-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; }
.contact-photo img { flex: 1 1 auto; width: 100%; height: auto; min-height: 300px; object-fit: cover; }
.contact-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px; background: linear-gradient(transparent, rgba(9,26,45,.85)); color: #fff; font-size: 14px; letter-spacing: 1px; }

/* 实景图上方：一键导航 */
.contact-nav {
  padding: 18px 20px 20px;
  background: linear-gradient(135deg, rgba(9,26,45,.05), rgba(198,161,91,.12));
  border-bottom: 1px solid var(--line);
}
.contact-nav-head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 13px; }
.contact-nav-title { font-family: var(--serif); color: var(--navy); font-size: 17px; letter-spacing: 1px; font-weight: 700; }
.contact-nav-sub { font-size: 12.5px; color: var(--muted); }
.contact-nav-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nav-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; letter-spacing: .5px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.nav-btn svg { width: 16px; height: 16px; fill: currentColor; flex: 0 0 auto; }
.nav-btn:hover { transform: translateY(-2px); }
.nav-btn-amap { background: var(--navy); color: #fff; box-shadow: 0 8px 18px rgba(11,32,58,.22); }
.nav-btn-amap:hover { background: var(--navy-3); box-shadow: 0 12px 24px rgba(11,32,58,.28); }
.nav-btn-baidu { background: #fff; color: var(--navy); border-color: var(--line); }
.nav-btn-baidu:hover { border-color: var(--gold); color: var(--gold-deep); box-shadow: 0 10px 22px rgba(198,161,91,.22); }

/* ===================== 页脚 ===================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 50px 0 22px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
/* 页脚标志：去掉白色底块，改用浅金单色标志直接融入深蓝底 */
.footer-logo-chip { display: inline-flex; background: none; padding: 0; border-radius: 0; box-shadow: none; }
.footer-logo-chip img { height: 62px; width: auto; display: block; opacity: .92; }
.footer-brand strong { color: #fff; font-size: 17px; }
.footer-brand p { margin: 2px 0 0; color: var(--gold-soft); font-size: 13px; letter-spacing: 2px; }
.footer-meta p { margin: 4px 0; font-size: 14px; }
/* 页脚邮箱链接：暖金下划线，可点即发信 */
.footer-meta a {
  color: var(--gold-soft); text-decoration: none;
  border-bottom: 1px solid rgba(224,205,162,.42);
  transition: color .22s ease, border-color .22s ease;
}
.footer-meta a:hover { color: #fff; border-color: var(--gold-soft); }
.copyright { color: rgba(255,255,255,.6) !important; font-size: 13px !important; margin-top: 10px !important; }
.disclaimer { text-align: center; font-size: 12px; color: rgba(255,255,255,.45); margin: 26px 0 0; padding: 18px 20px 0; border-top: 1px solid rgba(255,255,255,.12); }
/* ICP 备案号：三页页脚最底部统一展示 */
.icp-line { text-align: center; font-size: 12.5px; color: rgba(255,255,255,.62); margin: 10px 0 0; padding: 0 20px; }
.icp-line a {
  color: rgba(255,255,255,.78); text-decoration: none;
  border-bottom: 1px solid rgba(224,205,162,.35);
  transition: color .22s ease, border-color .22s ease;
}
.icp-line a:hover { color: var(--gold-soft); border-color: var(--gold-soft); }

/* ===================== 进场动画 ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================== 响应式 ===================== */
@media (max-width: 960px) {
  .about-grid, .party-grid, .fees-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .section-about::before, .section-contact::before { display: none; }
}

@media (max-width: 900px) {
  .brand { gap: 9px; }
  .brand-text strong { font-size: 16px; letter-spacing: .5px; }
  .brand-text em { display: none; }
  .nav { gap: 20px; }
}

@media (max-width: 780px) {
  .brand-text { display: flex; }
  .brand-text strong { font-size: 15px; letter-spacing: .5px; }
  .site-header .brand-text strong { font-size: 17px !important; }
  .brand-text em { display: none; }
  .brand-mark { height: 40px; }
  .site-header .brand-mark { height: 52px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 460px; }
  .nav a { padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav-cta { border-radius: 0 !important; text-align: center; }
  .hero { min-height: 78vh; }
  .hero-inner { padding: 80px 20px; }
  .section { padding: 64px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .team-grid, .contact-info { grid-template-columns: repeat(2, 1fr); }
  .brand-mark { height: 38px; }
  .site-header .brand-mark { height: 46px; }
  .brand-text strong { font-size: 15px; letter-spacing: .5px; }
  .brand-text em { display: none; }
  .hero-stats { gap: 28px; }
  .about-media img { height: 240px; }
}

/* =========================================================
   停车指引独立页面 (parking.html)
   ========================================================= */
.pk-body { background: var(--bg); }

.sub-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.sub-header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--muted); text-decoration: none;
  border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.back-link svg { width: 14px; height: 14px; fill: currentColor; }
.back-link:hover { color: var(--navy); border-color: var(--gold); background: rgba(198,161,91,.07); }

.pk-main { padding: 64px 0 80px; }
.pk-head { text-align: center; margin-bottom: 40px; }
.pk-kicker { font-size: 12px; letter-spacing: 5px; color: var(--gold); font-weight: 700; }
.pk-head h1 { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 44px); color: var(--navy); margin: 12px 0 16px; letter-spacing: 4px; font-weight: 700; }
.pk-addr {
  display: inline-flex; align-items: center; gap: 7px; margin: 0;
  font-size: 15px; color: var(--muted); background: #fff;
  border: 1px solid var(--line); padding: 9px 20px; border-radius: 999px;
}
.pk-addr svg { width: 15px; height: 15px; fill: var(--gold-deep); flex: 0 0 auto; }



.pk-note { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 22px 26px; }
.pk-note strong { display: block; color: var(--navy); font-size: 15px; margin-bottom: 8px; letter-spacing: 1px; }
.pk-note p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.85; }
.pk-note a { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold-soft); }

.pk-footer { background: var(--navy); padding: 26px 0; }
.pk-footer p { margin: 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.62); letter-spacing: .5px; }
.pk-footer a { color: var(--gold-soft); text-decoration: none; border-bottom: 1px solid rgba(224,205,162,.35); }
.pk-footer a:hover { color: #fff; border-color: var(--gold-soft); }

/* ---------- 周边停车方案（实景图卡片） ---------- */
.pk-spots { margin-top: 0; }
.pk-spots-head { text-align: center; margin-bottom: 30px; }
.pk-spots-title { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 28px); color: var(--navy); margin: 10px 0 12px; letter-spacing: 3px; font-weight: 700; }
.pk-spots-head p { margin: 0 auto; max-width: 660px; font-size: 14px; color: var(--muted); line-height: 1.85; }

.pk-spots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pk-spot {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.pk-spot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(198,161,91,.55); }

.pk-spot-photo { position: relative; margin: 0; overflow: hidden; background: #eef1f4; }
.pk-spot-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 58%; transition: transform .5s ease; }
.pk-spot:hover .pk-spot-photo img { transform: scale(1.045); }
.pk-spot-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(9,26,45,.30), transparent 42%);
}
.pk-spot-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-size: 12px; letter-spacing: 1.5px; font-weight: 700; color: var(--navy);
  background: rgba(255,255,255,.93); border-radius: 999px; padding: 4px 12px;
  box-shadow: 0 2px 8px rgba(9,26,45,.14);
}

.pk-spot-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px 20px 22px; }
.pk-spot-body h3 { font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--navy); margin: 0 0 8px; letter-spacing: .5px; }
.pk-spot-desc { margin: 0 0 18px; font-size: 13.5px; color: var(--muted); line-height: 1.75; }

.pk-spot-actions { margin-top: auto; display: grid; gap: 10px; }
.pk-spot-btn {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; border-radius: 10px;
  text-decoration: none; border: 1px solid transparent;
  transition: background .24s ease, color .24s ease, border-color .24s ease, transform .2s ease, box-shadow .24s ease;
}
.pk-spot-btn:hover { transform: translateY(-2px); }
.pk-spot-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* 图标：圆形底 + 白色箭头/图钉，强化“可点击导航”的直观感 */
.pk-spot-ico {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .24s ease, background .24s ease;
}
.pk-spot-ico svg { width: 17px; height: 17px; fill: currentColor; }
.pk-spot-btn:hover .pk-spot-ico { transform: scale(1.08); }

.pk-spot-txt { display: flex; flex-direction: column; line-height: 1.35; text-align: left; }
.pk-spot-txt strong { font-size: 14px; font-weight: 700; letter-spacing: .5px; }
.pk-spot-txt em { font-style: normal; font-size: 11.5px; letter-spacing: .2px; opacity: .78; margin-top: 1px; }

.pk-spot-btn-amap { background: linear-gradient(140deg, var(--navy), var(--navy-3)); color: #fff; box-shadow: 0 8px 18px rgba(9,26,45,.16); }
.pk-spot-btn-amap:hover { background: linear-gradient(140deg, var(--navy-3), var(--navy)); box-shadow: 0 12px 22px rgba(9,26,45,.22); }
.pk-spot-btn-amap .pk-spot-ico { background: rgba(255,255,255,.16); color: var(--gold-soft); }

.pk-spot-btn-baidu { background: #fff; color: var(--navy); border-color: var(--line); }
.pk-spot-btn-baidu:hover { border-color: var(--gold); background: rgba(198,161,91,.08); }
.pk-spot-btn-baidu .pk-spot-ico { background: rgba(9,26,45,.06); color: var(--navy); }
.pk-spot-btn-baidu:hover .pk-spot-ico { background: var(--gold); color: #fff; }

@media (max-width: 1000px) {
  .pk-spots-grid { grid-template-columns: repeat(2, 1fr); }
  /* 第三张为竖图，改为横向排布并占满整行，避免竖图被横向裁切 */
  .pk-spots-grid .pk-spot:last-child { grid-column: 1 / -1; flex-direction: row; }
  .pk-spots-grid .pk-spot:last-child .pk-spot-photo { flex: 0 0 42%; }
  .pk-spots-grid .pk-spot:last-child .pk-spot-photo img { aspect-ratio: auto; height: 100%; object-position: center 55%; }
  .pk-spots-grid .pk-spot:last-child .pk-spot-body { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 700px) {
  .pk-spots { margin-top: 36px; }
  .pk-spots-grid { grid-template-columns: 1fr; gap: 18px; }
  .pk-spots-grid .pk-spot:last-child { grid-column: auto; flex-direction: column; }
  .pk-spots-grid .pk-spot:last-child .pk-spot-photo { flex: none; }
  .pk-spots-grid .pk-spot:last-child .pk-spot-photo img { aspect-ratio: 4 / 3; height: auto; }
  .pk-spots-grid .pk-spot:last-child .pk-spot-body { justify-content: flex-start; }
  .pk-spots-title { letter-spacing: 2px; }
}

@media (max-width: 860px) {
  .pk-main { padding: 40px 0 56px; }
  .pk-head { margin-bottom: 32px; }
  .pk-head h1 { letter-spacing: 2px; }
  .pk-addr { font-size: 13.5px; padding: 8px 16px; text-align: left; }
}

/* =========================================================
   瓯信动态页面 (news.html)
   ========================================================= */
.nw-main { padding: 64px 0 84px; }
.nw-head h1 { margin-bottom: 18px; }
.nw-lead { margin: 0 auto; max-width: 660px; font-size: 15px; line-height: 1.9; color: var(--muted); text-align: center; }

.nw-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; margin-top: 6px; }
.nw-list-title {
  font-family: var(--serif); font-size: 18px; color: var(--navy); margin: 0 0 18px;
  padding-left: 14px; border-left: 3px solid var(--gold); letter-spacing: 2px; line-height: 1;
}

.nw-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.nw-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(198,161,91,.55); }
.nw-item-link { display: grid; grid-template-columns: 300px 1fr; text-decoration: none; color: inherit; }

.nw-thumb { position: relative; margin: 0; overflow: hidden; background: #eef1f4; }
.nw-thumb img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; transition: transform .5s ease; }
.nw-item:hover .nw-thumb img { transform: scale(1.05); }
.nw-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 12px; letter-spacing: 1px; font-weight: 700; color: var(--navy);
  background: rgba(255,255,255,.94); border-radius: 999px; padding: 4px 11px;
  box-shadow: 0 2px 8px rgba(9,26,45,.14);
}

.nw-body { padding: 24px 26px 22px; display: flex; flex-direction: column; }
.nw-date { margin: 0 0 8px; font-size: 12.5px; letter-spacing: 2px; color: var(--gold-deep); font-weight: 700; }
.nw-body h3 { font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--navy); margin: 0 0 12px; letter-spacing: .5px; }
.nw-excerpt { margin: 0 0 18px; font-size: 14px; line-height: 1.85; color: #3a4653; }
.nw-more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 4px;
  font-size: 13.5px; font-weight: 600; color: var(--gold-deep); letter-spacing: .5px;
}
.nw-more svg { width: 14px; height: 14px; fill: currentColor; transition: transform .24s ease; }
.nw-item:hover .nw-more svg { transform: translateX(4px); }

.nw-note { margin: 18px 0 0; font-size: 13px; line-height: 1.8; color: var(--muted); }

.nw-aside { display: grid; gap: 18px; }
.nw-qr-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 24px; text-align: center;
}
.nw-qr { width: 152px; height: 152px; object-fit: contain; border-radius: 8px; border: 1px solid var(--line); padding: 6px; background: #fff; }
.nw-qr-card strong { display: block; margin: 16px 0 8px; font-size: 16px; color: var(--navy); letter-spacing: 1px; }
.nw-qr-desc { display: block; font-size: 13px; line-height: 1.75; color: var(--muted); margin-bottom: 18px; }
.nw-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 16px; border-radius: 9px; text-decoration: none;
  background: linear-gradient(140deg, var(--navy), var(--navy-3)); color: #fff;
  font-size: 14px; font-weight: 600; letter-spacing: .5px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.nw-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(9,26,45,.22); background: linear-gradient(140deg, var(--navy-3), var(--navy)); }
.nw-hint { margin: 12px 0 0; font-size: 11.5px; line-height: 1.7; color: var(--muted); }

.nw-info-card { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 22px 24px; }
.nw-info-card h2 { font-family: var(--serif); font-size: 16px; color: var(--navy); margin: 0 0 10px; letter-spacing: 1px; }
.nw-info-card p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.85; color: var(--muted); }
.nw-contact { margin: 0 !important; }
.nw-contact a { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold-soft); }

@media (max-width: 980px) {
  .nw-grid { grid-template-columns: 1fr; }
  .nw-aside { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 720px) {
  .nw-main { padding: 40px 0 56px; }
  .nw-grid { margin-top: 2px; gap: 20px; }
  .nw-item-link { grid-template-columns: 1fr; }
  .nw-thumb img { min-height: 0; aspect-ratio: 16 / 9; }
  .nw-body { padding: 18px 20px 20px; }
  .nw-body h3 { font-size: 17.5px; }
  .nw-aside { grid-template-columns: 1fr; }
  .nw-qr { width: 132px; height: 132px; }
}

/* =========================================================
   二维码点击放大
   ========================================================= */
.qr-trigger {
  position: relative; display: block; flex: 0 0 auto;
  padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in;
  line-height: 0; border-radius: 10px;
}
.qr-trigger img { display: block; transition: transform .28s ease, box-shadow .28s ease; }
.qr-trigger:hover img { transform: scale(1.03); box-shadow: 0 8px 18px rgba(9,26,45,.16); }
.qr-trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.nw-qr-trigger { margin: 0 auto; }
.qr-zoom-hint {
  position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%);
  font-size: 10.5px; line-height: 1; letter-spacing: .5px; white-space: nowrap;
  background: rgba(9,26,45,.82); color: #fff; padding: 4px 8px; border-radius: 999px;
  opacity: 0; transition: opacity .24s ease; pointer-events: none;
}
.qr-trigger:hover .qr-zoom-hint, .qr-trigger:focus-visible .qr-zoom-hint { opacity: 1; }

/* 公众号直达链接 */
.qr-link {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 9px;
  font-size: 13.5px; font-weight: 600; color: var(--gold-deep);
  text-decoration: none; letter-spacing: .3px;
  border-bottom: 1px solid rgba(198,161,91,.45); padding-bottom: 2px;
  transition: color .22s ease, border-color .22s ease;
}
.qr-link svg { width: 13px; height: 13px; fill: currentColor; transition: transform .22s ease; }
.qr-link:hover { color: var(--navy); border-color: var(--navy); }
.qr-link:hover svg { transform: translateX(3px); }

.contact-qr-text { display: flex; flex-direction: column; align-items: flex-start; }
.contact-qr-text > span { margin-top: 4px; }

/* 放大遮罩 */
body.zoom-open { overflow: hidden; }
.qr-modal {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center; padding: 24px;
  background: rgba(9,26,45,.82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .22s ease;
}
.qr-modal.open { opacity: 1; }
.qr-modal-inner {
  position: relative; background: #fff; border-radius: 16px; padding: 26px 26px 18px;
  box-shadow: 0 30px 70px rgba(0,0,0,.42); text-align: center;
  transform: scale(.94); transition: transform .24s cubic-bezier(.2,.8,.3,1);
}
.qr-modal.open .qr-modal-inner { transform: scale(1); }
.qr-modal-inner img {
  display: block; width: min(72vw, 300px); height: auto;
  border-radius: 10px; margin: 0 auto;
}
.qr-modal-close {
  position: absolute; top: -14px; right: -14px;
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; font-size: 20px; line-height: 1;
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.3);
  transition: background .2s ease, transform .2s ease;
}
.qr-modal-close:hover { background: var(--gold-deep); transform: rotate(90deg); }
.qr-modal-tip { margin: 16px 0 0; font-size: 13px; color: var(--muted); letter-spacing: .5px; }


/* =========================================================
   党建工作：党旗红主题
   ========================================================= */
.section-party {
  background: linear-gradient(180deg, #fdf7f5 0%, #faeeea 58%, #f7e7e3 100%);
}
.section-party::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, rgba(193,39,31,0) 0%, #c1271f 22%, #e04a3a 50%, #c1271f 78%, rgba(193,39,31,0) 100%);
}
/* 柔和的党旗红色晕，给整屏一点背景层次 */
.section-party::before {
  content: ""; position: absolute; right: -40px; bottom: -60px;
  width: 420px; height: 420px; pointer-events: none;
  background: radial-gradient(circle, rgba(193,39,31,.10) 0%, rgba(193,39,31,.035) 45%, rgba(193,39,31,0) 72%);
}
.section-party .container { position: relative; z-index: 1; }
.section-party .section-kicker { color: #c1271f; letter-spacing: 5px; }
.section-party .section-title { color: #8d1a14; }
.section-party .section-title::after { background: linear-gradient(90deg, #c1271f, #e0714f); }
.section-party .party-intro h3 { color: #8d1a14; position: relative; padding-left: 14px; }
.section-party .party-intro h3::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
  border-radius: 2px; background: linear-gradient(180deg, #c1271f, #e0714f);
}
.section-party .party-intro p { color: #4a3a38; }
.section-party .party-members { border-color: rgba(193,39,31,.20); border-top: 3px solid #c1271f; }
.section-party .party-members::before { opacity: .10; }
.section-party .party-label { color: #c1271f; }
.section-party .party-label::before {
  content: "★"; margin-right: 5px; color: #c1271f; font-size: 11px; vertical-align: 1px;
}
.section-party .party-lead {
  background: linear-gradient(135deg, rgba(193,39,31,.045), rgba(224,113,79,.10));
  border-color: rgba(193,39,31,.16); border-left-color: #c1271f;
}
.section-party .party-lead-photo { outline-color: rgba(193,39,31,.30); }
.section-party .party-lead-text strong { color: #8d1a14; }
.section-party .party-lead-text em { background: linear-gradient(135deg, #c1271f, #a01b15); }
.section-party .party-lead-text p { color: #6b5652; }
.section-party .party-list .avatar { outline-color: rgba(193,39,31,.26); }
.section-party .party-list span { color: #7d1a15; }
/* 党建做法四卡：红色系 */
.section-party .party-doing { border-color: rgba(193,39,31,.14); }
.section-party .party-doing:hover { border-color: rgba(193,39,31,.32); box-shadow: 0 14px 28px rgba(193,39,31,.12); }
.section-party .party-doing-ico { background: rgba(193,39,31,.10); color: #c1271f; }
.section-party .party-doing strong { color: #8d1a14; }
.section-party .party-doing p { color: #6b5652; }
/* 党建引语块 */
.section-party .party-quote {
  border-left-color: #c1271f;
  background: linear-gradient(120deg, rgba(193,39,31,.075), rgba(224,113,79,.02));
}
.section-party .party-quote::before { color: #c1271f; opacity: .45; }
.section-party .party-quote p { color: #8d1a14; }
/* 引语在左栏内，需压过 `.section-party .party-intro p` 的颜色与字号 */
.section-party .party-intro .party-quote p { color: #8d1a14; font-size: 16.5px; margin: 0 0 8px; }
.section-party .party-quote cite { color: #8a6a66; }
.section-party .party-footnote { border-top-color: rgba(193,39,31,.18); color: #8a6a66; }

@media (max-width: 960px) {
  .party-doings { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .party-doings { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .party-doing { padding: 16px 16px 14px; }
  .party-quote { margin-top: 22px; padding: 18px 18px 16px 28px; }
  .party-quote p { font-size: 15.5px; }
}

@media (max-width: 720px) {
  .qr-modal-inner { padding: 20px 20px 14px; }
  .qr-modal-inner img { width: min(78vw, 260px); }
  .qr-modal-tip { font-size: 12px; }
}

/* =========================================================
   瓯信荣誉
   ========================================================= */
.section-honors { background: linear-gradient(180deg, #fdfaf3 0%, #faf5e8 100%); }
.section-honors::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, rgba(198,161,91,0) 0%, rgba(198,161,91,.85) 30%, rgba(216,192,138,.95) 50%, rgba(198,161,91,.85) 70%, rgba(198,161,91,0) 100%);
}
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.honor-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.honor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(198,161,91,.55); }
.honor-ico {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(140deg, rgba(198,161,91,.20), rgba(198,161,91,.06));
  margin-bottom: 16px;
}
.honor-ico svg { width: 22px; height: 22px; fill: var(--gold-deep); }
.honor-card h3 { font-family: var(--serif); font-size: 18px; color: var(--navy); margin: 0 0 10px; letter-spacing: 1.5px; }
.honor-card p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--muted); }
.honor-note { margin: 34px auto 0; max-width: 760px; text-align: center; font-size: 13px; line-height: 1.9; color: var(--muted); }
.honor-note a { color: var(--gold-deep); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(198,161,91,.5); }
.honor-note a:hover { color: var(--navy); border-color: var(--navy); }

@media (max-width: 1000px) {
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .honor-grid { grid-template-columns: 1fr; gap: 14px; }
  .honor-card { padding: 22px 20px; }
}

/* =========================================================
   导航：中屏收窄 + 移动端纵向展开
   ========================================================= */
@media (max-width: 1120px) {
  .nav { gap: 2px; }
  .nav > a, .nav-item > .nav-link { font-size: 17px; padding: 9px 9px; letter-spacing: .3px; }
  .nav-cta { padding: 10px 16px !important; }
}
@media (max-width: 960px) {
  .nav > a, .nav-item > .nav-link { font-size: 15px; padding: 8px 7px; }
  .nav-caret { width: 10px; height: 10px; }
  .dropdown a { font-size: 14px; padding: 9px 13px; }
}

@media (max-width: 820px) {
  .nav > a, .nav-item > .nav-link { font-size: 13.5px; padding: 6px 5px; letter-spacing: 0; }
  .nav-caret { width: 9px; height: 9px; }
  .nav-cta { padding: 8px 12px !important; }
  .dropdown a { font-size: 13px; padding: 8px 12px; }
}

@media (max-width: 720px) {
  .nav { gap: 0; }
  .nav-item { position: static; }
  .nav-caret { display: none; }
  .nav > a, .nav-item > .nav-link {
    display: flex; justify-content: flex-start; width: 100%; flex: 0 0 auto;
    font-size: 16px; padding: 14px 24px; border-radius: 0;
    border-bottom: 1px solid var(--line); letter-spacing: 1px;
  }
  .nav > a::after, .nav-item > .nav-link::after { display: none; }
  .nav.open {
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto; overscroll-behavior: contain;
  }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
    background: #fbf9f4;
  }
  .dropdown::before { display: none; }
  .nav-item:hover .dropdown { transform: none; }
  .dropdown a {
    padding: 12px 24px 12px 40px; font-size: 14.5px; border-bottom: 1px solid var(--line);
    border-radius: 0; color: #55606c; letter-spacing: .5px;
  }
  .dropdown a:hover, .dropdown a:focus-visible { padding-left: 40px; background: rgba(198,161,91,.12); }
}

/* =========================================================
   页脚 · 快捷导航（深蓝底，位于律所标志上方）
   ========================================================= */
.footer-quicknav {
  flex: 1 0 100%;
  display: flex; align-items: center; flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer-quicknav a {
  display: inline-block;
  padding: 2px 24px;
  font-size: 17px;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, .84);
  border-left: 1px solid rgba(255, 255, 255, .18);
  transition: color .22s ease, border-color .22s ease;
}
.footer-quicknav a:first-child { border-left: 0; padding-left: 0; }
.footer-quicknav a:hover { color: var(--gold-soft); border-color: rgba(198, 161, 91, .55); }
.footer-quicknav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

@media (max-width: 720px) {
  .footer-quicknav { padding-bottom: 16px; }
  .footer-quicknav a { font-size: 15px; padding: 4px 15px; }
}

/* =========================================================
   整屏切换（仅首页 body.screen-mode）
   滚轮只在本屏内滚动，不跨栏；换栏只能点导航
   ========================================================= */
.screen-mode { height: 100vh; height: 100dvh; overflow: hidden; }
.screen-mode .screens {
  position: relative;
  overflow: hidden;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  isolation: isolate;
}
/* 轨道高度恒等于一屏 */
.screen-mode .screens-track { height: 100%; }
/* 每屏铺满轨道，靠 display 切换显示，不做位移——
   从机制上就不存在「停在两屏之间看不到内容」的空白带 */
.screen-mode .screens-track > .screen {
  height: 100%;
  overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(14,42,71,.22) transparent;
}
/* 初始化完成后才接管显示，避免 JS 未就绪时把所有屏藏掉 */
.screen-mode.screens-init .screens-track > .screen { display: none; }
.screen-mode.screens-init .screens-track > .screen.is-active {
  display: block;
  animation: screen-in .42s cubic-bezier(.22,.61,.36,1);
}
/* 首屏本身是 flex 居中布局，切回显示时要把 flex 还给它 */
.screen-mode.screens-init .screens-track > .hero.is-active { display: flex; }
@keyframes screen-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.screen-mode .screens-track > .screen::-webkit-scrollbar { width: 7px; }
.screen-mode .screens-track > .screen::-webkit-scrollbar-track { background: transparent; }
.screen-mode .screens-track > .screen::-webkit-scrollbar-thumb { background: rgba(14,42,71,.20); border-radius: 4px; }
.screen-mode .screens-track > .screen::-webkit-scrollbar-thumb:hover { background: rgba(14,42,71,.34); }

/* 首屏占满整屏 */
.screen-mode .hero { min-height: 0; }
.screen-mode .hero-inner { padding: 48px 24px; }

/* 栏目在整屏里略微收一下上下留白，尽量一屏放得下 */
.screen-mode .section { padding: 70px 0 76px; }
.screen-mode .section-head { margin-bottom: 42px; }

@media (max-width: 720px) {
  .screen-mode .section { padding: 46px 0 56px; }
  .screen-mode .section-head { margin-bottom: 30px; }
  .screen-mode .hero-inner { padding: 34px 20px 40px; }
}

/* 打印 / 导出 PDF / 整页截图：解除整屏锁定，按正常文档流依次排开，避免多屏叠在一页 */
@media print {
  .screen-mode,
  .screen-mode.screens-init { height: auto; overflow: visible; }
  .screen-mode .screens,
  .screen-mode .screens-track { display: block; height: auto; overflow: visible; }
  .screen-mode.screens-init .screens-track > .screen {
    display: block !important;   /* 覆盖 JS 写入的内联 display:none */
    height: auto; min-height: 0; overflow: visible;
    transform: none !important;
    animation: none !important;
    break-inside: avoid; page-break-inside: avoid;
  }
  .site-header { position: static; }
  .scroll-hint { display: none; }
}

/* ============================================================
   律师个人主页（lawyer-*.html）
   ============================================================ */
.lawyer-main { padding: 40px 0 56px; background: linear-gradient(180deg, #fbfaf7 0%, #f3f1ec 100%); }

.lawyer-hero {
  display: flex; gap: 48px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 48px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.lawyer-hero::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
}
.lawyer-portrait { flex: 0 0 248px; }
.lawyer-portrait img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top center;
  border-radius: 50%;
  box-shadow: 0 16px 38px rgba(14,42,71,.20);
}
.lawyer-intro { flex: 1 1 auto; min-width: 0; }
.lawyer-kicker {
  display: inline-block; font-size: 12px; letter-spacing: 4px; color: var(--gold-deep);
  font-weight: 700; margin-bottom: 12px;
}
.lawyer-name {
  font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); color: var(--navy);
  margin: 0; line-height: 1.05; letter-spacing: 4px; font-weight: 700;
}
.lawyer-pinyin {
  font-size: 14px; letter-spacing: 8px; color: var(--gold-deep);
  margin: 10px 0 16px; font-weight: 600;
}
.lawyer-firm { font-size: 16px; color: var(--muted); margin: 0 0 14px; letter-spacing: 1px; }
.lawyer-title {
  display: inline-block; background: linear-gradient(140deg, var(--navy), var(--navy-3));
  color: #fff; padding: 7px 18px; border-radius: 999px; font-size: 14px; letter-spacing: 1px;
  box-shadow: 0 8px 18px rgba(14,42,71,.22);
}
.lawyer-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lawyer-phone {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px; border-radius: 10px;
  background: #fff; border: 1px solid var(--gold-soft);
  color: var(--navy); font-size: 14.5px; font-weight: 600; letter-spacing: .5px;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(14,42,71,.08);
  transition: background .22s, border-color .22s, color .22s, transform .22s, box-shadow .22s;
}
.lawyer-phone svg { width: 17px; height: 17px; fill: var(--gold-deep); flex: 0 0 auto; transition: fill .22s; }
.lawyer-phone:hover, .lawyer-phone:focus-visible {
  background: linear-gradient(140deg, var(--gold), var(--gold-deep));
  border-color: var(--gold-deep); color: #fff;
  transform: translateY(-2px); box-shadow: 0 10px 22px rgba(194,161,90,.32);
}
.lawyer-phone:hover svg, .lawyer-phone:focus-visible svg { fill: #fff; }

.lawyer-lead {
  margin: 22px 0 0; color: var(--ink); font-size: 16px; line-height: 1.95;
  border-left: 3px solid var(--gold); padding-left: 18px; max-width: 620px;
}

.lawyer-section {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 36px; box-shadow: var(--shadow); margin-top: 24px;
}
.lawyer-section-title {
  font-family: var(--serif); color: var(--navy); font-size: 22px; margin: 0 0 22px;
  padding-left: 16px; border-left: 4px solid var(--gold); letter-spacing: 2px;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.lawyer-section-title .lawyer-en {
  font-family: var(--sans, system-ui, sans-serif); font-size: 12px; letter-spacing: 3px;
  color: var(--gold); font-weight: 700;
}
.lawyer-section-title .lawyer-sub {
  font-family: var(--sans, system-ui, sans-serif); font-size: 13px; letter-spacing: 0;
  color: var(--muted); font-weight: 400;
}

.lawyer-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.lawyer-tag {
  background: rgba(194,161,90,.1); border: 1px solid var(--gold-soft);
  color: var(--navy); padding: 9px 18px; border-radius: 999px; font-size: 14.5px;
  transition: .22s;
}
.lawyer-tag:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: translateY(-2px); }

.lawyer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.lawyer-list li {
  position: relative; padding-left: 30px; color: var(--ink);
  font-size: 15.5px; line-height: 1.75;
}
.lawyer-list li::before {
  content: ""; position: absolute; left: 2px; top: 9px; width: 9px; height: 9px;
  border-radius: 50%; background: linear-gradient(140deg, var(--gold), var(--gold-deep));
  box-shadow: 0 0 0 3px rgba(194,161,90,.16);
}

.lawyer-prose { color: var(--ink); font-size: 16px; line-height: 2.05; margin: 0; max-width: 880px; }

.lawyer-brand {
  margin-top: 24px; text-align: center; color: #fff;
  background: linear-gradient(140deg, var(--navy), var(--navy-3));
  border-radius: var(--radius); padding: 38px 24px; box-shadow: var(--shadow);
}
.lawyer-brand strong { display: block; font-family: var(--serif); font-size: 23px; letter-spacing: 3px; }
.lawyer-brand .slogan { color: var(--gold-soft); letter-spacing: 4px; margin: 10px 0 6px; font-size: 15px; }
.lawyer-brand .addr { color: rgba(255,255,255,.72); font-size: 14px; margin: 0; }

@media (max-width: 768px) {
  .lawyer-hero { flex-direction: column; gap: 26px; padding: 30px 24px; text-align: center; }
  .lawyer-title-row { justify-content: center; }
  .lawyer-portrait { flex: 0 0 auto; width: 200px; }
  .lawyer-lead { margin-left: auto; margin-right: auto; text-align: left; }
  .lawyer-section { padding: 26px 22px; }
  .lawyer-section-title { font-size: 19px; }
}
