* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "微软雅黑", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #f9fafc;
    color: #333;
    line-height: 1.5;
}

img {
    max-width: 100%;
    vertical-align: middle;
    border: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* 公用容器 */
.container-fluid {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.w {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部通栏 */
.top-win {
    background-color: #717171;
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
    letter-spacing: 1px;
}

/* 头部导航 */
.header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-c {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 15px;
    position: relative;
}

.nav-btn-logo a {
    font-size: 26px;
    font-weight: bold;
    color: #3377fe;
    letter-spacing: 2px;
}

/* PC导航栏 */
.nav {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

nav .item {
    cursor: pointer;
    text-align: center;
    transition: transform 0.3s ease;
}

.nav .item .c {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    transition: all 0.3s ease;
}

.nav .item .u {
    font-size: 16px;
    color: #999;
    letter-spacing: 1px;
    text-align: center;
    transition: all 0.3s ease;
}

.nav .item.active .c,
.nav .item:hover .c {
    color: #3377fe;
    transform: scale(1.3);
}

.nav .item.active .u,
.nav .item:hover .u {
    color: #3377fe;
    transform: scale(1.3);
}

/* 租赁中心特殊样式 */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 87, 34, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
    }
}

@keyframes shake {
    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }
}

.rental-contact-item {
    background: linear-gradient(135deg, #ff5722 0%, #ff9800 100%);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: pulse-ring 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
    margin-left: 10px;
}

.rental-contact-item .c,
.rental-contact-item .u {
    color: #ffffff !important;
    font-weight: bold;
}

.rental-contact-item .c {
    font-size: 18px;
}

.rental-contact-item:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
    animation: none;
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.6);
}

.rental-contact-item:hover .c,
.rental-contact-item:hover .u {
    transform: scale(1.3);
}

/* 菜单按钮 (手机端显示) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    cursor: pointer;
    z-index: 1002;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #3377fe;
    border-radius: 3px;
    transition: 0.2s;
}

/* 手机端菜单浮层 */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}

.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -70%;
    width: 70%;
    max-width: 280px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    transition: right 0.3s ease;
    padding: 80px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-menu .mobile-nav-item {
    font-size: 18px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #aaa;
}

.mobile-nav-menu .mobile-nav-item.active {
    color: #3377fe;
}

.mobile-nav-overlay.show {
    visibility: visible;
    opacity: 1;
}

.mobile-nav-menu.open {
    right: 0;
}

/* 响应式布局：手机端隐藏PC导航，显示菜单 */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-c {
        padding: 12px 15px;
    }

    .nav-btn-logo a {
        font-size: 22px;
    }
}

/* 轮播图区域 */
.banner {
    margin-bottom: 30px;
    background: #f0f2f5;
    overflow: hidden;
    position: relative;
}

.swiper-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    transition-timing-function: ease;
    width: 100%;
}

.swiper-slide {
    flex-shrink: 0;
    width: 33.333%;
    text-align: center;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16/9;
    display: block;
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
    transition: 0.3s;
}

.swiper-button-prev {
    left: 12px;
}

.swiper-button-next {
    right: 12px;
}

@media (max-width: 768px) {
    .swiper-slide {
        width: 100%;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 32px;
        height: 32px;
        font-size: 22px;
    }
}

/* 通用模块间距 */
.mg {
    padding: 60px 0;
}

.p {
    padding: 0 0 30px;
}

.p-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    color: #3377fe;
    letter-spacing: 2px;
}

/* ========== 添加英文字母左右横线 ========== */
.p-desc-box {
    text-align: center;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.p-desc {
    font-size: 14px;
    color: #93c1f0;
    letter-spacing: 2px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    background-color: #f9fafc;
}

/* 左侧横线 */
.p-desc-box::before {
    content: "";
    flex: 1;
    height: 1px;
    max-width: 100%;
    background-color: #93c1f0;
    margin-right: 0;
}

/* 右侧横线 */
.p-desc-box::after {
    content: "";
    flex: 1;
    height: 1px;
    max-width: 100%;
    background-color: #93c1f0;
    margin-left: 0;
}

/* ========== 横线样式结束 ========== */
.p-line {
    width: 60px;
    height: 3px;
    background: #3377fe;
    margin: 20px auto 40px;
}

/* 网格 */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-5,
.col-md-7,
.col-md-4,
.col-md-6 {
    padding: 0 15px;
    flex: 0 0 auto;
}

.col-md-5 {
    width: 41.666%;
}

.col-md-7 {
    width: 58.333%;
}

.col-md-4 {
    width: 33.333%;
}

.col-md-6 {
    width: 50%;
}

@media (max-width: 992px) {
    .col-md-5,
    .col-md-7,
    .col-md-4,
    .col-md-6 {
        width: 100%;
    }
}

.aute img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.intro-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    padding-left: 20px;
    text-indent: 2em;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .intro-text {
        -webkit-line-clamp: 12;
    }

    /* .mg {
      padding: 40px 0;
    } */
    .p-title {
        font-size: 26px;
    }

    /* 手机端调整横线样式 */
    .p-desc-box::before,
    .p-desc-box::after {
        max-width: 80px;
    }

    .p-desc {
        padding: 0 10px;
    }
}

