/*
Theme Name: 葛君凤律师
Theme URI:
Description: 专业刑事辩护律师网站主题 - 深海军蓝 + 金色点缀 + 高端律所风格
Version: 2026.07
Author:
*/
@charset "UTF-8";

/* ============================================
   葛君凤律师 - 专业刑事辩护律师
   设计: 深海军蓝 + 金色点缀 + 高端律所
   ============================================ */

/* ---- Reset & Variables ---- */
:root {
  --navy: #0B162C;
  --navy-light: #162544;
  --navy-dark: #060E1F;
  --gold: #C8965E;
  --gold-08: rgba(200, 150, 94, 0.08);
  --gold-10: rgba(200, 150, 94, 0.10);
  --gold-20: rgba(200, 150, 94, 0.20);
  --gold-25: rgba(200, 150, 94, 0.25);
  --gold-30: rgba(200, 150, 94, 0.30);
  --gray: #5A6270;
  --warm: #F8F7F4;
  --white-03: rgba(255, 255, 255, 0.03);
  --white-04: rgba(255, 255, 255, 0.04);
  --white-05: rgba(255, 255, 255, 0.05);
  --white-06: rgba(255, 255, 255, 0.06);
  --white-08: rgba(255, 255, 255, 0.08);
  --white-10: rgba(255, 255, 255, 0.10);
  --white-40: rgba(255, 255, 255, 0.40);
  --white-45: rgba(255, 255, 255, 0.45);
  --white-50: rgba(255, 255, 255, 0.50);
  --white-55: rgba(255, 255, 255, 0.55);
  --white-60: rgba(255, 255, 255, 0.60);
  --white-70: rgba(255, 255, 255, 0.70);
  --white-75: rgba(255, 255, 255, 0.75);
  --font-sans: 'Noto Sans SC', sans-serif;
  --font-serif: 'Noto Serif SC', serif;
  --font-display: 'Playfair Display', serif;
  --nav-height: 80px;
  --transition: 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body { font-family: var(--font-sans); font-weight: 300; font-size: 16px; line-height: 1.7; color: var(--navy); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---- Shared ---- */
.lp-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-top: 12px;
}

.section-heading.text-white { color: white; }

.section-sub {
  font-size: 15px;
  color: var(--gray);
  margin-top: 24px;
}

.section-sub.text-white\/50 { color: var(--white-50); }

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

.gold-line { width: 60px; height: 3px; background: linear-gradient(90deg, var(--gold), rgba(200,150,94,0.2)); margin-top: 24px; }
.gold-line-center { margin-left: auto; margin-right: auto; }

/* ==================== 导航栏 ==================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height); background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.nav-brand {
  font-family: var(--font-serif); font-size: 22px; font-weight: 700;
  color: white; letter-spacing: 1px;
}

.nav-brand-sub { color: var(--gold); font-weight: 400; font-size: 18px; margin-left: 4px; }

.nav-links { display: flex; align-items: center; gap: 48px; }

.nav-link {
  font-size: 14px; font-weight: 500; color: var(--white-70);
  letter-spacing: 1px; position: relative; transition: var(--transition);
  padding-bottom: 4px;
}

.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width var(--transition);
}

.nav-link:hover, .nav-link.active { color: white; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-phone {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; font-size: 14px; font-weight: 500;
  color: var(--gold); border: 1px solid var(--gold-30); border-radius: 4px;
  transition: var(--transition);
}

.nav-phone:hover { background: var(--gold); color: var(--navy); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ==================== 专业简介 ==================== */
.about-section {
  background: var(--warm); padding-top: 80px;
}

.about-top-line {
  height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--navy));
}

.about-grid {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 80px; align-items: start; padding: 96px 0 128px;
}

/* Left */
.about-left { position: sticky; top: 104px; }

.about-photo-wrapper {
  position: relative; width: 100%;
}

.about-photo-corner {
  position: absolute; width: 80px; height: 80px;
}
.about-photo-corner-tl { top: -16px; left: -16px; border-top: 2px solid var(--gold-30); border-left: 2px solid var(--gold-30); }
.about-photo-corner-br { bottom: -16px; right: -16px; border-bottom: 2px solid var(--gold-30); border-right: 2px solid var(--gold-30); }

