/* ============================================================
   律所网站前台样式 · 严格对齐参考站设计体系
   设计变量取自原站 CSS：
   主金 --colormain:#C4935E / --colormain2:#D7AC78
   文字 #333/#666/#999，浅底 #f7f7f7，边线 #e3e3e3/#D9D9D9/#DFDFDF
   深色区 #232323，页脚 #3E3E3F，头部 80px，区块间距 100~130px
   字体：中文 PingFang/微软雅黑，英文数字 Roboto
   断点: ≤1199 / ≤991 / ≤767 / ≤480（无 min-width 锁死）
   ============================================================ */
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Medium.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}

:root {
    --font70: 70px;
    --font60: 60px;
    --font46: 46px;
    --font36: 36px;
    --font30: 30px;
    --font26: 26px;
    --font22: 22px;
    --font20: 20px;
    --text18: 18px;
    --text16: 16px;
    --l1h3: 1.3;
    --l1h4: 1.4;
    --l1h5: 1.5;
    --l1h6: 1.6;
    --l1h75: 1.75;
    --color333: #333;
    --color666: #666;
    --color999: #999;
    --colorfff: #fff;
    --colormain: #C4935E;
    --colormain2: #D7AC78;
    --colorf7: #f7f7f7;
    --colore3: #e3e3e3;
    --colordark: #232323;
    --colorfooter: #3E3E3F;
    --head: 80px;
    --space100: 100px;
    --space110: 110px;
    --space120: 120px;
    --space130: 130px;
    --weiheng: 'Roboto', Arial, Helvetica, sans-serif;
    --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
    font-family: var(--sans);
    color: var(--color333);
    font-size: var(--text16);
    line-height: var(--l1h75);
    background: #fff;
    overflow-x: hidden;
    width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .4s ease; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.cont1200 { width: 1200px; max-width: 100%; margin: 0 auto; padding: 0 20px; }

/* ---------- std 字号体系（与原站一致） ---------- */
.std-title1 { font-size: var(--font60); line-height: var(--l1h3); color: var(--color333); }
.std-title2 { font-size: var(--font46); line-height: var(--l1h3); color: var(--color333); font-weight: 500; }
.std-title3 { font-size: var(--font36); line-height: var(--l1h4); color: var(--color333); font-weight: 500; }
.std-title4 { font-size: var(--font30); line-height: var(--l1h5); color: var(--color333); font-weight: 500; }
.std-title5 { font-size: var(--font26); line-height: var(--l1h5); color: var(--color333); font-weight: 500; }
.std-title6 { font-size: var(--font20); line-height: var(--l1h75); color: var(--color333); font-weight: 500; }
.std-text1, .std-text1 p { font-size: var(--text16); color: var(--color666); line-height: var(--l1h75); }
.std-text2, .std-text2 p { font-size: var(--text18); line-height: var(--l1h75); color: var(--color666); }

/* ---------- 金色胶囊按钮（原站 std-btn2） ---------- */
.std-btn2-link {
    display: inline-block; padding: 8px 50px; border: none;
    border-radius: 22px; background: var(--colormain2);
    position: relative; overflow: hidden; font-size: var(--text16);
}
.std-btn2-link::before {
    content: ''; background: var(--colormain); position: absolute;
    top: 50%; left: 0; transform: translateY(-50%);
    width: 0; height: 100%; border-radius: 22px;
    transition: all .4s ease; z-index: 2;
}
.std-btn2-link:hover::before { width: 100%; }
.std-btn2-link .std-text1 {
    color: var(--colorfff); line-height: var(--l1h3);
    margin-bottom: 0; position: relative; z-index: 6; display: inline-block;
}

/* ---------- 滚动渐入 ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   头部：固定 80px，首页顶部透明白字，滚动后白底深字
   ============================================================ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--head);
    background: transparent;
    transition: background .4s ease, box-shadow .4s ease;
}
.hd-inner {
    height: 100%; padding: 0 40px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    max-width: 1680px; margin: 0 auto;
}
.site-header.scrolled, body:not(.is-home) .site-header { background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }

/* 颜色随状态切换 */
.site-header .hd-logo, .site-header .hd-nav-item, .site-header .hd-search-btn { color: var(--colorfff); }
.site-header.scrolled .hd-logo, .site-header.scrolled .hd-nav-item, .site-header.scrolled .hd-search-btn,
body:not(.is-home) .hd-logo, body:not(.is-home) .hd-nav-item, body:not(.is-home) .hd-search-btn { color: var(--color333); }

.hd-logo { display: flex; align-items: center; gap: 11px; }
.hd-logo-mark { display: flex; color: var(--colormain2); }
.site-header.scrolled .hd-logo-mark, body:not(.is-home) .hd-logo-mark { color: var(--colormain); }
.hd-logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.hd-logo-text b { font-size: 20px; font-weight: 600; letter-spacing: 3px; }
.hd-logo-text i { font-style: normal; font-size: 10px; letter-spacing: 4px; color: var(--colormain2); }

.hd-nav { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.hd-nav-item { position: relative; flex: 0 0 auto; }
/* 同时兼容两种结构：div.hd-nav-item > a（带下拉）与 a.hd-nav-item（纯链接） */
.hd-nav-item > a, a.hd-nav-item {
    display: block; padding: 8px 22px; font-size: 17px; letter-spacing: 2px;
    position: relative; line-height: normal; white-space: nowrap;
}
.hd-nav-item > a::after, a.hd-nav-item::after {
    content: ''; position: absolute; left: 22px; right: 22px; bottom: -2px; height: 2px;
    background: var(--colormain2); transform: scaleX(0); transition: transform .4s ease;
}
.hd-nav-item:hover > a::after, .hd-nav-item.act > a::after,
a.hd-nav-item:hover::after, a.hd-nav-item.act::after { transform: scaleX(1); }
.hd-nav-item.act > a, a.hd-nav-item.act { color: var(--colormain2); }
.site-header.scrolled .hd-nav-item.act > a, body:not(.is-home) .hd-nav-item.act > a,
.site-header.scrolled a.hd-nav-item.act, body:not(.is-home) a.hd-nav-item.act { color: var(--colormain); }

/* 下拉菜单 */
.hd-down {
    position: absolute; top: 100%; left: 50%; transform: translate(-50%, 12px);
    background: rgba(255, 255, 255, .98); backdrop-filter: blur(8px);
    min-width: 200px; padding: 12px 0;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .14); border-top: 2px solid var(--colormain2);
    opacity: 0; visibility: hidden; transition: all .35s ease;
}
.hd-nav-item:hover .hd-down { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hd-down a {
    display: block; padding: 11px 26px; font-size: 15px; color: var(--color333);
    letter-spacing: 1px; white-space: nowrap; transition: all .3s;
}
.hd-down a:hover { color: var(--colormain); padding-left: 32px; }
.hd-down-all { border-top: 1px solid var(--colore3); margin-top: 8px; padding-top: 13px !important; color: var(--colormain) !important; }

.hd-right { display: flex; align-items: center; gap: 16px; }
.hd-search-btn { background: none; border: none; display: flex; padding: 6px; transition: color .4s; }
.hd-search-btn:hover { color: var(--colormain2) !important; }
.hd-menu-btn { display: none; background: none; border: none; padding: 6px; }
.hd-menu-btn span { display: block; width: 24px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }

/* 搜索下拉层 */
.hd-search-layer {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255, 255, 255, .98); backdrop-filter: blur(8px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .12);
    padding: 26px 0; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: all .35s ease;
}
.hd-search-layer.open { opacity: 1; visibility: visible; transform: none; }
.hd-search-form { display: flex; max-width: 760px; margin: 0 auto; padding: 0 20px; }
.hd-search-form input {
    flex: 1; border: none; border-bottom: 1px solid var(--colore3); background: transparent;
    padding: 12px 4px; font-size: 17px; outline: none; font-family: inherit; color: var(--color333);
}
.hd-search-form input:focus { border-color: var(--colormain); }
.hd-search-form button {
    border: none; background: none; color: var(--colormain); font-size: 16px;
    padding: 0 18px; letter-spacing: 2px;
}

/* 移动端全屏菜单 */
.ph-menu {
    position: fixed; inset: 0; z-index: 200; background: var(--colordark); color: #eee;
    padding: 0 30px; overflow-y: auto;
    transform: translateX(100%); transition: transform .4s ease; visibility: hidden;
}
.ph-menu.open { transform: none; visibility: visible; }
.ph-menu-head { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.ph-menu-logo { font-size: 17px; letter-spacing: 3px; color: var(--colormain2); }
.ph-menu-close { background: none; border: none; color: #eee; padding: 8px; }
.ph-menu-nav { display: flex; flex-direction: column; padding: 16px 0 40px; }
.ph-menu-nav a { padding: 15px 0; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .07); letter-spacing: 2px; }
.ph-menu-nav a.act { color: var(--colormain2); }
.ph-menu-nav a.ph-sub { font-size: 14px; color: #9b9b9b; padding: 11px 0 11px 18px; border-bottom: none; }
.ph-menu-tel { padding: 24px 0 50px; color: #9b9b9b; font-size: 13px; }
.ph-menu-tel b { display: block; font-size: 22px; color: var(--colormain2); font-family: var(--weiheng); margin-top: 6px; }

/* ============================================================
   全屏 Banner（原站 ys-banner：居中白字 70px + 副标题 20px）
   ============================================================ */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 960px; overflow: hidden; background: var(--colordark); }
.hero-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
    background-size: cover; background-position: center;
}
.hero-slide.on { opacity: 1; }
.hero-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.hero-txtbox {
    position: relative; z-index: 2; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding-top: var(--head);
}
.hero-txtbox .std-title1 { color: var(--colorfff); letter-spacing: 10px; opacity: 0; transform: translateY(36px); transition: opacity .9s ease .3s, transform .9s ease .3s; }
.hero-txtbox .std-title6 { color: var(--colorfff); margin-top: 32px; letter-spacing: 3px; opacity: 0; transform: translateY(36px); transition: opacity .9s ease .55s, transform .9s ease .55s; }
.hero-slide.on .hero-txtbox .std-title1, .hero-slide.on .hero-txtbox .std-title6 { opacity: 1; transform: none; }
.hero-dots {
    position: absolute; bottom: 38px; left: 0; right: 0; z-index: 5;
    display: flex; justify-content: center; gap: 12px;
}
.hero-dots button { width: 40px; height: 3px; border: none; background: rgba(255, 255, 255, .35); transition: background .4s; }
.hero-dots button.on { background: var(--colormain2); }
.hero-scroll {
    position: absolute; right: 44px; bottom: 0; width: 1px; height: 96px;
    background: rgba(255, 255, 255, .22); z-index: 5; overflow: hidden;
}
.hero-scroll i {
    position: absolute; left: 0; top: -40%; width: 100%; height: 40%;
    background: var(--colormain2); animation: scrollHint 2.2s ease-in-out infinite;
}
@keyframes scrollHint { 0% { top: -40%; } 60%, 100% { top: 110%; } }

/* ============================================================
   业务领域：中心缩放轮播（原站 home-business + slick centerMode）
   ============================================================ */
.home-business { padding-top: var(--space110); padding-bottom: var(--space130); overflow: hidden; }
.home-sec-title { text-align: center; margin-bottom: 56px; }

.biz-carousel { position: relative; }
.biz-track { display: flex; transition: transform .65s ease; }
.hbli-item { flex: 0 0 100%; min-width: 0; transform: scale(.875); transition: transform .65s ease; }
.hbli-item.act { transform: scale(1); }
.hbli-link { position: relative; display: block; overflow: hidden; }
.hbli-bg { display: block; aspect-ratio: 1440 / 620; max-height: 640px; width: 100%; overflow: hidden; background: var(--colordark); }
.hbli-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hbli-link:hover .hbli-bg img { transform: scale(1.05); }
.hbli-link::before {
    content: ''; position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(101deg, rgba(0, 0, 0, .55) 44.5%, rgba(0, 0, 0, 0) 100%);
}
.hbli-text {
    position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 44.83%; padding-left: 8vw; color: var(--colorfff); display: block;
}
.hbli-text .std-title5 { color: var(--colorfff); margin-bottom: 18px; letter-spacing: 2px; }
.hbli-text .std-text1 { color: var(--colorfff); margin-bottom: 30px; opacity: .92; }
.hbli-more {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: var(--text16); letter-spacing: 2px; color: var(--colormain2);
}
.hbli-more svg { transition: transform .4s ease; }
.hbli-link:hover .hbli-more svg { transform: translateX(7px); }

.biz-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .15);
    color: #fff; display: flex; align-items: center; justify-content: center;
    transition: all .35s;
}
.biz-arrow:hover { background: var(--colormain2); border-color: var(--colormain2); }
.biz-prev { left: 19px; }
.biz-next { right: 19px; }

