/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, "Helvetica Neue", sans-serif;
  color: #333;
  line-height: 1.85;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ===== Header / Hero ===== */
.hero {
  background: linear-gradient(160deg, #060e1a 0%, #0d1f3c 40%, #13294b 100%);
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,175,110,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,175,110,0.04) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero .seal {
  width: 72px; height: 72px;
  border: 2px solid rgba(212,175,110,0.5);
  border-radius: 50%;
  margin: 0 auto 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #d4af6e;
  letter-spacing: 2px;
}
.hero h1 {
  font-size: 42px; letter-spacing: 8px; font-weight: 700;
  margin-bottom: 14px;
  animation: fadeInUp 0.8s ease-out;
}
.hero .divider {
  width: 50px; height: 2px; background: #d4af6e;
  margin: 20px auto;
}
.hero .subtitle {
  font-size: 20px; color: #d4af6e; letter-spacing: 6px;
  font-weight: 300;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}
.hero .brand-line {
  font-size: 15px; color: rgba(255,255,255,0.45);
  margin-top: 24px; letter-spacing: 3px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Nav ===== */
nav {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky; top: 0; z-index: 100;
}
nav .container { display: flex; justify-content: space-between; align-items: center; }
nav .logo {
  font-size: 22px; font-weight: 700; color: #0b1e3d;
  padding: 16px 0; text-decoration: none; letter-spacing: 2px;
}
nav .links { display: flex; gap: 4px; }
nav .links a {
  color: #666; text-decoration: none; padding: 10px 20px;
  font-size: 14px; letter-spacing: 1px; border-radius: 2px;
  transition: all 0.25s;
}
nav .links a:hover { color: #b8944e; background: rgba(184,148,78,0.06); }

/* ===== Section ===== */
.section { padding: 80px 0; }
.section-gray { background: #fafaf7; }
.section-label {
  text-align: center; font-size: 13px; color: #b8944e;
  letter-spacing: 4px; text-transform: uppercase; margin-bottom: 10px;
}
.section-title {
  font-size: 30px; color: #0b1e3d; text-align: center;
  font-weight: 700; letter-spacing: 3px; margin-bottom: 18px;
}
.section-subtitle {
  text-align: center; color: #999; font-size: 15px;
  max-width: 600px; margin: 0 auto 50px; line-height: 1.8;
}

/* ===== About ===== */
.about-text { max-width: 780px; margin: 0 auto; }
.about-text p {
  font-size: 15px; color: #666; text-align: center;
  line-height: 2.2; margin-bottom: 16px;
}

/* ===== Feature Grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; margin-top: 20px;
}
.feature-card {
  background: #fff;
  padding: 40px 30px;
  border: 1px solid #eee;
  border-radius: 4px;
  transition: all 0.35s ease;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #b8944e, #d4af6e);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.feature-card:hover { border-color: #d4af6e; box-shadow: 0 8px 30px rgba(0,0,0,0.06); transform: translateY(-2px); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card .icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(184,148,78,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 22px;
}
.feature-card h3 { font-size: 17px; color: #0b1e3d; margin-bottom: 10px; font-weight: 600; }
.feature-card p { font-size: 14px; color: #888; line-height: 1.8; }

/* ===== Practice Grid ===== */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px; margin-top: 10px;
}
.practice-card {
  background: #0b1e3d;
  color: #fff;
  padding: 40px 28px;
  text-align: center;
  border-radius: 4px;
  transition: all 0.35s ease;
  position: relative;
}
.practice-card::after {
  content: "";
  position: absolute; bottom: 0; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af6e, transparent);
}
.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(6,14,26,0.35);
}
.practice-card .p-icon {
  font-size: 32px; margin-bottom: 16px; display: block;
}
.practice-card h3 {
  font-size: 19px; margin-bottom: 10px;
  color: #d4af6e; font-weight: 600; letter-spacing: 2px;
}
.practice-card p {
  font-size: 13px; color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* ===== Footer ===== */
footer {
  background: #060e1a;
  color: rgba(255,255,255,0.4);
  text-align: center; padding: 40px 0;
  font-size: 13px; letter-spacing: 1px;
}
footer .f-logo { font-size: 20px; color: rgba(255,255,255,0.6); margin-bottom: 10px; letter-spacing: 2px; }
footer p { margin: 6px 0; line-height: 2; }

/* ===== Lawyer Page ===== */
.lawyer-hero { padding: 40px 0 30px; }
.lawyer-card {
  background: #fff; padding: 50px; border: 1px solid #eee;
  border-radius: 4px; display: flex; gap: 40px;
  flex-wrap: wrap; align-items: flex-start;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.lawyer-photo {
  width: 160px; height: 192px; flex-shrink: 0;
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.lawyer-photo img { width: 100%; height: 100%; object-fit: cover; }
.lawyer-detail { flex: 1; min-width: 280px; }
.lawyer-detail h2 {
  font-size: 30px; color: #0b1e3d; font-weight: 700;
  letter-spacing: 2px; margin-bottom: 4px;
}
.lawyer-detail .en-name { font-size: 14px; color: #bbb; margin-left: 8px; font-weight: 400; }
.lawyer-detail .role-line {
  color: #b8944e; font-size: 16px; margin: 8px 0 14px;
  letter-spacing: 1px;
}
.tag-row { margin-bottom: 14px; }
.tag-row span {
  display: inline-block;
  background: #0b1e3d; color: #d4af6e;
  padding: 5px 16px; font-size: 12px;
  margin: 0 5px 6px 0; letter-spacing: 1px;
  border-radius: 2px;
}
.lawyer-detail .intro { color: #777; font-size: 14px; line-height: 1.9; margin-top: 8px; }

/* Bio section */
.bio-block { max-width: 860px; }
.bio-block p { color: #666; font-size: 15px; line-height: 2.1; margin-bottom: 14px; }

/* Table */
.data-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.data-table th, .data-table td {
  padding: 14px 20px; text-align: left;
  border-bottom: 1px solid #eee; font-size: 14px;
}
.data-table th {
  background: #0b1e3d; color: #d4af6e;
  font-weight: 600; letter-spacing: 2px; font-size: 13px;
}
.data-table tr { transition: background 0.2s; }
.data-table tr:hover { background: #fafaf7; }

/* Case box */
.quote-box {
  background: #fafaf7; padding: 30px 34px;
  border-left: 4px solid #b8944e; margin-top: 10px;
  border-radius: 0 4px 4px 0;
}
.quote-box h4 { color: #0b1e3d; margin-bottom: 10px; font-size: 16px; }
.quote-box p { color: #888; font-size: 14px; line-height: 1.9; }

/* Publication */
.pub-item { margin-top: 10px; }
.pub-item h4 { color: #0b1e3d; font-size: 15px; }

/* Side heading style for lawyer sections */
.side-heading {
  display: flex; align-items: center; gap: 14px;
  margin: 50px 0 24px;
}
.side-heading .line { flex: 1; height: 1px; background: #eee; }
.side-heading h2 {
  font-size: 22px; color: #0b1e3d; font-weight: 700;
  letter-spacing: 2px; white-space: nowrap;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 26px; letter-spacing: 3px; }
  .lawyer-card { flex-direction: column; padding: 24px; gap: 20px; }
  .lawyer-photo { width: 120px; height: 144px; }
  .section { padding: 50px 0; }
}