:root {
  --jj-red: #b8141d;
  --jj-red-dark: #8f1017;
  --jj-ink: #171717;
  --jj-text: #333333;
  --jj-muted: #777777;
  --jj-line: #e7e2dc;
  --jj-paper: #ffffff;
  --jj-soft: #f7f5f2;
  --jj-footer: #101010;
  --jj-max: 1280px;
  --jj-float-size: 48px;
  --jj-icon-size: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--jj-text);
  background: var(--jj-paper);
  font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  line-height: 1.72;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.jj-container {
  width: min(var(--jj-max), calc(100% - 80px));
  margin: 0 auto;
}

.jj-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.jj-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 32px;
}

.jj-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 220px;
}

.jj-logo img {
  width: auto;
  height: 62px;
  max-width: 220px;
  object-fit: contain;
}

.jj-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  font-size: 15px;
  color: #1e1e1e;
  white-space: nowrap;
}

.jj-nav-item {
  position: relative;
}

.jj-nav-item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 29px 0;
}

.jj-nav-item > a::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  background: var(--jj-red);
  content: "";
  opacity: 0;
  transform: scaleX(0.2);
  transition: 0.2s ease;
}

.jj-nav-item:hover > a::after,
.jj-nav-item.active > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.jj-nav-arrow {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.jj-nav-item:hover .jj-nav-arrow {
  transform: translateY(3px) rotate(225deg);
}

.jj-subnav {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  min-width: 168px;
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.jj-nav-item:hover .jj-subnav {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.jj-subnav a {
  display: block;
  padding: 10px 18px;
  color: var(--jj-text);
  font-size: 14px;
  line-height: 1.45;
  transition: 0.18s ease;
}

.jj-subnav a:hover {
  color: var(--jj-red);
  background: #f8f5f2;
}

.jj-mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--jj-line);
  background: #fff;
}

.jj-mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--jj-ink);
}

.jj-hero {
  position: relative;
  min-height: 620px;
  height: min(720px, calc(100vh - 40px));
  padding-top: 82px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #f4f7f8 url("../images/hero-law.png") center / cover no-repeat;
  cursor: zoom-in;
}

.jj-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.24) 52%, rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.18), transparent 52%);
  content: "";
}

.jj-hero::after {
  display: none;
}

.jj-hero-stage,
.jj-hero-slide {
  position: absolute;
  inset: 0;
}

.jj-hero-stage {
  z-index: 0;
  overflow: hidden;
}

.jj-hero-slide {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 7s ease;
}

.jj-hero-slide.is-active {
  opacity: 1;
  transform: scale(1.1);
  animation: jjHeroDrift 12s ease-in-out infinite alternate;
}

.jj-hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 60px));
  text-align: center;
  pointer-events: none;
}

.jj-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5.2vw, 76px);
  font-weight: 600;
  letter-spacing: 0.12em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.jj-hero p {
  margin: 0;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: 0.18em;
}

.jj-hero-viewer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 42px;
  background: rgba(8, 10, 12, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.jj-hero-viewer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.jj-hero-viewer img {
  max-width: min(1180px, 94vw);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
}

.jj-hero-viewer button {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

@keyframes jjHeroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.1) translate3d(-1.6%, -1.2%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jj-hero-slide,
  .jj-hero-slide.is-active {
    animation: none;
    transition: opacity 0.2s ease;
    transform: none;
  }
}

.jj-section {
  padding: 96px 0;
}

.jj-section-soft {
  background: var(--jj-soft);
}

.jj-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.jj-kicker {
  margin: 0 0 8px;
  color: var(--jj-red);
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.jj-title {
  margin: 0;
  color: var(--jj-ink);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 600;
  line-height: 1.22;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.jj-more {
  display: inline-flex;
  align-items: center;
  min-width: 118px;
  height: 42px;
  justify-content: center;
  border: 1px solid var(--jj-red);
  color: var(--jj-red);
  font-size: 14px;
  transition: 0.2s ease;
}

.jj-more:hover {
  color: #fff;
  background: var(--jj-red);
}

.jj-about-intro {
  max-width: 880px;
  margin: 0 auto 54px;
  text-align: center;
}

.jj-about-intro .jj-title {
  position: relative;
  display: inline-block;
}

.jj-about-intro .jj-title::after {
  display: block;
  width: 54px;
  height: 3px;
  margin: 16px auto 0;
  background: var(--jj-red);
  content: "";
}

.jj-about-lead {
  margin: 24px auto 24px;
  color: #626262;
  font-size: 17px;
  line-height: 2;
}

.jj-practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.jj-practice-item {
  display: block;
  min-height: 74px;
  padding: 18px 20px 18px 24px;
  background: #f7f7f7;
  border-left: 4px solid var(--jj-red);
  text-decoration: none;
  transition: 0.2s ease;
}

.jj-practice-item:hover {
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.jj-practice-item span {
  display: inline-block;
  margin-right: 16px;
  color: #c9c9c9;
  font-family: Georgia, serif;
  font-size: 15px;
}

.jj-practice-item strong {
  display: inline;
  color: var(--jj-ink);
  font-size: 17px;
  font-weight: 500;
}

.jj-practice-note {
  margin: 26px 0 0;
  color: var(--jj-red);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.jj-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.jj-person-card {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  background: #e8e4df;
}

.jj-person-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  filter: saturate(0.96);
  transition: transform 0.35s ease;
}

.jj-person-card:hover img {
  transform: scale(1.04);
}

.jj-person-info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 86px 22px 24px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent);
}

.jj-person-info h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 500;
}

.jj-person-info p {
display: -webkit-box;
min-height: calc(14px * 1.65 * 3);
margin: 0;
overflow: hidden;
color: rgba(255, 255, 255, 0.82);
font-size: 14px;
line-height: 1.65;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
}

.jj-recruit-grid,
.jj-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.jj-lawyer-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.jj-article-card {
  display: block;
  overflow: hidden;
  min-height: 0;
  background: #fff;
  border: 1px solid var(--jj-line);
  transition: 0.2s ease;
}

.jj-article-card:hover {
  border-color: rgba(184, 20, 29, 0.45);
  transform: translateY(-3px);
}

.jj-article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #ddd;
  transition: transform 0.35s ease;
}

