@charset "UTF-8";

/* 方案详情页版式源文件（Home/css/solution.css）。
   Home/web/ 下 7 个方案详情页统一通过 ../css/solution.css 引用本文件，不再内嵌样式副本；
   各页面通过 body 上的 page-* 类切换品牌配色，修改版式只需改本文件。 */

body {
    font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", Tahoma, Geneva, Verdana, sans-serif;
}

body.page-housekeeping {
    --brand: #2563eb;
    --brand-dark: #1e40af;
    --brand-soft: #eff6ff;
    --brand-line: #bfdbfe;
    --brand-glow: rgba(37, 99, 235, 0.30);
}

body.page-training {
    --brand: #0f766e;
    --brand-dark: #115e59;
    --brand-soft: #f0fdfa;
    --brand-line: #99f6e4;
    --brand-glow: rgba(15, 118, 110, 0.32);
}

body.page-assets {
    --brand: #4f46e5;
    --brand-dark: #3730a3;
    --brand-soft: #eef2ff;
    --brand-line: #c7d2fe;
    --brand-glow: rgba(79, 70, 229, 0.30);
}

body.page-netreport {
    --brand: #0e7490;
    --brand-dark: #155e75;
    --brand-soft: #ecfeff;
    --brand-line: #a5f3fc;
    --brand-glow: rgba(14, 116, 144, 0.30);
}

body.page-yoga {
    --brand: #7c3aed;
    --brand-dark: #5b21b6;
    --brand-soft: #f5f3ff;
    --brand-line: #ddd6fe;
    --brand-glow: rgba(124, 58, 237, 0.30);
}

body.page-petshop {
    --brand: #ea580c;
    --brand-dark: #9a3412;
    --brand-soft: #fff7ed;
    --brand-line: #fed7aa;
    --brand-glow: rgba(234, 88, 12, 0.30);
}

body.page-community {
    --brand: #15803d;
    --brand-dark: #166534;
    --brand-soft: #f0fdf4;
    --brand-line: #bbf7d0;
    --brand-glow: rgba(21, 128, 61, 0.30);
}

/* 本文件仅由方案详情页引用，品牌色规则对所有 page-* 页面统一生效 */
.section-header h2::after,
nav ul li a::after,
.btn-primary {
    background-color: var(--brand);
}

.btn-primary:hover {
    background-color: var(--brand-dark);
}

/* 顶部导航：链接到首页时保持普通链接外观 */
.logo a {
    color: inherit;
}

/* 英雄区 */
.sol-hero {
    padding: 158px 0 88px;
    background-color: var(--brand-dark);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.sol-hero::after {
    content: "";
    position: absolute;
    right: -140px;
    top: -180px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
}

.sol-hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.sol-eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 1px;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 6px 16px;
    margin-bottom: 22px;
}

.sol-hero h1 {
    font-size: 44px;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.25;
}

.sol-hero .lead {
    font-size: 19px;
    line-height: 1.8;
    color: #eef2ff;
    max-width: 640px;
    margin-bottom: 24px;
}

.sol-quick {
    border-left: 3px solid rgba(255, 255, 255, 0.65);
    background-color: rgba(255, 255, 255, 0.09);
    border-radius: 0 10px 10px 0;
    padding: 16px 22px;
    margin-bottom: 30px;
    max-width: 640px;
}

.sol-quick strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.sol-quick p {
    font-size: 15px;
    line-height: 1.75;
    color: #e5e7eb;
    margin: 0;
}

.sol-hero .btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.sol-hero .btn-secondary:hover {
    background-color: #ffffff;
    color: var(--brand-dark);
}

.hero-panel {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 28px 30px;
}

.hero-panel > h2 {
    font-size: 16px;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.hero-panel > p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 14px;
}

.flow-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.22);
}

.flow-num {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    line-height: 26px;
}

.flow-step b {
    display: block;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.flow-step span {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.6;
}

/* 通用区块 */
.sol-section {
    padding: 80px 0;
}

.sol-section.alt {
    background-color: var(--brand-soft);
}

.sol-section .section-header {
    margin-bottom: 48px;
}

.sol-section .section-header p {
    font-size: 16px;
}

/* 卡片网格 */
.sol-grid-3,
.sol-grid-2 {
    display: grid;
    gap: 24px;
}

.sol-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.sol-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.sol-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 26px 26px 24px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.sol-card .tag {
    display: inline-block;
    font-size: 12px;
    color: var(--brand);
    background-color: var(--brand-soft);
    border: 1px solid var(--brand-line);
    border-radius: 999px;
    padding: 3px 11px;
    margin-bottom: 14px;
}

.sol-card h3 {
    font-size: 19px;
    color: var(--dark-color);
    margin-bottom: 14px;
}

.sol-card p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-color);
    margin-bottom: 0;
}

.sol-card ul {
    margin: 0;
}

.sol-card ul li {
    position: relative;
    padding-left: 17px;
    margin-bottom: 9px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-color);
}

.sol-card ul li:last-child {
    margin-bottom: 0;
}

.sol-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--brand);
}

.sol-card.wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: center;
}

.sol-card.wide h3 {
    margin-bottom: 6px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chips span {
    font-size: 13px;
    color: var(--brand-dark);
    background-color: var(--brand-soft);
    border: 1px solid var(--brand-line);
    border-radius: 6px;
    padding: 6px 12px;
}

/* 核心亮点 */
.highlight-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.highlight {
    display: flex;
    gap: 18px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px 26px;
}

.highlight:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.highlight .num {
    flex: none;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--brand-line);
}

.highlight h3 {
    font-size: 17px;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.highlight p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0;
}

/* 双栏文字区 */
.sol-panel {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
}

