/* ============================================
   杨帆律师个人网站 - 主样式表
   配色: 深海军蓝 + 金色点缀
   ============================================ */

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

:root {
    --color-primary: #0B1F3A;
    --color-primary-light: #15315C;
    --color-primary-lighter: #1E4380;
    --color-accent: #BFA06A;
    --color-accent-light: #D4BC8A;
    --color-accent-dark: #9A7E4E;
    --color-bg: #F8F9FB;
    --color-bg-alt: #FFFFFF;
    --color-bg-dark: #0B1F3A;
    --color-text: #1A1A2E;
    --color-text-muted: #5A6B7E;
    --color-text-light: #8896A8;
    --color-border: #E0E4EA;
    --color-border-light: #EFF2F6;
    --color-steel: #2D5A8C;
    --color-success: #2A7F4F;
    --color-danger: #C0392B;
    --color-white: #FFFFFF;

    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Georgia", "Songti SC", "SimSun", serif;
    --font-mono: "SF Mono", "Fira Code", "Consolas", monospace;

    --shadow-sm: 0 2px 8px rgba(11, 31, 58, 0.06);
    --shadow-md: 0 4px 20px rgba(11, 31, 58, 0.10);
    --shadow-lg: 0 8px 40px rgba(11, 31, 58, 0.15);
    --shadow-xl: 0 16px 60px rgba(11, 31, 58, 0.20);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --container-max: 1200px;
    --nav-height: 72px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

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

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

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

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

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

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

.section-header .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-dark .section-header h2 {
    color: var(--color-white);
}

.section-header p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 640px;
    margin: 0 auto;
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

/* === Divider === */
.divider {
    width: 48px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
    margin: 0 auto 20px;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

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

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

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

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

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

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: gap var(--transition);
}

.btn-text:hover {
    gap: 12px;
    color: var(--color-accent-dark);
}

.btn-text::after {
    content: "\2192";
    font-size: 1.1em;
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-light);
    z-index: 1000;
    transition: all var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.nav-logo .logo-mark {
    width: auto;
    height: 32px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.3rem;
    font-weight: 800;
    font-family: var(--font-serif);
    object-fit: contain;
}

.nav-logo .logo-mark img {
    height: 32px;
    width: auto;
    display: block;
}

.nav-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-logo .logo-text small {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 6px 0;
}

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

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-primary);
}

.nav-cta {
    margin-left: 16px;
    background: linear-gradient(180deg, var(--color-accent-light) 0%, var(--color-accent) 55%, var(--color-accent-dark) 100%);
    color: var(--color-white);
    border: 1px solid var(--color-accent-dark);
    border-radius: 8px;
    padding: 8px 22px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    box-shadow: 0 2px 8px rgba(191, 160, 106, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all var(--transition);
}

.nav-cta:hover {
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(191, 160, 106, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

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

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

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(191, 160, 106, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(45, 90, 140, 0.25) 0%, transparent 50%),
        linear-gradient(135deg, #0B1F3A 0%, #15315C 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.5) 35px, rgba(255,255,255,0.5) 70px);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(191, 160, 106, 0.15);
    border: 1px solid rgba(191, 160, 106, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-accent-light);
    margin-bottom: 28px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-text h1 .accent {
    color: var(--color-accent);
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 40px;
}

.hero-stat .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    font-family: var(--font-serif);
    line-height: 1;
}

.hero-stat .label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

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

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 30px;
    width: 100%;
    max-width: 480px;
}

.hero-card .card-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.hero-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--color-white);
}

.hero-card .client-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
}

.hero-card .client-logo-item {
    width: 92px;
    height: 76px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    transition: all var(--transition);
}

.hero-card .client-logo-item:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(191, 160, 106, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-card .client-logo-item img,
.hero-card .client-logo-item svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.hero-scroll .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* === About Brief (Home) === */
.about-brief {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-brief-image {
    position: relative;
}

.about-brief-image .image-frame {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-brief-image .image-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(191, 160, 106, 0.05) 20px, rgba(191, 160, 106, 0.05) 40px);
}

.about-brief-image .image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
}