/* 出租房源 - PC端样式 */
.pic-list {
    display: flex;
    flex-wrap: wrap;
}

.o-item {
    margin-bottom: 30px;
    position: relative;
}

.o-item a {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    position: relative;
}

.o-item a:hover {
    transform: translateY(-6px);
}

.o-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* 遮罩层样式 */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    padding: 20px;
    text-align: center;
}

.o-item a:hover .overlay {
    opacity: 1;
}

.overlay-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #3377fe;
}

.overlay-info {
    font-size: 14px;
    line-height: 1.6;
}

.overlay-info span {
    display: block;
}

.pic-desc {
    display: none;
    padding: 15px;
    background: #fff;
}

.pic-desc div {
    margin-bottom: 6px;
    font-size: 16px;
}

.pic-desc div span {
    font-weight: 600;
    color: #3377fe;
}

.price-origin {
    font-size: 14px;
    font-weight: normal;
}

@media (max-width: 768px) {
    .pic-list {
        gap: 16px 0;
    }

    .o-item {
        width: 100%;
        margin-bottom: 0;
    }

    .o-item a {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 12px;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        transition: none;
        transform: none;
    }

    .o-item a:hover {
        transform: none;
    }

    .o-item img {
        width: 100px;
        height: 90px;
        border-radius: 14px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .overlay {
        display: none;
    }

    /*手机端显示描述信息 */
    .pic-desc {
        display: flex;
        flex: 1;
        padding: 0;
        background: transparent;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .pic-desc div {
        font-size: 13px;
        margin-bottom: 0;
        display: flex;
        align-items: baseline;
        white-space: nowrap;
    }

    .pic-desc div span {
        min-width: auto;
        display: inline-block;
        font-weight: 600;
        margin-right: 2px;
    }

    .pic-desc div:first-child {
        font-weight: 600;
        color: #3377fe;
        margin-bottom: 4px;
    }

    .price-origin {
        font-size: 12px;
    }
}

/* 基本信息表格 - 手机端 */
.t-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 20px;
    margin-top: 20px;
    overflow-x: auto;
}

.t-box table {
    width: 100%;
    border-collapse: collapse;
    min-width: 300px;
}

.t-box tr {
    border-bottom: 1px solid #e9ecef;
}

.t-box td {
    padding: 14px 10px 14px 20px;
    font-size: 18px;
}

.t-box td.c1 {
    width: 130px;
    font-weight: 600;
    text-align: center;
    color: #3377fe;
    background: #f1f3f7;
}

@media (max-width: 600px) {
    .t-box {
        padding: 10px;
    }

    .t-box table {
        min-width: auto;
        /* 移除最小宽度限制，适应APP端 */
    }

    .t-box tr {
        display: table-row;
        margin-bottom: 0;
        border: none;
        border-bottom: 1px solid #e2e6ea;
        border-radius: 0;
        background: transparent;
    }

    .t-box td {
        display: table-cell;
        width: auto;
        padding: 12px 8px;
        font-size: 14px;
        vertical-align: middle;
    }

    .t-box td.c1 {
        width: 90px;
        min-width: 90px;
        background: #f8f9fa;
        border-radius: 0;
        color: #3377fe;
        font-weight: 600;
    }
}

/* 相册/入驻企业图片 */
.fancybox {
    margin-bottom: 24px;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fancybox img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: block;
}

/* Web端悬浮效果增强 */
.fancybox:hover {
    box-shadow: 0 15px 30px rgba(51, 119, 254, 0.2);
    transform: translateY(-5px);
}

.fancybox:hover img {
    transform: scale(1.15);
}

.text {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}

.zbpt p {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

/* 联系我们模块 */
.lxwmp {
    margin-bottom: 16px;
    font-size: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.lxwmp .glyphicon {
    font-size: 20px;
    min-width: 28px;
    color: #3377fe;
}

#ditie p,
#gongjiao p {
    margin: 0;
    flex: 1;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

#lxwm {
    margin-bottom: 30px;
}

@media (min-width: 769px) {
    #lxwm .row {
        align-items: center;
    }

    #lxwm .col-md-6:first-child {
        align-self: stretch;
    }
}