.jj-article-card:hover img {
  transform: scale(1.035);
}

.jj-article-body {
  padding: 26px 28px 30px;
}

.jj-date {
  color: var(--jj-red);
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.jj-article-body h3 {
  margin: 12px 0 12px;
  color: var(--jj-ink);
  font-size: 21px;
  line-height: 1.42;
  display: -webkit-box;
  min-height: 60px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.jj-article-body p {
  margin: 0;
  color: var(--jj-muted);
  font-size: 15px;
  line-height: 1.78;
  display: -webkit-box;
  min-height: 80px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.jj-page-hero {
  padding: 176px 0 82px;
  color: #fff;
  background: #202426 url("../images/hero-law.jpg") center / cover no-repeat;
  position: relative;
}

.jj-page-hero::before {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  content: "";
}

.jj-page-hero .jj-container {
  position: relative;
}

.jj-page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 600;
}

.jj-breadcrumb {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.jj-content-wrap {
  padding: 72px 0 96px;
  background: var(--jj-soft);
}

.jj-content-card {
  background: #fff;
  border: 1px solid var(--jj-line);
}

.jj-article-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 58px 68px;
}

.jj-article-main h1 {
  margin: 0 0 18px;
  color: var(--jj-ink);
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.28;
  font-weight: 600;
}

.jj-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 28px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--jj-line);
  color: var(--jj-muted);
  font-size: 14px;
}

.jj-richtext {
  color: #2d2d2d;
  font-size: 17px;
}

.jj-richtext img {
  height: auto !important;
  margin: 28px auto;
}

.jj-richtext p {
  margin: 0 0 18px;
}

.jj-lawyer-detail {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 54px;
  padding: 58px;
}

.jj-lawyer-photo img {
  width: 100%;
  min-height: 480px;
  object-fit: cover;
  background: #e8e4df;
}

.jj-lawyer-contact {
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid var(--jj-line);
  background: #fbfaf8;
}

.jj-lawyer-contact h3 {
  margin: 0 0 12px;
  color: var(--jj-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.jj-lawyer-contact p {
  margin: 0;
  color: var(--jj-text);
  font-size: 15px;
  line-height: 1.9;
  word-break: break-word;
}

.jj-related-articles {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--jj-line);
}

.jj-related-articles h2 {
  margin: 0 0 20px;
  color: var(--jj-ink);
  font-size: 22px;
  line-height: 1.45;
}

.jj-related-list {
  display: grid;
  gap: 14px;
}

.jj-related-list a {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--jj-line);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.jj-related-list a:hover {
  border-color: rgba(184, 20, 29, .38);
  box-shadow: 0 12px 28px rgba(23, 23, 23, .08);
  transform: translateY(-2px);
}

.jj-related-list span {
  color: var(--jj-muted);
  font-size: 13px;
}

.jj-related-list strong {
  color: var(--jj-ink);
  font-size: 17px;
  line-height: 1.55;
}

.jj-related-list p {
  margin: 0;
  color: var(--jj-muted);
  font-size: 14px;
  line-height: 1.75;
}

.jj-related-lawyers {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--jj-line);
}

