/* USChinaService.com - Professional Legal Services */
:root {
  --navy: #0a2540;
  --navy-dark: #061a2e;
  --navy-light: #0d3060;
  --gold: #c9a227;
  --gold-hover: #b8911f;
  --gold-light: #f0d98a;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --text: #1e293b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1160px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Typography */
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.3; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; line-height: 1.4; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 72px 0; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  color: var(--navy);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 640px;
  margin-bottom: 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201,162,39,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-1px);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 68px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-main {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo-main span { color: var(--gold); }
.nav-logo-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-cta {
  padding: 8px 18px !important;
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
}
.nav-cta:hover {
  background: var(--gold-hover) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #0f3567 100%);
  color: var(--white);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 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.02'%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");
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,39,0.18);
  border: 1px solid rgba(201,162,39,0.35);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; max-width: 700px; }
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.hero-stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #e8f0fe, #dbeafe);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card-icon.gold { background: linear-gradient(135deg, #fef9ec, #fef3c7); }
.card-icon.navy { background: linear-gradient(135deg, #e0e9f5, #ccd9ed); }

/* Grid layouts */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Feature section */
.features-bg { background: var(--gray-50); }
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 8px;
}

/* Services */
.services-bg { background: var(--navy); color: var(--white); }
.service-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
}
.service-card h3 { color: var(--white); margin-bottom: 10px; }
.service-card p { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.service-icon { font-size: 2rem; margin-bottom: 16px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 16px;
}
.service-link::after { content: '→'; transition: transform 0.2s; }
.service-card:hover .service-link::after { transform: translateX(4px); }

/* Steps / How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  text-align: center;
  padding: 28px 20px;
  position: relative;
}
.step::after {
  content: '';
  position: absolute;
  top: 36px;
  right: -12%;
  width: 24%;
  height: 2px;
  background: var(--gold);
  opacity: 0.3;
}
.step:last-child::after { display: none; }
.step-num {
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 20px;
}
.step h3 { color: var(--navy); margin-bottom: 8px; font-size: 1rem; }
.step p { font-size: 0.88rem; color: var(--gray-600); }

/* FAQ */
.faq-list { max-width: 780px; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.faq-q::before {
  content: 'Q';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.faq-a { color: var(--gray-700); padding-left: 38px; font-size: 0.96rem; }

/* Attorney bio */
.attorney-section { background: var(--gray-50); }
.attorney-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.attorney-avatar {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: -2px;
}
.attorney-name { font-size: 1.6rem; color: var(--navy); margin-bottom: 4px; }
.attorney-title { color: var(--gold); font-weight: 600; margin-bottom: 16px; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; }
.credentials { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-banner .btn-primary { font-size: 1rem; padding: 16px 36px; }

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 72px 0 64px;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 620px; font-size: 1.1rem; }

/* Content sections */
.content-section { padding: 72px 0; }
.content-section + .content-section { padding-top: 0; }
.prose h2 { color: var(--navy); margin: 2rem 0 1rem; font-size: 1.5rem; }
.prose h3 { color: var(--navy); margin: 1.5rem 0 0.75rem; }
.prose p { color: var(--gray-700); }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 1rem; }
.prose li { color: var(--gray-700); margin-bottom: 6px; }
.prose strong { color: var(--navy); }

/* Info boxes */
.info-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid #3b82f6;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.warning-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 4px solid #f97316;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.success-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #22c55e;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box h4, .warning-box h4, .success-box h4 { margin-bottom: 8px; font-size: 0.95rem; }
.info-box p, .warning-box p, .success-box p { margin: 0; font-size: 0.93rem; }

/* Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.93rem;
}
.comparison-table th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
}
.comparison-table th:first-child { border-radius: var(--radius) 0 0 0; }
.comparison-table th:last-child { border-radius: 0 var(--radius) 0 0; }
.comparison-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}
.comparison-table tr:nth-child(even) td { background: var(--gray-50); }
.comparison-table .check { color: #22c55e; font-weight: 700; }
.comparison-table .cross { color: #ef4444; font-weight: 700; }

/* Checklist */
.checklist { list-style: none; padding: 0; }
.checklist li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--gray-700);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--gray-100);
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}

/* Contact page */
.contact-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 48px; }
.contact-option {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-option:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.contact-option.featured { border-color: var(--gold); background: #fffcf0; }
.contact-option-icon { font-size: 2.5rem; margin-bottom: 16px; }
.contact-option h3 { color: var(--navy); margin-bottom: 8px; }
.contact-option p { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 24px; }
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.contact-info-card {
  text-align: center;
  padding: 28px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
}
.contact-info-card .icon { font-size: 2rem; margin-bottom: 12px; }
.contact-info-card h4 { color: var(--navy); margin-bottom: 8px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info-card p, .contact-info-card a {
  color: var(--gray-700);
  font-size: 0.95rem;
}
.contact-info-card a:hover { color: var(--navy); text-decoration: underline; }

/* Attorneys page */
.referral-box {
  background: linear-gradient(135deg, #f0f7ff, #e8f4fd);
  border: 2px solid #3b82f6;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin: 48px 0;
}
.services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: box-shadow 0.2s;
}
.service-item:hover { box-shadow: var(--shadow-sm); }
.service-item-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Footer */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-brand .logo-text span { color: var(--gold); }
.footer-brand .tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-desc { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-links-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  max-width: 640px;
  line-height: 1.6;
}
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.5); white-space: nowrap; }
.footer-ext-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-ext-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-ext-links a:hover { color: var(--gold); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 48px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .attorney-card { grid-template-columns: 1fr; text-align: center; }
  .attorney-avatar { margin: 0 auto; }
  .credentials { justify-content: center; }
  .contact-options { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-ctas { flex-direction: column; }
  .hero-stats { gap: 24px; }
  .nav-links { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 16px; gap: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 0.95rem; }
  .nav-toggle { display: flex; }
  .page-hero { padding: 48px 0 40px; }
}
@media (max-width: 480px) {
  .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
  .hero { padding: 64px 0 56px; }
}

/* Utilities */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-600); }
.font-bold { font-weight: 700; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.py-0 { padding-top: 0; padding-bottom: 0; }
.bg-white { background: var(--white); }
.bg-light { background: var(--gray-50); }
.separator {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
  color: var(--gray-400);
  font-size: 0.85rem;
}
.separator::before, .separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}
