/* ============ 老官网内容迁移新增板块样式 ============ */

/* 栏目介绍头 */
.sec-intro { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.sec-intro h2 { font-size: 30px; margin: 6px 0 12px; color: var(--ink); }
.sec-intro p { color: #5A6478; line-height: 1.8; }

/* 海报图（在线委托/线下服务/服务中心/合作加盟等纯图栏目） */
.sec-poster { margin: 14px 0 4px; }
.sec-poster img { max-width: 100%; border-radius: 10px; border: 1px solid var(--line); }

/* 在线委托表单 */
.entrust-form { max-width: 640px; margin: 26px auto 0; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: var(--shadow-sm); }
.entrust-form .form-row { margin-bottom: 14px; }
.entrust-form input, .entrust-form textarea { width: 100%; }

/* 方便群众 */
.conv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.conv-card { display: block; text-align: center; padding: 28px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: all .25s ease; text-decoration: none; }
.conv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.conv-icon { font-size: 34px; display: block; margin-bottom: 10px; }
.conv-card h3 { font-size: 18px; color: var(--ink); margin: 0 0 6px; }
.conv-card p { color: #8A93A6; font-size: 13px; margin: 0 0 10px; }
.conv-more { color: var(--gold); font-weight: 700; font-size: 14px; }

/* 图集 */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 34px; }
.gallery-item { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.gallery-item img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* 法律资源列表 */
.law-list { display: flex; flex-direction: column; gap: 10px; }
.law-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; transition: all .2s ease; }
.law-item:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.law-cat { flex: 0 0 auto; background: var(--cream); color: var(--brand); font-size: 12px; padding: 4px 10px; border-radius: 20px; font-weight: 600; }
.law-title { flex: 1; color: var(--ink); font-size: 15px; }
.law-date { flex: 0 0 auto; color: #9AA3B5; font-size: 12px; }

/* 专业组海报与服务项 */
.group-poster { margin-bottom: 10px; }
.group-poster img { max-width: 100%; border-radius: 8px; border: 1px solid var(--line); }
.group-services { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.group-services li { background: var(--cream); border: 1px solid var(--line); color: #44506B; font-size: 12.5px; padding: 5px 12px; border-radius: 20px; }

/* 组织机构 */
.org-img { margin: 18px 0; text-align: center; }
.org-img img { max-width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.about-org-text { color: #3E4860; line-height: 2; }

/* 法律声明正文 */
.legal-body h3 { color: var(--ink); margin: 22px 0 10px; font-size: 18px; }
.legal-body p { color: #3E4860; line-height: 1.9; margin-bottom: 10px; text-indent: 0; }

/* 页脚常用网站通道 */
.footer-gov { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: #8A93A6; }
.footer-gov span { color: #6B7488; }
.footer-gov a { color: #8A93A6; text-decoration: none; transition: color .2s; }
.footer-gov a:hover { color: var(--gold); }

/* 法条全文 */
.law-full { font-size: 15px; line-height: 1.9; color: #333C4F; }
.law-full p { margin-bottom: 8px; }

/* ============ 首页 hero 形象海报轮播 ============ */
.hero-carousel { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  animation: heroSlide 30s infinite;
  filter: saturate(.92);
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }
.hero-slide:nth-child(5) { animation-delay: 24s; }
@keyframes heroSlide {
  0%   { opacity: 0; transform: scale(1.02); }
  4%   { opacity: .30; }
  16%  { opacity: .30; }
  20%  { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; }
}
/* 提高可读性：hero 文字区加深遮罩 */
.hero-inner, .hero-stats { position: relative; z-index: 2; }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(10,16,38,.92) 0%, rgba(10,16,38,.68) 45%, rgba(14,20,48,.35) 100%);
}
.hero-stats-grid, .hero-inner, .hero-frame, .hero-deco { z-index: 3; position: relative; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: .18; }
  .hero-slide:nth-child(1) { opacity: .22; }
}

@media (max-width: 680px) {
  .law-item { flex-wrap: wrap; }
  .law-date { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item img { height: 130px; }
}

/* AI 浮窗：免责小字 + 转人工按钮 */
.chat-disc { font-size: 10.5px; color: #9AA2B2; margin-top: 4px; line-height: 1.5; }
.chat-human { background: linear-gradient(135deg, #D4AF37, #E8D07A) !important; color: #050914 !important; font-weight: 700; border-color: transparent !important; }
.chat-agent { background: linear-gradient(135deg, #0A66C2, #1A7AE0) !important; color: #fff !important; font-weight: 700; border-color: transparent !important; }

/* 资质荣誉图墙 + 媒体报道（智规律深色卡片风格） */
.honor-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 30px 0 8px; }
.honor-wall-item { display: block; border-radius: 10px; overflow: hidden; border: 1px solid rgba(10,102,194,.2); background: #0D1B2E; transition: all .25s ease; }
.honor-wall-item img { width: 100%; height: 150px; object-fit: cover; display: block; }
.honor-wall-item:hover { transform: translateY(-4px); border-color: rgba(10,102,194,.5); box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.media-wall { margin-top: 36px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.media-card { background: #0D1B2E; border: 1px solid rgba(10,102,194,.18); border-radius: 12px; padding: 20px; transition: all .25s ease; }
.media-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.5); border-color: rgba(10,102,194,.45); }
.media-source { display: inline-block; background: rgba(10,102,194,.18); color: #E8D07A; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; }
.media-card h4 { font-size: 16px; color: #FFFFFF; margin-bottom: 8px; }
.media-card p { font-size: 13.5px; color: #D1D9F0; line-height: 1.7; margin: 0; }

/* 联系页响应承诺 + 地图 */
.contact-promise { margin: 14px 0; padding: 12px 16px; background: rgba(45,91,255,.08); border-left: 3px solid #2D5BFF; border-radius: 8px; font-size: 13.5px; color: #24456B; }
.contact-map { margin-top: 26px; }
.contact-map h3 { font-size: 17px; margin-bottom: 12px; color: #0E2A4D; }
.map-nav { margin-top: 10px; text-align: center; }

/* 律师执业信息公示行 */
.lawyer-license { font-size: 12.5px; color: #8AA3C4; margin: 4px 0 10px; letter-spacing: .3px; }

/* 领域 FAQ 手风琴 + 详情页 CTA */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.faq-item { background: #0D1B2E; border: 1px solid rgba(10,102,194,.18); border-radius: 10px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 14px 18px; font-size: 14.5px; font-weight: 600; color: #FFFFFF; list-style: none; position: relative; padding-right: 36px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 16px; top: 12px; font-size: 18px; color: #E8D07A; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid rgba(10,102,194,.15); }
.faq-item p { padding: 14px 18px; font-size: 13.5px; color: #D1D9F0; line-height: 1.8; margin: 0; }
.detail-cta { margin: 30px 0; padding: 26px 28px; background: linear-gradient(135deg, #060B1A, #0D1B2E); border: 1px solid rgba(10,102,194,.25); border-radius: 14px; text-align: center; }
.detail-cta h4 { font-size: 18px; color: #FFFFFF; margin-bottom: 6px; }
.detail-cta p { color: #D1D9F0; font-size: 13.5px; margin-bottom: 16px; }
.detail-cta .btn { margin: 0 6px; }

/* 使命/愿景/价值观 */
.mvvm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.mvvm-card { background: #0D1B2E; border: 1px solid rgba(10,102,194,.18); border-radius: 12px; padding: 26px 22px; text-align: center; transition: all .25s; }
.mvvm-card:hover { transform: translateY(-4px); border-color: rgba(10,102,194,.45); box-shadow: 0 14px 34px rgba(0,0,0,.5); }
.mvvm-icon { font-size: 30px; display: block; margin-bottom: 12px; }
.mvvm-card h3 { font-size: 17px; color: #FFFFFF; margin-bottom: 10px; }
.mvvm-card p { font-size: 13.5px; color: #D1D9F0; line-height: 1.8; margin: 0; }

/* 发展历程时间轴 */
.tl-list { position: relative; max-width: 820px; margin: 0 auto 40px; padding-left: 30px; }
.tl-list::before { content: ''; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: linear-gradient(180deg, #0A66C2, rgba(10,102,194,.15)); }
.tl-item { position: relative; margin-bottom: 26px; }
.tl-dot { position: absolute; left: -28px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #0A66C2; border: 3px solid #080F20; box-shadow: 0 0 0 3px rgba(10,102,194,.25); }
.tl-year { display: inline-block; background: rgba(10,102,194,.15); color: #E8D07A; font-size: 12.5px; font-weight: 700; padding: 4px 14px; border-radius: 20px; margin-bottom: 8px; }
.tl-text { color: #D1D9F0; font-size: 14px; line-height: 1.9; margin: 0; }

/* 办公环境 */
.office-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.office-item { display: block; border-radius: 12px; overflow: hidden; border: 1px solid rgba(10,102,194,.18); transition: all .25s; }
.office-item img { width: 100%; height: 170px; object-fit: cover; display: block; }
.office-item:hover { transform: translateY(-4px); border-color: rgba(10,102,194,.5); box-shadow: 0 14px 34px rgba(0,0,0,.5); }
@media (max-width: 680px) { .mvvm-grid { grid-template-columns: 1fr; } }

/* 文章/法条底部咨询 CTA */
.article-cta { margin: 34px 0 26px; padding: 26px 28px; background: linear-gradient(135deg, #EAF3FF, #DFEDFF); border: 1px solid rgba(45,91,255,.18); border-radius: 14px; text-align: center; }
.article-cta h3 { font-size: 20px; color: #0E2A4D; margin-bottom: 8px; }
.article-cta p { color: #3D5473; font-size: 14px; margin-bottom: 16px; }
.article-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 移动端底部悬浮条 */
.m-floatbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none; background: rgba(6,11,26,.97); border-top: 1px solid rgba(255,255,255,.08); }
.m-float-item { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 8px; font-size: 14px; font-weight: 600; color: #fff; background: none; border: none; cursor: pointer; text-decoration: none; }
.m-float-tel { border-right: 1px solid rgba(255,255,255,.08); }
.m-float-tel span, .m-float-chat span { font-size: 16px; }
.m-float-chat { color: #E8D07A; }
@media (max-width: 768px) {
  .m-floatbar { display: flex; }
  body { padding-bottom: 54px; }
}

/* 典型案例深度解析 */
.fc-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.fc-item { background: #0D1B2E; border: 1px solid rgba(10,102,194,.18); border-radius: 12px; overflow: hidden; }
.fc-item summary { cursor: pointer; padding: 16px 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; list-style: none; }
.fc-item summary::-webkit-details-marker { display: none; }
.fc-cat { background: rgba(10,102,194,.18); color: #E8D07A; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.fc-title { flex: 1; min-width: 200px; font-size: 15px; font-weight: 700; color: #FFFFFF; }
.fc-amount { font-size: 12.5px; color: #8A96B8; }
.fc-result { background: rgba(212,175,55,.15); color: #E8D07A; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.fc-item summary::after { content: '▾'; color: #0A66C2; font-size: 14px; }
.fc-item[open] summary { border-bottom: 1px solid rgba(10,102,194,.15); }
.fc-item[open] summary::after { transform: rotate(180deg); }
.fc-body { padding: 18px 20px; display: grid; gap: 14px; }
.fc-seg b { display: block; color: #FFFFFF; font-size: 13px; margin-bottom: 6px; }
.fc-seg p { color: #D1D9F0; font-size: 13.5px; line-height: 1.8; margin: 0; }
