/* ============================================================
   沪航律师事务所官网样式
   主色: #003080 (深海蓝) | 辅色: #c5a059 (金) | 背景: #fff/#f8f9fb
   ============================================================ */

:root {
  --hh-blue: #003080;
  --hh-blue-light: #1a4ba8;
  --hh-blue-dark: #002060;
  --hh-gold: #c5a059;
  --hh-gold-light: #d4b576;
  --hh-gold-dark: #a8853e;
  --hh-bg: #f8f9fb;
  --hh-text: #2b2f36;
  --hh-text-light: #6b7280;
  --hh-border: #e5e7eb;
  --hh-radius: 8px;
  --hh-shadow: 0 4px 24px rgba(0, 32, 96, .08);
  --hh-shadow-lg: 0 8px 40px rgba(0, 32, 96, .12);
  --hh-font: "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --hh-font-sans: "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--hh-font-sans);
  color: var(--hh-text);
  background: #fff;
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--hh-font);
  font-weight: 700;
  color: var(--hh-blue);
  letter-spacing: .02em;
}

a { text-decoration: none; color: var(--hh-blue); transition: color .2s; }
a:hover { color: var(--hh-gold); }

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

/* ============================================================
   导航栏
   ============================================================ */
.hh-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  background: rgba(255, 255, 255, .98);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 8px rgba(0, 32, 96, .08);
  z-index: 1000;
  transition: all .3s;
}
.hh-nav.scrolled { height: 64px; box-shadow: 0 2px 16px rgba(0, 32, 96, .12); }

.hh-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.hh-nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hh-nav-logo img { height: 40px; }
.hh-nav-logo .logo-text {
  font-family: var(--hh-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--hh-blue);
  line-height: 1.3;
}
.hh-nav-logo .logo-en {
  font-size: 10px;
  color: var(--hh-gold);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hh-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.hh-nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 15px;
  color: var(--hh-text);
  border-radius: 4px;
  cursor: pointer;
  transition: all .2s;
}
.hh-nav-links > li > a:hover,
.hh-nav-links > li.active > a {
  color: var(--hh-blue);
  background: rgba(0, 48, 128, .06);
}
.hh-nav-links .dropdown-menu {
  border: 1px solid var(--hh-border);
  border-radius: var(--hh-radius);
  box-shadow: var(--hh-shadow);
  padding: 8px 0;
}
.hh-nav-links .dropdown-menu .dropdown-item {
  padding: 8px 20px;
  font-size: 14px;
  color: var(--hh-text);
}
.hh-nav-links .dropdown-menu .dropdown-item:hover {
  background: rgba(0, 48, 128, .06);
  color: var(--hh-blue);
}

.hh-nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--hh-blue), var(--hh-blue-light));
  color: #fff !important;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: all .3s;
}
.hh-nav-login:hover {
  background: linear-gradient(135deg, var(--hh-blue-dark), var(--hh-blue));
  color: var(--hh-gold-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 48, 128, .3);
}

.hh-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hh-nav-toggle span {
  width: 24px; height: 3px;
  background: var(--hh-blue);
  border-radius: 2px;
  transition: .3s;
}

/* ============================================================
   Hero 区域
   ============================================================ */
.hh-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--hh-blue-dark) 0%, var(--hh-blue) 50%, var(--hh-blue-light) 100%);
  overflow: hidden;
}
.hh-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M0 0h60v60H0z" fill="none"/><path d="M30 0v60M0 30h60" stroke="rgba(255,255,255,.03)" stroke-width="1"/></svg>');
  pointer-events: none;
}
.hh-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
}

.hh-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 32px;
}
.hh-hero-logo {
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
  background: rgba(255, 255, 255, .2);
  border: 2px solid rgba(197, 160, 89, .6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(197, 160, 89, .15);
}
.hh-hero-logo img {
  max-width: 104px;
  max-height: 104px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1.6) saturate(1.3) drop-shadow(0 2px 8px rgba(0, 0, 0, .2));
}

.hh-hero h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: .15em;
  text-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.hh-hero .en-name {
  font-size: 1.25rem;
  color: var(--hh-gold-light);
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 32px;
  font-weight: 500;
}
.hh-hero .tagline {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, .9);
  font-family: var(--hh-font);
  margin-bottom: 40px;
  letter-spacing: .1em;
}
.hh-hero .tagline .divider {
  color: var(--hh-gold);
  margin: 0 12px;
}
.hh-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--hh-gold), var(--hh-gold-light));
  color: var(--hh-blue-dark);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .05em;
  transition: all .3s;
  border: none;
}
.hh-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(197, 160, 89, .4);
  color: var(--hh-blue-dark);
}

.hh-hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
  z-index: 2;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* ============================================================
   通用 Section
   ============================================================ */
