/* ============================================================
   深圳市捷智餐饮管理有限公司 · 大弗兰 官网
   设计语言：简约大气 / 现代市井湘风 / 品牌红 #E60012
   ============================================================ */

:root {
  --red: #e60012;
  --red-deep: #b3000e;
  --red-soft: #fff1f0;
  --ink: #1f1c1a;
  --ink-2: #4a4441;
  --ink-3: #8a817c;
  --paper: #ffffff;
  --paper-warm: #faf7f2;
  --line: #ece7e1;
  --gold: #c8922a;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(31, 28, 26, 0.08);
  --shadow-lg: 0 24px 70px rgba(31, 28, 26, 0.14);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --serif: "Songti SC", "STSong", "SimSun", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; height: 60px; gap: 22px; }
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo img.brand-logo { height: 36px; width: auto; }
.nav-logo .divider { width: 1px; height: 22px; background: var(--line); }
.nav-logo .company-name {
  font-size: 12px; color: var(--ink-2); letter-spacing: 1px; line-height: 1.35;
}
.nav-links { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav-links a {
  padding: 7px 13px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2);
  transition: all 0.2s ease; white-space: nowrap;
}
.nav-links a:hover { color: var(--red); background: var(--red-soft); }
.nav-links a.active { color: var(--red); font-weight: 600; background: var(--red-soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 999px; font-size: 15px; font-weight: 600;
  padding: 10px 24px; transition: all 0.2s ease; white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(230, 0, 18, 0.3); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-ghost-red { background: transparent; color: var(--red); border: 1.5px solid var(--red); }
.btn-ghost-red:hover { background: var(--red-soft); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

.user-chip {
  display: none; align-items: center; gap: 10px; cursor: pointer;
  padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; transition: all 0.2s;
}
.user-chip:hover { border-color: var(--red); }
.user-chip .avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--red);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.user-chip .uname { font-size: 13px; max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.authed .user-chip { display: inline-flex; }
body.authed #navLoginBtn { display: none; }

/* 移动端菜单 */
.menu-toggle { display: none; margin-left: auto; background: none; border: none; font-size: 26px; color: var(--ink); }
@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav { height: 56px; }
  .nav-logo .company-name { display: none; }
  .nav-logo .divider { display: none; }
  .nav-links {
    display: none; position: absolute; top: 56px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 10px 16px 16px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); gap: 4px;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 16px; }
  .nav-links .btn, .nav-links .user-chip { align-self: flex-start; margin-top: 6px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, var(--paper-warm) 100%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center;
  padding: 46px 0 44px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-soft); color: var(--red);
  font-size: 12.5px; font-weight: 600; letter-spacing: 1.5px;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1.24; font-weight: 800;
  letter-spacing: 1px; margin-bottom: 14px;
}
.hero h1 .em { color: var(--red); }
.hero .slogan {
  font-family: var(--serif); font-size: 17px; color: var(--ink-2);
  letter-spacing: 5px; margin-bottom: 12px;
}
.hero p.lead { font-size: 15px; color: var(--ink-3); max-width: 520px; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media .frame {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 5px solid #fff;
}
.hero-media .frame img { width: 100%; height: auto; }
.hero-media .stamp {
  position: absolute; left: -18px; bottom: -16px;
  background: var(--red); color: #fff; border-radius: 14px;
  padding: 12px 18px; box-shadow: 0 14px 34px rgba(230, 0, 18, 0.35);
  font-size: 12.5px; line-height: 1.45;
}
.hero-media .stamp b { display: block; font-size: 19px; letter-spacing: 2px; }
.hero-media .stamp-logo { background: #fff; padding: 12px 18px; box-shadow: 0 14px 34px rgba(31, 28, 26, 0.22); }
.hero-media .stamp-logo img { display: block; height: 36px; }
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; padding: 30px 0 34px; }
  .hero-media { order: -1; }
  .hero-media .stamp { left: 12px; bottom: -12px; }
}

/* 数据条 */
.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-cell {
  text-align: center; padding: 20px 10px; border-left: 1px solid var(--line);
}
.stat-cell:first-child { border-left: none; }
.stat-cell .num { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: var(--red); letter-spacing: 0.5px; }
.stat-cell .num small { font-size: 0.5em; font-weight: 700; margin-left: 2px; }
.stat-cell .num.long { font-size: clamp(15px, 1.7vw, 20px); letter-spacing: 0.5px; }
.stat-cell .lab { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; letter-spacing: 0.5px; }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3) { border-left: none; }
  .stat-cell { border-top: 1px solid var(--line); }
  .stat-cell:nth-child(-n+2) { border-top: none; }
}

