/* ========== 全局基础样式（完整版） ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}
html, body {
    width: 100%;
    height: 100%;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    overflow-x: hidden;
}

/* 容器：居中、自适应 */
.container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
    outline: none;
}
a:hover { color: #0066cc; }

img {
    max-width: 100%;
    border: none;
    vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    color: #222;
}

p { margin-bottom: 15px; }

/* ========== 辅助：隐藏但可读（可访问性） ========== */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ========== 头部导航 ========== */
.site-header {
    width: 100%;
    background: #fff;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    position: relative;
    z-index: 99;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 22px;
    font-weight: bold;
    color: #0066cc;
}
.main-nav a {
    display: inline-block;
    margin: 0 15px;
    font-size: 15px;
    color: #333;
    position: relative;
}
.main-nav a:last-child { margin-right: 0; }
.main-nav a:hover { color: #0066cc; }

/* ========== 面包屑导航 ========== */
.breadcrumb { margin: 14px 0 0; }
.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}
.breadcrumb-item { color: #666; }
.breadcrumb-item:hover { color: #0066cc; }
.breadcrumb-current { color: #333; font-weight: bold; }
.breadcrumb-sep { opacity: 0.55; }

/* ========== 轮播区域（支持文字/图片） ========== */
.banner-box {
    width: 100%;
    margin: 25px 0;
    overflow: hidden;
}
.swiper-banner {
    width: 100%;
    position: relative;
}
.banner-item {
    width: 100%;
    height: 320px;
    background: #f5f7fa;
    margin-bottom: 10px;
    display: none; /* 默认隐藏，激活项显示 */
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.banner-item.is-active { display: flex; }

/* 图片轮播：banner-item 内放 <img class="banner-img"> + <span class="banner-text"> */
.banner-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}
.banner-text {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 2;
    background: rgba(0,0,0,0.45);
    color: #fff;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.2;
}

/* 轮播控制：按钮 + 圆点（轻量无依赖） */
.banner-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    pointer-events: none;
    z-index: 3;
}
.banner-btn {
    pointer-events: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.92);
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, background 0.2s ease;
}
.banner-btn:hover { transform: scale(1.04); background: #fff; }
.banner-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.25);
}
.banner-dots {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.06);
}
.banner-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: rgba(0,0,0,0.25);
    cursor: pointer;
    padding: 0;
}
.banner-dot.is-active { background: #0066cc; }
.banner-dot:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.25);
}

/* ========== 主体内容 ========== */
.main-content {
    padding: 45px 0;
    min-height: 500px;
}
.common-content { margin-bottom: 55px; }
.common-content h1, .common-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #222;
    font-weight: bold;
}
.common-content p {
    font-size: 15px;
    color: #444;
    line-height: 1.9;
}