.hh-section {
  padding: 80px 0;
}
.hh-section.bg-light { background: var(--hh-bg); }
.hh-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.hh-section-title {
  text-align: center;
  margin-bottom: 56px;
}
.hh-section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}
.hh-section-title .subtitle {
  font-size: 14px;
  color: var(--hh-gold);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hh-section-title .divider {
  width: 60px;
  height: 3px;
  background: var(--hh-gold);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ============================================================
   律所简介板块
   ============================================================ */
.hh-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hh-intro p {
  font-size: 1.05rem;
  color: var(--hh-text);
  line-height: 2;
  margin-bottom: 16px;
}
.hh-intro .intro-cta {
  margin-top: 32px;
}

/* ============================================================
   业务领域
   ============================================================ */
.hh-practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.hh-practice-card {
  background: #fff;
  border: 1px solid var(--hh-border);
  border-radius: var(--hh-radius);
  padding: 32px 28px;
  transition: all .3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.hh-practice-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--hh-blue), var(--hh-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.hh-practice-card:hover {
  border-color: var(--hh-blue);
  box-shadow: var(--hh-shadow-lg);
  transform: translateY(-4px);
}
.hh-practice-card:hover::before {
  transform: scaleX(1);
}
.hh-practice-card .icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(0,48,128,.08), rgba(197,160,89,.08));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--hh-blue);
  margin-bottom: 20px;
}
.hh-practice-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.hh-practice-card p {
  font-size: .9rem;
  color: var(--hh-text-light);
  line-height: 1.8;
}

/* ============================================================
   新闻卡片
   ============================================================ */
.hh-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.hh-news-card {
  background: #fff;
  border-radius: var(--hh-radius);
  overflow: hidden;
  box-shadow: var(--hh-shadow);
  transition: all .3s;
  cursor: pointer;
}
.hh-news-card:hover {
  box-shadow: var(--hh-shadow-lg);
  transform: translateY(-4px);
}
.hh-news-card .news-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--hh-bg);
}
.hh-news-card .news-body {
  padding: 20px 24px;
}
.hh-news-card .news-date {
  font-size: 12px;
  color: var(--hh-gold);
  margin-bottom: 8px;
}
.hh-news-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hh-news-card .news-summary {
  font-size: .85rem;
  color: var(--hh-text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.hh-news-card .news-more {
  font-size: 13px;
  color: var(--hh-blue);
  font-weight: 600;
}

/* ============================================================
   律师团队
   ============================================================ */
.hh-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}
.hh-team-card {
  text-align: center;
  transition: all .3s;
}
.hh-team-card .avatar {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--hh-border);
  position: relative;
  background: var(--hh-bg);
}
.hh-team-card .avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* 律师近照普遍为正方形/头部贴顶，圆框 cover 后会被切到头部；
     改为 50% 25% 让头部从图垂直方向 25% 位置开始显示，确保头部完整居于圆形框中 */
  object-position: 50% 25%;
  transition: transform .4s;
}
.hh-team-card:hover .avatar img { transform: scale(1.08); }
.hh-team-card:hover .avatar { border-color: var(--hh-gold); }
/* 无照片时的占位头像 */
.hh-team-card .avatar-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--hh-blue-dark) 0%, var(--hh-blue) 100%);
  color: #fff;
}
.hh-team-card .avatar-placeholder i {
  font-size: 52px; opacity: 0.4; margin-bottom: 6px;
  transition: opacity .3s;
}
.hh-team-card .avatar-placeholder span {
  font-size: 14px; font-weight: 500; letter-spacing: 2px; opacity: 0.8;
}
.hh-team-card:hover .avatar-placeholder i { opacity: 0.6; }
.hh-team-card:hover .avatar-placeholder { background: linear-gradient(135deg, var(--hh-blue) 0%, var(--hh-blue-dark) 100%); }
.hh-team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.hh-team-card .title {
  font-size: 13px;
  color: var(--hh-gold);
  margin-bottom: 8px;
}
.hh-team-card .bio {
  font-size: .85rem;
  color: var(--hh-text-light);
  line-height: 1.7;
}
/* 卡片改为<a>时的链接样式重置 */
a.hh-team-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.hh-team-card:hover h3 { color: var(--hh-blue); }

/* ============================================================
   律师详情页
   ============================================================ */