/* ---------- 通用 Section ---------- */
.section { padding: 56px 0; }
.section.tight { padding: 40px 0; }
.section.alt { background: var(--paper-warm); }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head .eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: 3.5px; color: var(--red);
  font-weight: 700; margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(23px, 2.7vw, 32px); font-weight: 800; letter-spacing: 1.5px; }
.section-head .sub { color: var(--ink-3); margin-top: 9px; font-size: 14.5px; }
.section-head .rule {
  width: 46px; height: 3px; background: var(--red); border-radius: 2px; margin: 13px auto 0;
}

/* 卡片 */
.card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  padding: 26px; transition: all 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--red-soft);
  display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 14px;
}
.card h3 { font-size: 17.5px; margin-bottom: 9px; letter-spacing: .5px; }
.card p { font-size: 14px; color: var(--ink-2); }
.card .tag {
  display: inline-block; margin-top: 13px; font-size: 12px; color: var(--red);
  background: var(--red-soft); border-radius: 999px; padding: 3px 11px; font-weight: 600;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 36px 0; }
  .section.tight { padding: 28px 0; }
}

/* 图文混排 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split.reverse .media { order: -1; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.split .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split .media img { width: 100%; height: auto; max-height: 440px; object-fit: contain; }
/* 六大产品线：两张图统一像素尺寸(389×720)，同高居中显示，大小完全一致 */
.product-media img { display: block; height: 480px; width: auto; margin: 0 auto; border-radius: var(--radius); }
.product-media img + img { margin-top: 14px; }
.split h2 { font-size: clamp(21px, 2.2vw, 28px); font-weight: 800; letter-spacing: 1px; margin-bottom: 14px; }
.split .body-text p { color: var(--ink-2); margin-bottom: 10px; font-size: 14.5px; }
.split .body-text p b { color: var(--ink); }

/* 时间轴（默认两列卡片，缩短纵向长度） */
.timeline { position: relative; max-width: 1000px; margin: 0 auto; padding-left: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--red) 0%, #f2c9c6 100%);
}
.tl-item { position: relative; padding-bottom: 24px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.tl-item .year {
  font-size: 17px; font-weight: 800; color: var(--red); letter-spacing: .5px;
  font-family: var(--serif);
}
.tl-item h3 { font-size: 16px; margin: 2px 0 6px; letter-spacing: .5px; }
.tl-item p { color: var(--ink-2); font-size: 14px; max-width: 680px; }
@media (min-width: 921px) {
  .timeline { padding-left: 0; max-width: 1100px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 42px; }
  .timeline::before { left: 50%; transform: translateX(-1px); }
  .tl-item { padding: 0 0 0 32px; }
  .tl-item::before { left: -8px; }
  .tl-item:nth-child(odd) { padding: 0 32px 0 0; text-align: right; }
  .tl-item:nth-child(odd)::before { left: auto; right: -8px; }
  .tl-item:nth-child(odd) p { margin-left: auto; }
  .tl-item:last-child { padding-bottom: 0; }
}

/* 画廊（五列宫格：铺满一屏、无大图拖长） */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.gallery .g-item {
  position: relative; border-radius: 14px; overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 3; background: var(--paper-warm); border: 1px solid var(--line);
}
.gallery .g-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.gallery .g-item:hover img { transform: scale(1.05); }
.gallery .g-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.68));
  color: #fff; padding: 26px 12px 9px; font-size: 12.5px; letter-spacing: .5px;
}
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* 首页最新门店（2 列 · 效果图按原始比例完整展示不裁切） */
.latest-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
.latest-grid .g-item { aspect-ratio: auto; background: #fff; }
.latest-grid .g-item img { height: auto; object-fit: contain; }
@media (max-width: 1000px) { .latest-grid { grid-template-columns: 1fr; } }
/* 超宽效果图切两张并排铺满一整排 */
.latest-grid .g-span2 { grid-column: 1 / -1; }
.latest-pair .pair-imgs { display: flex; width: 100%; }
.latest-pair .pair-imgs img { width: 50%; height: auto; display: block; }
.latest-pair:hover img { transform: none; }
/* 说明文字移到图片下方，图片（含招牌与画面下缘）完整无遮挡 */
.latest-grid .g-item { cursor: default; }
.latest-grid .g-item .cap {
  position: static; color: var(--ink-2); background: #fff;
  padding: 9px 14px 11px; font-size: 13px; letter-spacing: .5px;
  border-top: 1px solid var(--line);
}

/* 特许加盟 · 我们的服务（规范页面完整呈现） */
.service-pages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 980px; margin: 0 auto; }
.service-pages figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.service-pages img { width: 100%; height: auto; display: block; }
.service-pages figcaption { padding: 10px 14px 12px; font-size: 13px; color: var(--ink-2); text-align: center; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .service-pages { grid-template-columns: 1fr; } }