/* 返回顶部 */
.fixed-btns {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 99;
}

.top-btn {
    width: 48px;
    height: 48px;
    background: #3377fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.top-btn img {
    width: 24px;
    filter: brightness(0) invert(1);
}

.top-btn:hover {
    background: #a07f2c;
}

/* 底部 */
.foot {
    margin: -30px 0 70px 0;
    background: #1a2a3a;
    color: #ccc;
}

.foot_bot_con {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
    text-align: center;
}

.foot_bot_con_top ul {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    list-style: none;
    justify-content: center;
}

.foot_bot_con_top ul li {
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.foot_tel {
    font-size: 24px;
    font-weight: bold;
    color: #3377fe;
    margin: 20px 0 12px;
}

.foot_tel i {
    font-size: 14px;
    color: #93c1f0;
    font-weight: normal;
}

.copyright {
    text-align: center;
    padding: 20px;
    background: #111e2a;
    font-size: 12px;
    color: #7f8c8d;
}

.copyright a {
    color: #3377fe;
}

@media (max-width: 768px) {
    .foot_bot_con_top ul {
        gap: 16px;
    }

    .foot_tel {
        font-size: 20px;
    }

    .lxwmp {
        font-size: 14px;
    }

    .lxwmp-top {
        margin-top: 30px;
    }

    footer.foot {
        display: none;
    }
}

/* 底部固定咨询条 */
.bottomFix {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 10px 20px;
    z-index: 99;
    gap: 12px;
    border-top: 1px solid #eee;
}

.bottomFix div img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.bottomFix .d1 {
    flex: 1;
}

.bottomFix .d1 h2 {
    font-size: 16px;
}

.bottomFix .d1 p {
    font-size: 12px;
    color: #5d6e85;
}

.bottomFix .d2 a {
    background: #3377fe;
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
}

/* ========== 动态文章模块样式 ========== */
.dynamic-articles {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 0 15px;
}

.dynamic-articles table {
    width: 100%;
    border-collapse: collapse;
}

.dynamic-articles tr {
    border-bottom: 1px solid #f0f2f5;
}

.dynamic-articles tr:last-child {
    border-bottom: none;
}

.dynamic-articles td {
    padding: 12px 0;
    font-size: 16px;
}

.dynamic-articles td:first-child {
    text-align: left;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dynamic-articles td:last-child {
    text-align: right;
    color: #999;
    font-size: 14px;
    width: 120px;
    white-space: nowrap;
}

.dynamic-articles td a {
    display: block;
    transition: color 0.3s ease;
    white-space: pre-wrap;
    word-break: break-all;
}

.dynamic-articles td a:hover {
    color: #3377fe;
}

/* 手机端适配动态文章 */
@media (max-width: 768px) {
    .dynamic-articles {
        padding: 15px 10px;
        margin: 10px 0;
    }

    .dynamic-articles table {
        width: 100%;
    }

    .dynamic-articles tr {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #f0f2f5;
    }

    .dynamic-articles td {
        padding: 0;
        font-size: 14px;
        border: none;
    }

    .dynamic-articles td:first-child {
        flex: 1;
        min-width: 0;
        margin-right: 8px;
        color: #333;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dynamic-articles td:last-child {
        flex-shrink: 0;
        color: #999;
        font-size: 12px;
        white-space: nowrap;
    }
}

/* ========== 文章详情页样式 ========== */
.container-article {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
    display: none;
    /* 默认隐藏 */
}

/* 面包屑 */
.breadcrumb {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #3377fe;
}

.breadcrumb span {
    margin: 0 6px;
}

/* 文章标题 */
.article-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    margin-bottom: 12px;
}

/* 更新日期 */
.update-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}

/* 文章内容 */
.article-content {
    overflow: hidden;
}

.article-img {
    float: left;
    margin: 0 20px 10px 0;
    width: 300px;
}

.article-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.article-text p {
    margin-bottom: 60px;
    text-indent: 2em;
}

/* 移动端文章样式 */
@media (max-width: 768px) {
    .article-title {
        font-size: 22px;
    }

    .article-img {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }

    .article-text p {
        font-size: 15px;
    }
}