/* ===== CSS Variables ===== */
:root {
  --color-primary: #1a2744;
  --color-primary-light: #243456;
  --color-accent: #c9a84c;
  --color-accent-light: #dfc06a;
  --color-text: #2c3e50;
  --color-text-light: #6b7c93;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fa;
  --color-border: #e8ecf0;
  --font-serif: 'Noto Serif SC', 'SimSun', serif;
  --font-sans: 'Noto Sans SC', 'PingFang SC', sans-serif;
  --shadow-sm: 0 2px 8px rgba(26, 39, 68, 0.06);
  --shadow-md: 0 4px 20px rgba(26, 39, 68, 0.1);
  --shadow-lg: 0 8px 40px rgba(26, 39, 68, 0.15);
  --radius: 8px;
  --transition: 0.3s ease;
  /* 背景图（本地 images 目录） */
  --bg-hero: url('images/hero-bg.svg');
  --bg-about: url('images/about.jpg');
  --bg-services: url('images/services.jpg');
  --bg-team: url('images/team.jpg');
  --bg-cases: url('images/cases.jpg');
  --bg-news: url('images/news.jpg');
  --bg-contact: url('images/contact.jpg');
  --bg-city: url('images/city.jpg');
  --bg-office: url('images/office.jpg');
  --bg-library: url('images/library.jpg');
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

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

.btn-primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-lg {
  padding: 14px 36px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 39, 68, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
}

.logo-icon {
  font-size: 28px;
  color: var(--color-accent);
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 4px;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  font-weight: 400;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
}

.header-cta {
  padding: 10px 24px;
  font-size: 14px;
}

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

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

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-primary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-primary);
  background-image:
    linear-gradient(135deg, rgba(26, 39, 68, 0.88) 0%, rgba(36, 52, 86, 0.78) 50%, rgba(26, 39, 68, 0.85) 100%),
    var(--bg-hero);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 20px;
  color: var(--color-accent);
  font-size: 14px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--color-accent);
}

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

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
}

.stat-item span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Page Banner (内页顶部) ===== */
.page-banner {
  position: relative;
  padding: 140px 0 64px;
  background: var(--color-bg-alt) center/cover no-repeat;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

body[data-page="about"] .page-banner {
  background-image:
    linear-gradient(135deg, rgba(247, 248, 250, 0.93) 0%, rgba(255, 255, 255, 0.88) 100%),
    var(--bg-about);
}

body[data-page="services"] .page-banner {
  background-image:
    linear-gradient(135deg, rgba(247, 248, 250, 0.93) 0%, rgba(255, 255, 255, 0.88) 100%),
    var(--bg-services);
}

body[data-page="team"] .page-banner {
  background-image:
    linear-gradient(135deg, rgba(247, 248, 250, 0.93) 0%, rgba(255, 255, 255, 0.88) 100%),
    var(--bg-team);
}

body[data-page="cases"] .page-banner,
.page-banner-dark {
  background-image:
    linear-gradient(135deg, rgba(26, 39, 68, 0.92) 0%, rgba(36, 52, 86, 0.88) 100%),
    var(--bg-cases);
}

body[data-page="news"] .page-banner {
  background-image:
    linear-gradient(135deg, rgba(247, 248, 250, 0.93) 0%, rgba(255, 255, 255, 0.88) 100%),
    var(--bg-news);
}

body[data-page="contact"] .page-banner {
  background-image:
    linear-gradient(135deg, rgba(247, 248, 250, 0.93) 0%, rgba(255, 255, 255, 0.88) 100%),
    var(--bg-contact);
}

.page-banner-dark {
  background-color: var(--color-primary);
}

.page-banner-dark .section-tag {
  color: var(--color-accent);
}

.page-banner-dark .page-banner-title {
  color: #fff;
}

.page-banner-dark .page-banner-desc {
  color: rgba(255, 255, 255, 0.65);
}

.page-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  color: var(--color-primary);
  margin: 12px 0 16px;
}