/* 香港首店竖版画廊（图片完整展示不裁切） */
.gal-portrait .gallery { grid-template-columns: repeat(4, 1fr); }
.gal-portrait .g-item img { aspect-ratio: 3 / 4; object-fit: cover; background: #fff; }
@media (max-width: 1000px) { .gal-portrait .gallery { grid-template-columns: repeat(2, 1fr); } }

/* 分组画廊（门店实景按门店分三组） */
.gal-group { margin-top: 26px; }
.gal-group:first-of-type { margin-top: 0; }
.gal-group .gal-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin-bottom: 12px; letter-spacing: .5px;
}
.gal-group .gal-title::before {
  content: ""; width: 4px; height: 16px; border-radius: 2px;
  background: var(--red); flex: none;
}
.gal-group .gal-title .cnt { font-size: 12px; font-weight: 500; color: var(--ink-3); letter-spacing: 1px; }

/* 品牌早期照片（小尺寸史料图，居中相框式呈现） */
.early-photo {
  margin: 18px auto 0; max-width: 340px; text-align: center;
}
.early-photo img {
  width: 100%; border-radius: 12px; display: block;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  background: #fff; padding: 8px; box-sizing: border-box;
}
.early-photo figcaption {
  margin-top: 10px; font-size: 12.5px; color: var(--ink-3); letter-spacing: 1px;
}