.hh-lawyer-photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--hh-shadow-lg);
  aspect-ratio: 3/3.6;
  background: var(--hh-bg);
}
.hh-lawyer-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.hh-lawyer-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--hh-blue-dark) 0%, var(--hh-blue) 100%);
  color: #fff;
}
.hh-lawyer-photo-placeholder i { font-size: 88px; opacity: .35; }
.hh-lawyer-photo-placeholder span { font-size: 18px; letter-spacing: 4px; opacity: .8; }
.hh-lawyer-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(0,48,128,.07);
  color: var(--hh-blue-dark);
  font-size: .85rem;
  font-weight: 500;
}
.hh-lawyer-bio {
  color: var(--hh-text);
  line-height: 1.9;
}
.hh-lawyer-bio p { margin-bottom: 12px; }
.hh-lawyer-contact-box {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--hh-bg);
  border: 1px solid var(--hh-border);
  color: var(--hh-text);
  font-size: .92rem;
  line-height: 2;
}
.hh-lawyer-consult {
  margin-top: 32px;
  padding: 28px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--hh-shadow-lg);
  border-top: 3px solid var(--hh-gold);
}
/* 详情页咨询表单复用contact表单样式 */
.hh-lawyer-consult .form-label {
  font-size: 13px; font-weight: 600; color: var(--hh-text); margin-bottom: 4px;
}
.hh-lawyer-consult .form-control,
.hh-lawyer-consult .form-select {
  border: 1px solid var(--hh-border); border-radius: 6px; padding: 10px 14px; font-size: 14px;
}
.hh-lawyer-consult .form-control:focus,
.hh-lawyer-consult .form-select:focus {
  border-color: var(--hh-blue); box-shadow: 0 0 0 3px rgba(0,48,128,.08);
}
.hh-lawyer-consult .btn-submit {
  width: 100%; padding: 12px;
  background: linear-gradient(135deg, var(--hh-blue), var(--hh-blue-light));
  color: #fff; border: none; border-radius: 6px;
  font-size: 15px; font-weight: 600; letter-spacing: .05em;
  cursor: pointer; transition: all .3s;
}
.hh-lawyer-consult .btn-submit:hover {
  background: linear-gradient(135deg, var(--hh-blue-dark), var(--hh-blue));
  transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,48,128,.3);
}
.hh-lawyer-consult .privacy-note {
  font-size: 12px; color: var(--hh-text-light); text-align: center; margin-top: 12px;
}

/* ============================================================
   客户评价
   ============================================================ */
.hh-testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hh-testimonial .stars {
  color: var(--hh-gold);
  font-size: 20px;
  margin-bottom: 16px;
  letter-spacing: 4px;
}
.hh-testimonial blockquote {
  font-size: 1.15rem;
  color: var(--hh-text);
  font-style: italic;
  line-height: 2;
  margin-bottom: 24px;
  position: relative;
  padding: 0 40px;
}
.hh-testimonial blockquote::before,
.hh-testimonial blockquote::after {
  font-size: 3rem;
  color: rgba(197, 160, 89, .2);
  position: absolute;
  top: -10px;
}
.hh-testimonial blockquote::before { content: '\201C'; left: 0; }
.hh-testimonial blockquote::after { content: '\201D'; right: 0; }
.hh-testimonial .author {
  font-weight: 700;
  color: var(--hh-blue);
}
.hh-testimonial .author .case-type {
  font-weight: 400;
  color: var(--hh-text-light);
  font-size: .9rem;
}

.hh-testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.hh-testimonial-nav button {
  width: 48px; height: 48px;
  border: 2px solid var(--hh-border);
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--hh-text-light);
  cursor: pointer;
  transition: all .2s;
}
.hh-testimonial-nav button:hover {
  border-color: var(--hh-blue);
  color: var(--hh-blue);
}

/* ============================================================
   联系/咨询表单
   ============================================================ */
.hh-contact-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--hh-bg) 100%);
  color: var(--hh-text);
  border-top: 1px solid var(--hh-border);
  border-bottom: 3px solid var(--hh-gold);
}
.hh-contact-section h2 { color: var(--hh-blue); }
.hh-contact-section .subtitle { color: var(--hh-gold-dark); }
.hh-contact-section .divider { background: var(--hh-gold); }

.hh-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.hh-contact-info { padding-right: 24px; }
.hh-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.hh-contact-info-item .icon {
  width: 44px; height: 44px;
  background: rgba(0, 48, 128, .07);
  border: 1px solid rgba(0, 48, 128, .14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--hh-blue);
  flex-shrink: 0;
}
.hh-contact-info-item .label {
  font-size: 12px;
  color: var(--hh-text-light);
  margin-bottom: 2px;
}
.hh-contact-info-item .value {
  font-size: 15px;
  color: var(--hh-text);
}

.hh-contact-form {
  background: #fff;
  border: 1px solid var(--hh-border);
  border-top: 3px solid var(--hh-gold);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--hh-shadow-lg);
}
.hh-contact-form .form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--hh-text);
  margin-bottom: 4px;
}
.hh-contact-form .form-control,
.hh-contact-form .form-select {
  border: 1px solid var(--hh-border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
}
.hh-contact-form .form-control:focus,
.hh-contact-form .form-select:focus {
  border-color: var(--hh-blue);
  box-shadow: 0 0 0 3px rgba(0, 48, 128, .08);
}
.hh-contact-form .btn-submit {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--hh-blue), var(--hh-blue-light));
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .05em;
  cursor: pointer;
  transition: all .3s;
}
.hh-contact-form .btn-submit:hover {
  background: linear-gradient(135deg, var(--hh-blue-dark), var(--hh-blue));
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 48, 128, .3);
}
.hh-contact-form .privacy-note {
  font-size: 12px;
  color: var(--hh-text-light);
  text-align: center;
  margin-top: 12px;
}

