/* ===== China Lawyer · Landing Site Styles ===== */
:root {
    --primary: #0a2540;
    --primary-dark: #061a2e;
    --primary-light: #1a4060;
    --accent: #cfa144;
    --accent-dark: #b8892e;
    --bg: #ffffff;
    --bg-alt: #f5f7fa;
    --bg-dark: #0a2540;
    --text: #1a2332;
    --text-secondary: #425466;
    --text-muted: #697586;
    --border: #eef1f5;
    --success: #2e7d32;
    --danger: #c62828;
    --radius: 12px;
    --shadow: 0 2px 12px rgba(10,37,64,0.08);
    --shadow-lg: 0 8px 30px rgba(10,37,64,0.12);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}
/* ===== Navigation ===== */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}
nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}
.logo .accent { color: var(--accent); }
.logo .tagline {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-dark); }
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
}
/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #1f4e7a 100%);
    color: #fff;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(207,161,68,0.15) 0%, transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 700px;
    margin-bottom: 16px;
}
.hero h1 .highlight { color: var(--accent); }
.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 640px;
    margin-bottom: 24px;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.hero-badge {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
}
.hero-verify {
    margin-bottom: 30px;
}
.hero-verify a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}
.hero-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.hero-step {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.step-num {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 10px;
}
.step-label { font-size: 0.9rem; opacity: 0.9; }
/* ===== Trust Bar ===== */
.trust-bar {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.trust-bar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    align-items: center;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.trust-item strong { color: var(--primary); }
.trust-icon {
    width: 22px;
    height: 22px;
    background: var(--success);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}
/* ===== Sections ===== */
section { padding: 64px 0; }
.bg-alt { background: var(--bg-alt); }
.section-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}
/* ===== Grids ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}
.card p { color: var(--text-secondary); font-size: 0.95rem; }
.card a.verify-link { color: var(--accent); text-decoration: none; font-weight: 600; }
/* ===== Attorney Showcase ===== */
.attorney-showcase {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: start;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}
.attorney-photo { text-align: center; }
.photo-frame {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
}
.photo-caption {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}
.attorney-info h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 4px;
}
.title-line {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px;
}
.license-block {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 16px;
}
.license-block p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 4px 0;
}
.license-block strong { color: var(--primary); }
.bio-text {
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.verify-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
/* ===== Buttons ===== */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-primary.gold { background: var(--accent); }
.btn-primary.gold:hover { background: var(--accent-dark); }
.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--primary); color: #fff; }
/* ===== Steps ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.step-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow);
}
.step-icon { font-size: 2.5rem; margin-bottom: 12px; }
.step-card h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.step-card p { color: var(--text-secondary); font-size: 0.92rem; }
/* ===== Comparison Table ===== */
.comp-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.comp-table th {
    background: var(--primary);
    color: #fff;
    padding: 16px;
    text-align: left;
    font-size: 0.95rem;
}
.comp-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.92rem;
}
.comp-table tr:last-child td { border-bottom: none; }
.comp-table .check-mark { color: var(--success); font-weight: 600; }
.comp-table .cross-mark { color: var(--danger); }
.comp-table .highlight-row td { background: #fef9e7; }
/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    text-align: center;
    padding: 72px 0;
}
.cta-section h2 {
    font-size: 1.9rem;
    margin-bottom: 12px;
}
.cta-section p {
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto 28px;
}
/* ===== Footer ===== */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
    text-align: center;
}
footer p { margin: 6px 0; font-size: 0.9rem; }
footer strong { color: #fff; }
footer a { color: var(--accent); text-decoration: none; }
.footer-contact {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-item {
    display: inline-block;
    margin: 0 16px;
    font-size: 0.9rem;
}
.disclaimer {
    margin-top: 16px;
    font-size: 0.8rem;
    opacity: 0.6;
}
/* ===== Page Header (subpages) ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 56px 0;
    text-align: center;
}
.page-header h1 { font-size: 2.2rem; margin-bottom: 8px; }
.page-header p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
/* ===== Pricing ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.plan {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    position: relative;
}
.plan.featured {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-lg);
}
.plan .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.plan-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}
.price-desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; }
.plan ul {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}
.plan li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    border-bottom: 1px dashed var(--border);
}
.plan li:last-child { border-bottom: none; }
/* ===== FAQ ===== */
.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
}
.faq-question:hover { background: var(--bg-alt); }
.faq-toggle {
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: 700;
}
.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.faq-answer.open {
    padding: 0 24px 20px;
    max-height: 500px;
}
.faq-answer a { color: var(--accent); text-decoration: none; }

/* ===== Office Gallery ===== */
.office-gallery { margin: 24px 0; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg);
    transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.gallery-caption {
    padding: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    background: var(--bg-alt);
}
.gallery-note {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}
.office-map {
    margin-top: 32px;
    text-align: center;
    padding: 24px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
}
.office-map h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.office-map p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.map-container {
    display: flex;
    justify-content: center;
}
/* Video container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.office-preview {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.office-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 16px;
}
.office-badge-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}
.office-badge-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
}
/* ===== About Hero ===== */
.about-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 56px 0;
    text-align: center;
}
.about-hero h1 { font-size: 2.2rem; margin-bottom: 8px; }
.about-content { max-width: 900px; margin: 0 auto; }
/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-info h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 16px;
}
.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.contact-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.qr-card {
    text-align: center;
}
.qr-card img {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.contact-method .icon { font-size: 1.8rem; }
.contact-method h4 {
    color: var(--primary);
    margin-bottom: 4px;
}
.contact-method p { color: var(--text-secondary); font-size: 0.9rem; }
.contact-method a { color: var(--accent); text-decoration: none; font-weight: 600; }
.contact-form {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}
.contact-form h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 20px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg-alt);
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg);
}
.form-group textarea { min-height: 120px; resize: vertical; }
/* ===== Services ===== */
.service-detail {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.service-detail h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.service-detail p { color: var(--text-secondary); margin-bottom: 12px; }
.service-detail ul {
    margin: 12px 0 12px 24px;
    color: var(--text-secondary);
}
.service-detail li { margin: 6px 0; }
/* ===== Blog ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.blog-card h3 a { color: var(--primary); text-decoration: none; }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 12px; }
.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.blog-article {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}
.blog-article h1 {
    font-size: 1.9rem;
    color: var(--primary);
    margin-bottom: 12px;
}
.blog-article h2 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 32px 0 12px;
}
.blog-article h3 {
    font-size: 1.15rem;
    color: var(--primary-light);
    margin: 24px 0 10px;
}
.blog-article p { color: var(--text-secondary); margin-bottom: 16px; }
.blog-article ul, .blog-article ol {
    margin: 12px 0 16px 24px;
    color: var(--text-secondary);
}
.blog-article li { margin: 6px 0; }
/* ===== Responsive ===== */
@media (max-width: 900px) {
    .grid-3, .steps-grid, .pricing-grid, .blog-grid { grid-template-columns: 1fr; }
    .grid-2, .contact-grid { grid-template-columns: 1fr; }
    .attorney-showcase { grid-template-columns: 1fr; text-align: center; }
    .attorney-info { text-align: left; }
    .verify-buttons { justify-content: center; }
    .hero-steps { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
}
@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    .nav-links.active { display: flex; }
    .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    section { padding: 48px 0; }
    .section-title { font-size: 1.6rem; }
}