@charset "utf-8";
/* 鲜惠生活超市 · 企业官网样式表
   结构：变量 → 基础 → 页头 → 首屏 → 信息条 → 通用区块 → 品类 → 承诺 → 页脚 → 内容页 → 响应式 */

:root {
    --ink: #241a11;
    --ink-soft: #4a3c2f;
    --muted: #8a7c6c;
    --paper: #fbf6ed;
    --paper-2: #f4ecdd;
    --line: #e3d8c5;
    --green: #2f7a4a;
    --green-deep: #1f5334;
    --leaf: #e9f0dd;
    --orange: #d9552a;
    --orange-deep: #bb4620;
    --gold: #e3ae4f;
    --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
    --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --shadow: 0 20px 44px -30px rgba(36, 26, 17, .48);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.78;
    letter-spacing: .01em;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: .015em;
}

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ============ 页头 ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(251, 246, 237, .97);
    border-bottom: 1px solid var(--line);
}

.topbar {
    background: var(--green-deep);
    color: #eff5e6;
    font-size: 12.5px;
    letter-spacing: .04em;
}

.topbar .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 16px;
    min-height: 34px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.topbar-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar svg { width: 14px; height: 14px; flex: none; opacity: .85; }
.topbar .topbar-extra { display: none; }

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 66px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
    width: 38px;
    height: 38px;
    flex: none;
    display: grid;
    place-items: center;
    background: var(--green);
    border-radius: 50%;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name {
    display: block;
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .09em;
    line-height: 1.2;
}
.brand-sub {
    display: block;
    font-size: 9.5px;
    letter-spacing: .2em;
    color: var(--muted);
    line-height: 1.4;
}

.header-cta {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: var(--ink);
    color: #fdf7ec;
    font-size: 13.5px;
    letter-spacing: .04em;
    border-radius: 2px;
}
.header-cta:hover { background: var(--green-deep); }
.header-cta svg { width: 14px; height: 14px; }

.menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    cursor: pointer;
    border-radius: 2px;
}
.menu-toggle svg { width: 20px; height: 20px; }

.nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 6px 20px 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.nav.is-open { display: block; }
.nav ul { display: flex; flex-direction: column; }
.nav li + li { border-top: 1px dashed var(--line); }
.nav a {
    display: block;
    padding: 13px 2px;
    font-size: 15px;
    color: var(--ink-soft);
    min-height: 44px;
}
.nav a.is-active { color: var(--green); font-weight: 500; }

/* ============ 首屏 ============ */
.hero {
    position: relative;
    isolation: isolate;
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    z-index: -2;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(96deg, rgba(23, 15, 8, .9) 0%, rgba(23, 15, 8, .72) 44%, rgba(23, 15, 8, .3) 74%, rgba(23, 15, 8, .04) 100%);
}
.hero-inner {
    max-width: 640px;
    padding: 40px 0 36px;
    color: #fdf7ec;
}
.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    letter-spacing: .08em;
    color: #f3dfae;
}
.hero-note::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: .8;
}
.hero h1 {
    margin: 14px 0 0;
    font-size: clamp(2rem, 6.4vw, 3.3rem);
    letter-spacing: .03em;
    line-height: 1.24;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead {
    max-width: 31em;
    margin-top: 14px;
    font-size: 15px;
    color: rgba(253, 247, 236, .86);
    line-height: 1.85;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 22px;
    font-size: 14.5px;
    letter-spacing: .04em;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--orange); color: #fff8ef; }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { border-color: rgba(253, 247, 236, .5); color: #fdf7ec; }
.btn-ghost:hover { background: rgba(253, 247, 236, .14); }
.btn-dark { background: var(--ink); color: #fdf7ec; }
.btn-dark:hover { background: var(--green-deep); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* ============ 门店信息条 ============ */
.info-strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.info-strip .wrap {
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 2px;
    padding-bottom: 2px;
}
.info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px dashed var(--line);
}
.info-item:last-child { border-bottom: 0; }
.info-item svg { width: 21px; height: 21px; flex: none; margin-top: 3px; color: var(--green); }
.info-label {
    display: block;
    font-size: 12px;
    letter-spacing: .12em;
    color: var(--muted);
}
.info-value { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.6; }

/* ============ 通用区块 ============ */
.section { padding: 52px 0; }
.section-tint { background: var(--paper-2); }
.section-white { background: #fff; }

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 24px;
    margin-bottom: 26px;
}
.section-head h2 { font-size: clamp(1.5rem, 4.2vw, 2.05rem); }
.section-head .head-note { font-size: 13.5px; color: var(--muted); }
.section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--green);
    border-bottom: 1px solid rgba(47, 122, 74, .35);
    padding-bottom: 2px;
}
.section-link svg { width: 14px; height: 14px; }
.section-link:hover { color: var(--orange); border-color: rgba(217, 85, 42, .4); }