.about-photo-inner {
  position: relative; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.about-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

.about-photo-fallback {
  width: 100%; aspect-ratio: 3/4; background: #e0dcd5;
  display: flex; align-items: center; justify-content: center;
}

.about-photo-gradient {
  position: absolute; bottom: 0; left: 0; right: 0; height: 128px;
  background: linear-gradient(to top, rgba(11,22,44,0.3), transparent);
}

.about-photo-label {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(11,22,44,0.9); color: white;
  padding: 12px 24px; backdrop-filter: blur(8px);
}

.about-photo-label-name { font-size: 18px; font-weight: 700; font-family: var(--font-serif); }
.about-photo-label-sub { font-size: 12px; color: var(--white-60); letter-spacing: 1px; margin-top: 2px; }

.about-phone-cta {
  display: block; margin-top: 32px; background: var(--navy); color: white;
  text-align: center; padding: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.about-phone-cta:hover { background: var(--navy-light); }

.about-phone-cta-top {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 8px;
}

.about-phone-cta-icon { color: var(--gold); }

.about-phone-cta-top span {
  font-size: 13px; color: var(--white-50); letter-spacing: 2px; text-transform: uppercase;
}

.about-phone-cta-num {
  font-size: 32px; font-weight: 700; letter-spacing: 2px;
  font-family: "Courier New", monospace;
}

.about-phone-cta-sub { font-size: 13px; color: var(--white-40); margin-top: 8px; }

/* Right */
.about-right { padding-top: 8px; }

.about-name {
  font-family: var(--font-serif); font-size: 48px; font-weight: 700;
  color: var(--navy); line-height: 1.1; margin-top: 12px;
}

.about-name-gold { color: var(--gold); }

.about-firm { font-size: 18px; color: var(--gray); font-weight: 300; margin-top: 12px; }

.about-info-box {
  background: var(--navy); color: white; padding: 32px; margin-top: 32px;
}

.about-info-box-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

.about-info-box-icon {
  width: 40px; height: 40px; background: var(--gold-20);
  display: flex; align-items: center; justify-content: center;
}

.about-info-box-label {
  font-size: 14px; font-weight: 500; color: var(--gold); letter-spacing: 2px;
}

.about-info-box-title {
  font-family: var(--font-serif); font-size: 26px; font-weight: 700; margin-bottom: 12px;
}

.about-info-box-desc {
  font-size: 15px; line-height: 1.8; color: var(--white-60);
}

.about-texts {
  margin-top: 32px; display: flex; flex-direction: column; gap: 20px;
  font-size: 15px; line-height: 1.9; color: var(--gray);
}

.about-tags {
  display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px;
}

.about-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; font-size: 14px; font-weight: 500; color: var(--navy);
  background: white; border: 1px solid var(--gold-20); box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.about-tag svg { color: var(--gold); flex-shrink: 0; }

.about-cta-link {
  display: inline-block; margin-top: 32px;
  font-size: 15px; font-weight: 500; color: var(--gold);
}

.about-cta-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ==================== 代表案例 ==================== */
.cases-section {
  background: white; padding: 112px 0 160px;
}

.case-filters { display: flex; justify-content: center; gap: 16px; margin-bottom: 48px; }

.filter-btn {
  padding: 10px 28px; font-size: 14px; font-weight: 500;
  border: 1px solid rgba(11,22,44,0.12); border-radius: 2px;
  background: white; color: var(--gray); cursor: pointer;
  transition: var(--transition); font-family: var(--font-sans);
}

.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--navy); color: white; border-color: var(--navy); }

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

/* Case Card */
.case-card {
  display: block; color: inherit; text-decoration: none;
  position: relative; background: white;
  border: 1px solid rgba(11,22,44,0.07); border-radius: 2px;
  padding: 32px; cursor: pointer;
  transition: all 0.7s ease;
}

.case-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  transform: translateY(-4px);
}

.case-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--gold-30));
  opacity: 0.6; transition: opacity 0.3s;
}

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

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

.case-card-cat {
  display: inline-block; padding: 4px 12px; font-size: 12px; font-weight: 500;
  border-radius: 2px; color: white;
}

.case-card-cat.criminal { background: var(--navy); }
.case-card-cat.civil { background: var(--gold); }
.case-card-cat.contract { background: var(--navy-light); }

.case-card-arrow {
  color: rgba(90,98,112,0.3); transition: color 0.3s;
}

.case-card:hover .case-card-arrow { color: var(--gold); }

.case-card-title {
  font-family: var(--font-serif); font-size: 18px; font-weight: 600;
  color: var(--navy); line-height: 1.4; margin-top: 16px;
  transition: color 0.3s;
}

.case-card:hover .case-card-title { color: var(--gold); }