.page-banner-desc {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 640px;
  line-height: 1.8;
}

.container-narrow {
  max-width: 800px;
}

/* ===== Section Common ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ===== About ===== */
.about {
  background: var(--color-bg);
}

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

.about-image {
  position: relative;
}

.about-image-placeholder {
  aspect-ratio: 4/3;
  background:
    linear-gradient(to top, rgba(26, 39, 68, 0.55) 0%, rgba(26, 39, 68, 0.1) 50%, transparent 100%),
    var(--bg-office) center/cover no-repeat;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.about-image-placeholder span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 20px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.about-badge span {
  font-size: 13px;
  font-weight: 500;
}

.about-content h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.about-features {
  margin-top: 32px;
}

.about-features li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.about-features li:last-child {
  border-bottom: none;
}

.feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(201, 168, 76, 0.12);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.about-features strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.about-features p {
  font-size: 14px;
  margin: 0;
}

/* ===== Services ===== */
.services {
  background:
    linear-gradient(180deg, rgba(247, 248, 250, 0.97) 0%, rgba(247, 248, 250, 1) 100%),
    var(--bg-library) center/cover fixed;
}

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

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent);
}

.service-link:hover {
  color: var(--color-accent-light);
}

/* ===== Team ===== */
.team {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 1) 100%),
    var(--bg-team) center top/cover no-repeat;
  background-attachment: fixed;
}

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

.team-card {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
  backdrop-filter: blur(6px);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
}

.team-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.team-title {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===== Cases ===== */
.cases-page {
  position: relative;
  background:
    linear-gradient(180deg, rgba(26, 39, 68, 0.94) 0%, rgba(26, 39, 68, 0.98) 100%),
    var(--bg-cases) center/cover fixed;
}

.cases-list {
  display: grid;
  gap: 24px;
}

.case-item {
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: all var(--transition);
  overflow: hidden;
}

.case-item-link {
  display: block;
  padding: 36px 40px;
  color: inherit;
  text-decoration: none;
}

.case-item-link:hover {
  color: inherit;
}

.cases-page .case-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 168, 76, 0.3);
}

.cases-page .case-item h3 {
  color: #fff;
}

.case-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201, 168, 76, 0.15);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  margin-bottom: 16px;
}

.case-item h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 12px;
}

.case-item p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
}

.case-read-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 500;
}

.cases-page .case-item:hover .case-read-more {
  color: var(--color-accent-light);
}

/* ===== Case Detail ===== */
.case-detail {
  padding-top: 120px;
  background:
    linear-gradient(180deg, rgba(26, 39, 68, 0.97) 0%, rgba(15, 23, 42, 1) 100%),
    var(--bg-cases) center top/cover no-repeat;
}

.case-hero {
  height: 280px;
  margin: -40px 0 48px;
  border-radius: var(--radius);
  background:
    linear-gradient(to top, rgba(26, 39, 68, 0.65), rgba(26, 39, 68, 0.2)),
    var(--bg-cases) center/cover no-repeat;
  box-shadow: var(--shadow-md);
}

.case-detail article {
  background: rgba(255, 255, 255, 0.06);
  padding: 40px 48px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.case-detail-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201, 168, 76, 0.15);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  margin-bottom: 16px;
}

.case-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 36px);
  color: #fff;
  line-height: 1.4;
  margin-bottom: 20px;
}

.case-detail-meta {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.case-detail-content h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: #fff;
  margin: 32px 0 16px;
}

.case-detail-content p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  margin-bottom: 16px;
}

.case-detail-content h3,
.case-detail-content h4 {
  font-family: var(--font-serif);
  color: #fff;
  margin: 24px 0 12px;
}

.case-detail-content ul,
.case-detail-content ol {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  margin: 0 0 16px 1.5em;
}

.case-detail-content li {
  margin-bottom: 8px;
}

.case-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 24px 0;
}

