/* 主题色变量 */
:root {
    --color-primary: #ff9800;   /* 主暖色 橙色 */
    --color-secondary: #ffd180; /* 次暖色 浅橙 */
    --color-tertiary: #ffe5b4;  /* 协调色 米黄色 */
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #4b2e05; /* 深棕色 */
    background-color: var(--color-tertiary); /* 米黄色 */
    /* background: url('https://www.yongfaweiquan.com/upload/zhegnshi_hengban_small.png') no-repeat center top fixed; */
    /* background-size: cover; */
    position: relative;
}
body::before {
    /* content: ''; */
    /* position: fixed; */
    /* top: 0; */
    /* left: 0; */
    /* width: 100vw; */
    /* height: 100vh; */
    /* background: rgba(255,255,255,0.82); */
    /* pointer-events: none; */
    /* z-index: 0; */
}
main, .container, section, nav, footer, header {
    position: relative;
    z-index: 1;
}

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

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); /* 橙黄渐变 */
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-logo span {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary); /* 橙色 */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary); /* 橙色 */
    transition: width 0.3s ease;
}

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

.nav-link.active {
    color: var(--color-primary);
}

.navbar.scrolled .nav-link.active {
    color: #b85c00 !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主页横幅 */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); /* 橙黄渐变 */
    color: #4b2e05;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}
/* 移除遮罩层，保持与marriage项目一致 */
.hero::before {
    display: none;
}
.hero > * {
    position: relative;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-primary); /* 橙色 */
    color: var(--color-tertiary);
}

.btn-primary:hover {
    background: var(--color-secondary); /* 浅橙色 */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,152,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: #b85c00;
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-tertiary);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-card i {
    font-size: 4rem;
    color: #ff9800;
    margin-bottom: 1rem;
}

.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* 服务特色 */
.features {
    padding: 80px 0;
    background: var(--color-tertiary); /* 浅米色 */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); /* 橙黄渐变 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 关于律师 */
.about-preview {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    width: 100%;
}

