/* ============================================
   江西信讼律师事务所官网 - 主样式表
   ============================================ */

/* --- CSS Variables --- */
:root {
  --color-primary: #1B2A4A;
  --color-secondary: #2D5F4E;
  --color-accent: #3B82C4;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg-light: #F5F7FA;
  --color-white: #FFFFFF;
  --color-border: #E5E7EB;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max-width: 1200px;
  --section-padding: 80px 0;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.12);
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.8;
  background: var(--color-white);
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary);
}

h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p {
  margin-bottom: 16px;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
}

.section-light {
  background: var(--color-bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 28px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.section-title p {
  color: var(--color-text-light);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.section-title .title-line {
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  height: 48px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.03em;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition);
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--color-accent);
}

.header-nav a:hover::after,
.header-nav a.active::after {
  width: 100%;
}

.header-phone {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-size: 15px;
  font-weight: 600;
}

.header-phone svg {
  width: 18px;
  height: 18px;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

/* --- Footer --- */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.footer-brand .footer-logo-en {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 16px;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

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

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, #243656 100%);
  overflow: hidden;
  margin-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
}

.hero h1 {
  font-size: 42px;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.hero .hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  letter-spacing: 0.03em;
}

.hero .hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: #2d6fa8;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59, 130, 196, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-dark {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-dark:hover {
  background: #243656;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* --- Cards --- */
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-body {
  padding: 32px;
}

/* --- Practice Areas Grid --- */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.practice-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent);
}

.practice-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--color-bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.practice-card .icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
}

.practice-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.practice-card p {
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* --- Advantages Grid --- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.advantage-item {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}

.advantage-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.advantage-item .num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.advantage-item h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.advantage-item p {
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* --- Lawyer Cards --- */
.lawyer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.lawyer-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}

.lawyer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.lawyer-card .lawyer-photo {
  width: 100%;
  height: 280px;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lawyer-card .lawyer-photo svg {
  width: 80px;
  height: 80px;
  color: var(--color-border);
}

.lawyer-card .lawyer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.lawyer-card .lawyer-info {
  padding: 24px;
}

.lawyer-card .lawyer-info h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.lawyer-card .lawyer-info .lawyer-title {
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.lawyer-card .lawyer-info p {
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.lawyer-card .lawyer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.lawyer-card .lawyer-tags span {
  padding: 4px 12px;
  background: var(--color-bg-light);
  color: var(--color-secondary);
  font-size: 12px;
  border-radius: 4px;
  font-weight: 500;
}

/* --- Case Cards --- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
}

.case-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.case-card .case-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-bg-light);
  color: var(--color-secondary);
  font-size: 12px;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 12px;
}

.case-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.case-card p {
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.case-card .case-result {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-secondary);
  font-weight: 600;
}

/* --- News List --- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-item {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}

.news-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.news-item .news-thumb {
  flex-shrink: 0;
  width: 200px;
  height: 140px;
  background: var(--color-bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-item .news-thumb svg {
  width: 48px;
  height: 48px;
  color: var(--color-border);
}

.news-item .news-content {
  flex: 1;
}

.news-item .news-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.news-item .news-content h3 a {
  color: var(--color-text);
}

.news-item .news-content h3 a:hover {
  color: var(--color-accent);
}

.news-item .news-content p {
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item .news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-text-light);
}

.news-item .news-meta .news-category {
  padding: 2px 10px;
  background: var(--color-bg-light);
  color: var(--color-secondary);
  border-radius: 4px;
  font-size: 12px;
}

/* --- News Detail --- */
.news-detail {
  max-width: 800px;
  margin: 0 auto;
}

.news-detail .article-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.news-detail .article-header h1 {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.news-detail .article-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--color-text-light);
}

.news-detail .article-body {
  font-size: 16px;
  line-height: 2;
}

.news-detail .article-body p {
  margin-bottom: 24px;
  text-indent: 2em;
}

.news-detail .article-body h2 {
  font-size: 22px;
  margin: 40px 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--color-accent);
}

.news-detail .article-body h3 {
  font-size: 18px;
  margin: 32px 0 16px;
}

.news-detail .article-body ul,
.news-detail .article-body ol {
  margin: 16px 0 24px 24px;
  list-style: disc;
}

.news-detail .article-body li {
  margin-bottom: 8px;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--color-text-light);
}

.breadcrumb a {
  color: var(--color-text-light);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb span {
  margin: 0 8px;
}

/* --- Page Header --- */
.page-header {
  background: var(--color-primary);
  padding: 120px 0 60px;
  text-align: center;
  margin-top: 72px;
}

.page-header h1 {
  color: var(--color-white);
  font-size: 36px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.page-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-item .icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item .icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.contact-info-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--color-text-light);
  font-size: 14px;
  margin: 0;
}

.contact-form {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font-family);
  transition: border-color var(--transition);
  background: var(--color-white);
  color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 196, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- Map placeholder --- */
.map-container {
  width: 100%;
  height: 300px;
  background: var(--color-bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  border: 1px solid var(--color-border);
}

.map-container p {
  color: var(--color-text-light);
  font-size: 14px;
  margin: 0;
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 0;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-num {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
}

.stat-item .stat-num span {
  font-size: 20px;
  font-weight: 400;
}

.stat-item .stat-label {
  font-size: 14px;
  color: var(--color-text-light);
  margin-top: 8px;
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step .step-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--color-white);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
}

.process-step h4 {
  font-size: 15px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

/* --- Service Detail Cards --- */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-detail-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.service-detail-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.service-detail-card ul {
  list-style: none;
  padding: 0;
}

.service-detail-card ul li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.service-detail-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--color-primary);
  padding: 64px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--color-white);
  font-size: 28px;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  margin-bottom: 32px;
}

.cta-section .btn {
  margin: 0 8px;
}

/* --- Pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: all var(--transition);
}

.pagination a:hover,
.pagination span.active {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  z-index: 999;
}

.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lawyer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-steps::before {
    display: none;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
  }
  .header-nav.open {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .header-phone {
    display: none;
  }
  .hero {
    min-height: 400px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero .hero-subtitle {
    font-size: 16px;
  }
  .practice-grid {
    grid-template-columns: 1fr;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .lawyer-grid {
    grid-template-columns: 1fr;
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-item {
    flex-direction: column;
  }
  .news-item .news-thumb {
    width: 100%;
    height: 180px;
  }
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .section { padding: 48px 0; }
  .page-header { padding: 100px 0 40px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-item .stat-num { font-size: 32px; }
  .process-steps { grid-template-columns: 1fr; }
}
