/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FFFFFF;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* 将 rpx 转换为 px (1rpx = 0.5px) */

/* 主容器 */
.index-container {
    width: 100%;
}

/* PC端响应式容器 */
.content-wrapper {
    background-color: #FCFDFC;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Banner 样式 */
.banner-box {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    display: block;
}

.banner-text {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    color: #FFFFFF;
    text-align: center;
}

.banner-text .title {
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 10px;
    animation: fadeInDown 1s ease forwards;
}

.banner-text .subtitle {
    font-size: 26px;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 顶部导航栏样式 */
.area-select {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 60px;
    left: 5px;
    right: 5px;
    z-index: 11;
    width: calc(100% - 10px);
    margin: 0 auto;
    border-radius: 10px;
    padding: 0 5px;
}

.area-item {
    padding: 5px 0;
    color: #FFFFFF;
    text-align: center;
    white-space: nowrap;
    flex: 1;
    font-size: 15px;
    cursor: pointer;
}

.other-item {
    position: relative;
    left: -10px;
}

/* 快捷导航样式 */
.quick-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px 15px;
    background-color: #FCFDFC;
    margin: 0px 15px 15px;
    position: relative;
    z-index: 10;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 7.5px;
}

.nav-text {
    font-size: 18px;
    color: #000000;
}

/* 通用区块样式 */
.section-container {
    margin: 15px;
    padding: 15px;
    background-color: #FCFDFC;
    border-radius: 8px;
}

.section-title {
    font-size: 30px;
    font-weight: bold;
    color: #333;
    margin-bottom: 35px;
    position: relative;
    padding-left: 0;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 150px;
    height: 8px;
    border-radius: 4px;
    background-color: #27C1FF;
}

/* 关于我们样式 */
.about-content .about-text {
    text-indent: 2em;
    font-size: 18px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* 服务范围样式 */
.service-list {
    display: flex;
    justify-content: space-around;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-text-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    width: 100px;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.service-text {
    font-size: 18px;
    color: #000000;
    text-align: center;
}

.nav-arrow {
    font-size: 13px;
    color: #333;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 4px;
}

/* 服务流程样式 */
.process-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 25px;
    height: 300px;
}

.process-flow {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 26%;
}

.service-process {
    display: flex;
    align-items: center;
    position: relative;
    width: 33.33%;
    padding: 0 5px;
    box-sizing: border-box;
}

.service-icon-box {
    width: 75px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-num {
    margin-bottom: 7.5px;
    text-align: center;
}

.num-image {
    width: 35px;
    height: 35px;
}

.service-icon {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}

.service-icon img {
    width: 40px;
    height: 40px;
}

.service-text {
    width: 100px;
    font-size: 18px;
    color: #000000;
    text-align: center;
}

.thumb-right {
    width: 70%;
    text-align: center;
}

.thumb-right img {
    margin-left: 63px;
    max-width: 202.5px;
    animation: thumbBounce 2s ease-in-out infinite;
}

@keyframes thumbBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.handshake {
    margin-top: 15px;
    text-align: center;
    display: block;
}

.handshake-img {
    width: 100%;
    animation: handshakeBounce 2s ease-in-out infinite;
}

@keyframes handshakeBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* 热点问题和提取指南样式 */
.policy-list, .guide-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.policy-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    width: 100%;
    max-width: 300px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.guide-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 13px;
    width: 100%;
    max-width: 200px;
    cursor: pointer;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    transition: all 0.3s ease;
    background-color: #f5f9ff;
}

.policy-item:last-child, .guide-item:last-child {
    margin-bottom: 0;
}

.policy-num, .guide-num {
    position: relative;
    width: 25px;
    height: 25px;
    background-color: #263FFC;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 16px;
    text-align: center;
    line-height: 25px;
    margin-right: 10px;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 1.5px 4px rgba(0, 122, 255, 0.3);
}

.policy-num::before, .guide-num::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.15) 0%, rgba(0, 122, 255, 0.3) 100%);
    z-index: -1;
}

.policy-num::after, .guide-num::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    z-index: -2;
}

.policy-text, .guide-text {
    font-size: 18px;
    color: #202020;
    text-align: left;
}

.policy-text {
    border-bottom: 2px solid #888;
}

/* 中部电话 */
.zhong-phone-section {
    margin-bottom: 50px;
    cursor: pointer;
}