/* ---------- 缩略图导航（窄屏顶替顶部文字菜单） ---------- */
.secnav { background: #fff; border-bottom: 1px solid var(--line); padding: 16px 0 18px; }
.secnav-scroll {
  display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
}
.secnav-scroll::-webkit-scrollbar { height: 6px; }
.secnav-scroll::-webkit-scrollbar-track { background: #f4efea; border-radius: 8px; }
.secnav-scroll::-webkit-scrollbar-thumb { background: #d9c8bc; border-radius: 8px; }
.secnav-scroll::-webkit-scrollbar-thumb:hover { background: var(--red); }

.sn-card {
  flex: 0 0 150px; scroll-snap-align: start; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; transition: all 0.25s ease; cursor: pointer;
}
.sn-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.sn-card.active { border-color: var(--red); box-shadow: 0 0 0 2px var(--red-soft); }
.sn-thumb {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-warm);
}
.sn-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.sn-thumb img.fit-contain { object-fit: contain; background: #fff; padding: 12px; }
.sn-card:hover .sn-thumb img { transform: scale(1.08); }
.sn-card:hover .sn-thumb img.fit-contain { transform: none; }
.sn-zoom {
  position: absolute; right: 6px; bottom: 6px; width: 24px; height: 24px;
  border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 12px;
  opacity: 0; transform: scale(.8); transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.sn-card:hover .sn-zoom { opacity: 1; transform: scale(1); }
.sn-label { padding: 8px 6px 10px; font-size: 13.5px; font-weight: 600; letter-spacing: .5px; color: var(--ink); }
.sn-card.active .sn-label { color: var(--red); }
.sn-label small { display: block; font-size: 10.5px; font-weight: 400; color: var(--ink-3); letter-spacing: 1px; margin-top: 1px; }
.secnav-hint { font-size: 12px; color: var(--ink-3); margin-top: 4px; letter-spacing: .5px; }
@media (max-width: 620px) {
  .sn-card { flex: 0 0 128px; }
  .sn-label { font-size: 13px; }
}

/* 灯箱 */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(15, 12, 11, 0.9); align-items: center; justify-content: center;
  padding: 4vh 4vw; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.lightbox .close-x {
  position: absolute; top: 22px; right: 30px; color: #fff; font-size: 34px;
  background: none; border: none; line-height: 1;
}

/* 荣誉（四列一行） */
.honor-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.honor-strip .h-card {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff;
  transition: all 0.25s;
}
.honor-strip .h-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.honor-strip .h-card .h-img { aspect-ratio: 3 / 4; overflow: hidden; background: #fff; }
.honor-strip .h-card .h-img img { width: 100%; height: 100%; object-fit: contain; }
.honor-strip .h-card .h-cap { padding: 11px 12px; font-size: 13px; text-align: center; letter-spacing: .5px; }
@media (max-width: 860px) { .honor-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .honor-strip { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; } }

/* 占位框（留白区域） */
.placeholder {
  border: 2px dashed #dccfc6; border-radius: var(--radius); background: var(--paper-warm);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--ink-3); text-align: center; padding: 22px 20px; min-height: 130px;
}
.placeholder .ph-icon { font-size: 26px; margin-bottom: 7px; opacity: 0.7; }
.placeholder .ph-title { font-size: 14.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .5px; }
.placeholder .ph-sub { font-size: 12.5px; margin-top: 4px; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, #c40010 100%);
  color: #fff; text-align: center; padding: 44px 0;
}
.cta-band h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: 2px; margin-bottom: 9px; }
.cta-band p { opacity: 0.9; margin-bottom: 20px; font-size: 14.5px; }
.cta-band .btn { background: #fff; color: var(--red); font-size: 15px; padding: 11px 34px; }
.cta-band .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.25); }

/* 页脚 */
.site-footer { background: #171412; color: #b9b0aa; padding: 42px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 30px; }
.site-footer h4 { color: #fff; font-size: 14.5px; letter-spacing: 1.5px; margin-bottom: 12px; }
.site-footer .f-brand img { height: 38px; margin-bottom: 12px; }
.site-footer p, .site-footer a { font-size: 13px; line-height: 1.95; color: #b9b0aa; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #2b2624; padding: 15px 0; font-size: 12px; color: #7d746f;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* 页面 Banner（内页） */
.page-banner {
  background: linear-gradient(120deg, #2b1410 0%, #4a1a12 55%, #6e1c10 100%);
  color: #fff; padding: 40px 0 34px; position: relative; overflow: hidden;
}
.page-banner::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px;
  border-radius: 50%; background: radial-gradient(circle, rgba(230,0,18,0.5), transparent 70%);
}
.page-banner .crumb { font-size: 12.5px; opacity: 0.72; letter-spacing: 1.5px; margin-bottom: 8px; }
.page-banner h1 { font-size: clamp(25px, 3vw, 36px); letter-spacing: 3px; font-weight: 800; }
.page-banner .pb-sub { margin-top: 8px; font-size: 14.5px; opacity: 0.85; font-family: var(--serif); letter-spacing: 2px; }
.page-banner .pb-row { display: flex; align-items: center; gap: 20px; }
.page-banner .pb-avatar {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover; flex: none;
  border: 3px solid rgba(255, 255, 255, 0.4); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}
@media (max-width: 620px) {
  .page-banner .pb-row { gap: 14px; }
  .page-banner .pb-avatar { width: 72px; height: 72px; }
}

/* 登录弹窗 */
.modal-mask {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: rgba(23, 20, 18, 0.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.open { display: flex; }
.modal {
  background: #fff; border-radius: 20px; width: min(420px, 100%);
  padding: 30px 30px 28px; position: relative; box-shadow: var(--shadow-lg);
  animation: pop 0.25s ease;
}
@keyframes pop { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal .close-x {
  position: absolute; top: 12px; right: 16px; background: none; border: none;
  font-size: 23px; color: var(--ink-3); line-height: 1;
}
.modal h3 { font-size: 20px; letter-spacing: 1.5px; margin-bottom: 5px; }
.modal .m-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 11px;
  padding: 10px 13px; font-size: 14.5px; color: var(--ink); outline: none;
  transition: border-color 0.2s; background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); }
.field .err { color: var(--red); font-size: 12.5px; margin-top: 5px; display: none; }
.field .err.show { display: block; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; }
.code-row .btn { flex-shrink: 0; min-width: 112px; }
.form-msg { font-size: 13px; margin: 4px 0 0; display: none; }
.form-msg.ok { display: block; color: #0d8a4f; }
.form-msg.bad { display: block; color: var(--red); }
.divider-line { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 12.5px; margin: 16px 0; }
.divider-line::before, .divider-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* 用户中心 */
.auth-hint {
  background: var(--red-soft); border: 1px solid #f5c9c5; border-radius: var(--radius);
  padding: 18px 22px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.auth-hint p { color: var(--ink-2); font-size: 14px; flex: 1; min-width: 220px; }
.record-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.record-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: #fff;
}
.record-item .r-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; flex-wrap: wrap; }
.record-item .r-title { font-weight: 700; font-size: 14.5px; }
.record-item .r-time { font-size: 12px; color: var(--ink-3); }
.record-item .r-body { font-size: 13.5px; color: var(--ink-2); white-space: pre-wrap; }
.record-empty { text-align: center; color: var(--ink-3); font-size: 13.5px; padding: 20px 0; }

/* 产品菜单（五列，控制纵向长度） */
.menu-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.menu-item {
  border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line);
  transition: all 0.25s;
}
.menu-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.menu-item .m-img { aspect-ratio: 1; background: var(--paper-warm); overflow: hidden; }
.menu-item .m-img img { width: 100%; height: 100%; object-fit: cover; }
.menu-item .m-cap { padding: 10px 12px 11px; }
.menu-item .m-cap .n { font-size: 13.5px; font-weight: 700; letter-spacing: .5px; }
.menu-item .m-cap .p { font-size: 12px; color: var(--red); font-weight: 600; margin-top: 2px; }
@media (max-width: 1000px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }

/* 表单区 */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field { margin-bottom: 13px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* 门店代际横滑 */
.gen-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.gen-scroll::-webkit-scrollbar { height: 8px; }
.gen-scroll::-webkit-scrollbar-thumb { background: #e4d8cf; border-radius: 8px; }
.gen-card {
  flex: 0 0 228px; scroll-snap-align: start; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: #fff; transition: all 0.25s; cursor: pointer;
}
.gen-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.gen-card .g-img { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-warm); }
.gen-card .g-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gen-card:hover .g-img img { transform: scale(1.05); }
.gen-card .g-cap { padding: 11px 13px; }
.gen-card .g-cap .t { font-weight: 700; font-size: 14px; letter-spacing: .5px; }
.gen-card .g-cap .d { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* 小字注 */
.footnote { font-size: 12px; color: var(--ink-3); margin-top: 12px; }
.badge-icp { letter-spacing: 0.5px; }

/* 页脚备案号（法规要求：底部显著展示并链接工信部） */
.footer-bottom .footer-legal { margin-right: auto; }
.footer-bottom .footer-legal a { color: #8d837e; text-decoration: none; transition: color .25s ease; }
.footer-bottom .footer-legal a:hover { color: var(--gold); text-decoration: underline; }

/* 动画进场 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 移动端进一步收紧 */
@media (max-width: 620px) {
  .hero h1 { font-size: 27px; }
  .hero p.lead { font-size: 14px; margin-bottom: 20px; }
  .card { padding: 20px; }
  .page-banner { padding: 28px 0 24px; }
  .cta-band { padding: 34px 0; }
  .site-footer { padding: 30px 0 0; }
}

/* ============================================================
   匠心叙事新增组件（2026-10-07 · 依据《202606 特许经营手册》）
   ============================================================ */

/* 匠心守味 · 四条主张 */
.craft-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.craft-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; position: relative; overflow: hidden; transition: all 0.25s ease;
}
.craft-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform 0.3s ease;
}
.craft-card:hover::before { transform: scaleY(1); }
.craft-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.craft-card .cc-no {
  font-family: var(--serif); font-size: 13px; font-weight: 700; color: var(--red);
  letter-spacing: 2px; margin-bottom: 9px;
}
.craft-card h3 { font-size: 16.5px; letter-spacing: .5px; margin-bottom: 8px; }
.craft-card p { font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 920px) { .craft-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .craft-grid { grid-template-columns: 1fr; } }

/* 数据条加宽版（4 格自适应） */
.stat-cell .num.tight-num { font-size: clamp(19px, 2.2vw, 26px); }

/* 政策表格 */
.policy-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.policy-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; }
.policy-table th, .policy-table td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.policy-table thead th { background: var(--paper-warm); font-weight: 700; font-size: 13px; color: var(--ink); letter-spacing: .5px; }
.policy-table tbody tr:last-child td { border-bottom: none; }
.policy-table tbody tr:hover { background: var(--red-soft); }
.policy-table .tname { font-weight: 700; color: var(--red); }
.policy-table .fee-note { display: block; font-size: 11.5px; color: var(--ink-soft); font-weight: 400; white-space: normal; line-height: 1.4; margin-top: 2px; }
.policy-note { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; line-height: 1.9; }
.policy-note b { color: var(--ink-2); }

/* 开店流程 */
.flow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: step; }
.flow-step {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 14px; text-align: center; position: relative; transition: all 0.25s;
}
.flow-step:hover { border-color: var(--red); box-shadow: var(--shadow); }
.flow-step .fs-no {
  width: 26px; height: 26px; margin: 0 auto 9px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 12.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.flow-step .fs-t { font-size: 13.5px; font-weight: 600; letter-spacing: .5px; }
@media (max-width: 920px) { .flow-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .flow-steps { grid-template-columns: 1fr; } }

/* 问答 */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 15px 18px; }
.faq-item .q { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.faq-item .q::before { content: "Q "; color: var(--red); font-weight: 800; }
.faq-item .a { font-size: 13.5px; color: var(--ink-2); }
.faq-item .a::before { content: "A "; color: var(--ink-3); font-weight: 800; }
@media (max-width: 720px) { .faq-list { grid-template-columns: 1fr; } }

/* 门店案例 */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case-card {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff;
  transition: all 0.25s;
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.case-card .cc-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-warm); }
.case-card .cc-img img { width: 100%; height: 100%; object-fit: cover; }
.case-card .cc-body { padding: 13px 15px; }
.case-card .cc-body .t { font-size: 14px; font-weight: 700; letter-spacing: .5px; }
.case-card .cc-body .l { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; line-height: 1.7; }
@media (max-width: 920px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .case-grid { grid-template-columns: 1fr; } }

/* 品牌动态（联名 / 公益） */
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.story-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; position: relative;
}
.story-card .s-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 1px;
  color: var(--red); background: var(--red-soft); border-radius: 999px; padding: 3px 11px; margin-bottom: 11px;
}
.story-card h3 { font-size: 16.5px; letter-spacing: .5px; margin-bottom: 9px; }
.story-card p { font-size: 13.5px; color: var(--ink-2); }
.story-card .s-high { color: var(--red); font-weight: 700; }
@media (max-width: 720px) { .story-grid { grid-template-columns: 1fr; } }

/* 引言块（匠心宣言） */
.creed {
  border-left: 3px solid var(--red); background: var(--red-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; margin-top: 18px;
}
.creed p { font-family: var(--serif); font-size: 16px; color: var(--ink); letter-spacing: 1.5px; line-height: 2; }
.creed p + p { margin-top: 8px; }
@media (max-width: 620px) { .creed p { font-size: 14.5px; letter-spacing: .5px; } }

/* 云端内容覆盖后保留换行 */
[data-ckey] { white-space: pre-line; }

/* 创始人访谈视频卡片（优酷未开放站外嵌入 → 封面跳转观看） */
.video-card {
  position: relative; display: block; max-width: 880px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(230,0,18,.5) 0%, rgba(230,0,18,0) 55%),
    radial-gradient(100% 80% at 12% 100%, rgba(230,0,18,.32) 0%, rgba(230,0,18,0) 60%),
    linear-gradient(135deg, #221d1b 0%, #14100f 100%);
}
.video-card .vc-bg {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; opacity: .96;
}
.video-card .vc-bg b {
  font-family: var(--serif); font-size: clamp(40px, 7vw, 72px); color: #fff;
  letter-spacing: 12px; text-indent: 12px; opacity: .16;
}
.video-card .vc-bg i {
  font-style: normal; font-size: 12px; color: #fff; letter-spacing: 4px; opacity: .22;
}
.video-card .vc-play {
  position: absolute; inset: 0; margin: auto; width: 78px; height: 78px;
  border-radius: 50%; background: rgba(230,0,18,.94); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; padding-left: 7px; box-shadow: 0 12px 34px rgba(0,0,0,.4);
  transition: transform .25s ease;
}
.video-card:hover .vc-play { transform: scale(1.09); }
.video-card .vc-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 34px 22px 16px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.74));
}
.video-card .vc-cap strong { display: block; font-size: 17px; letter-spacing: 1px; }
.video-card .vc-cap em { display: block; font-style: normal; font-size: 13px; opacity: .82; margin-top: 5px; letter-spacing: .5px; }
@media (max-width: 620px) {
  .video-card { border-radius: 10px; }
  .video-card .vc-cap strong { font-size: 15px; }
}