.case-card-desc {
  font-size: 14px; line-height: 1.85; color: var(--gray); margin-top: 12px;
}

.case-card-result {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px; padding: 8px 16px;
  font-size: 13px; font-weight: 500; color: var(--gold);
  background: var(--gold-08); border-radius: 2px;
}

.case-card-detail-link {
  display: flex; align-items: center; gap: 4px;
  margin-top: 16px; font-size: 12px; color: var(--gold);
  letter-spacing: 1px; opacity: 0; transition: opacity 0.3s;
}

.case-card:hover .case-card-detail-link { opacity: 1; }

/* ==================== 业务领域 ==================== */
.services-section {
  padding: 112px 0 160px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
}

/* Main service card */
.service-main-card {
  display: grid; grid-template-columns: 8fr 4fr; gap: 32px;
  background: var(--white-04); border: 1px solid var(--gold-30);
  border-radius: 2px; padding: 56px;
}

.service-main-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }

.service-main-icon {
  width: 56px; height: 56px; border-radius: 2px;
  background: var(--gold-20); display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}

.service-main-label {
  font-size: 13px; font-weight: 500; color: var(--gold); letter-spacing: 2px; text-transform: uppercase;
}

.service-main-title {
  font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: white; margin-bottom: 16px;
}

.service-main-desc {
  font-size: 15px; line-height: 1.85; color: var(--white-55); max-width: 640px;
}

.service-main-tags {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px;
}

.service-main-tags span {
  font-size: 12px; color: var(--gold); border: 1px solid var(--gold-25);
  padding: 6px 12px; border-radius: 2px;
}

/* Stats column */
.service-main-right {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  align-content: center;
  border-left: 1px solid var(--white-10); padding-left: 32px;
}

.service-stat-num { font-size: 56px; font-weight: 700; color: var(--gold); font-family: var(--font-display); line-height: 1; }
.service-stat { text-align: center; }

.service-stat-label { font-size: 14px; color: var(--white-40); margin-top: 8px; }

/* Sub service cards */
.service-sub-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 32px;
}

.service-sub-card {
  background: var(--white-03); border: 1px solid var(--white-08);
  border-radius: 2px; padding: 32px;
  transition: all 0.7s ease;
}

.service-sub-card:hover {
  background: var(--white-06); border-color: var(--gold-20); transform: translateY(-4px);
}

.service-sub-icon {
  width: 48px; height: 48px; border-radius: 2px;
  background: var(--gold-10); display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 20px; font-size: 22px;
}

.service-sub-title { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: white; margin-bottom: 12px; }

.service-sub-desc { font-size: 13px; line-height: 1.8; color: var(--white-45); }

/* ==================== 执业理念 ==================== */
.philosophy-section {
  position: relative; padding: 128px 0 176px; overflow: hidden;
  background: var(--navy);
}

.philosophy-bg {
  position: absolute; inset: 0;
  background: url('assets/images/court-building.jpg') center/cover no-repeat;
}

.philosophy-overlay {
  position: absolute; inset: 0; background: rgba(11,22,44,0.82);
}

.philosophy-content { position: relative; z-index: 1; }

.philosophy-inner { max-width: 800px; margin: 0 auto; text-align: center; }

.philosophy-title {
  font-family: var(--font-serif); font-size: 42px; font-weight: 700;
  color: white; line-height: 1.2; margin-top: 16px;
}

.philosophy-quote {
  font-family: var(--font-serif); font-size: 20px; line-height: 1.85;
  color: var(--white-75); margin-top: 40px;
}

.philosophy-author { font-size: 16px; font-weight: 500; color: var(--gold); margin-top: 32px; }

.philosophy-creds {
  display: flex; justify-content: center; gap: 48px; margin-top: 56px;
}

.philosophy-cred { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.philosophy-cred-icon {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--gold-25); display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 26px;
}

.philosophy-cred span { font-size: 13px; color: var(--white-50); }

/* ==================== 页脚 ==================== */
.footer {
  background: var(--navy-dark); padding: 80px 0 32px;
}

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

.footer-logo { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: white; letter-spacing: 1px; }

.footer-logo-sub { color: var(--gold); font-weight: 400; font-size: 16px; margin-left: 4px; }

.footer-desc { font-size: 14px; line-height: 1.85; color: var(--white-40); margin-top: 20px; }

.footer-social { display: flex; gap: 12px; margin-top: 28px; }

.footer-social-btn {
  width: 40px; height: 40px; border-radius: 2px; background: var(--white-05);
  display: flex; align-items: center; justify-content: center; color: var(--white-50);
  transition: var(--transition);
}

