/* ==========================================================================
   Fuzzy Slippers — OEM house slipper factory, Ningbo
   冷调工业风：靛蓝主色 + 青色点缀，大留白，数据感排版。
   零依赖：系统字体栈 + 原生 CSS，没有外部库和字体文件。
   ========================================================================== */

:root {
    --brand: #3730A3;
    --brand-600: #2F2A8C;
    --brand-700: #241F73;
    --brand-050: #EEF0FB;
    --brand-100: #DFE3F8;
    --accent: #06B6D4;
    --accent-600: #0891B2;

    --ink: #101828;
    --ink-2: #344054;
    --muted: #667085;
    --line: #E4E7EC;
    --bg: #FFFFFF;
    --bg-soft: #F7F8FC;
    --dark: #0B1020;
    --dark-2: #131A2E;
    --warn: #B54708;
    --ok: #027A48;

    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .1);
    --shadow-lg: 0 18px 40px rgba(16, 24, 40, .12);
    --maxw: 1160px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.68;
    color: var(--ink-2); background: var(--bg);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: 1.16rem; }
p { margin: 0 0 1em; }
strong { color: var(--ink); }

.skip-link {
    position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
    padding: 10px 16px; border-radius: 0 0 var(--radius-sm) 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 74px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--dark); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head p { color: var(--muted); font-size: 1.02rem; margin: 0; }
