/* ===== 珺盛律师事务所官网 仿站作业 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  color: #333;
  background: #fff;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container { width: 1200px; margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.header {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 64px;
  z-index: 100;
  background: rgba(255,255,255,.96);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.header .inner {
  width: 1200px; margin: 0 auto;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.logo img { width: 54px; height: 25px; margin-right: 10px; }
.header.on-dark .logo img { filter: invert(1); }
.logo .name { line-height: 1.3; }
.logo .name b { display: block; font-size: 17px; color: #1f3a63; letter-spacing: 1px; }
.logo .name span { display: block; font-size: 10px; color: #6b7a90; text-transform: capitalize; }

.nav { display: flex; }
.nav a {
  position: relative;
  padding: 0 22px;
  line-height: 64px;
  font-size: 15px;
  color: #333;
  transition: color .2s;
}
.nav a:hover { color: #b9974f; }
.nav a.active { color: #b9974f; font-weight: bold; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 22px; right: 22px; bottom: 10px;
  height: 2px;
  background: #b9974f;
}

/* 内页banner时导航变白色字（banner是深色图） */
.header.on-dark { background: transparent; box-shadow: none; }
.header.on-dark .nav a { color: #fff; }
.header.on-dark .nav a:hover,
.header.on-dark .nav a.active { color: #d8bc6a; }
.header.on-dark .nav a.active::after { background: #d8bc6a; }
.header.on-dark .logo .name b { color: #fff; }
.header.on-dark .logo .name span { color: rgba(255,255,255,.75); }

/* ---------- 内页banner ---------- */
.banner {
  height: 330px;
  background: url("../images/other_header_bg.png") center/cover no-repeat;
  position: relative;
}
.banner .txt {
  position: absolute;
  right: 120px; top: 50%;
  transform: translateY(-50%);
  text-align: left;
  color: #fff;
}
.banner .txt h2 {
  font-size: 40px;
  letter-spacing: 8px;
  font-weight: normal;
  margin-bottom: 14px;
  font-family: "STSong", "SimSun", serif;
}
.banner .txt .sub {
  font-size: 20px;
  letter-spacing: 10px;
  margin-bottom: 6px;
}
.banner .txt .en {
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255,255,255,.85);
}
.btn-gold {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 34px;
  background: #d8bc6a;
  color: #fff;
  font-size: 15px;
  letter-spacing: 2px;
  transition: background .2s;
}
.btn-gold:hover { background: #c7a854; }

/* ---------- 通用标题 ---------- */
.sec-title { text-align: center; padding: 55px 0 10px; }
.sec-title h3 {
  font-size: 28px;
  color: #222;
  letter-spacing: 3px;
}
.sec-title h3 em {
  display: block;
  width: 30px; height: 3px;
  background: #4a7ac0;
  margin: 12px auto 10px;
}
.sec-title .en-img { margin: 4px auto 0; }
/* 原站的英文副标题是一张灰色渐变图片 */

/* ---------- 首页 hero ---------- */
.hero {
  height: 640px;
  background: url("../images/home_first_bg.png") center/cover no-repeat;
  position: relative;
}
.hero .txt {
  position: absolute;
  right: 110px; top: 190px;
  color: #fff;
}
.hero .txt h1 {
  font-size: 46px;
  font-weight: normal;
  letter-spacing: 10px;
  font-family: "STSong", "SimSun", serif;
  margin-bottom: 22px;
}
.hero .txt h1::before {
  content: "";
  display: block;
  width: 34px; height: 3px;
  background: #4a6fa5;
  margin: 0 0 14px auto;
}
.hero .txt .zi {
  font-size: 22px;
  letter-spacing: 12px;
  margin-bottom: 8px;
}
.hero .txt .en {
  font-size: 13px;
  color: rgba(255,255,255,.9);
}

/* ---------- 关于我们 ---------- */
.about { padding-bottom: 70px; }
.about .box {
  margin-top: 40px;
  display: flex;
  height: 300px;
  box-shadow: 0 4px 18px rgba(60,90,140,.12);
}
.about .words {
  width: 30%;
  background: #f4f6f9;
  padding: 28px 24px;
  font-size: 12px;
  line-height: 1.9;
  color: #555;
  overflow: hidden;
}
.about .words h4 {
  font-size: 15px;
  color: #222;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.about .pic {
  width: 40%;
  background: url("../images/home_about_left_bg.png") center/cover no-repeat;
}
.about .tags {
  width: 30%;
  display: flex;
  background: linear-gradient(180deg,#fff,#dfe9f8);
}
.about .tags div {
  flex: 1;
  text-align: center;
  padding-top: 40px;
  font-size: 17px;
  font-weight: bold;
  color: #1f3a63;
  border-left: 1px solid rgba(255,255,255,.6);
}
.about .tags img { margin: 2px auto 0; }

/* ---------- 珺盛荣誉 ---------- */
.honor {
  background: url("../images/home_honor_bg.png") center/cover no-repeat;
  padding: 55px 0 70px;
  color: #fff;
}
.honor h3 {
  text-align: center;
  font-size: 28px;
  letter-spacing: 4px;
  margin-bottom: 8px;
}
.honor .en {
  text-align: center;
  font-size: 20px;
  color: rgba(255,255,255,.35);
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 25px;
}
.honor .desc {
  width: 960px;
  margin: 0 auto 40px;
  font-size: 13px;
  line-height: 2;
  color: rgba(255,255,255,.92);
  text-indent: 2em;
}
.honor .list {
  display: flex;
  justify-content: center;
  align-items: center;
}
.honor .arrow { width: 34px; cursor: pointer; opacity: .8; }
.honor .arrow:hover { opacity: 1; }
.honor .item {
  width: 176px;
  margin: 0 10px;
  text-align: center;
}
.honor .item img { height: 150px; object-fit: contain; margin: 0 auto; }
.honor .item .tag {
  margin-top: 14px;
  padding: 8px 4px;
  background: rgba(255,255,255,.95);
  border: 1px solid #d8bc6a;
  color: #a8842e;
  font-size: 12px;
  line-height: 1.7;
}
.honor .item .tag b { display: block; font-size: 14px; }

/* ---------- 珺盛文化 ---------- */
.culture { background: #f7f8fa; padding: 55px 0 65px; }
.culture .left-title h3 {
  font-size: 26px;
  color: #1f3a63;
  letter-spacing: 3px;
}
.culture .left-title p {
  font-size: 18px;
  color: #d9d9d9;
  font-weight: bold;
  margin-top: 6px;
}
.culture .cards { display: flex; margin-top: 30px; }
.culture .card {
  position: relative;
  width: 270px;
  height: 370px;
  margin-right: 40px;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 26px 20px;
}
.culture .card:last-child { margin-right: 0; }
.culture .card h5 {
  text-align: center;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.culture .card p {
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255,255,255,.9);
}
.culture .card .num {
  position: absolute;
  left: 18px; bottom: 16px;
  width: 30px; height: 30px;
  background: #d8bc6a;
  color: #fff;
  font-size: 16px;
  text-align: center;
  line-height: 30px;
}

/* ---------- 页脚 ---------- */
.footer {
  background: #12294e url("../images/footer_bg.png") center/cover no-repeat;
  color: #fff;
  padding: 38px 0 0;
}
.footer .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.footer .top .name b { display: block; font-size: 18px; letter-spacing: 2px; }
.footer .top .name span { font-size: 11px; color: rgba(255,255,255,.65); }
.footer .top .links a {
  font-size: 14px;
  color: rgba(255,255,255,.9);
  margin-left: 8px;
}
.footer .top .links a:hover { color: #d8bc6a; }
.footer .mid {
  display: flex;
  justify-content: space-between;
  padding: 26px 0 30px;
}
.footer .info { font-size: 13px; line-height: 2.2; color: rgba(255,255,255,.92); }
.footer .info b { display: block; font-size: 15px; margin-bottom: 6px; }
.footer .info p img {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 7px;
}
.footer .qrs { display: flex; }
.footer .qr { text-align: center; margin-left: 34px; }
.footer .qr img { width: 92px; height: 92px; background: #fff; padding: 4px; }
.footer .qr p { font-size: 12px; margin-top: 8px; color: rgba(255,255,255,.85); }
.footer .copy {
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
  padding: 12px 0;
  font-size: 12px;
  color: rgba(255,255,255,.6);
}

/* ---------- 左对齐标题（动态/问答/联系/债务页，同原站） ---------- */
.sec-gray { background: #f4f5f7; padding-bottom: 55px; }
.sec-left { width: 1200px; margin: 0 auto; padding: 42px 0 22px; }
.sec-left h3 { font-size: 24px; color: #1f3a63; letter-spacing: 2px; }
.sec-left img { margin-top: 6px; }

/* ---------- 服务页：领域卡片 ---------- */
.field-list {
  display: flex;
  flex-wrap: wrap;
  padding: 30px 0 70px;
}
.field-list li {
  position: relative;
  width: 285px;
  height: 240px;
  margin: 0 20px 20px 0;
  overflow: hidden;
  cursor: pointer;
}
.field-list li:nth-child(4n) { margin-right: 0; }
.field-list li img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.field-list li:hover img { transform: scale(1.06); }
.field-list li .name {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 0 14px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 2px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.65));
}
.field-list li .intro {
  position: absolute;
  inset: 0;
  background: rgba(23,42,74,.88);
  color: #fff;
  font-size: 13px;
  line-height: 1.9;
  padding: 26px 22px;
  opacity: 0;
  transition: opacity .3s;
}
.field-list li:hover .intro { opacity: 1; }

/* ---------- 团队页 ---------- */
.team-list {
  display: flex;
  flex-wrap: wrap;
  padding: 30px 0 70px;
}
.team-list li {
  position: relative;
  width: 285px;
  margin: 0 20px 22px 0;
  cursor: pointer;
  overflow: hidden;
}
.team-list li:nth-child(4n) { margin-right: 0; }
.team-list li img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top;
}
.team-list li .base {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 0 12px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.7));
}
.team-list li .base b { font-size: 16px; letter-spacing: 2px; }
.team-list li .base span {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  color: rgba(255,255,255,.85);
}
.team-list li .detail {
  position: absolute;
  inset: 0;
  background: rgba(23,42,74,.9);
  color: #fff;
  padding: 24px 20px;
  font-size: 12px;
  line-height: 1.9;
  opacity: 0;
  transition: opacity .3s;
  overflow: hidden;
}
.team-list li:hover .detail { opacity: 1; }
.team-list li .detail b {
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.team-list li .detail p { margin-bottom: 8px; }
.team-list li .detail span { color: #d8bc6a; }

/* ---------- 文章列表（动态/问答/期刊） ---------- */
.news-list { padding: 10px 0 60px; }
.news-list li {
  display: flex;
  margin-bottom: 26px;
  border: 1px solid #ececec;
  background: #fff;
  transition: box-shadow .25s;
}
.news-list li:hover { box-shadow: 0 6px 20px rgba(30,58,95,.12); }
.news-list li .pic { width: 300px; height: 190px; flex: none; overflow: hidden; }
.news-list li .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-list li:hover .pic img { transform: scale(1.05); }
.news-list li .txt {
  flex: 1;
  padding: 26px 30px;
  position: relative;
}
.news-list li .txt h4 {
  font-size: 17px;
  color: #222;
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-list li .txt p {
  font-size: 13px;
  color: #888;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-list li .date {
  position: absolute;
  right: 30px; bottom: 20px;
  font-size: 13px;
  color: #b9974f;
}

/* ---------- 债务协商页 ---------- */
.debt-title { padding: 45px 0 25px; }
.debt-title h3 { font-size: 24px; color: #1f3a63; letter-spacing: 2px; }
.debt-title img { margin-top: 6px; }
.debt-card {
  width: 270px;
  background: #fff;
  padding: 20px 18px;
  margin-bottom: 70px;
}
.debt-card .date { font-size: 12px; color: #999; }
.debt-card h4 { font-size: 14px; color: #222; margin: 14px 0 10px; }
.debt-card p { font-size: 12px; color: #888; margin-bottom: 12px; }
.debt-card img { width: 100%; }

/* ---------- 联系我们页 ---------- */
.contact-box {
  display: flex;
  margin: 30px 0 70px;
  box-shadow: 0 4px 18px rgba(60,90,140,.12);
}
.contact-form {
  width: 55%;
  background: #fff url("../images/form_bg.png") right bottom no-repeat;
  background-size: 45% auto;
  padding: 40px 44px;
}
.contact-form h4 { font-size: 20px; color: #1f3a63; margin-bottom: 8px; letter-spacing: 2px; }
.contact-form .tip { font-size: 13px; color: #999; margin-bottom: 22px; }
.contact-form .row { display: flex; margin-bottom: 16px; }
.contact-form .row input {
  flex: 1;
  height: 40px;
  border: 1px solid #ddd;
  padding: 0 12px;
  font-size: 13px;
  outline: none;
  margin-right: 14px;
}
.contact-form .row input:last-child { margin-right: 0; }
.contact-form .row input:focus { border-color: #4a7ac0; }
.contact-form textarea {
  width: 100%;
  height: 110px;
  border: 1px solid #ddd;
  padding: 10px 12px;
  font-size: 13px;
  resize: none;
  outline: none;
  font-family: inherit;
}
.contact-form textarea:focus { border-color: #4a7ac0; }
.contact-form button {
  margin-top: 18px;
  padding: 11px 44px;
  background: #1f3a63;
  color: #fff;
  border: none;
  font-size: 14px;
  letter-spacing: 3px;
  cursor: pointer;
}
.contact-form button:hover { background: #2a4d82; }
.contact-form .note { margin-top: 14px; font-size: 12px; color: #aaa; }

.contact-info {
  width: 45%;
  background: #f4f6f9;
  padding: 40px 40px;
}
.contact-info h4 { font-size: 20px; color: #1f3a63; margin-bottom: 24px; letter-spacing: 2px; }
.contact-info dl { font-size: 13px; line-height: 2.1; color: #555; margin-bottom: 18px; }
.contact-info dt { font-weight: bold; color: #222; }

/* ---------- 返回顶部 ---------- */
#backTop {
  position: fixed;
  right: 26px; bottom: 60px;
  width: 44px; height: 44px;
  background: #1f3a63;
  color: #fff;
  text-align: center;
  line-height: 44px;
  font-size: 12px;
  cursor: pointer;
  display: none;
  z-index: 99;
}
#backTop:hover { background: #d8bc6a; }
