* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'PingFang SC', 'Microsoft Yahei', sans-serif;
    color: #222;
    background-color: #f7f9fa;
    line-height: 1.75;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-padding {
    padding: 70px 0;
}
.bg-white {
    background: #ffffff;
}
.bg-grey {
    background: #f7f9fa;
}
.section-title {
    font-size: 2rem;
    text-align: center;
    color: #1c2c41;
    margin-bottom: 10px;
    font-weight: 700;
}
.section-desc {
    text-align: center;
    color: #555;
    font-size: 1rem;
    max-width: 780px;
    margin: 0 auto 42px;
}
.btn-blue {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}
.btn-blue:hover {
    background: #1d4ed8;
}
.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}
.btn-outline:hover {
    background: #2563eb;
    color: #fff;
}

/* ========== 顶部头部：突出资阳本地服务 ========== */
.page-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #1c2c41;
    z-index: 998;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    max-width: 1240px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.header-brand {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 700;
}
.header-brand span {
    color: #f59e0b;
}
.header-tag {
    background: rgba(245, 158, 11, 0.14);
    color: #f59e0b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-left: 10px;
}
.header-nav {
    display: flex;
    gap: 26px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.96rem;
}
.header-nav a {
    padding: 4px 0;
    position: relative;
}
.header-nav a:hover {
    color: #f59e0b;
}
.header-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #f59e0b;
    transition: 0.3s;
}
.header-nav a:hover::after {
    width: 100%;
}
.header-tel {
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    background: rgba(245, 158, 11, 0.14);
    padding: 7px 18px;
    border-radius: 30px;
}
.header-tel i {
    color: #f59e0b;
    margin-right: 6px;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========== Banner ========== */
.banner {
    padding-top: 110px;
    min-height: 560px;
    background: linear-gradient(135deg, #1c2c41 0%, #2563eb 100%);
    color: #fff;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.banner::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    border-radius: 50%;
}
.banner-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.banner h1 {
    font-size: 2.8rem;
    line-height: 1.3;
    margin-bottom: 16px;
}
.banner h1 span {
    color: #f59e0b;
}
.banner-text {
    font-size: 1.1rem;
    color: #e2e6ec;
    margin-bottom: 28px;
    line-height: 1.8;
}
.banner-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.banner-features {
    margin-top: 32px;
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
}
.banner-feature {
    text-align: center;
}
.banner-feature strong {
    color: #f59e0b;
    font-size: 1.5rem;
    display: block;
}
.banner-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.banner-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* ========== 资阳本地服务介绍 ========== */
.city-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.city-intro-text h3 {
    font-size: 1.6rem;
    color: #1c2c41;
    margin-bottom: 16px;
}
.city-intro-text p {
    margin-bottom: 16px;
    color: #444;
}
.city-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.city-tag {
    background: #eef2ff;
    color: #2563eb;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
}
.city-intro-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(28, 44, 65, 0.1);
}
.city-intro-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

/* ========== 产品Tab ========== */
.product-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: center;
    margin-bottom: 36px;
}
.product-tab-item {
    padding: 10px 22px;
    border: 1px solid #dde1e8;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.25s;
    font-size: 0.98rem;
}
.product-tab-item.active {
    background: #1c2c41;
    color: #fff;
    border-color: #1c2c41;
}
.product-tab-item:hover:not(.active) {
    border-color: #2563eb;
    color: #2563eb;
}
.product-panel {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-panel.active {
    display: grid;
}
.pro-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(28, 44, 65, 0.07);
    transition: 0.3s;
}
.pro-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 26px rgba(28, 44, 65, 0.13);
}
.pro-img-box {
    height: 210px;
    overflow: hidden;
    background: #f4f6f9;
}
.pro-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.35s;
}
.pro-card:hover .pro-img-box img {
    transform: scale(1.05);
}
.pro-name {
    padding: 14px 12px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1c2c41;
}

/* ========== 优势模块：清爽卡片风 ========== */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.adv-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(28, 44, 65, 0.06);
    border: 1px solid #eef2ff;
    transition: 0.3s;
}
.adv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(28, 44, 65, 0.10);
}
.adv-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #2563eb;
    font-size: 24px;
}
.adv-card h3 {
    font-size: 1.15rem;
    color: #1c2c41;
    margin-bottom: 12px;
    font-weight: 700;
}
.adv-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.75;
    margin: 0;
}

/* ========== 应用场景 ========== */
.scene-wrap p {
    margin-bottom: 16px;
    color: #444;
}
.scene-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 28px;
}
.scene-item {
    background: #fff;
    padding: 18px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(28, 44, 65, 0.06);
    transition: 0.3s;
}
.scene-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(28, 44, 65, 0.10);
}
.scene-item h4 {
    font-size: 1rem;
    color: #1c2c41;
    margin-bottom: 8px;
}
.scene-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ========== 底部咨询 ========== */
.contact-footer {
    background: #1c2c41;
    color: #e8ebf0;
    padding: 50px 0;
    text-align: center;
}
.contact-footer h2 {
    color: #fff;
    margin-bottom: 14px;
}
.contact-footer p {
    max-width: 720px;
    margin: 0 auto 24px;
}
.footer-tel {
    font-size: 1.4rem;
    color: #f59e0b;
    font-weight: bold;
}
.footer-link {
    margin-top: 12px;
    font-size: 0.95rem;
    color: #94a3b8;
}
.footer-link a {
    color: #f59e0b;
}
.copyright-text {
    margin-top: 30px;
    font-size: 0.88rem;
    color: #a4aabc;
}

/* ========== 移动端悬浮电话 ========== */
.float-tel {
    display: none;
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 54px;
    height: 54px;
    background: #f59e0b;
    color: #fff;
    border-radius: 50%;
    z-index: 999;
    text-align: center;
    line-height: 54px;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

/* ========== 留言弹窗 ========== */
.msg-popup {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 340px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 997;
    overflow: hidden;
}
.popup-head {
    background: #1c2c41;
    color: #fff;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.popup-mini-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
.popup-body {
    padding: 16px;
}
.msg-popup.mini {
    width: 110px;
    height: 40px;
}
.msg-popup.mini .popup-body {
    display: none;
}
.msg-popup.mini .popup-head {
    height: 100%;
}
.popup-item {
    margin-bottom: 12px;
}
.popup-item input,
.popup-item textarea {
    width: 100%;
    border: 1px solid #ddd;
    padding: 9px 12px;
    border-radius: 4px;
    font-size: 14px;
}
.popup-item textarea {
    min-height: 80px;
    resize: none;
}
.popup-submit {
    width: 100%;
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
}
.a-tag{color: #2c6faa;}
/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1c2c41;
        flex-direction: column;
        padding: 16px 20px;
    }
    .header-nav.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .banner-content {
        grid-template-columns: 1fr;
    }
    .city-intro {
        grid-template-columns: 1fr;
    }
    .product-panel {
        grid-template-columns: repeat(3, 1fr);
    }
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .scene-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 720px) {
    .banner h1 {
        font-size: 2rem;
    }
    .product-panel {
        grid-template-columns: repeat(2, 1fr);
    }
    .pro-img-box {
        height: 180px;
    }
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    .float-tel {
        display: flex;
    }
    .msg-popup {
        right: 10px;
        bottom: 70px;
    }
}
@media (max-width: 480px) {
    .product-panel {
        grid-template-columns: 1fr;
    }
    .banner-buttons {
        flex-direction: column;
    }
    .btn-blue,
    .btn-outline {
        width: 100%;
        text-align: center;
    }
    .scene-list {
        grid-template-columns: 1fr;
    }
}