/* ============================================================
   页脚
   ============================================================ */
.hh-footer {
  background: var(--hh-blue-dark);
  color: rgba(255, 255, 255, .7);
  padding: 64px 0 24px;
}
.hh-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.hh-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.hh-footer .footer-brand img { height: 36px; }
.hh-footer .footer-brand .name {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.hh-footer .footer-brand .en {
  font-size: 10px;
  color: var(--hh-gold);
  letter-spacing: .1em;
}
.hh-footer p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 8px;
}
.hh-footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
}
.hh-footer ul {
  list-style: none;
}
.hh-footer ul li {
  margin-bottom: 10px;
}
.hh-footer ul li a {
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
}
.hh-footer ul li a:hover {
  color: var(--hh-gold-light);
}
.hh-footer .footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.hh-footer .footer-social a {
  width: 36px; height: 36px;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  font-size: 16px;
}
.hh-footer .footer-social a:hover {
  background: rgba(197, 160, 89, .2);
  color: var(--hh-gold-light);
}
.hh-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
}
.hh-footer-copyright {
  margin-bottom: 14px;
}
.hh-footer-beian {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
  font-size: 12px;
}
.hh-footer-beian .hh-beian-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  transition: color .2s;
}
.hh-footer-beian .hh-beian-item:hover {
  color: var(--hh-gold-light);
}
.hh-footer-beian .hh-beian-item + .hh-beian-item {
  border-left: 1px solid rgba(255, 255, 255, .15);
}
.hh-beian-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================================
   通用按钮
   ============================================================ */
.hh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .05em;
  transition: all .3s;
  border: none;
  cursor: pointer;
}
.hh-btn-primary {
  background: linear-gradient(135deg, var(--hh-blue), var(--hh-blue-light));
  color: #fff;
}
.hh-btn-primary:hover {
  background: linear-gradient(135deg, var(--hh-blue-dark), var(--hh-blue));
  color: var(--hh-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 48, 128, .3);
}
.hh-btn-gold {
  background: linear-gradient(135deg, var(--hh-gold), var(--hh-gold-light));
  color: var(--hh-blue-dark);
}
.hh-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 160, 89, .4);
  color: var(--hh-blue-dark);
}
.hh-btn-outline {
  background: transparent;
  border: 2px solid var(--hh-blue);
  color: var(--hh-blue);
}
.hh-btn-outline:hover {
  background: var(--hh-blue);
  color: #fff;
}

/* ============================================================
   动画
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s, transform .6s;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   子页面通用
   ============================================================ */
.hh-page-header {
  background: linear-gradient(135deg, var(--hh-blue-dark), var(--hh-blue));
  padding: 140px 0 60px;
  text-align: center;
  color: #fff;
}
.hh-page-header h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 8px;
}
.hh-page-header .breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}
.hh-page-header .breadcrumb a {
  color: var(--hh-gold-light);
}
.hh-page-header .breadcrumb .sep {
  margin: 0 8px;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 991px) {
  .hh-nav-links { display: none; }
  .hh-nav-toggle { display: flex; }

  .hh-hero h1 { font-size: 2.4rem; }
  .hh-hero .tagline { font-size: 1.1rem; }

  .hh-contact-grid { grid-template-columns: 1fr; }
  .hh-footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .hh-practice-grid { grid-template-columns: 1fr; }
  .hh-news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  .hh-section { padding: 56px 0; }
  .hh-container { padding: 0 20px; }
  .hh-hero h1 { font-size: 1.8rem; }
  .hh-hero .tagline { font-size: 1rem; }
  .hh-section-title h2 { font-size: 1.6rem; }
  .hh-contact-form { padding: 24px; }
  .hh-team-grid { grid-template-columns: 1fr 1fr; }
  .hh-team-card .avatar { width: 120px; height: 120px; }
}

/* 移动端菜单展开 */
.hh-nav-links.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  gap: 0;
}
.hh-nav-links.mobile-open > li { width: 100%; }
.hh-nav-links.mobile-open > li > a {
  padding: 12px 16px;
  border-bottom: 1px solid var(--hh-border);
}

/* 联系方式链接（电话/邮箱可点击） */
.contact-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed var(--hh-gold);
  transition: color 0.2s, border-color 0.2s;
}
.contact-link:hover {
  color: var(--hh-blue);
  border-bottom-color: var(--hh-blue);
}