.about-stats {
    width: 100%;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.about-text h3 {
    font-size: 1.2rem;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.about-stats {
    /* display: grid; */
    /* grid-template-columns: repeat(3, 1fr); */
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); /* 橙黄渐变 */
    border-radius: 15px;
    color: #4b2e05;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

.about-stats img[alt="律师团队风采"] {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  margin: 0 auto;
  display: block;
}

/* 服务领域 */
.services-preview {
    padding: 80px 0;
    background: var(--color-tertiary); /* 浅米色 */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); /* 橙黄渐变 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.services-cta {
    text-align: center;
}

/* 家事案例
.cases-preview {
    padding: 80px 0;
    background: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.case-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #dee2e6;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 700;
}

.case-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #495057;
    font-weight: 500;
}

.case-result {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.result-tag {
    background: var(--color-primary);
    color: var(--color-tertiary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.case-type {
    background: var(--color-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--color-tertiary);
    font-weight: 600;
}

.cases-cta {
    text-align: center;
}

/* 客户评价 */
.testimonials {
    padding: 80px 0;
    background: var(--color-tertiary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.testimonial-author strong {
    color: #333;
    font-weight: 600;
}

.testimonial-author span {
    color: var(--color-primary);
    font-size: 0.9rem;
}

/* 联系我们 */
.contact-preview {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-info p {
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.6;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-item i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(255,152,0,0.2);
}

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

/* 页脚 */
.footer {
    background: #4b2e05;
    color: var(--color-tertiary);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-tertiary);
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--color-primary);
    color: var(--color-tertiary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #ff9800 0%, #ffd180 100%) !important;
    color: #4b2e05;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header::before {
    display: none !important;
}
.page-header > * {
  position: relative;
  z-index: 1;
}
.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 服务详情 */
.main-services {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.service-detail-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px);
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon-large i {
    font-size: 2rem;
    color: white;
}

.service-detail-card h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.service-detail-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-features h3,
.service-process h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
}

.service-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.process-steps {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    flex: 1;
    min-width: 120px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #4b2e05;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.step-text {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

/* 服务优势 */
.service-advantages {
    padding: 80px 0;
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.advantage-icon i {
    font-size: 1.5rem;
    color: white;
}

.advantage-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* 收费标准 */
.pricing {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid #667eea;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.8rem 0;
    color: #666;
    border-bottom: 1px solid #eee;
}

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

/* 常见问题 */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.faq-question i {
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 联系我们CTA */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 60%, var(--color-tertiary) 100%);
    color: #4b2e05;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 案例筛选 */
.case-filter {
    padding: 40px 0;
    background: white;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--color-primary);
    color: var(--color-tertiary);
}

/* 案例展示 */
.cases-showcase {
    padding: 60px 0;
    background: #f8f9fa;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.case-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.case-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.case-tag {
    background: #ffd700;
    color: #333;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.case-content {
    padding: 2rem;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.case-type {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.case-date {
    color: #666;
    font-size: 0.9rem;
}

.case-content h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
}

.case-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.case-results {
    margin-bottom: 1.5rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.result-item strong {
    color: #333;
}

.result-item span {
    color: #667eea;
    font-weight: 500;
}

.case-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--color-tertiary);
    color: var(--color-primary);
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    border: 1px solid var(--color-secondary);
}

/* 统计数据 */
.case-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #4b2e05;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 客户评价 */
.client-testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info strong {
    display: block;
    color: #333;
    font-size: 1.1rem;
}

.author-info span {
    color: #667eea;
    font-size: 0.9rem;
}

.rating {
    color: var(--color-primary);
    font-size: 1.2rem;
}

/* 律师介绍 */
.lawyer-intro {
    padding: 80px 0;
    background: white;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.lawyer-photo {
    display: flex;
    justify-content: center;
}
.lawyer-img {
    width: 640px;
    height: 360px;
    max-width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin: 0 auto;
}

.lawyer-info h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.lawyer-info h3 {
    font-size: 1.2rem;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.lawyer-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.lawyer-credentials {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    font-weight: 500;
}

.credential-item i {
    font-size: 1.2rem;
}

/* 执业理念 */
.philosophy {
    padding: 80px 0;
    background: var(--color-tertiary);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.philosophy-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-5px);
}

.philosophy-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.philosophy-icon i {
    font-size: 2rem;
    color: white;
}

.philosophy-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
}

.philosophy-card p {
    color: #666;
    line-height: 1.6;
}

/* 团队介绍 */
.team {
    padding: 80px 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.team-member h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.member-title {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-specialties {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.specialty {
    background: white;
    color: #667eea;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    border: 1px solid #e9ecef;
}

/* 执业历程 */
.timeline {
    padding: 80px 0;
    background: #f8f9fa;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    text-align: right;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    text-align: left;
    padding-left: 2rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 4px solid #fff8f0;
    box-shadow: 0 0 0 2px var(--color-primary);
}

.timeline-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* 荣誉资质 */
.honors {
    padding: 80px 0;
    background: white;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.honor-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.honor-card:hover {
    transform: translateY(-5px);
}

.honor-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-tertiary);
    font-size: 1.5rem;
}

.honor-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.honor-card p {
    color: #666;
    line-height: 1.6;
}

/* 服务承诺 */
.commitment {
    padding: 80px 0;
    background: #f8f9fa;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.commitment-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.commitment-item:hover {
    transform: translateY(-5px);
}

.commitment-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-tertiary);
    font-size: 1.5rem;
}

.commitment-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.commitment-item p {
    color: #666;
    line-height: 1.6;
}

/* 联系信息 */
.contact-info-section {
    padding: 60px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-tertiary);
    font-size: 1.5rem;
}

.contact-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
}

.contact-detail {
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-desc {
    color: #666;
    font-size: 0.9rem;
}

/* 咨询表单 */
.contact-form-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.form-header p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(102,126,234,0.2);
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.checkbox-label a {
    color: #667eea;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.submit-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* 交通指引 */
.location-section {
    padding: 80px 0;
    background: white;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.location-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-item h3 i {
    color: #667eea;
}

.location-item p {
    color: #666;
    line-height: 1.6;
}

.location-map {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 联系页面FAQ */
.contact-faq {
    padding: 80px 0;
    background: #f8f9fa;
}

/* 服务承诺 */
.service-promise {
    padding: 80px 0;
    background: white;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.promise-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.promise-item:hover {
    transform: translateY(-5px);
}

.promise-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.promise-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.promise-item p {
    color: #666;
    line-height: 1.6;
}

/* 成功案例tab样式 */
.cases-tabs {
  margin: 40px 0 0 0;
}
.tab-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.tab-btn {
  background: #f8f9fa;
  color: #667eea;
  border: 2px solid #667eea;
  border-radius: 30px;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
}
.tab-btn.active,
.tab-btn:hover {
  background: #667eea;
  color: #fff;
  border-color: #667eea;
}
.tab-contents {
  width: 100%;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); /* 橙黄渐变 */
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .about-stats {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .about-text h2 {
        font-size: 2rem;
    }
    .about-text h3 {
        font-size: 1rem;
    }
    .stat-item {
        padding: 1.2rem;
    }
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .lawyer-photo {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    .lawyer-img {
        width: 140px;
        height: 140px;
    }
    .lawyer-info h2 {
        font-size: 2rem;
    }
    .lawyer-info h3 {
        font-size: 1.1rem;
    }
    .lawyer-credentials {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .location-info {
        gap: 1.2rem;
    }
    .location-item {
        padding: 1rem;
        font-size: 0.98rem;
    }
    .contact-map img,
    .location-map,
    .map-img {
        height: 260px !important;
        min-height: 160px;
        max-height: 320px;
    }
    .nav-link.active {
        color: #b85c00 !important;
        font-weight: 500;
    }
    .services-grid {
      grid-template-columns: 1fr;
      gap: 1.2rem;
      margin-bottom: 2rem;
    }
    .service-card {
      padding: 1.2rem;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      margin: 0;
    }
    .service-card h3 {
      font-size: 1.1rem;
    }
    .service-card ul {
      padding-left: 0;
    }
    .service-detail-grid {
        display: block !important;
        padding: 0 8px;
    }
    .service-detail-card {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    .service-icon-large {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .features-grid,
    .services-grid,
    .cases-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .location-item h3 {
        font-size: 1rem;
    }
    .location-item p {
        font-size: 0.95rem;
    }
    .contact-map img,
    .location-map,
    .map-img {
        height: 160px !important;
        min-height: 100px;
        max-height: 200px;
    }
} 

/* 客户评价模块“更多好评”按钮强制居中和大间距 */
.testimonials .w-full.flex.justify-center {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  width: 100%;
  margin-top: 48px !important; /* 增大上边距，约等于3行 */
} 

@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .about-stats img[alt="律师团队风采"] {
    max-width: 100%;
  }
  .intro-content {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    text-align: center;
  }
  .lawyer-img {
    width: 100%;
    max-width: 640px;
    height: auto;
    margin: 0 auto;
  }
} 