.about-brief-image .image-frame .initials {
    font-size: 8rem;
    font-weight: 800;
    font-family: var(--font-serif);
    color: var(--color-accent);
    opacity: 0.9;
}

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

.about-brief-image .badge .num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
    font-family: var(--font-serif);
}

.about-brief-image .badge .text {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.about-brief-content .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.about-brief-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-brief-content p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.about-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-highlight .icon {
    width: 36px;
    height: 36px;
    background: rgba(191, 160, 106, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.about-highlight .text {
    font-size: 0.9rem;
    color: var(--color-text);
    font-weight: 500;
}

.about-highlight .text small {
    display: block;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-top: 2px;
}

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

.practice-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.practice-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

.practice-card:hover::before {
    transform: scaleX(1);
}

.practice-card .icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.practice-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.practice-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

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

.practice-card .tag {
    padding: 4px 10px;
    background: var(--color-bg);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* === Cases === */
.case-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

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

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

.case-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

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

.case-card .case-header {
    padding: 28px 28px 0;
}

.case-card .case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.case-card .case-tag {
    padding: 4px 10px;
    background: rgba(191, 160, 106, 0.1);
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--color-accent-dark);
}

.case-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.case-card .case-summary {
    font-size: 0.88rem;
    color: var(--color-accent-dark);
    font-weight: 500;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--color-accent);
}

.case-card .case-body {
    padding: 0 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-card .case-body p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.case-card .case-value {
    background: var(--color-bg);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 16px;
}

.case-card .case-value .label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.case-card .case-value p {
    font-size: 0.83rem;
    color: var(--color-text);
    margin: 0;
}

.case-card .case-footer {
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
}

/* === Clients === */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.client-logo {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    text-decoration: none;
    cursor: pointer;
}

.client-logo img,
.client-logo svg {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    opacity: 0.85;
    transition: all var(--transition);
}

.client-logo:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(191, 160, 106, 0.25);
    transform: translateY(-3px);
}

.client-logo:hover img {
    opacity: 1;
    transform: scale(1.06);
}

/* === Awards === */
.awards-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.award-item {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.award-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(191, 160, 106, 0.3);
}

.award-item .year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-accent);
    font-family: var(--font-serif);
    flex-shrink: 0;
    min-width: 80px;
}

.award-item .content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 6px;
}

.award-item .content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* === CTA === */
.cta-section {
    padding: 80px 0;
    background: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(191, 160, 106, 0.1) 0%, transparent 50%);
}

.cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.cta-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
}

