/* 主网站样式 */

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 1.5rem 2rem;
    text-align: center;
}

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

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.hero-desc {
    font-size: 0.98rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0.5rem 2rem;
    text-align: center;
}

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

.page-header p {
    font-size: 0.9rem;
    opacity: 0.95;
}

.content {
    padding: 4rem 2rem;
}

.section-title {
    font-size: 2rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
}

.section-desc {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

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

/* 业务区域 */
.business-section {
    background: #f8f9fa;
    padding: 4rem 2rem;
}

.business-cta {
    max-width: 1200px;
    margin: 0 auto 2.5rem;
    padding: 1.2rem 1.5rem;
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.business-cta-text {
    color: #2c3e50;
    font-size: 0.98rem;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.business-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.business-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.business-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.business-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* 新闻区域 */
.news-section {
    padding: 4rem 2rem;
}

.news-list {
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.news-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.news-date {
    font-size: 1.2rem;
    font-weight: bold;
    color: #667eea;
    min-width: 80px;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.news-content p {
    color: #666;
}

.news-link {
    color: #667eea;
    text-decoration: none;
}

/* 荣誉区域 */
.honor-section {
    background: #f8f9fa;
    padding: 4rem 2rem;
}

.honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.honor-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.honor-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.honor-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.honor-item p {
    color: #666;
}

/* 分支机构区域 */
.branches-section {
    padding: 4rem 2rem;
}

/* 按钮样式 */
.btn-outline {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: #fff;
}

.btn-primary-inverse {
    background: #fff;
    color: #4450c0;
    border: 1px solid rgba(255,255,255,0.85);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    font-weight: 500;
}

.btn-primary-inverse:hover {
    background: #f4f6ff;
    color: #4656c5;
}

/* 业务总览顶部“在线业务申请”按钮特别高亮 */
.business-cta .btn-primary-inverse {
    background: linear-gradient(135deg, #4facfe 0%, #7366ff 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(79, 172, 254, 0.65);
    padding: 0.7rem 2.2rem;
    font-weight: 600;
}

.business-cta .btn-primary-inverse:hover {
    background: linear-gradient(135deg, #5fcbff 0%, #7f7bff 100%);
    box-shadow: 0 10px 26px rgba(127, 123, 255, 0.8);
    transform: translateY(-2px);
}

/* 页面内容块 */
.content-block {
    margin-bottom: 3rem;
}

.content-block h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.content-block p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* 时间轴 */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #667eea;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #667eea;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    min-width: 80px;
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

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

/* 组织架构 */
.org-chart {
    text-align: center;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.org-item {
    background: #667eea;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    min-width: 150px;
}

.org-top {
    background: #2c3e50;
}

.org-branch {
    background: #95a5a6;
}

/* 团队网格 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.team-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.team-member h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #666;
}

/* 荣誉列表 */
.honor-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.honor-item-large {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.honor-item-large .honor-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.honor-item-large h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.honor-item-large p {
    color: #666;
}

/* 业务详情 */
.business-detail {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.business-detail-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.business-icon-large {
    font-size: 4rem;
}

.business-detail-header h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.business-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.business-detail-content h3 {
    color: #2c3e50;
    margin: 1.5rem 0 1rem;
}

.advantage-list {
    list-style: none;
    padding-left: 0;
}

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

.advantage-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* 新闻标签页 */
.news-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: #f0f0f0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.tab-btn:hover {
    background: #e0e0e0;
}

.tab-btn.active {
    background: #667eea;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

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

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.news-image {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.news-info {
    padding: 1.5rem;
}

.news-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.news-card p {
    color: #666;
    margin-bottom: 1rem;
}

.news-read-more {
    color: #667eea;
    text-decoration: none;
}

/* 分支机构 */
.branches-map {
    margin-bottom: 3rem;
}

.map-placeholder {
    background: #f0f0f0;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 8px;
    color: #666;
}

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

.branch-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.branch-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.branch-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* 联系表单 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    margin-bottom: 0.25rem;
}

.contact-form-wrapper h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 0.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

/* 业务表单样式 */
.business-form-section {
    margin-top: -0.8rem;
    padding: 0.3rem 0 0.5rem;
    background: #f8f9fa;
}

.business-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.business-form-wrapper h2 {
    color: #2c3e50;
    margin-bottom: 0.15rem;
    text-align: center;
    font-size: 2rem;
}

.form-description {
    text-align: center;
    color: #666;
    margin-bottom: 0.4rem;
}

.business-form {
    margin-top: 0.2rem;
}

.business-form .btn {
    width: 100%;
    padding: 0.5rem;
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

/* 在线业务申请高亮 */
.business-card.business-online-apply {
    background: linear-gradient(135deg, #4facfe 0%, #7366ff 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.65);
    border: 3px solid #ffffff;
    outline: 3px solid rgba(115, 102, 255, 0.9);
    outline-offset: 3px;
    position: relative;
    overflow: hidden;
}

.business-card.business-online-apply h3 {
    color: #fff;
}

.business-card.business-online-apply p {
    color: rgba(255,255,255,0.9);
}

.business-card.business-online-apply::before {
    content: "推荐在线办理";
    position: absolute;
    top: 12px;
    right: -40px;
    transform: rotate(35deg);
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 40px;
    letter-spacing: 2px;
}

.business-card.business-online-apply {
    animation: online-glow 1.6s ease-in-out infinite alternate;
}

@keyframes online-glow {
    from {
        box-shadow: 0 8px 20px rgba(79, 172, 254, 0.6);
        transform: translateY(0) scale(1.02);
    }
    to {
        box-shadow: 0 14px 32px rgba(115, 102, 255, 0.85);
        transform: translateY(-4px) scale(1.06);
    }
}

@media (max-width: 768px) {
    .business-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* 页脚 */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

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

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

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

.footer-bottom p {
    color: #ccc;
    margin: 0;
}

.footer-bottom a {
    color: #fff;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .business-grid,
    .honor-grid,
    .news-grid,
    .branches-list {
        grid-template-columns: 1fr;
    }

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

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

    .news-item {
        flex-direction: column;
        text-align: center;
    }

    .business-detail-header {
        flex-direction: column;
        text-align: center;
    }
}
