/* ============================================================
   午品鲜味官网 · 前台样式
   暖色餐饮风格 / 响应式 / 兼容现代浏览器
   ============================================================ */

:root {
    --brand: #c8452b;
    --brand-deep: #8f2f1e;
    --brand-soft: #f6e3d5;
    --accent: #e0a340;
    --ink: #3a2418;
    --ink-2: #6b4b33;
    --cream: #fbf6ec;
    --cream-2: #f3e9d9;
    --white: #ffffff;
    --line: #ecdcc9;
    --radius: 18px;
    --shadow-sm: 0 6px 20px rgba(143, 47, 30, .07);
    --shadow-lg: 0 20px 50px rgba(143, 47, 30, .14);
    --max: 1200px;
    --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(100% - 40px, var(--max));
    margin-inline: auto;
}

.section {
    padding: 96px 0;
}

.section--tight {
    padding: 72px 0;
}

.section--cream {
    background: var(--cream-2);
}

.section--white {
    background: var(--white);
}

/* ---------- 通用标题 ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: .22em;
    color: var(--brand);
    font-weight: 600;
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(26px, 3.4vw, 38px);
    line-height: 1.35;
    margin: 0 0 16px;
    letter-spacing: .02em;
}

.section-sub {
    color: var(--ink-2);
    margin: 0 0 44px;
    max-width: 680px;
}

.center {
    text-align: center;
}

.center .section-sub {
    margin-inline: auto;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
    white-space: nowrap;
}

.btn--primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 26px rgba(200, 69, 43, .28);
}

.btn--primary:hover {
    background: var(--brand-deep);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(143, 47, 30, .3);
}

.btn--ghost {
    border-color: rgba(200, 69, 43, .35);
    color: var(--brand);
    background: rgba(255, 255, 255, .6);
}

.btn--ghost:hover {
    background: var(--brand-soft);
    transform: translateY(-2px);
}

.btn--light {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

.btn--light:hover {
    background: #fff;
    color: var(--brand-deep);
}

/* ---------- 顶部导航 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(251, 246, 236, .92);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.site-header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 8px 24px rgba(143, 47, 30, .06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand__logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    flex: 0 0 auto;
    box-shadow: 0 6px 16px rgba(200, 69, 43, .25);
}

.brand__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.brand__text {
    min-width: 0;
}

.brand__name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.2;
    white-space: nowrap;
}

.brand__sub {
    font-size: 12px;
    color: var(--ink-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 34px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__menu a {
    font-size: 15px;
    color: var(--ink);
    position: relative;
    padding: 6px 0;
    transition: color .2s ease;
}

.nav__menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    background: var(--brand);
    transition: right .25s ease;
}

.nav__menu a:hover {
    color: var(--brand);
}

.nav__menu a:hover::after {
    right: 0;
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav__phone {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 92px;
    background:
        radial-gradient(1000px 460px at 82% 12%, rgba(224, 163, 64, .18), transparent 60%),
        radial-gradient(760px 420px at 8% 82%, rgba(200, 69, 43, .1), transparent 62%);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.06fr .94fr;
    gap: 56px;
    align-items: center;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--line);
    font-size: 13px;
    color: var(--ink-2);
    letter-spacing: .1em;
    margin-bottom: 22px;
}

.hero__tag i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
    display: inline-block;
}

.hero__title {
    font-size: clamp(40px, 6.6vw, 76px);
    line-height: 1.08;
    margin: 0 0 18px;
    letter-spacing: .04em;
    font-weight: 800;
}

.hero__subtitle {
    font-size: clamp(15px, 1.7vw, 19px);
    color: var(--ink-2);
    margin: 0 0 34px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.hero__stats {
    display: flex;
    gap: 40px;
    padding-top: 26px;
    border-top: 1px dashed rgba(200, 69, 43, .28);
}

.hero__stat b {
    display: block;
    font-size: 30px;
    color: var(--brand);
    line-height: 1.2;
    font-weight: 800;
}

.hero__stat span {
    font-size: 13px;
    color: var(--ink-2);
    letter-spacing: .08em;
}

.hero__art {
    position: relative;
    display: grid;
    place-items: center;
}

.hero__art svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 24px 40px rgba(143, 47, 30, .16));
}

.hero__badge {
    position: absolute;
    right: 2%;
    bottom: 6%;
    background: #fff;
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.hero__badge b {
    display: block;
    font-size: 22px;
    color: var(--brand);
}

.hero__badge span {
    font-size: 12px;
    color: var(--ink-2);
    letter-spacing: .12em;
}

/* ---------- 品牌主张横幅 ---------- */
.slogan-band {
    background: linear-gradient(120deg, var(--brand-deep), var(--brand) 55%, #d2603f);
    color: #fff;
    padding: 74px 0;
    position: relative;
    overflow: hidden;
}

.slogan-band::before,
.slogan-band::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .16);
}