/* === Team === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.team-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
}

.team-card .card-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: 40px;
    text-align: center;
    position: relative;
}

.team-card .card-header .avatar {
    width: 100px;
    height: 100px;
    background: rgba(191, 160, 106, 0.2);
    border: 3px solid var(--color-accent);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--color-accent);
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-serif);
}

.team-card .card-header .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-card .card-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 6px;
}

.team-card .card-header .role {
    font-size: 0.9rem;
    color: var(--color-accent-light);
}

.team-card .card-body {
    padding: 32px;
}

.team-card .info-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.88rem;
}

.team-card .info-row .label {
    font-weight: 600;
    color: var(--color-primary);
    min-width: 80px;
    flex-shrink: 0;
}

.team-card .info-row .value {
    color: var(--color-text-muted);
}

.team-card .bio {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid var(--color-border-light);
}

.team-card .achievements {
    margin-top: 20px;
}

.team-card .achievements h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.team-card .achievements li {
    font-size: 0.83rem;
    color: var(--color-text-muted);
    padding: 6px 0 6px 20px;
    position: relative;
    line-height: 1.6;
}

.team-card .achievements li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* === Contact === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info .info-item {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.contact-info .info-item:last-child {
    border-bottom: none;
}

.contact-info .info-item .icon {
    width: 48px;
    height: 48px;
    background: rgba(191, 160, 106, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info .info-item .content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.contact-info .info-item .content p {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 500;
}

.contact-info .info-item .content a {
    color: var(--color-text);
    transition: color var(--transition);
}

.contact-info .info-item .content a:hover {
    color: var(--color-accent);
}

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

.contact-form h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.contact-form .form-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(191, 160, 106, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* === Form Messages (Success / Error) === */
.form-success,
.form-error {
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-success.show,
.form-error.show {
    opacity: 1;
    transform: translateY(0);
}

.form-success {
    background: rgba(42, 127, 79, 0.08);
    border: 1px solid rgba(42, 127, 79, 0.25);
    color: #2A7F4F;
}

.form-error {
    background: rgba(192, 57, 43, 0.06);
    border: 1px solid rgba(192, 57, 43, 0.25);
    color: #C0392B;
}

.form-success .msg-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2A7F4F;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.form-success .msg-icon svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: drawCheck 0.5s ease 0.2s forwards;
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

.form-success .msg-body strong,
.form-error .msg-body strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.form-success .msg-body p,
.form-error .msg-body p {
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.5;
}

.form-error .msg-icon {
    flex-shrink: 0;
    font-size: 1.3rem;
    line-height: 1;
    margin-top: 1px;
}

/* === Page Header === */
.page-header {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(191, 160, 106, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(45, 90, 140, 0.2) 0%, transparent 50%);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
}

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

/* === Timeline === */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    padding: 0 0 48px;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 48px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 48px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--color-accent);
    border: 3px solid var(--color-white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline-item:nth-child(odd)::before {
    right: -7px;
}

.timeline-item:nth-child(even)::before {
    left: -7px;
}

.timeline-item .year {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-accent);
    font-family: var(--font-serif);
    margin-bottom: 8px;
}

.timeline-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* === Qualifications === */
.qual-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.qual-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

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