.eyebrow {
    display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
    font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; text-decoration: none;
    background: var(--brand); color: #fff; transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--brand-600); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); }
.btn-primary:hover { background: var(--accent-600); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-light { background: #fff; color: var(--brand-700); }
.btn-light:hover { background: var(--brand-050); color: var(--brand-700); }
.btn-sm { padding: 8px 15px; font-size: .88rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hl { background: linear-gradient(transparent 62%, var(--brand-100) 62%); color: var(--ink); font-weight: 600; }

/* ---------- header / nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); font-size: 1.06rem; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav-menu { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-menu a {
    padding: 9px 13px; border-radius: var(--radius-sm); color: var(--ink-2);
    font-size: .93rem; font-weight: 600;
}
.nav-menu a:hover { background: var(--bg-soft); color: var(--brand); text-decoration: none; }
.nav-menu a.is-active { color: var(--brand); background: var(--brand-050); }
.nav-menu .nav-cta { margin-left: 8px; background: var(--brand); color: #fff; padding: 10px 18px; }
.nav-menu .nav-cta:hover { background: var(--brand-600); color: #fff; }
.nav-menu .nav-tel { color: var(--muted); font-weight: 500; }
.nav-toggle {
    display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line);
    background: #fff; border-radius: var(--radius-sm); cursor: pointer; align-items: center;
    justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- flash ---------- */
.flash {
    margin: 18px auto 0; max-width: var(--maxw); padding: 13px 18px; border-radius: var(--radius-sm);
    font-size: .93rem; background: #ECFDF3; color: var(--ok); border-left: 4px solid var(--ok);
}
.flash-error { background: #FEF3F2; color: var(--warn); border-left-color: var(--warn); }

/* ---------- hero ---------- */
.hero { background: linear-gradient(160deg, var(--dark) 0%, #1B2350 55%, var(--brand-700) 100%); color: rgba(255,255,255,.82); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; padding-top: 66px; padding-bottom: 66px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero .lead { font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 30em; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    color: #fff; margin-bottom: 20px;
}
.hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: block; }
.hero-meta { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta div b { display: block; font-size: 1.5rem; color: #fff; font-variant-numeric: tabular-nums; }
.hero-meta div span { font-size: .82rem; color: rgba(255,255,255,.62); }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero-card {
    position: absolute; left: -18px; bottom: -20px; background: #fff; color: var(--ink-2);
    padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    font-size: .86rem; max-width: 260px;
}
.hero-card b { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 2px; }

/* ---------- trust bar ---------- */
.trustbar { background: var(--dark-2); color: rgba(255,255,255,.66); padding: 16px 0; }
.trustbar .wrap { display: flex; gap: 14px 30px; flex-wrap: wrap; justify-content: center; }
.trustbar span { font-size: .84rem; display: inline-flex; align-items: center; gap: 8px; }
.trustbar span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- cards ---------- */
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
}
.card-body { padding: 22px 22px 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.card .thumb { aspect-ratio: 16 / 10; background: var(--bg-soft); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.tagline { font-size: .82rem; color: var(--brand); font-weight: 600; }

/* ---------- advantages ---------- */
.adv-item { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.adv-item:last-child { border-bottom: 1px solid var(--line); }
.adv-num {
    flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-050);
    color: var(--brand); display: grid; place-items: center; font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.adv-item h3 { margin-bottom: 6px; }
.adv-item p { margin: 0; color: var(--muted); font-size: .96rem; max-width: 62ch; }

/* ---------- capabilities / stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat b { display: block; font-size: 2rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat span { font-size: .87rem; color: var(--muted); }

/* ---------- steps ---------- */
.steps { display: grid; gap: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 62px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-no {
    width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--brand);
    color: var(--brand); display: grid; place-items: center; font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 5px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.step .free { font-size: .78rem; font-weight: 700; color: var(--ok); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- cases ---------- */
.case-card .thumb { aspect-ratio: 4 / 3; }
.case-cat {
    display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--brand); background: var(--brand-050);
    padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.case-meta { font-size: .84rem; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- team ---------- */
.team-card { text-align: left; }
.avatar {
    width: 56px; height: 56px; border-radius: 50%; background: var(--brand-050); color: var(--brand);
    display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; margin-bottom: 14px;
}
.team-role { font-size: .84rem; color: var(--brand); font-weight: 600; margin-bottom: 8px; }

/* ---------- articles ---------- */
.article-card .thumb { aspect-ratio: 16 / 9; }
.article-meta { font-size: .82rem; color: var(--muted); display: flex; gap: 12px; margin-bottom: 8px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--dark); color: rgba(255,255,255,.78); }
.cta-band .wrap { padding: 62px 22px; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.cta-band h2 { color: #fff; }
.contact-info { list-style: none; padding: 0; margin: 22px 0 0; }
.contact-info li { padding: 11px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.contact-info li b { display: block; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 700; }
.contact-info a { color: #fff; }

/* ---------- forms ---------- */
.form-card { background: #fff; border-radius: var(--radius); padding: 26px; color: var(--ink-2); box-shadow: var(--shadow-lg); }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: .86rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select {
    width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font: inherit; font-size: .95rem; color: var(--ink); background: #fff;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(55, 48, 163, .12); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.err { color: var(--warn); font-size: .84rem; margin-top: 5px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* ---------- page head ---------- */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 52px 0 44px; }
.page-head h1 { margin-bottom: 12px; }
.page-head p { color: var(--muted); max-width: 62ch; margin: 0; font-size: 1.04rem; }
.breadcrumb { font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- filters / pagination ---------- */
.filters { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
    padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line);
    font-size: .88rem; font-weight: 600; color: var(--ink-2); background: #fff;
}
.chip:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.chip.is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination { display: flex; gap: 7px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.pagination a, .pagination span {
    padding: 9px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    font-size: .9rem; background: #fff; color: var(--ink-2);
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pagination .is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .gap { border: 0; background: none; }

/* ---------- detail layout ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 42px; align-items: start; }
.detail-hero { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 26px; }
.sidebar-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.sidebar-card h3 { font-size: 1rem; margin-bottom: 12px; }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.sidebar-list li:last-child { border-bottom: 0; }

/* ---------- prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose blockquote {
    margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--brand);
    color: var(--ink-2); font-style: italic;
}

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.6); padding: 54px 0 26px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.72); display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
    margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
    display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .84rem;
}
.footer-brand b { color: #fff; font-size: 1.02rem; }

/* ---------- error pages ---------- */
.error-page { padding: 110px 0; text-align: center; }
.error-page .code { font-size: 4.6rem; font-weight: 800; color: var(--brand-050); line-height: 1; }
.error-page h1 { margin-top: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
    .hero .wrap { grid-template-columns: 1fr; gap: 34px; }
    .cta-grid { grid-template-columns: 1fr; gap: 28px; }
    .detail-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-card { position: static; margin-top: 16px; max-width: none; }
}
@media (max-width: 700px) {
    body { font-size: 16px; }
    .section { padding: 54px 0; }
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff;
        flex-direction: column; align-items: stretch; gap: 0; padding: 10px 14px 18px;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    }
    .nav-menu.is-open { display: flex; }
    .nav-menu a { padding: 12px 10px; }
    .nav-menu .nav-cta { margin: 8px 0 0; text-align: center; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .step { grid-template-columns: 46px 1fr; gap: 14px; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
    .btn:hover { transform: none; }
}