.jj-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.jj-related-head h2 {
  margin: 0;
  color: var(--jj-ink);
  font-size: 26px;
  line-height: 1.35;
  font-weight: 500;
}

.jj-related-arrows {
  display: flex;
  gap: 7px;
}

.jj-related-arrows span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #69707a;
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.jj-related-arrows span:last-child {
  background: #171717;
}

.jj-related-lawyer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.jj-related-lawyer-card {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
  transition: transform .2s ease;
}

.jj-related-lawyer-card:hover {
  transform: translateY(-2px);
}

.jj-related-lawyer-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: top center;
  background: #5e6671;
}

.jj-related-lawyer-card div {
  padding-top: 10px;
}

.jj-related-lawyer-card h3 {
  margin: 0 0 5px;
  color: var(--jj-ink);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.jj-related-lawyer-card p {
  margin: 0;
  color: #111;
  font-size: 12px;
  line-height: 1.55;
}

.jj-pagination {
  margin-top: 40px;
  text-align: center;
}

.jj-pagination a,
.jj-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  margin: 0 3px;
  border: 1px solid var(--jj-line);
  background: #fff;
  color: var(--jj-text);
}

.jj-pagination .current,
.jj-pagination a:hover {
  background: var(--jj-red);
  border-color: var(--jj-red);
  color: #fff;
}

.jj-lawyer-search {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 220px 260px auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 34px;
  padding: 22px;
  width: fit-content;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--jj-line);
}

.jj-lawyer-search label {
  display: grid;
  gap: 8px;
  color: var(--jj-muted);
  font-size: 13px;
}

.jj-lawyer-search input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--jj-line);
  color: var(--jj-ink);
  background: #fff;
  font: inherit;
  outline: none;
}

.jj-lawyer-search input:focus {
  border-color: var(--jj-red);
}

.jj-lawyer-search button,
.jj-lawyer-search a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border: 1px solid var(--jj-red);
  font: inherit;
  cursor: pointer;
}

.jj-lawyer-search button {
  color: #fff;
  background: var(--jj-red);
}

.jj-lawyer-search a {
  color: var(--jj-red);
  background: #fff;
}

.jj-search-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  color: var(--jj-ink);
  font-size: 18px;
  font-weight: 600;
}

.jj-search-summary span {
  color: var(--jj-muted);
  font-size: 14px;
  font-weight: 400;
}

.jj-empty-state {
  padding: 56px 24px;
  color: var(--jj-muted);
  background: #fff;
  border: 1px solid var(--jj-line);
  text-align: center;
}

.jj-footer {
  padding: 58px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--jj-footer);
}

.jj-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.1fr 0.9fr 0.85fr;
  gap: 42px;
}

.jj-footer h3,
.jj-footer h4 {
  margin: 0 0 18px;
  color: #fff;
  font-weight: 500;
}

.jj-footer p {
  margin: 0 0 10px;
}

.jj-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jj-footer-qrcode img {
  width: 118px;
  height: 118px;
  padding: 6px;
  background: #fff;
}

.jj-footer-qrcode p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.jj-footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.jj-float {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--jj-line);
}