.case-detail-content blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 4px solid var(--color-accent);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
}

.case-detail-content strong {
  color: #fff;
}

.case-detail-content a {
  color: var(--color-accent);
}

.case-detail .back-link {
  color: var(--color-accent);
}

.case-detail .back-link:hover {
  color: var(--color-accent-light);
}

.case-detail-notice {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== News ===== */
.news {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(247, 248, 250, 1) 100%),
    var(--bg-news) center/cover no-repeat;
  background-attachment: fixed;
}

.news-card {
  padding: 0;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.news-card-body {
  padding: 24px 28px 32px;
}

.news-card-cover {
  height: 180px;
  background: center/cover no-repeat;
  position: relative;
}

.news-card-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 39, 68, 0.35), transparent);
}

.news-card:nth-child(1) .news-card-cover { background-image: url('images/thumbs/news-1.jpg'); }
.news-card:nth-child(2) .news-card-cover { background-image: url('images/thumbs/news-2.jpg'); }
.news-card:nth-child(3) .news-card-cover { background-image: url('images/thumbs/news-3.jpg'); }
.news-card:nth-child(4) .news-card-cover { background-image: url('images/thumbs/news-4.jpg'); }
.news-card:nth-child(5) .news-card-cover { background-image: url('images/thumbs/news-5.jpg'); }
.news-card:nth-child(6) .news-card-cover { background-image: url('images/thumbs/news-6.jpg'); }

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card time {
  font-size: 13px;
  color: var(--color-text-light);
}

.news-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-primary);
  margin: 12px 0;
  line-height: 1.5;
}

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

.news-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent);
}

.news-link:hover {
  color: var(--color-accent-light);
}

/* ===== Contact ===== */
.contact {
  background:
    linear-gradient(135deg, rgba(247, 248, 250, 0.95) 0%, rgba(255, 255, 255, 0.92) 100%),
    var(--bg-contact) center/cover no-repeat;
  background-attachment: fixed;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-tag,
.contact-info .section-title,
.contact-info .section-desc {
  text-align: left;
}

.contact-info .section-desc {
  margin-bottom: 40px;
}

.contact-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.contact-list strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: 4px;
}

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

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.contact-form h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: 28px;
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

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

/* ===== Footer ===== */
.footer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(26, 39, 68, 0.97) 0%, rgba(26, 39, 68, 1) 100%),
    var(--bg-city) center/cover no-repeat;
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 32px;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  max-width: 280px;
}

.footer-links h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  line-height: 1.8;
}

/* ===== Home Preview ===== */
.home-preview {
  background: var(--color-bg-alt);
}

.home-links {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 1) 100%),
    var(--bg-office) center/cover no-repeat;
}

.home-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.home-link-card {
  position: relative;
  display: block;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.home-link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  opacity: 0.18;
  transition: opacity var(--transition), transform 0.5s ease;
  z-index: 0;
}

.home-link-card:hover::before {
  opacity: 0.32;
  transform: scale(1.05);
}

.home-link-card:nth-child(1)::before { background-image: var(--bg-about); }
.home-link-card:nth-child(2)::before { background-image: var(--bg-team); }
.home-link-card:nth-child(3)::before { background-image: var(--bg-cases); }
.home-link-card:nth-child(4)::before { background-image: var(--bg-news); }

.home-link-card > * {
  position: relative;
  z-index: 1;
}

.home-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.home-link-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.home-link-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 10px;
}

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

.home-cta {
  position: relative;
  padding: 64px 0;
  background:
    linear-gradient(135deg, rgba(26, 39, 68, 0.9) 0%, rgba(36, 52, 86, 0.85) 100%),
    var(--bg-city) center/cover no-repeat;
  background-attachment: fixed;
}

.home-cta-inner {
  position: relative;
  z-index: 1;
}

.home-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.home-cta h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: #fff;
  margin-bottom: 8px;
}