.footer-social-btn:hover { background: var(--gold); color: white; }

.footer-col h4 { font-size: 15px; font-weight: 600; color: white; margin-bottom: 24px; }

.footer-col ul { display: flex; flex-direction: column; gap: 14px; }

.footer-col a { font-size: 14px; color: var(--white-40); transition: color 0.3s; }

.footer-col a:hover { color: var(--gold); }

.footer-contact-list { gap: 16px !important; }

.footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--white-40);
}

.footer-contact-item svg { color: var(--gold); flex-shrink: 0; }

.footer-phone {
  font-size: 18px; font-weight: 600; color: var(--gold);
  padding: 8px 0;
}

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

.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--white-08);
  text-align: center; font-size: 13px; color: var(--white-40);
}

/* ==================== 案例详情页 ==================== */
.detail-topbar { background: var(--navy); }
.detail-topbar-inner {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.detail-back-btn {
  display: flex; align-items: center; gap: 8px;
  color: var(--white-60); font-size: 13px; letter-spacing: 2px;
  font-family: var(--font-serif); transition: color 0.3s;
}
.detail-back-btn:hover { color: white; }
.detail-topbar-label {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--white-30);
}

.detail-hero {
  background: var(--navy); padding-bottom: 64px;
}
.detail-hero-inner { max-width: 720px; }
.detail-hero-cat {
  display: inline-block; padding: 4px 12px; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; border-radius: 2px;
  background: var(--gold-20); color: var(--gold);
}
.detail-hero-title {
  font-family: var(--font-serif); font-size: 26px; font-weight: 700;
  color: white; line-height: 1.3; margin-top: 20px; letter-spacing: 1px;
}
.detail-hero-result {
  font-size: 15px; line-height: 1.8; color: var(--white-50); margin-top: 20px;
}

.detail-body { padding: 64px 0 96px; }
.detail-grid { display: grid; grid-template-columns: 8fr 4fr; gap: 48px; }
.detail-main { min-width: 0; }
.detail-content {
  font-size: 15px; line-height: 2.2; color: var(--gray); white-space: pre-line;
}
.detail-result-box {
  background: var(--navy); padding: 32px; border-radius: 2px; margin-top: 64px;
}
.detail-result-box-text {
  font-family: var(--font-serif); font-size: 22px; font-weight: 700;
  color: white; letter-spacing: 1px;
}

.detail-sidebar { position: sticky; top: 100px; align-self: start; }
.detail-sidebar-card {
  background: var(--warm); padding: 32px; border-radius: 2px; margin-bottom: 24px;
}
.detail-sidebar-card-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
}
.detail-sidebar-card-header svg { color: var(--gold); }
.detail-sidebar-card-title {
  font-family: var(--font-serif); font-size: 16px; font-weight: 700;
  color: var(--navy); line-height: 1.6;
}
.detail-sidebar-card-desc {
  font-size: 14px; line-height: 1.8; color: var(--gray); margin-top: 12px;
}
.detail-phone-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 24px; padding: 14px 24px; font-size: 13px; font-weight: 500;
  background: var(--navy); color: white; border-radius: 2px;
  transition: background 0.3s; width: 100%;
}
.detail-phone-btn:hover { background: var(--navy-light); }
.detail-phone-btn svg { color: var(--gold); }

.detail-related-item {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; text-align: left; padding: 16px 0;
  border-bottom: 1px solid rgba(11,22,44,0.06);
  background: none; border-left: none; border-right: none; border-top: none;
  cursor: pointer; font-family: var(--font-sans);
}
.detail-related-item:last-child { border-bottom: none; }
.detail-related-item:hover .detail-related-title { color: var(--gold); }
.detail-related-title {
  font-family: var(--font-serif); font-size: 14px; font-weight: 500;
  color: var(--navy); line-height: 1.5; transition: color 0.3s;
}
.detail-related-result {
  font-size: 12px; color: rgba(90,98,112,0.7); margin-top: 4px;
}
.detail-related-arrow {
  color: rgba(90,98,112,0.3); flex-shrink: 0; transition: color 0.3s;
}
.detail-related-item:hover .detail-related-arrow { color: var(--gold); }