.jj-float a {
  display: grid;
  width: var(--jj-float-size);
  height: var(--jj-float-size);
  place-items: center;
  background: #fff;
  border-bottom: 1px solid var(--jj-line);
  color: var(--jj-red);
  font-size: 18px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.jj-float a:hover {
  background: var(--jj-red);
  color: #fff;
}

.jj-float-icon svg {
  width: var(--jj-icon-size);
  height: var(--jj-icon-size);
  fill: currentColor;
}

.jj-phone-pop,
.jj-wechat-pop {
  position: fixed;
  right: 84px;
  z-index: 22;
  min-width: 220px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--jj-line);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateX(12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.jj-phone-pop {
  bottom: 132px;
}

.jj-wechat-pop {
  bottom: 180px;
  text-align: center;
}

.jj-phone-pop.is-open,
.jj-wechat-pop.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.jj-phone-pop::after,
.jj-wechat-pop::after {
  position: absolute;
  top: 50%;
  right: -8px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-top: 1px solid var(--jj-line);
  border-right: 1px solid var(--jj-line);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.jj-phone-pop button,
.jj-wechat-pop button {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #888;
  font-size: 20px;
  cursor: pointer;
}

.jj-phone-pop span,
.jj-wechat-pop span {
  display: block;
  color: var(--jj-muted);
  font-size: 13px;
}

.jj-phone-pop strong {
  display: block;
  margin: 8px 0 14px;
  color: var(--jj-ink);
  font-family: Georgia, serif;
  font-size: 24px;
  letter-spacing: 0.02em;
}

.jj-phone-pop a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  color: #fff;
  background: var(--jj-red);
  font-size: 14px;
}

.jj-wechat-pop img {
  width: 132px;
  height: 132px;
  margin: 12px auto 8px;
}

.jj-wechat-pop p {
  margin: 0;
  color: #777;
  font-size: 13px;
}

.jj-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(9, 12, 15, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.jj-lead-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.jj-lead-dialog {
  position: relative;
  width: min(460px, 100%);
  padding: 34px 36px 36px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  transform: translateY(16px);
  transition: transform 0.2s ease;
}

.jj-lead-modal.is-open .jj-lead-dialog {
  transform: translateY(0);
}

.jj-lead-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  color: #777;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.jj-lead-head {
  margin-bottom: 24px;
  text-align: center;
}

.jj-lead-head p {
  margin: 0 0 6px;
  color: var(--jj-red);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jj-lead-head h3 {
  margin: 0;
  color: var(--jj-ink);
  font-size: 30px;
  font-weight: 600;
}

.jj-lead-head span {
  display: block;
  margin-top: 8px;
  color: #777;
  font-size: 14px;
}

.jj-lead-form {
  display: grid;
  gap: 16px;
}

.jj-lead-form label {
  display: grid;
  gap: 8px;
  color: #444;
  font-size: 14px;
}

.jj-lead-form input,
.jj-lead-form textarea {
  width: 100%;
  border: 1px solid var(--jj-line);
  background: #fff;
  color: var(--jj-ink);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.jj-lead-form input {
  height: 44px;
  padding: 0 14px;
}

.jj-lead-form textarea {
  min-height: 118px;
  padding: 12px 14px;
  resize: vertical;
}

.jj-lead-form input:focus,
.jj-lead-form textarea:focus {
  border-color: var(--jj-red);
}

.jj-lead-form button {
  height: 46px;
  border: 1px solid var(--jj-red);
  color: #fff;
  background: var(--jj-red);
  font: inherit;
  cursor: pointer;
}

.jj-lead-form button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.jj-lead-message {
  min-height: 20px;
  color: var(--jj-red);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 1180px) {
  .jj-container {
    width: min(100% - 44px, var(--jj-max));
  }

  .jj-header-inner {
    height: 72px;
  }

  .jj-logo {
    width: 188px;
  }

  .jj-logo img {
    height: 54px;
    max-width: 188px;
  }

  .jj-nav {
    gap: 18px;
    font-size: 14px;
  }

  .jj-team-grid,
  .jj-practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jj-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jj-lawyer-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .jj-header {
    position: sticky;
  }

  .jj-header-inner {
    height: auto;
    min-height: 68px;
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
    gap: 8px;
  }

  .jj-logo img {
    height: 52px;
    max-width: 174px;
  }

  .jj-nav {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .jj-nav::-webkit-scrollbar {
    display: none;
  }

  .jj-nav-item > a {
    padding: 6px 0;
  }

  .jj-nav-item > a::after {
    bottom: 0;
  }

  .jj-subnav {
    display: none;
  }

  .jj-hero {
    min-height: 560px;
    height: calc(100vh - 118px);
    padding-top: 0;
  }

  .jj-hero-content {
    width: 86vw;
  }

  .jj-hero h1 {
    max-width: 8em;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.28;
    letter-spacing: 0.02em;
    word-break: break-all;
  }

  .jj-hero p {
    max-width: 16em;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(15px, 4.2vw, 20px);
    line-height: 1.72;
    letter-spacing: 0.02em;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .jj-section {
    padding: 62px 0;
  }

  .jj-section-head {
    display: block;
  }

  .jj-about-intro {
    margin-bottom: 34px;
  }

  .jj-about-lead {
    font-size: 15px;
    line-height: 1.85;
  }

  .jj-title {
    font-size: clamp(26px, 8vw, 34px);
    word-break: break-all;
  }

  .jj-more {
    margin-top: 20px;
  }

  .jj-team-grid,
  .jj-practice-grid,
.jj-recruit-grid,
.jj-list-grid,
.jj-related-lawyer-grid,
.jj-footer-grid {
  grid-template-columns: 1fr;
}

  .jj-lawyer-search {
    grid-template-columns: 1fr;
  }

  .jj-article-main,
  .jj-lawyer-detail {
    padding: 28px;
  }

  .jj-float {
    display: none;
  }

  .jj-phone-pop,
  .jj-wechat-pop {
    display: none;
  }
}
