/* ===== 全局样式 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #c9a96e, #b8894f);
  color: #fff;
  border-color: #c9a96e;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b8894f, #a0743f);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-large {
  padding: 18px 50px;
  font-size: 18px;
}

/* ===== 顶部信息栏 ===== */
.top-bar {
  background: #1a1a2e;
  color: #ccc;
  font-size: 13px;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar strong {
  color: #c9a96e;
  font-size: 15px;
}

/* ===== 导航栏 ===== */
.header {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.header.scrolled {
  top: 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo h1 {
  font-size: 24px;
  color: #1a1a2e;
  font-weight: 700;
}

.logo h1 span {
  color: #c9a96e;
}

.logo p {
  font-size: 11px;
  color: #999;
  letter-spacing: 2px;
  margin-top: 2px;
}

.nav ul {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 15px;
  color: #333;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #c9a96e;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  color: #c9a96e;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: #333;
  transition: all 0.3s;
}

/* ===== 移动端菜单 ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: #1a1a2e;
  z-index: 2000;
  transition: right 0.4s ease;
  padding-top: 60px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  padding: 20px;
}

.mobile-menu li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu a {
  display: block;
  color: #fff;
  padding: 15px 0;
  font-size: 16px;
}

.mobile-menu a:hover {
  color: #c9a96e;
  padding-left: 10px;
}

/* ===== Banner ===== */
.banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 40%, #2a2a5e 100%);
  overflow: hidden;
  padding-top: 100px;
}

.banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(201,169,110,0.15) 0%, transparent 70%);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
  opacity: 0.5;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
}

.banner-content h2 {
  font-size: 20px;
  color: #c9a96e;
  letter-spacing: 6px;
  margin-bottom: 15px;
  font-weight: 400;
}

.banner-content h3 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-desc {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 40px;
  line-height: 1.8;
}

.banner-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 50px;
}

.banner-hotline {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 20px 50px;
}

.banner-hotline span {
  font-size: 14px;
  color: #aaa;
}

.banner-hotline strong {
  font-size: 32px;
  color: #c9a96e;
  font-weight: 700;
}

/* ===== 通用Section ===== */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header.light .section-title,
.section-header.light .section-sub {
  color: #fff;
}

.section-en {
  display: block;
  font-size: 14px;
  color: #c9a96e;
  letter-spacing: 4px;
  margin-bottom: 10px;
  font-weight: 600;
}

.section-title {
  font-size: 36px;
  color: #1a1a2e;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #c9a96e;
}

.section-sub {
  font-size: 16px;
  color: #888;
  margin-top: 10px;
}

/* ===== 关于我们 ===== */
.about {
  background: #fff;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  font-size: 15px;
  color: #666;
  line-height: 2;
  margin-bottom: 18px;
}

.about-text strong {
  color: #c9a96e;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.stat-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border-color: #c9a96e;
}

.stat-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.stat-item h4 {
  font-size: 16px;
  color: #1a1a2e;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 13px;
  color: #888;
}

/* ===== 业务领域 ===== */
.services {
  background: #f8f9fa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  position: relative;
  border: 1px solid #eee;
  transition: all 0.4s ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c9a96e, #b8894f);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 17px;
  color: #1a1a2e;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  font-size: 13px;
  color: #888;
  line-height: 1.7;
}

.service-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #c9a96e, #b8894f);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}

/* ===== 核心优势 ===== */
.advantages {
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2a5e 100%);
}

.advantages .section-header.light .section-title {
  color: #fff;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.advantage-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
}

.advantage-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-8px);
  border-color: #c9a96e;
}

.adv-icon {
  font-size: 50px;
  margin-bottom: 18px;
}

.advantage-card h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 14px;
  color: #bbb;
  line-height: 1.7;
}

/* ===== 服务流程 ===== */
.process {
  background: #fff;
}