/* Bottom bar */
.detail-bottom-bar { background: var(--navy); }
.detail-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 48px 0; gap: 24px;
}
.detail-bottom-tag {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.detail-bottom-text {
  font-family: var(--font-serif); font-size: 18px; color: white; letter-spacing: 1px;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; font-size: 14px; font-weight: 500;
  border-radius: 4px; transition: var(--transition);
}
.btn-outline {
  border: 1px solid var(--gold-30); color: var(--gold); background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }

/* ==================== 分页 ==================== */
.posts-nav { text-align: center; margin: 60px 0 40px; }
.posts-nav .page-numbers {
  color: var(--gray); display: inline-block; padding: 10px 16px; font-size: 13px;
  background: var(--warm); margin: 0 2px; font-family: Arial; transition: all .3s;
}
.posts-nav .current,
.posts-nav .page-numbers:hover { color: white; background: var(--navy); }

/* ==================== 面包屑 ==================== */
.breadcrumb_loop {
  list-style: none; padding: 0; margin: 0; display: flex; font-weight: 300;
  font-size: 13px; color: var(--gray);
}
.breadcrumb_loop li { display: flex; margin: 5px 0; }
.breadcrumb_loop li a { color: var(--gray); transition: color 0.3s; }
.breadcrumb_loop li a:hover { color: var(--gold); }
.breadcrumb_loop li a:after { content: '/'; margin: 0 8px; color: #ccc; }
.breadcrumb_loop li:last-child a:after { display: none; }

/* ==================== 内容区域 ==================== */
.wznrys { font-size: 15px; line-height: 2; color: var(--gray); }
.wznrys h2 { font-size: 22px; margin-bottom: 20px; color: var(--navy); }
.wznrys h3 { font-size: 18px; margin-bottom: 16px; color: var(--navy); }
.wznrys p { margin-bottom: 16px; }
.wznrys img { max-width: 100%; height: auto; }

/* ==================== 404 ==================== */
.error-404 { text-align: center; padding: 120px 0; }
.error-404 h1 { font-size: 120px; font-weight: 700; color: var(--gold); font-family: var(--font-display); }
.error-404 h2 { font-size: 28px; color: var(--navy); margin-top: 20px; }
.error-404 p { color: var(--gray); margin-top: 16px; }
.error-404 .btn { margin-top: 32px; background: var(--navy); color: white; }

/* ==================== Responsive ==================== */

@media (max-width: 1024px) {
  .nav-links { position: fixed; top: 80px; left: 0; right: 0; bottom: 0;
    background: rgba(11,22,44,0.97); flex-direction: column; justify-content: center;
    gap: 0; transform: translateX(100%); transition: transform 0.3s ease;
    backdrop-filter: blur(12px); }
  .nav-links.active { transform: translateX(0); }
  .nav-link { font-size: 18px; padding: 16px 0; text-align: center; width: 100%; }
  .hamburger { display: flex; }
  .nav-phone { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-left { position: static; margin: 0 auto; }
  .about-name { font-size: 36px; }
  .about-info-box-title { font-size: 22px; }

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

  .service-main-card { grid-template-columns: 1fr; padding: 32px; }
  .service-main-right { border-left: none; border-top: 1px solid var(--white-10); padding-left: 0; padding-top: 32px; }
  .service-sub-grid { grid-template-columns: repeat(3, 1fr); }

  .philosophy-title { font-size: 32px; }

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

  .detail-grid { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .detail-hero-title { font-size: 22px; }
}

@media (max-width: 768px) {
  .about-grid { gap: 40px; }
  .about-name { font-size: 28px; }
  .section-heading { font-size: 32px; }
  .about-phone-cta-num { font-size: 24px; }
  .about-info-box { padding: 24px; }
  .about-tags { gap: 10px; }
  .about-tag { padding: 10px 14px; font-size: 13px; }

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

  .service-sub-grid { grid-template-columns: 1fr; }
  .service-main-card { padding: 24px; }
  .service-main-title { font-size: 24px; }

  .philosophy-title { font-size: 26px; }
  .philosophy-quote { font-size: 17px; }
  .philosophy-creds { gap: 24px; }

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

@media (max-width: 640px) {
  .detail-hero-title { font-size: 20px; }
  .detail-bottom-inner { flex-direction: column; text-align: center; }
  .detail-result-box { padding: 24px; }
  .detail-result-box-text { font-size: 18px; }
}

@media (max-width: 480px) {
  .case-filters { flex-wrap: wrap; }
  .filter-btn { padding: 8px 18px; font-size: 13px; }
  .service-stat-num { font-size: 40px; }
  .philosophy-creds { flex-direction: column; align-items: center; gap: 32px; }
}

/* Admin bar offset */
.admin-bar .navbar { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .navbar { top: 46px; }
}