.section-lead {
    max-width: 40em;
    margin-bottom: 30px;
    font-size: 15px;
    color: var(--ink-soft);
}

/* 图文分栏 */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: center;
}
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.split-media figcaption {
    margin-top: 10px;
    font-size: 12.5px;
    color: var(--muted);
    letter-spacing: .04em;
}
.split-body h2 { font-size: clamp(1.45rem, 3.6vw, 1.95rem); }
.split-body p { margin-top: 14px; color: var(--ink-soft); font-size: 15px; }
.split-body p.strong { color: var(--ink); font-size: 16.5px; }
.split-body .btn { margin-top: 20px; }

/* 数据/时间小条目 */
.fact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.fact { min-width: 96px; }
.fact dt { font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.fact dd { margin: 4px 0 0; font-family: var(--serif); font-size: 17px; }

/* ============ 品类 ============ */
.cat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.cat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.cat-card:hover { border-color: #cfc0a8; box-shadow: var(--shadow); }
.cat-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cat-body { padding: 18px 20px 22px; }
.cat-body h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 8px; }
.cat-body p { font-size: 14px; color: var(--muted); line-height: 1.75; }
.cat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}
.cat-tags span {
    font-size: 12px;
    padding: 3px 9px;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    background: var(--paper);
    border-radius: 999px;
}

/* ============ 承诺条 ============ */
.promise { background: var(--green-deep); color: #f1f6e8; }
.promise .wrap { padding-top: 44px; padding-bottom: 44px; }
.promise-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 26px;
}
.promise-head h2 { font-size: clamp(1.4rem, 3.8vw, 1.85rem); color: #fdf7ec; }
.promise-head p { font-size: 13.5px; color: rgba(241, 246, 232, .78); }
.promise-list { display: grid; grid-template-columns: 1fr; gap: 0; }
.promise-item {
    padding: 20px 0;
    border-top: 1px solid rgba(233, 240, 221, .22);
}
.promise-item svg { width: 26px; height: 26px; color: var(--gold); }
.promise-item h3 {
    margin: 12px 0 6px;
    font-family: var(--serif);
    font-size: 17.5px;
    color: #fdf7ec;
}
.promise-item p { font-size: 14px; color: rgba(241, 246, 232, .8); line-height: 1.78; }

/* ============ 实景 ============ */
.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.gallery figure { margin: 0; overflow: hidden; border-radius: 2px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption {
    margin-top: 8px;
    font-size: 12.5px;
    color: var(--muted);
    letter-spacing: .04em;
}

/* ============ 行动区 ============ */
.cta-band { background: var(--ink); color: #fdf7ec; }
.cta-band .wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 46px;
    padding-bottom: 46px;
    align-items: center;
}
.cta-band h2 {
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    color: #fdf7ec;
}
.cta-band h2 em { font-style: normal; color: var(--gold); }
.cta-band p { margin-top: 12px; font-size: 14.5px; color: rgba(253, 247, 236, .76); line-height: 1.85; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-contact {
    margin-top: 18px;
    font-size: 13px;
    color: rgba(253, 247, 236, .62);
    letter-spacing: .04em;
}

/* ============ 页脚 ============ */
.site-footer {
    background: var(--paper-2);
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 13px;
    padding: 40px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}
.footer-brand .brand-name { font-size: 18px; }
.footer-brand p { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.footer-col h3 {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .14em;
    color: var(--muted);
    margin-bottom: 10px;
}
.footer-col li { margin-bottom: 7px; line-height: 1.7; }
.footer-col a:hover { color: var(--green); }
.footer-legal {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8;
}

/* ============ 内容页 ============ */
.page-hero {
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    padding: 34px 0 36px;
}
.page-hero h1 { font-size: clamp(1.6rem, 4.4vw, 2.3rem); }
.page-hero p {
    margin-top: 10px;
    max-width: 42em;
    font-size: 14.5px;
    color: var(--ink-soft);
}

.prose { max-width: 44em; }
.prose h2 {
    font-size: 1.28rem;
    margin: 34px 0 12px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.prose p { margin-bottom: 12px; font-size: 15px; color: var(--ink-soft); }
.prose ul { margin: 8px 0 14px; }
.prose li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--ink-soft);
}
.prose li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 5px;
    height: 5px;
    background: var(--green);
    border-radius: 50%;
}
.prose .note {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 3px solid var(--green);
    padding: 16px 18px;
    font-size: 14px;
    color: var(--ink-soft);
    margin: 18px 0;
}

/* 信息表 */
.info-table {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    background: #fff;
}
.info-table div {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
}
.info-table div:last-child { border-bottom: 0; }
.info-table .k { color: var(--muted); font-size: 13.5px; background: var(--paper); }
.info-table .v { color: var(--ink); }

/* 品类明细 */
.cat-detail { display: grid; grid-template-columns: 1fr; gap: 0; }
.cat-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}
.cat-row:last-child { border-bottom: 0; }
.cat-row figure { margin: 0; }
.cat-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.cat-row h2 { font-size: 1.3rem; }
.cat-row .cat-index {
    font-family: var(--serif);
    font-size: 13px;
    color: var(--gold);
    letter-spacing: .1em;
    display: block;
    margin-bottom: 4px;
}
.cat-row p { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); }
.cat-row ul { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.cat-row li { font-size: 13.5px; color: var(--muted); padding-left: 12px; position: relative; }
.cat-row li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    background: var(--green);
    border-radius: 50%;
}