.home-news-btn { display: flex; justify-content: center; margin-top: 49px; }

/* ============================================================
   专业团队：大图背景 + 胶囊筛选（原站 home-team）
   ============================================================ */
.home-team { position: relative; overflow: hidden; }
.home-team-bg { position: relative; }
.home-team-bg img { width: 100%; height: 660px; object-fit: cover; }
.home-team-bg::before {
    content: ''; position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(99deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .05));
}
.home-team-inner {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3;
    width: 1200px; max-width: 100%; padding: 0 20px;
}
.home-team-cry { width: 44%; min-width: 460px; }
.home-team-cry .std-title2 { color: var(--colorfff); margin-bottom: 11px; }
.home-team-cry > .std-text1 { color: var(--colorfff); margin-bottom: 35px; opacity: .95; }

/* 胶囊筛选（原站 htcl-item-box：44px 白边圆角） */
.team-filter .htcl-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.htcl-item-box {
    height: 44px; border: 1px solid var(--colorfff); border-radius: 30px;
    display: flex; align-items: center; width: calc(50% - 7px); padding: 0 16px 0 20px;
}
.htcl-item-box.wide { width: 100%; }
.htcl-item-box select, .htcl-item-box input {
    width: 100%; height: 100%; background: transparent; border: none; outline: none;
    color: var(--colorfff); font-size: 14px; font-family: inherit;
}
.htcl-item-box select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.htcl-item-box select option { color: var(--color333); background: #fff; }
.htcl-item-box input::placeholder { color: var(--colorfff); opacity: .9; }
.htcl-item-box.dark { border-color: var(--colore3); }
.htcl-item-box.dark select, .htcl-item-box.dark input { color: var(--color333); }
.htcl-item-box.dark input::placeholder { color: var(--color999); }
.htcl-btn { margin-top: 25px; }

/* ============================================================
   立足中国 放眼全球：#232323 深色 + 地图 + 数据圆（原站 home-world）
   ============================================================ */
.home-world { background: var(--colordark); padding-top: 60px; padding-bottom: 77px; position: relative; overflow: hidden; }
.home-world-inner { display: flex; align-items: center; gap: 40px; position: relative; z-index: 5; }
.home-world-cry { width: 46%; flex-shrink: 0; }
.home-world-cry .std-title2 { color: var(--colorfff); margin-bottom: 20px; }
.home-world-cry > .std-text1 { color: var(--colorfff); margin-bottom: 28px; opacity: .85; }
.std-btn3-row { display: flex; gap: 48px; flex-wrap: wrap; }
.std-btn3-link { display: inline-flex; align-items: center; }
.std-btn3-link .std-text1 { color: var(--colormain2); line-height: var(--l1h5); margin-bottom: 0; }
.std-btn3-icon { margin-left: 12px; color: var(--colormain2); display: flex; transition: transform .4s ease; }
.std-btn3-link:hover .std-btn3-icon { transform: translateX(7px); }

.home-world-map { position: relative; flex: 1; min-width: 0; }
.home-world-map img { width: 100%; opacity: .9; }
.home-world-map-list { position: absolute; inset: 0; }
.hwml-item {
    position: absolute; transform: translate(-50%, -50%);
    border-radius: 50%; background: rgba(255, 255, 255, .05);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; transition: background .4s;
}
.hwml-item:hover { background: rgba(255, 255, 255, .09); }
.hwml-item1, .hwml-item2 { width: 175px; height: 175px; }
.hwml-item3 { width: 255px; height: 255px; }
.hwml-data { display: block; margin-bottom: 2px; }
.hwml-data b { color: var(--colormain2); font-size: var(--font36); font-family: var(--weiheng); font-weight: 400; margin-right: 5px; }
.hwml-data i { font-style: normal; font-size: var(--font30); color: var(--colormain2); }
.hwml-label { color: rgba(255, 255, 255, .4) !important; white-space: nowrap; }

/* ============================================================
   最新资讯（原站 home-news：三列 + meta分隔 + 下划线悬停）
   ============================================================ */
.home-news { padding-top: 83px; padding-bottom: 82px; }
.home-news .home-sec-title { margin-bottom: 40px; }
.home-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.hnli-item { min-width: 0; }
.hnli-link { display: block; }
.hnli-img { display: block; overflow: hidden; margin-bottom: 27px; aspect-ratio: 4 / 3; background: var(--colorf7); }
.hnli-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hnli-link:hover .hnli-img img { transform: scale(1.12); }
.hnli-top { display: flex; flex-wrap: wrap; margin: 0 -12px 14px; }
.hnli-nub { padding: 0 12px; position: relative; font-style: normal; color: var(--color999); font-size: 14px; line-height: 1.6; }
.hnli-nub::before {
    content: ''; height: 12px; width: 1px; background: var(--color999);
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
}
.hnli-nub:last-child::before { display: none; }
.hnli-cate { color: var(--colormain) !important; }
.hnli-title {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    text-decoration: underline; text-underline-position: under;
    text-decoration-color: transparent; transition: all .4s ease; margin-bottom: 14px;
}
.hnli-link:hover .hnli-title { text-decoration-color: var(--colormain2); color: var(--colormain); }
.hnli-sum {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    color: var(--color999) !important;
}

/* ============================================================
   奖项认可：#f7f7f7 + 跑马灯 + 卡片（原站 home-awards）
   ============================================================ */
.home-awards { background: var(--colorf7); padding-top: var(--space120); padding-bottom: var(--space100); }
.awards-marquee { overflow: hidden; margin-bottom: 64px; position: relative; }
.awards-marquee::before, .awards-marquee::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.awards-marquee::before { left: 0; background: linear-gradient(90deg, var(--colorf7), transparent); }
.awards-marquee::after { right: 0; background: linear-gradient(270deg, var(--colorf7), transparent); }
.awards-track { display: flex; width: max-content; animation: marq 36s linear infinite; }
.awards-marquee:hover .awards-track { animation-play-state: paused; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.awards-nub {
    width: 330px; padding: 26px 20px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.awards-nub b { font-size: var(--font22); color: var(--color333); font-weight: 500; letter-spacing: 1px; transition: color .4s; white-space: nowrap; }
.awards-nub i { font-style: normal; font-size: 14px; color: var(--color999); font-family: var(--weiheng); }
.awards-nub:hover b { color: var(--colormain); }

.awards-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.awards-card { background: #fff; border-top: 1px solid #DFDFDF; padding: 24px 24px 26px; transition: box-shadow .4s, transform .4s; }
.awards-card:hover { box-shadow: 0 14px 40px rgba(0, 0, 0, .07); transform: translateY(-4px); }
.awards-card-org { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.awards-card-org b { color: var(--color333); font-weight: 500; }
.awards-card-org i { font-style: normal; color: var(--colormain); font-family: var(--weiheng); font-size: 14px; }
.awards-card-title { color: var(--color666); font-size: var(--text16); line-height: var(--l1h75); }
.awards-btn { margin-top: 75px; }

/* ============================================================
   页脚（原站 ys-footer：#3E3E3F 三段式）
   ============================================================ */
.site-footer { background: var(--colorfooter); color: #939496; }
.ft-top { padding: 50px 20px; display: flex; justify-content: center; }
.ft-top-link { display: flex; align-items: center; }
.ft-top-link .std-title4 { color: var(--colorfff); }
.ft-top-arrow { margin-left: 48px; color: var(--colormain2); display: flex; transition: transform .4s ease; }
.ft-top-link:hover .ft-top-arrow { transform: translateX(12px); }

.ft-center { border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); padding: 70px 0 40px; }
.ft-center-inner { width: 1360px; max-width: 100%; margin: 0 auto; padding: 0 20px; display: flex; align-items: flex-start; gap: 40px; }
.ft-left { width: 400px; flex-shrink: 0; padding-right: 20px; }
.ft-logo { display: block; margin-bottom: 32px; }
.ft-logo b { display: block; font-size: 24px; color: var(--colorfff); letter-spacing: 4px; font-weight: 600; }
.ft-logo i { font-style: normal; font-size: 10px; letter-spacing: 5px; color: var(--colormain2); }
.ft-code { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; }
.ft-code-img {
    width: 108px; height: 108px; border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08);
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: var(--colormain2); font-family: var(--weiheng);
}
.ft-code-text { color: rgba(153, 153, 153, .8); font-size: 14px; line-height: var(--l1h5); }
.ft-contact li { display: flex; margin-bottom: 12px; font-size: 14px; }
.ft-contact i { font-style: normal; width: 56px; flex-shrink: 0; color: rgba(147, 148, 150, .9); }
.ft-contact b { color: #d6d6d7; font-weight: 400; line-height: 1.6; word-break: break-all; }

.ft-navs { flex: 1; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ft-nav-first { font-size: var(--text16); color: var(--colorfff); margin-bottom: 23px; letter-spacing: 2px; }
.ft-nav-nub { margin-bottom: 6px; }
.ft-nav-nub a { color: #939496; font-size: 14px; line-height: 2; transition: color .4s; }
.ft-nav-nub a:hover { color: var(--colorfff); }

.ft-bot { padding: 20px 0; }
.ft-bot-inner {
    width: 1360px; max-width: 100%; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
    font-size: 13px; color: rgba(147, 148, 150, .75);
}

.back-top {
    position: fixed; right: 26px; bottom: 26px; width: 46px; height: 46px;
    border: 1px solid var(--colore3); background: #fff; color: var(--colormain);
    opacity: 0; visibility: hidden; transition: all .3s; z-index: 99;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--colormain); color: #fff; border-color: var(--colormain); }

/* ============================================================
   内页：浅色横幅 + 内容
   ============================================================ */
.page-banner {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px),
        linear-gradient(110deg, #1d1a17 0%, #2e2620 60%, #4a3a28 120%);
    padding: calc(var(--head) + 74px) 0 74px; position: relative; overflow: hidden;
}
.page-banner::after {
    content: ''; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px;
    border: 1px solid rgba(198, 147, 94, .3); transform: rotate(45deg);
}
.pb-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; position: relative; z-index: 1; }
.pb-text .std-title2 { color: var(--colorfff); letter-spacing: 4px; }
.pb-text .std-text1 { color: rgba(255, 255, 255, .65); margin-top: 12px; letter-spacing: 1px; }
.pb-text h1::after { content: ''; display: block; width: 46px; height: 3px; background: var(--colormain2); margin-top: 20px; }
.pb-crumb { color: rgba(255, 255, 255, .55); font-size: 14px; }
.pb-crumb a:hover { color: var(--colormain2); }
.pb-crumb i { font-style: normal; margin: 0 10px; }
.pb-crumb b { color: var(--colormain2); font-weight: 400; }

.page-body { padding: 90px 0 110px; }
.sec-sub { color: var(--color999); margin: 0 0 34px; }
.sec-sub b { color: var(--colormain); font-family: var(--weiheng); }

/* 业务列表：两张大图卡 */
.biz-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.biz-list-grid .hbli-item { transform: none; }
.biz-list-grid .hbli-bg { aspect-ratio: 640 / 400; }

/* 分类胶囊 */
.cate-bar { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.cate-bar a {
    padding: 9px 30px; border-radius: 22px; border: 1px solid var(--colore3);
    color: var(--color666); font-size: 15px; letter-spacing: 1px; transition: all .35s;
}
.cate-bar a:hover, .cate-bar a.act { background: var(--colormain2); border-color: var(--colormain2); color: #fff; }

/* 团队网格 */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.htcl-lawyer { text-align: center; display: block; }
.lawyer-photo {
    width: 100%; aspect-ratio: 3 / 3.7; overflow: hidden; background: linear-gradient(165deg, #efeae2, #d9cdb8);
    margin-bottom: 18px;
}
.lawyer-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.htcl-lawyer:hover .lawyer-photo img { transform: scale(1.08); }
.photo-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 72px; color: #a6936f; font-weight: 300; font-family: var(--weiheng);
}
.lawyer-name { display: block; letter-spacing: 3px; transition: color .4s; }
.htcl-lawyer:hover .lawyer-name { color: var(--colormain); }
.lawyer-title { display: block; color: var(--colormain); font-size: 13px; margin: 6px 0 4px; letter-spacing: 1px; }
.lawyer-spec { display: block; color: var(--color999); font-size: 13px; }
.empty-tip { text-align: center; color: var(--color999); padding: 70px 0; grid-column: 1 / -1; letter-spacing: 2px; }

/* 详情（与 .cont1200 同元素使用时，min() 保证手机端不超宽） */
.detail-wrap { max-width: min(880px, 100%); }
.detail-card { background: #fff; border: 1px solid var(--colore3); padding: 46px 52px; }
.detail-title { margin-bottom: 16px; color: var(--color333); line-height: var(--l1h4); }
.detail-meta { margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--colore3); }
.detail-cover { margin: 0 0 26px; }
.detail-lead {
    background: var(--colorf7); border-left: 3px solid var(--colormain2);
    padding: 16px 22px; color: var(--color666); margin-bottom: 28px;
}
.rich-text { line-height: var(--l1h75); word-break: break-word; }
.rich-text p { margin-bottom: .75em; }
.rich-text img { margin: 10px 0; }
.rich-text h2, .rich-text h3 { margin: 22px 0 12px; color: var(--color333); }
.rich-text ul, .rich-text ol { padding-left: 24px; margin-bottom: .75em; list-style: disc; }
.detail-nav { margin-top: 34px; border-top: 1px solid var(--colore3); padding-top: 22px; }
.detail-nav a { display: block; color: var(--color999); font-size: 14px; margin-bottom: 8px; transition: color .3s, transform .3s; }
.detail-nav a:hover { color: var(--colormain); transform: translateX(4px); }
.back-btn { margin-top: 34px; }

/* 律师详情 */
.lawyer-detail { display: flex; gap: 44px; }
.lawyer-photo.big { width: 280px; flex-shrink: 0; aspect-ratio: 3 / 3.7; }
.lawyer-info h2 small { display: block; font-size: 15px; color: var(--color999); font-weight: 400; margin-top: 10px; letter-spacing: 1px; }
.lawyer-meta { background: var(--colorf7); border-left: 3px solid var(--colormain2); padding: 18px 24px; margin-bottom: 26px; }
.lawyer-meta li { display: flex; margin-bottom: 8px; font-size: 15px; }
.lawyer-meta li:last-child { margin-bottom: 0; }
.lawyer-meta i { font-style: normal; color: var(--color999); width: 80px; flex-shrink: 0; }
.lawyer-meta b { color: var(--color333); font-weight: 400; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination .current {
    min-width: 42px; padding: 9px 14px; text-align: center; font-size: 15px;
    border: 1px solid var(--colore3); background: #fff; font-family: var(--weiheng); transition: all .3s;
}
.pagination .current { background: var(--colormain2); border-color: var(--colormain2); color: #fff; }
.pagination a:hover { border-color: var(--colormain2); color: var(--colormain); }

/* 联系页 */
.contact-wrap { display: grid; grid-template-columns: 380px 1fr; gap: 30px; align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 24px; }
.contact-info { background: var(--colordark); color: #ccc; padding: 38px 34px; }
.contact-info h3 { color: #fff; margin-bottom: 26px; letter-spacing: 2px; }
.contact-info li { display: flex; margin-bottom: 16px; word-break: break-all; color: #b9b9b9 !important; }
.contact-info li:last-child { margin-bottom: 0; }
.contact-info i { font-style: normal; width: 56px; flex-shrink: 0; color: var(--colormain2); }
.contact-note { background: var(--colorf7); border: 1px solid var(--colore3); padding: 26px 28px; }
.contact-note h4 { margin-bottom: 10px; }
.contact-note p { font-size: 14px; color: var(--color999) !important; }
.contact-form { padding: 40px 44px; }
.cf-title { margin-bottom: 26px; }
.cf-title small { font-size: 12px; color: var(--color999); font-weight: 400; margin-left: 10px; }
.contact-form label { display: block; margin-bottom: 18px; font-size: 14px; color: var(--color666); }
.contact-form label em { color: var(--colormain); font-style: normal; }
.contact-form input, .contact-form textarea {
    width: 100%; margin-top: 8px; border: 1px solid var(--colore3);
    padding: 12px 16px; font-size: 15px; font-family: inherit;
    outline: none; resize: vertical; background: var(--colorf7); transition: all .3s;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--colormain2); background: #fff; box-shadow: 0 0 0 3px rgba(198, 147, 94, .12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.btn-submit { width: 100%; letter-spacing: 6px; }
.form-msg { padding: 13px 18px; margin-bottom: 20px; font-size: 14px; }
.form-msg.success { background: #eef6ee; color: #2e7d32; border: 1px solid #bfe3c0; }
.form-msg.error { background: #fdecec; color: #c62828; border: 1px solid #f3c1c1; }

.about-cards { margin-top: 30px; }

/* 404 */
.err-section { text-align: center; }
.err-code { font-family: var(--weiheng); font-size: 110px; line-height: 1; color: var(--colormain2); opacity: .35; font-weight: 500; }
.err-text { margin: 10px 0 36px; letter-spacing: 3px; }

/* ============================================================
   响应式
   ============================================================ */
/* 窄桌面：导航收紧防溢出 */
@media (max-width: 1400px) {
    .hd-nav-item > a, a.hd-nav-item { padding: 8px 14px; font-size: 16px; }
    .hd-nav-item > a::after, a.hd-nav-item::after { left: 14px; right: 14px; }
    .hd-logo-text b { font-size: 18px; letter-spacing: 2px; }
}

/* 平板横屏 ≤1199px */
@media (max-width: 1199px) {
    :root {
        --font70: 56px; --font60: 48px; --font46: 38px; --font36: 30px; --font30: 26px;
        --font26: 24px; --font20: 19px; --text18: 17px; --text16: 15px;
        --space110: 80px; --space120: 90px; --space130: 90px; --space100: 80px;
    }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .ft-left { width: 340px; }
    .awards-nub { width: 280px; }
}

/* 平板竖屏 ≤991px */
@media (max-width: 991px) {
    .hd-nav { display: none; }
    .hd-menu-btn { display: block; }
    .hd-inner { padding: 0 20px; }

    .home-news-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .awards-cards { grid-template-columns: repeat(2, 1fr); }
    .biz-list-grid { grid-template-columns: 1fr; }
    .ft-center-inner { flex-direction: column; gap: 44px; }
    .ft-left { width: 100%; padding-right: 0; }
    .ft-navs { width: 100%; justify-content: flex-start; }
    .ft-nav-col { width: calc(50% - 12px); }

    /* 团队区改为流式 */
    .home-team-bg img { height: auto; min-height: 640px; }
    .home-team-inner { position: relative; top: auto; left: auto; transform: none; padding: 70px 20px; }
    .home-team-bg { position: absolute; inset: 0; }
    .home-team-cry { width: 100%; min-width: 0; max-width: 560px; }
    .htcl-item-box { width: 100%; }

    .home-world-inner { flex-direction: column; }
    .home-world-cry { width: 100%; }
    .home-world-map { width: 100%; }
    .contact-wrap { grid-template-columns: 1fr; }
}

/* 大屏手机 ≤767px */
@media (max-width: 767px) {
    :root {
        --font70: 36px; --font60: 32px; --font46: 28px; --font36: 25px; --font30: 23px;
        --font26: 21px; --font22: 19px; --font20: 18px; --head: 64px;
        --space100: 60px; --space110: 60px; --space120: 70px; --space130: 60px;
    }
    .site-header { height: var(--head); }
    .hd-logo-text b { font-size: 16px; letter-spacing: 2px; }
    .hd-logo-text i { letter-spacing: 2px; }

    .hero { min-height: 480px; height: 78vh; }
    .hero-txtbox .std-title1 { letter-spacing: 4px; }
    .hero-scroll { display: none; }

    .home-business { padding-top: 70px; }
    .hbli-bg { aspect-ratio: 4 / 3; }
    .hbli-text { width: 82%; padding-left: 24px; }
    .hbli-text .std-text1 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .biz-arrow { display: none; }

    .home-news { padding-top: 60px; padding-bottom: 60px; }
    .home-news-grid { grid-template-columns: 1fr; gap: 40px; }
    .page-body { padding: 60px 0 70px; }
    .detail-card { padding: 28px 22px; }
    .contact-form { padding: 30px 22px; }
    .form-row { grid-template-columns: 1fr; }
    .page-banner { padding: calc(var(--head) + 50px) 0 50px; }
    .pb-crumb { display: none; }
    .pb-text h1::after { margin-top: 14px; }
    .awards-nub { width: 220px; }
    .awards-nub b { font-size: 16px; white-space: normal; }
    .ft-top { padding: 36px 20px; }
    .ft-top-arrow { margin-left: 24px; }
    .ft-center { padding: 50px 0 30px; }
    .ft-nav-col { width: 100%; }
    .ft-bot-inner { flex-direction: column; text-align: center; }
    .lawyer-detail { flex-direction: column; }
    .lawyer-photo.big { width: 100%; max-width: 280px; }
    .hwml-item1, .hwml-item2 { width: 120px; height: 120px; }
    .hwml-item3 { width: 170px; height: 170px; }
    .hwml-data b { font-size: 24px; }
    .hwml-data i { font-size: 19px; }
    .back-top { right: 16px; bottom: 16px; }
}

/* 小屏手机 ≤480px */
@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
    .awards-cards { grid-template-columns: 1fr; }
    .htcl-row { flex-direction: column; }
    .htcl-item-box { width: 100%; }
    .cate-bar a { flex: 1; text-align: center; padding: 9px 12px; }
    .std-btn2-link { padding: 9px 40px; }
    .hero-txtbox .std-title1 { letter-spacing: 2px; }
    .ft-code { display: none; }
    .team-filter.page-filter { gap: 10px; }
    .team-filter.page-filter .htcl-item-box { width: 100%; }
}