.qual-card .icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.qual-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.qual-card .org {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.qual-card ul li {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    padding: 6px 0 6px 20px;
    position: relative;
    line-height: 1.6;
}

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

/* === Footer === */
.footer {
    background: #060F1E;
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-brand .logo .logo-mark {
    width: auto;
    height: 28px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.3rem;
    font-weight: 800;
    font-family: var(--font-serif);
    object-fit: contain;
}

.footer-brand .logo .logo-mark img {
    height: 28px;
    width: auto;
    display: block;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-brand .social {
    display: flex;
    gap: 12px;
}

.footer-brand .social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.footer-brand .social a img {
    width: 22px;
    height: 22px;
    opacity: 0.5;
    transition: all var(--transition);
}

.footer-brand .social a:hover {
    background: var(--color-accent);
}

.footer-brand .social a:hover img {
    opacity: 1;
}

/* WeChat link with QR hover tooltip */
.footer-brand .social .wechat-link {
    position: relative;
}

.footer-brand .social .wechat-link .qr-tooltip {
    display: none;
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.footer-brand .social .wechat-link:hover .qr-tooltip {
    display: block;
}

.footer-brand .social .wechat-link .qr-tooltip img {
    width: 180px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    border: 2px solid rgba(255,255,255,0.15);
    opacity: 1;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

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

.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

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

.footer-bottom {
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.footer-bottom .links {
    display: flex;
    gap: 24px;
}

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

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

/* === Animations === */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* === Responsive === */
@media (max-width: 1024px) {
    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-header h2,
    .about-brief-content h2,
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-200%);
        transition: transform var(--transition);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu a {
        padding: 16px 0;
        border-bottom: 1px solid var(--color-border-light);
        width: 100%;
    }

    .nav-cta {
        margin: 16px 0 0;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

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

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-visual {
        display: none;
    }

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

    .practice-grid,
    .case-grid,
    .team-grid,
    .contact-grid,
    .awards-list,
    .qual-grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 48px;
        text-align: left;
    }

    .timeline-item:nth-child(odd) {
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 48px;
    }

    .timeline-item:nth-child(odd)::before,
    .timeline-item:nth-child(even)::before {
        left: 13px;
        right: auto;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .hero-stat .number {
        font-size: 1.8rem;
    }

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

    .page-header h1 {
        font-size: 2rem;
    }
}

/* === Map Card === */
.map-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    background: linear-gradient(135deg, #e8eef5 0%, #d6e4f0 40%, #c5d9eb 100%);
    padding: 80px 40px;
    text-align: center;
    position: relative;
}

.map-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(45, 90, 140, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 90, 140, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.map-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 45%, transparent 0%, transparent 60px, rgba(232, 238, 245, 0.6) 200px);
    pointer-events: none;
}

.map-pin {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(192, 57, 43, 0.35));
    animation: pin-bounce 2.5s ease-in-out infinite;
}

@keyframes pin-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.map-info {
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.map-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.map-info p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.map-btns {
    position: relative;
    z-index: 1;
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* === Language Switcher === */
.lang-switcher {
    position: relative;
    margin-left: 16px;
    z-index: 100;
}

.lang-current {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-text);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.lang-current:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.lang-switcher.open .lang-current {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-bg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    padding: 6px;
    display: none;
    opacity: 0;
    transform: translateY(-6px);
    transition: all 0.2s ease;
}

.lang-switcher.open .lang-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
}

.lang-option:hover {
    background: var(--color-bg);
    color: var(--color-accent);
}

.lang-option.active {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Mobile: show lang switcher in nav */
@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        margin-top: 16px;
        align-self: flex-start;
    }

    .lang-dropdown {
        right: auto;
        left: 0;
    }
}

/* === FAQ Accordion === */
.faq-category {
    max-width: 860px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.faq-item.open {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--color-dark);
    transition: color 0.2s ease;
    font-family: inherit;
    line-height: 1.5;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-icon::after {
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item.open .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    margin: 0;
    color: var(--color-text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Mobile FAQ */
@media (max-width: 768px) {
    .faq-question {
        padding: 16px 18px;
        font-size: 0.9rem;
    }

    .faq-answer p {
        padding: 0 18px 16px;
        font-size: 0.88rem;
    }
}

/* === Legal Content (Privacy Policy / Disclaimer) === */
.legal-content {
    max-width: 860px;
    margin: 0 auto;
}

.legal-updated {
    padding: 12px 20px;
    background: var(--color-bg-alt);
    border-radius: 8px;
    margin-bottom: 40px;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.legal-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-border);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    line-height: 1.9;
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 0;
    list-style: none;
}

.legal-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

.legal-content a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* === Site Map Grid === */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.sitemap-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.sitemap-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.sitemap-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
}

.sitemap-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-card ul li {
    margin-bottom: 16px;
}

.sitemap-card ul li a {
    display: block;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    margin-bottom: 2px;
    transition: color 0.2s ease;
}

.sitemap-card ul li a:hover {
    color: var(--color-dark);
}

.sitemap-card ul li span {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sitemap-card {
        padding: 24px;
    }

    .legal-content h2 {
        font-size: 1.1rem;
    }
}

/* === License Badge (About Page) === */
.license-badge {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #FDFBF7 0%, #F7F3EC 100%);
    border: 1px solid var(--color-accent-light);
    border-radius: 10px;
    font-size: 0.92rem;
    color: var(--color-text);
}

.license-badge .license-icon {
    color: var(--color-accent);
    flex-shrink: 0;
}

.license-badge .license-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed var(--color-accent);
    padding-bottom: 1px;
    transition: color 0.2s ease, border-color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.license-badge .license-link:hover {
    color: var(--color-accent-dark);
    border-bottom-color: var(--color-accent-dark);
}

.license-badge .license-hint {
    color: var(--color-text-light);
    font-size: 0.82rem;
}

@media (max-width: 768px) {
    .license-badge {
        font-size: 0.85rem;
        padding: 12px 16px;
    }
}