.home-cta p {
  color: rgba(255, 255, 255, 0.65);
}

/* ===== Honor ===== */
.honor-section {
  background:
    linear-gradient(180deg, rgba(247, 248, 250, 0.96) 0%, rgba(247, 248, 250, 1) 100%),
    var(--bg-city) center bottom/cover no-repeat;
}

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

.honor-card {
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: blur(6px);
  transition: all var(--transition);
}

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

.honor-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.honor-card p {
  font-size: 15px;
  color: var(--color-primary);
  font-weight: 500;
}

/* ===== Article Detail ===== */
.article-detail {
  padding-top: 120px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 248, 250, 1) 100%),
    var(--bg-news) center top/cover no-repeat;
}

.article-hero {
  height: 280px;
  margin: -40px 0 48px;
  border-radius: var(--radius);
  background:
    linear-gradient(to top, rgba(26, 39, 68, 0.5), rgba(26, 39, 68, 0.15)),
    var(--bg-library) center/cover no-repeat;
  box-shadow: var(--shadow-md);
}

.article-detail article {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.back-link {
  display: inline-block;
  font-size: 14px;
  color: var(--color-accent);
  margin-bottom: 32px;
}

.back-link:hover {
  color: var(--color-accent-light);
}

.article-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201, 168, 76, 0.12);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  margin-bottom: 16px;
}

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 36px);
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--color-text-light);
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.article-content h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-primary);
  margin: 32px 0 16px;
}

.article-content p {
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 16px;
}

.article-content h3,
.article-content h4 {
  font-family: var(--font-serif);
  color: var(--color-primary);
  margin: 24px 0 12px;
}

.article-content ul,
.article-content ol {
  color: var(--color-text-light);
  line-height: 1.9;
  margin: 0 0 16px 1.5em;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 24px 0;
}

.article-content blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 4px solid var(--color-accent);
  background: var(--color-bg-soft);
  color: var(--color-text);
}

.article-content strong {
  color: var(--color-primary);
}

.article-content a {
  color: var(--color-accent);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-links-grid,
  .honor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services,
  .team,
  .news,
  .contact,
  .home-preview,
  .home-cta,
  .cases-page {
    background-attachment: scroll;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-primary);
    padding: 24px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-stats {
    gap: 24px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-badge {
    right: 10px;
    bottom: -10px;
  }

  .services-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 64px 0;
  }

  .page-banner {
    padding: 120px 0 48px;
  }

  .home-links-grid,
  .honor-grid {
    grid-template-columns: 1fr;
  }

  .home-cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== Site Maintenance ===== */
body.site-offline #site-header,
body.site-offline main,
body.site-offline #site-footer {
  display: none !important;
}

.site-maintenance {
  display: none;
}

body.site-offline .site-maintenance {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 32px 20px;
  background:
    linear-gradient(180deg, rgba(26, 39, 68, 0.98) 0%, rgba(15, 23, 42, 1) 100%),
    var(--bg-library) center/cover no-repeat fixed;
}

.site-maintenance-card {
  width: min(520px, 100%);
  padding: 48px 40px;
  text-align: center;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}

.site-maintenance-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  color: var(--color-accent);
  font-size: 36px;
}

.site-maintenance-card h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 34px);
  color: #fff;
  margin-bottom: 16px;
}

.site-maintenance-desc {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin-bottom: 28px;
}

.site-maintenance-retry {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* ===== List Pagination ===== */
.list-pagination {
  margin-top: 48px;
  padding-top: 24px;
}

.pagination-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 96px;
  padding: 10px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-primary);
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-info {
  font-size: 14px;
  color: var(--color-text-light);
}

.list-pagination-dark .page-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.list-pagination-dark .page-btn:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.list-pagination-dark .page-info {
  color: rgba(255, 255, 255, 0.65);
}

.list-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--color-text-light);
  font-size: 15px;
}

.list-empty-light {
  color: rgba(255, 255, 255, 0.6);
}