/* 联系卡 */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 22px 22px 24px;
    border-radius: 2px;
}
.contact-card h2 { font-size: 1.15rem; margin-bottom: 14px; }
.contact-card dl { margin: 0; }
.contact-row {
    display: grid;
    grid-template-columns: 5.5em 1fr;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14.5px;
}
.contact-row:last-child { border-bottom: 0; }
.contact-row dt { color: var(--muted); font-size: 13.5px; }
.contact-row dd { margin: 0; color: var(--ink); }
.contact-card .btn { margin-top: 16px; width: 100%; }
.note-line {
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.7;
}
.transit li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14px;
    color: var(--ink-soft);
}
.transit li:last-child { border-bottom: 0; }
.transit strong { font-family: var(--serif); font-size: 15px; color: var(--ink); }

.tip-list { display: grid; gap: 16px; }
.tip-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--line);
}
.tip-item svg { width: 20px; height: 20px; flex: none; color: var(--green); margin-top: 2px; }
.tip-item h3 { font-family: var(--sans); font-weight: 500; font-size: 14.5px; margin-bottom: 4px; }
.tip-item p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ============ 响应式 ============ */
@media (min-width: 640px) {
    .info-strip .wrap { grid-template-columns: repeat(3, 1fr); gap: 0 24px; padding-top: 8px; padding-bottom: 8px; }
    .info-item { border-bottom: 0; padding: 14px 0; }
    .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .promise-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
    .cat-row ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .topbar .topbar-extra { display: inline-flex; }
    .hero { min-height: 520px; }
    .hero-inner { padding: 64px 0 56px; }
    .section { padding: 74px 0; }
    .cat-grid { gap: 22px; }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .page-hero { padding: 48px 0 50px; }
    .info-table { grid-template-columns: 11em 1fr; }
    .info-table div { border-right: 1px solid var(--line); }
    .info-table .v { border-right: 0; }
    .contact-grid { grid-template-columns: 1.15fr .85fr; }
    .cta-band .wrap { grid-template-columns: 1.1fr .9fr; gap: 40px; padding-top: 60px; padding-bottom: 60px; }
    .cta-actions { justify-content: flex-end; }
    .cta-contact { text-align: right; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
}

@media (min-width: 960px) {
    .nav {
        position: static;
        display: block;
        flex: 1;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
    }
    .nav ul { flex-direction: row; justify-content: flex-end; gap: 26px; }
    .nav li + li { border-top: 0; }
    .nav a {
        display: inline-block;
        padding: 6px 0;
        font-size: 14.5px;
        border-bottom: 1px solid transparent;
        min-height: 0;
    }
    .nav a:hover { color: var(--green); }
    .nav a.is-active { border-bottom-color: var(--green); }
    .menu-toggle { display: none; }
    .header-cta { display: inline-flex; }
    .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .split { grid-template-columns: 1.02fr .98fr; gap: 46px; }
    .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .gallery img { aspect-ratio: 3 / 4; }
    .cat-row {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        align-items: center;
        padding: 40px 0;
    }
    .cat-row:nth-child(even) figure { order: 2; }
    .cat-detail { gap: 0 46px; }
    .promise-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero { min-height: 560px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}