.slogan-band::before {
    width: 380px;
    height: 380px;
    left: -120px;
    top: -160px;
}

.slogan-band::after {
    width: 300px;
    height: 300px;
    right: -80px;
    bottom: -150px;
}

.slogan-band__quote {
    font-size: clamp(22px, 3.6vw, 40px);
    line-height: 1.55;
    font-weight: 700;
    margin: 0;
    letter-spacing: .04em;
    position: relative;
    z-index: 1;
}

.slogan-band__mark {
    font-size: 64px;
    line-height: 1;
    color: rgba(255, 255, 255, .35);
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

/* ---------- 品牌简介 ---------- */
.about__grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 60px;
    align-items: center;
}

.about__body {
    font-size: 16.5px;
    color: var(--ink-2);
}

.about__body p {
    margin: 0 0 18px;
}

.about__body p:last-child {
    margin-bottom: 0;
}

.about__points {
    display: grid;
    gap: 14px;
    margin-top: 30px;
    padding: 0;
    list-style: none;
}

.about__points li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    color: var(--ink);
}

.about__points i {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 4px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
}

.about__cards {
    display: grid;
    gap: 18px;
}

.about__card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.about__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.about__card h3 {
    margin: 0 0 8px;
    font-size: 19px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about__card h3 em {
    font-style: normal;
    font-size: 12px;
    color: var(--brand);
    background: var(--brand-soft);
    border-radius: 6px;
    padding: 2px 8px;
    letter-spacing: .1em;
}

.about__card p {
    margin: 0;
    color: var(--ink-2);
    font-size: 14.5px;
}

/* ---------- 招牌系列 ---------- */
.dishes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.dish {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: transform .28s ease, box-shadow .28s ease;
}

.dish:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.dish__thumb {
    height: 168px;
    position: relative;
    background: linear-gradient(140deg, #f7d9c4, #eab98f 55%, #dd9a5f);
    display: grid;
    place-items: center;
}

.dish__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dish__no {
    position: absolute;
    top: 14px;
    left: 16px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .18em;
    color: rgba(255, 255, 255, .9);
    background: rgba(143, 47, 30, .35);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    padding: 3px 12px;
}

.dish__body {
    padding: 24px 26px 28px;
}

.dish__body h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.dish__body p {
    margin: 0;
    color: var(--ink-2);
    font-size: 14.5px;
}

/* ---------- 门店 ---------- */
.store-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 36px;
}

.store-filter button {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    font: inherit;
    font-size: 14px;
    padding: 9px 20px;
    border-radius: 999px;
    cursor: pointer;
    transition: all .2s ease;
}

.store-filter button:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.store-filter button.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.store-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.store-card__cover {
    height: 130px;
    background: linear-gradient(135deg, rgba(200, 69, 43, .85), rgba(224, 163, 64, .85));
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .92);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: .1em;
}

.store-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-card__body {
    padding: 18px 20px 22px;
}

.store-card__city {
    font-size: 12px;
    color: var(--brand);
    letter-spacing: .16em;
    margin-bottom: 6px;
}

.store-card__name {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.45;
}

.store-card__meta {
    font-size: 13px;
    color: var(--ink-2);
    margin: 0 0 4px;
    display: flex;
    gap: 8px;
}

.store-card__meta i {
    font-style: normal;
    opacity: .7;
    flex: 0 0 auto;
}

.store-empty {
    text-align: center;
    color: var(--ink-2);
    padding: 40px 0;
}

/* ---------- 联系我们 ---------- */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr .95fr;
    gap: 46px;
    align-items: start;
}

.contact-list {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.contact-list li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 18px;
}

.contact-list span {
    display: block;
    font-size: 12px;
    letter-spacing: .16em;
    color: var(--brand);
    margin-bottom: 4px;
}