.process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.process-step {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  flex: 1;
  min-width: 180px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.process-step:hover {
  border-color: #c9a96e;
  background: #fff;
  box-shadow: 0 10px 30px rgba(201,169,110,0.15);
}

.step-num {
  font-size: 42px;
  font-weight: 800;
  color: #c9a96e;
  opacity: 0.5;
  margin-bottom: 10px;
}

.process-step h4 {
  font-size: 18px;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: #888;
}

.step-arrow {
  font-size: 30px;
  color: #c9a96e;
  font-weight: bold;
}

/* ===== 服务区域 ===== */
.area {
  background: #f8f9fa;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.area-tag {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  padding: 12px 28px;
  font-size: 15px;
  color: #555;
  transition: all 0.3s ease;
  cursor: default;
}

.area-tag:hover {
  background: linear-gradient(135deg, #c9a96e, #b8894f);
  color: #fff;
  border-color: #c9a96e;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(201,169,110,0.3);
}

.area-tag:first-child {
  background: linear-gradient(135deg, #c9a96e, #b8894f);
  color: #fff;
  border-color: #c9a96e;
  font-weight: 600;
}

/* ===== 律师团队 ===== */
.team {
  background: #fff;
}

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

.team-card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 40px 25px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid #eee;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  background: #fff;
  border-color: #c9a96e;
}

.team-avatar {
  font-size: 55px;
  margin-bottom: 15px;
  width: 100px;
  height: 100px;
  line-height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0e6d3, #e0d0b0);
  margin: 0 auto 20px;
}

.team-card h4 {
  font-size: 17px;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}

/* ===== 预约咨询 ===== */
.booking {
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2a5e 100%);
}

.booking-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.booking-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.booking-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px 25px;
  border: 1px solid rgba(255,255,255,0.1);
}

.booking-icon {
  font-size: 36px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background: rgba(201,169,110,0.2);
  border-radius: 12px;
  flex-shrink: 0;
}

.booking-item h4 {
  font-size: 15px;
  color: #c9a96e;
  margin-bottom: 3px;
}

.booking-item p {
  font-size: 16px;
  color: #fff;
}

.qr-code {
  text-align: center;
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.1);
}

.qr-code img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  margin-bottom: 15px;
}

.qr-code p {
  color: #fff;
  font-size: 14px;
}

/* ===== 联系我们 ===== */
.contact {
  background: #fff;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.contact-card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border-color: #c9a96e;
}

.contact-icon {
  font-size: 45px;
  margin-bottom: 15px;
}

.contact-card h4 {
  font-size: 16px;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.contact-highlight {
  font-size: 20px;
  color: #c9a96e;
  font-weight: 700;
}

.contact-sub {
  font-size: 13px;
  color: #888;
  margin-top: 5px;
}

.contact-cta {
  text-align: center;
  background: linear-gradient(135deg, #f0e6d3, #e8d9c0);
  border-radius: 20px;
  padding: 60px 40px;
}

.contact-cta h3 {
  font-size: 28px;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.contact-cta p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

/* ===== 友情链接 ===== */
.links {
  background: #f8f9fa;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.link-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border-color: #c9a96e;
}

.link-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
}

.link-desc {
  font-size: 12px;
  color: #888;
}

/* ===== 底部 ===== */
.footer {
  background: #0f0f23;
  color: #aaa;
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  font-size: 17px;
  color: #c9a96e;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #c9a96e;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: #c9a96e;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #666;
}

/* ===== 悬浮客服 ===== */
.float-contact {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-contact a {
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  font-size: 22px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.float-phone {
  background: linear-gradient(135deg, #c9a96e, #b8894f);
  color: #fff;
}

.float-wechat {
  background: linear-gradient(135deg, #07c160, #06ad56);
  color: #fff;
}

.float-top {
  background: #1a1a2e;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.float-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-contact a:hover {
  transform: scale(1.1);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .header {
    top: 0;
  }
  .nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .banner-content h3 {
    font-size: 32px;
  }
  .banner-desc {
    font-size: 15px;
  }
  .banner-btns {
    flex-direction: column;
    align-items: center;
  }
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 26px;
  }
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .process-flow {
    flex-direction: column;
  }
  .step-arrow {
    transform: rotate(90deg);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .booking-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .links-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .area-tags {
    gap: 10px;
  }
  .area-tag {
    padding: 8px 18px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .banner-hotline {
    padding: 15px 30px;
  }
  .banner-hotline strong {
    font-size: 24px;
  }
}