/* ========== 首页：按钮/特色模块 ========== */
.hero-actions {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    border: 1px solid rgba(0,0,0,0.08);
}
.btn-primary {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}
.btn-primary:hover { background: #0057ad; color: #fff; }
.btn-ghost {
    background: #fff;
    color: #0066cc;
    border-color: rgba(0,102,204,0.25);
}
.btn-ghost:hover { background: rgba(0,102,204,0.06); }

.feature-block { margin: 28px 0 10px; }
.feature-block > h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 14px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.feature-card {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.feature-ico {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    margin-bottom: 10px;
}
.feature-card h3 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 6px;
}
.feature-card p {
    margin-bottom: 0;
    font-size: 13px;
    color: #555;
}

/* ========== 通用内容增强模块（栏目页复用） ========== */
.page-block {
    margin: 28px 0 0;
    padding-top: 6px;
}
.block-head h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}
.muted {
    color: #666;
    font-size: 14px;
    margin-bottom: 14px;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.info-card2 {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.info-card2 h3 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 6px;
}
.info-card2 p {
    font-size: 13px;
    color: #555;
    margin-bottom: 0;
    line-height: 1.8;
}
.info-card2 a { color: #0066cc; }
.media-ico {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    margin-bottom: 10px;
}
.note-box {
    margin-top: 14px;
    background: #f9fafc;
    border: 1px solid #eef1f5;
    border-radius: 14px;
    padding: 14px;
}
.note-box h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
}
.note-box p {
    margin-bottom: 0;
    color: #555;
    font-size: 13px;
}
.checklist, .bullets, .link-list { padding-left: 18px; }
.checklist li, .bullets li, .link-list li {
    margin: 10px 0;
    color: #444;
    line-height: 1.9;
    font-size: 14px;
}
.link-list a { color: #0066cc; }

/* ========== 问答板块 ========== */
.faq-block {
    background: #f9fafc;
    padding: 35px;
    border-radius: 10px;
    border: 1px solid #f0f2f5;
    margin-top: 20px;
}
.faq-title {
    font-size: 22px;
    margin-bottom: 25px;
    color: #222;
    font-weight: bold;
    border-left: 5px solid #0066cc;
    padding-left: 12px;
    line-height: 1.3;
}
.faq-list { width: 100%; }
.faq-list dt {
    font-weight: bold;
    margin: 20px 0 10px 0;
    font-size: 15px;
    color: #333;
    position: relative;
    padding-left: 20px;
}
.faq-list dt::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 0;
    color: #0066cc;
    font-weight: bold;
}
.faq-list dd {
    padding-left: 20px;
    color: #555;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.8;
    position: relative;
}
.faq-list dd::before {
    content: "A";
    position: absolute;
    left: 0;
    top: 0;
    color: #ff6600;
    font-weight: bold;
}

/* ========== 宠物区块（card-group）：两列并排 ========== */
.card-group { margin-top: 26px; }
.card-group .title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 14px;
}
.card-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.info-card {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    min-height: 96px;
    display: flex;
}
.card-info h3 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 6px;
}
.card-info p {
    margin-bottom: 0;
    color: #555;
    font-size: 13px;
}

/* ========== 站内蜘蛛网内链模块 ========== */
.link-hub {
    margin-top: 35px;
    padding: 28px 0;
    border-top: 1px dashed #e9edf2;
}
.link-hub-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #222;
}
.link-hub-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 18px;
}
.link-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.link-hub-col {
    background: #fafbfd;
    border: 1px solid #f0f2f5;
    border-radius: 10px;
    padding: 14px 14px 10px;
    text-align: left;
}
.link-hub-col h3 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.link-hub-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}
.link-hub-links a.ilink {
    font-size: 13px;
    color: #444;
    background: #fff;
    border: 1px solid #eef1f5;
    padding: 6px 10px;
    border-radius: 999px;
    line-height: 1.2;
}
.link-hub-links a.ilink:hover {
    color: #0066cc;
    border-color: rgba(0,102,204,0.25);
}

/* ========== 页脚 ========== */
.site-footer {
    background: #2a2a2a;
    color: #ccc;
    padding: 50px 0 30px;
    margin-top: 70px;
    width: 100%;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.footer-quick-link h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 17px;
    font-weight: bold;
}
.link-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}
.link-row a {
    color: #ccc;
    font-size: 14px;
    white-space: nowrap;
}
.link-row a:hover { color: #fff; }
.footer-terms {
    width: 100%;
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid #383838;
    border-bottom: 1px solid #383838;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.footer-terms a {
    color: #ccc;
    font-size: 14px;
    white-space: nowrap;
}
.footer-terms a:hover { color: #fff; }
.footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: 25px;
    color: #999;
    font-size: 13px;
    line-height: 2;
}
.footer-meta { opacity: 0.9; }

/* ========== 移动端自适应 ========== */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav a { margin: 0 8px; }
    .banner-item { height: 200px; }
    .faq-block { padding: 20px; }
    .link-row, .footer-terms { gap: 15px; }

    .feature-grid { grid-template-columns: 1fr 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .card-list { grid-template-columns: 1fr; }
    .link-hub-grid { grid-template-columns: 1fr; }
    .breadcrumb { margin-top: 10px; }
}