.contact-list b {
    font-size: 15.5px;
    font-weight: 600;
    word-break: break-all;
}

.contact-qr {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
}

.contact-qr img {
    width: 108px;
    height: 108px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.contact-qr__tip {
    font-size: 13px;
    color: var(--ink-2);
}

.contact-note {
    margin-top: 22px;
    font-size: 14.5px;
    color: var(--ink-2);
    background: var(--brand-soft);
    border-radius: 14px;
    padding: 16px 20px;
}

.map-wrap {
    margin-top: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
}

.map-wrap iframe {
    width: 100%;
    height: 260px;
    border: 0;
    display: block;
}

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.form-card h3 {
    margin: 0 0 6px;
    font-size: 21px;
}

.form-card > p {
    margin: 0 0 22px;
    color: var(--ink-2);
    font-size: 14px;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 13.5px;
    margin-bottom: 7px;
    color: var(--ink-2);
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: #fffdfb;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(200, 69, 43, .12);
}

.field textarea {
    min-height: 116px;
    resize: vertical;
}

.form-card .btn {
    width: 100%;
}

.alert {
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 18px;
}

.alert--ok {
    background: #eaf7ec;
    color: #2f7a3d;
    border: 1px solid #bfe3c6;
}

.alert--err {
    background: #fdeceb;
    color: #a73426;
    border: 1px solid #f3c7c2;
}

/* ---------- 页脚 ---------- */
.site-footer {
    background: #2f1d13;
    color: rgba(255, 255, 255, .72);
    padding: 56px 0 26px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer__brand {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.footer__logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 auto;
}

.footer__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.footer__name {
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    letter-spacing: .06em;
}

.footer__slogan {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.85;
    max-width: 420px;
}

.footer__col h4 {
    color: #fff;
    font-size: 15px;
    margin: 0 0 14px;
    letter-spacing: .1em;
}

.footer__col p,
.footer__col a {
    font-size: 14px;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, .68);
    display: block;
}

.footer__col a:hover {
    color: #fff;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 22px;
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

/* ---------- 浮动工具 ---------- */
.floating {
    position: fixed;
    right: 20px;
    bottom: 26px;
    z-index: 70;
    display: grid;
    gap: 12px;
    justify-items: center;
}

.floating__btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    color: var(--brand);
    cursor: pointer;
    transition: transform .2s ease, opacity .3s ease;
}

.floating__btn:hover {
    transform: translateY(-3px);
}

.floating__btn--phone {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.floating__btn--top {
    opacity: 0;
    pointer-events: none;
}

.floating__btn--top.is-show {
    opacity: 1;
    pointer-events: auto;
}

/* ---------- 滚动动画 ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
    .store-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
    .nav__menu {
        position: fixed;
        inset: 76px 0 auto 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
        padding: 8px 20px 18px;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease, transform .22s ease;
    }
    body.nav-open .nav__menu {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
    .nav__menu li { width: 100%; }
    .nav__menu a { display: block; padding: 13px 4px; border-bottom: 1px solid rgba(236, 220, 201, .7); }
    .nav__cta { display: none; }
    .nav-toggle { display: block; }
    .hero__grid,
    .about__grid,
    .contact__grid { grid-template-columns: 1fr; gap: 40px; }
    .hero { padding: 52px 0 66px; }
    .hero__art { order: -1; max-width: 420px; margin-inline: auto; }
    .hero__stats { gap: 26px; }
    .dishes { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 72px 0; }
    .section--tight { padding: 56px 0; }
}

@media (max-width: 640px) {
    .container { width: min(100% - 32px, var(--max)); }
    .section { padding: 56px 0; }
    .section--tight { padding: 44px 0; }
    .store-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .store-filter { gap: 8px; }
    .store-filter button { padding: 7px 14px; font-size: 13px; }
    .contact-list { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 26px; }
    .hero__stats { flex-wrap: wrap; gap: 20px 26px; }
    .hero__stat b { font-size: 24px; }
    .hero__badge { right: 0; padding: 10px 14px; }
    .form-card { padding: 24px 20px; }
    .brand__sub { max-width: 150px; }
    .store-card__cover { height: 104px; font-size: 24px; }
    .store-card__body { padding: 14px 15px 18px; }
    .store-card__name { font-size: 15px; }
}