.sol-panel h3 {
    font-size: 20px;
    color: var(--brand-dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--brand-soft);
}

.sol-panel ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.75;
}

.sol-panel ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background-color: var(--brand);
}

/* 宣传短句 */
.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.quote-card {
    position: relative;
    background-color: #ffffff;
    border: 1px solid var(--brand-line);
    border-radius: 12px;
    padding: 36px 26px 26px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--dark-color);
    font-weight: 600;
}

.quote-card::before {
    content: "“";
    position: absolute;
    top: 2px;
    left: 20px;
    font-size: 46px;
    line-height: 1;
    color: var(--brand-line);
    font-family: Georgia, serif;
}

/* 角色关注点表格 */
.table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: #ffffff;
}

.sol-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
}

.sol-table th {
    background-color: var(--brand);
    color: #ffffff;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    padding: 15px 20px;
}

.sol-table td {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    line-height: 1.75;
    vertical-align: top;
    color: var(--text-color);
}

.sol-table td:first-child {
    width: 210px;
    font-weight: 600;
    color: var(--dark-color);
}

/* 页脚补充 */
.sol-footer-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
    color: var(--brand);
}

@media (max-width: 992px) {
    .sol-hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sol-hero {
        padding: 130px 0 70px;
    }

    .sol-grid-3,
    .quote-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sol-card.wide {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .sol-hero {
        padding: 108px 0 60px;
    }

    .sol-hero h1 {
        font-size: 32px;
    }

    .sol-hero .lead {
        font-size: 17px;
    }

    .sol-section {
        padding: 60px 0;
    }

    .sol-grid-3,
    .sol-grid-2,
    .quote-grid,
    .highlight-list {
        grid-template-columns: 1fr;
    }

    .highlight:last-child:nth-child(odd) {
        grid-column: auto;
    }
}

/* 站点基础样式自包含副本：页面即使脱离站点目录单独打开，版式依然完整 */

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --light-color: #f3f4f6;
    --dark-color: #1f2937;
    --text-color: #374151;
    --border-color: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.btn-secondary {
    background-color: #181e2c;
    color: #e5e7eb;
    border: 2px solid var(--primary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    font-size: 18px;
    color: #6b7280;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 80px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo div {
    display: flex;
    align-items: center;
    height: 60px;
}

.logo img {
    max-height: 100%;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
}

.logo span {
    color: #00000098;
    display: inline-block;
    vertical-align: bottom;
}

nav {
    height: 100%;
}

nav ul {
    display: flex;
    height: 100%;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
    height: 100%;
    display: flex;
    align-items: center;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 16px;
    padding: 10px 0;
    position: relative;
    display: block;
}

nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 21px;
    position: relative;
    margin-left: 15px;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark-color);
    border-radius: 3px;
    left: 0;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }

/* ---------- 页脚：品牌引导 + 联系卡片 ---------- */
footer {
    position: relative;
    overflow: hidden;
    padding: 68px 0 0;
    color: #ffffff;
    background-color: var(--dark-color);
    background-image:
        radial-gradient(680px 340px at 8% -12%, var(--brand-glow), transparent 72%),
        radial-gradient(520px 300px at 96% 118%, rgba(255, 255, 255, 0.045), transparent 70%);
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand-line) 38%, transparent 78%);
}

.footer-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 56px;
    padding-bottom: 52px;
}

.footer-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    font-size: 12px;
    letter-spacing: 2.2px;
    color: var(--brand-line);
}

.footer-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-line);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.07);
}

.footer-intro h2 {
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 1.35;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.footer-intro h2 em {
    font-style: normal;
    color: var(--brand-line);
}

.footer-intro p {
    max-width: 470px;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.6);
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding: 11px 22px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    font-size: 14px;
    color: #ffffff;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.footer-cta:hover {
    background: var(--brand);
    border-color: var(--brand);
    transform: translateY(-2px);
}

.footer-cta span {
    font-size: 16px;
    line-height: 1;
}

.footer-qr-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
}

.qr-frame {
    flex-shrink: 0;
    padding: 9px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.qr-frame img {
    display: block;
    width: 116px;
    height: 116px;
}

.qr-copy h3 {
    margin: 0 0 10px;
    font-size: 19px;
    color: #ffffff;
}

.qr-copy p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.74);
}

.qr-copy .qr-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.62);
}

.qr-copy .qr-note::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
}

.footer-bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 20px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-signature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-mark {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.footer-mark span {
    color: var(--brand);
}

.footer-sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.22);
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    header { height: 60px; }
    header .container { padding: 0 15px; }
    .logo div { height: 40px; }
    .logo img { max-height: 35px; }
    .logo span { font-size: 16px; }

    nav {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        height: auto;
        background-color: #ffffff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.3s ease;
        z-index: 999;
    }

    nav.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    nav ul { flex-direction: column; padding: 20px; height: auto; align-items: flex-start; }
    nav ul li { margin: 10px 0; height: auto; width: 100%; }
    nav ul li a { padding: 10px 0; width: 100%; }
    .menu-toggle { display: block; }

    .section-header h2 { font-size: 28px; }
    .footer-panel {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 34px;
        padding-bottom: 40px;
        text-align: center;
    }
    .footer-intro h2 { font-size: 27px; }
    .footer-intro p { margin: 0 auto; }
    .footer-qr-card {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
    .qr-copy .qr-note { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 10px; justify-content: center; text-align: center; }
}

@media (max-width: 576px) {
    .cta-buttons .btn { display: block; width: 100%; margin: 10px 0; }
    .footer-signature { flex-wrap: wrap; justify-content: center; }
    .footer-sep { display: none; }
}