.zhong-phone {
    margin: 0 auto;
    width: 80%;
    max-width: 300px;
    height: 50px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #000000;
}
.zhong-icon-small{
    width: 22px;
    height: 22px;
    margin-right: 10px;
}

.zhong-phone:active {
    transform: scale(0.98);
    background-color: #f0f0f0;
}



.zhong-phone span {
    font-size: 19px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* 底部电话条 */
.footer-phone-section {
    margin-bottom: 50px;
    cursor: pointer;
    margin-top: 50px;
}

.footer-phone {
    margin: 0 auto;
    width: 80%;
    max-width: 300px;
    height: 50px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #fff;
    border: 1px solid #f0f0f0;
    background-color: #333333;
}

.footer-phone:active {
    transform: scale(0.98);
    background-color: #f0f0f0;
}

.phone-icon-small {
    width: 22px;
    height: 22px;
    margin-right: 10px;
}
.footer-phone-text{
    margin-top: 10px;
    text-align: center;
    a{
       
        color: #fff;
    }
}

.footer-phone span {
    font-size: 19px;
    font-weight: bold;
    letter-spacing: 1px;
}

.footer-container {
    width: 100%;
    padding: 10px 0;
    text-align: center;
}

.footer-text {
    font-size: 16px;
    color: #666;
    text-decoration: none;
}

/* 底部Logo样式 */
.footer-logo {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 0;
    margin: 0 15px;
}

.footer-logo-img {
    max-width: 60%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

/* 评论区域样式 */
.comment-section {
    margin: 15px;
    padding: 0 15px;
    background-color: #FCFDFC;
    border-radius: 8px;
}

.comment-list {
    margin-top: 20px;
}

.comment-item {
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.comment-user-info {
    flex: 1;
}

.comment-user-name {
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 3px;
    line-height: 1;
}

.vip-icon {
    width: 35px;
    height: 35px;
    margin-left: 5px;
    vertical-align: middle;
    position: relative;
    top: 0;
}

.comment-user-role {
    font-size: 14px;
    color: #666;
}

.comment-time {
    font-size: 13px;
    color: #999;
}

.comment-content {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    padding-left: 5px;
}

.ad-img {
    width: 100%;
    display: block;
}

.ad-img img {
    width: 100%;
    height: 100%;
}

/* 书法文字展示 */
.calligraphy-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background-color: #FCFDFC;
    margin: 15px;
}

.calligraphy-item {
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
}

.calligraphy-item:last-child {
    margin-bottom: 0;
}

.calligraphy-img {
    max-width: 85%;
    height: auto;
    transition: transform 0.5s ease;
}

.calligraphy-img:hover {
    transform: scale(1.02);
}

/* 媒体查询 - 桌面端 */
@media screen and (min-width: 768px) {
    .content-wrapper {
        padding: 0;
        max-width: 750px;
        margin: 0 auto;
    }
    
    .banner-box {
        margin-top: 10px;
    }
    
    .banner-text {
        top: 140px;
    }
    
    .banner-text .title {
        font-size: 60px;
    }
    
    .banner-text .subtitle {
        font-size: 30px;
    }
    
    .area-select {
        top: 75px;
        left: 20px;
        right: 20px;
        width: calc(100% - 40px);
    }
    
    .area-item {
        font-size: 18px;
    }
    
    .quick-nav {
        max-width: 80%;
        margin: 0 auto 15px;
    }
    
    .nav-icon {
        width: 75px;
        height: 75px;
    }
    
    .section-container {
        margin: 15px 0;
        padding: 20px 25px;
    }
    
    .section-title {
        font-size: 30px;
        margin-bottom: 35px;
    }
    
    .service-list {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .service-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 15px;
    }
    
    .about-content .about-text {
        font-size: 17px;
        line-height: 1.8;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .policy-list, .guide-list {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .policy-item {
        margin-bottom: 17.5px;
        padding: 10px;
        border-radius: 4px;
        transition: all 0.3s;
        background-color: #f5f9ff;
    }
    .guide-item {
        margin-bottom: 17.5px;
        padding: 10px;
        border-radius: 4px;
        transition: all 0.3s;
        background-color: #f5f9ff;
    }
    
    .policy-item:hover, .guide-item:hover {
        background-color: #f5f9ff;
    }
    
    .policy-num, .guide-num {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 14px;
        margin-right: 15px;
    }
    
    .policy-num::before, .guide-num::before {
        width: 35px;
        height: 35px;
    }
    
    .policy-num::after, .guide-num::after {
        width: 40px;
        height: 40px;
    }
    
    .policy-text, .guide-text {
        font-size: 17px;
    }
    
    .footer-phone {
        width: 60%;
    }
    
    .comment-section {
        margin: 15px 0;
        padding: 20px 25px;
    }
    
    .comment-item {
        padding: 20px;
    }
    
    .comment-avatar {
        width: 60px;
        height: 60px;
    }
    
    .comment-user-name {
        font-size: 18px;
    }
    
    .vip-icon {
        width: 40px;
        height: 40px;
    }
    
    .comment-user-role {
        font-size: 15px;
    }
    
    .comment-time {
        font-size: 14px;
    }
    
    .comment-content {
        font-size: 18px;
    }
    
    /* 底部Logo响应式 */
    .footer-logo {
        padding: 20px 0;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .footer-logo-img {
        max-width: 60%;
    }
    
    .calligraphy-section {
        flex-direction: row;
        justify-content: space-around;
        max-width: 700px;
        margin: 20px auto;
        padding: 25px 0;
    }
    
    .calligraphy-item {
        margin-bottom: 0;
        width: 45%;
    }
    
    .calligraphy-img {
        max-width: 100%;
    }
    
    .service-flow-container {
        padding: 30px 25px 40px;
        max-width: 850px;
        margin: 0 auto;
    }
    
    .service-title-img {
        max-width: 280px;
        margin-bottom: 20px;
    }
    
    .service-flow-content {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin-top: 30px;
    }
    
    .service-flow-items {
        width: 60%;
        margin-bottom: 0;
    }
    
    .service-flow-items::after {
        display: none;
    }
    
    .service-flow-icon {
        width: 90px;
        height: 90px;
        transition: all 0.3s ease;
    }
    
    .service-flow-icon:hover {
        transform: scale(1.05);
    }
    
    .service-flow-icon img {
        width: 90px;
        height: 90px;
    }
    
    .service-flow-text {
        font-size: 20px;
        margin-top: 5px;
    }
    
    .service-flow-image {
        width: 35%;
        max-width: 320px;
        margin-top: 0;
    }
    
    .hot-num {
        width: 70px;
        height: 50px;
        font-size: 26px;
    }

    .hot-num::after {
        right: -20px;
        border-top: 25px solid transparent;
        border-bottom: 25px solid transparent;
        border-left: 12px solid #EC5E2A;
    }

    .hot-text {
        font-size: 18px;
        padding: 14px 20px;
        height: 50px;
    }
}

.nav-item:active, .service-item:active, .policy-item:active, .guide-item:active {
    transform: scale(0.96);
    opacity: 0.8;
    transition: all 0.2s ease;
}

.footer-logo-img:active {
    opacity: 0.85;
    transform: scale(0.98);
    transition: all 0.2s ease;
}

/* 全局过渡效果 */
.nav-item, .service-item, .policy-item, .guide-item, .footer-phone, .footer-logo-img {
    transition: all 0.3s ease;
}

/* 书法文字动画 */
.calligraphy-img {
    max-width: 85%;
    height: auto;
    transition: transform 0.5s ease;
}

.calligraphy-img:hover {
    transform: scale(1.02);
}

/* 添加banner文字动画 */
.banner-text .title {
    animation: fadeInDown 1s ease forwards;
}

.banner-text .subtitle {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动设备优化 */
@media screen and (max-width: 480px) {
    .banner-text .title {
        font-size: 36px;
    }
    
    .banner-text .subtitle {
        font-size: 20px;
    }
    
    .nav-icon {
        width: 50px;
        height: 50px;
    }
    
    .nav-text {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-title::after {
        width: 120px;
        height: 6px;
    }
    
    .about-content .about-text {
        font-size: 16px;
    }
    
    .footer-logo-img {
        max-width: 48%;
    }
    
    .footer-phone span {
        font-size: 18px;
    }
    
    .service-flow-container {
        padding: 15px 10px 25px;
    }
    
    .service-title-img {
        max-width: 200px;
    }
    
    .service-flow-icon {
        width: 65px;
        height: 65px;
    }
    
    .service-flow-icon img {
        width: 40px;
        height: 40px;
    }
    
    .service-flow-text {
        font-size: 15px;
    }
    
    .service-flow-items::after {
        bottom: -10px;
        left: 10%;
        width: 80%;
        height: 3px;
    }
    
    .service-flow-image {
        max-width: 250px;
        margin-top: 20px;
    }
}

/* 适应超小屏幕设备 */
@media screen and (max-width: 360px) {
    .banner-text .title {
        font-size: 32px;
    }
    
    .banner-text .subtitle {
        font-size: 18px;
    }
    
    .nav-icon {
        width: 45px;
        height: 45px;
    }
    
    .nav-text {
        font-size: 14px;
    }
    
    .service-flow-icon {
        width: 55px;
        height: 55px;
    }
    
    .service-flow-icon img {
        width: 35px;
        height: 35px;
    }
    
    .service-flow-text {
        font-size: 14px;
    }
}

/* 确保动画和过渡效果在所有设备上平滑 */
* {
    -webkit-tap-highlight-color: transparent;
}

/* 触摸设备的点击反馈 */
.nav-item:active, .service-item:active, .policy-item:active, .guide-item:active {
    transform: scale(0.96);
    opacity: 0.8;
    transition: all 0.2s ease;
}

.footer-logo-img:active {
    opacity: 0.85;
    transform: scale(0.98);
    transition: all 0.2s ease;
}

/* 服务流程新样式 */
.service-flow-container {
    padding: 20px 15px 0px;
    background-color: #fff;
    margin-top: 0;
    border-radius: 0;
}

.service-title {
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.service-title::after {
    display: none;
}

.service-title-img {
    max-width: 250px;
    margin-bottom: 10px;
}

.service-flow-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
}

.service-flow-items {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 25px;
    position: relative;
}


.service-flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 33.33%;
}

.service-flow-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-flow-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.service-flow-text {
    font-size: 18px;
    color: #333;
    text-align: center;
    font-weight: bold;
}

.service-flow-image {
    width: 100%;
    max-width: 300px;
}

.service-flow-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media screen and (min-width: 768px) {
    .service-flow-container {
        padding: 25px 20px 0px;
    }
    
    .service-title-img {
        max-width: 250px;
    }
    
    .service-flow-content {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin-top: 20px;
        .service-flow-image{
            padding-top: 40px;
            width: 50%;
        }
    }
    
    .service-flow-items {
        width: 55%;
        margin-bottom: 0;
    }
    
    .service-flow-icon {
        width: 80px;
        height: 80px;
    }
    
    .service-flow-icon img {
        width: 80px;
        height: 80px;
    }
    
    .service-flow-text {
        font-size: 18px;
    }
    
    .service-flow-image {
        width: 40%;
        max-width: none;
        margin-top: 0;
    }
}

/* 热点问题新样式 */
.hot-section {
    padding: 20px 15px 30px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hot-question-container {
    width: 67%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
}

.hot-item {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 500px;
}

.hot-num {
    width: 46px;
    height: 46px;
    background-color: #EC5E2A;
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0;
    position: relative;
}

.hot-num::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 8px;
    width: 0;
    height: 0;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 24px solid #EC5E2A;
}

.hot-text {
    flex: 1;
    font-size: 16px;
    color: #333;
    background-color: #f1f1f1;
    padding: 12px 15px 12px 25px;
    height: 46px;
    display: flex;
    align-items: center;
}

.hot-item:hover {
    transform: translateX(5px);
}

@media screen and (min-width: 768px) {
    .hot-section {
        padding: 30px 20px;
    }

    .hot-item {
        margin-bottom: 20px;
    }

    .hot-num {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }

    .hot-question-container {
        width: 50%;
    }

    .hot-num::after {
        /* right: -12px;
        border-top: 25px solid transparent;
        border-bottom: 25px solid transparent;
        border-left: 12px solid #EC5E2A; */

        right: -16px;
        top: 10px;
        border-top: 16px solid transparent;
        border-bottom: 16px solid transparent;
        border-left: 24px solid #EC5E2A;
        
    }

    .hot-text {
        font-size: 18px;
        padding: 14px 20px 14px 25px;
        height: 50px;
    }
}