/* ============================================================
   招商加盟页改版（v2 架构）— 独立样式，不影响原 jiameng.html
   首屏/区块/流程/FAQ/页脚均复用全站 style.css，此处只做增强
   ============================================================ */

/* ===== 标题字体与首页规范对齐 ===== */
/* 首页各板块标题统一使用 'PingFang SC','Microsoft YaHei','Hiragino Sans GB'；
   本页此前多级标题继承 body 的系统字体栈（Segoe UI 优先），与首页观感不一致，此处统一。 */
.jv2-sub-sec-title,
.tp-info h3,
.jv2-cond-card h3,
.jv2-emp h3,
.jv2-faq summary,
.jv2-faq details p,
.jv2-cond-note {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
}

/* 次级板块主标题：与首页 .sec-hd h2（52px / 900 / ls1px / lh1.25）完全一致 */
.jv2-sub-sec-title {
  font-size: 52px;
  font-weight: 900;
  color: #1a1a1a;
  letter-spacing: 1px;
  line-height: 1.25;
  text-align: center;
  margin: 8px 0 28px;
}

/* ===== 待确认浮标（默认收起，点开才显示；上线前会移除） ===== */
.jv2-todo { position: fixed; right: 16px; bottom: 16px; z-index: 1900; font-family: inherit; }
.jv2-todo-fab {
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.92);
  color: #555;
  font-size: .78rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.16);
  backdrop-filter: blur(6px);
}
.jv2-todo-fab:hover { color: #d70c19; }
.jv2-todo-fab b { color: #d70c19; }
.jv2-todo-panel { display: none; }
.jv2-todo.open .jv2-todo-panel {
  display: block;
  width: 320px;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
}
.jv2-todo-panel h5 { font-size: .95rem; font-weight: 800; color: #1a1a1a; margin-bottom: 10px; }
.jv2-todo-panel ol { margin: 0 0 10px; padding-left: 18px; }
.jv2-todo-panel li { font-size: .82rem; color: #555; line-height: 1.65; margin-bottom: 6px; }
.jv2-todo-panel li b { color: #1a1a1a; }
.jv2-todo-tip { font-size: .78rem; color: #999; line-height: 1.6; margin-bottom: 10px; }
.jv2-todo-close {
  border: none; background: #f2f2f2; color: #666;
  font-size: .78rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
}
.jv2-todo-close:hover { background: #e8e8e8; }

/* ===== 1. 首屏 Hero（继承全站 .hero/.hero-jiameng，仅放宽高度容纳数据条） ===== */
.jv2-hero {
  min-height: 560px;
  height: auto;
  max-height: none;
  padding: 40px 0;
  background: #222;
}
.jv2-hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 44px;
  margin-bottom: 30px;
}
.jv2-stat { text-align: center; }
.jv2-stat b { display: block; font-size: 2rem; font-weight: 900; color: #FFD400; line-height: 1.1; }
.jv2-stat span { font-size: .9rem; color: rgba(255,255,255,.85); }
.jv2-hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== 2. 门店类型（Tab 切换，参考蜜雪式布局） ===== */
.jv2-types { margin-bottom: 34px; }

/* --- Tab 行：等分 + 选中红字红下划线 --- */
.jv2-type-tabs {
  display: flex;
  border-bottom: 1px solid #ececec;
}
.jv2-type-tab {
  flex: 1 1 0;
  position: relative;
  background: none;
  border: 0;
  padding: 20px 10px 18px;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  color: #9a9a9a;
  cursor: pointer;
  transition: color .25s;
}
.jv2-type-tab::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: transparent;
  transition: background .25s;
}
.jv2-type-tab:hover { color: #555; }
.jv2-type-tab.is-active { color: #d70c19; }
.jv2-type-tab.is-active::after { background: #d70c19; }

/* --- 面板：左图右参数 --- */
.jv2-type-panel {
  display: none;
  grid-template-columns: 1.04fr 1fr;
  gap: 54px;
  align-items: center;
  padding: 46px 6px 10px;
}
.jv2-type-panel.is-active { display: grid; animation: jv2Fade .34s ease both; }
@keyframes jv2Fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tp-media {
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f4;
  line-height: 0;
}
.tp-media img { display: block; width: 100%; height: auto; }

/* 堂食店多图滚动图集（拖滑 / 箭头 / 圆点） */
.tp-media--gallery { position: relative; }
.tp-gal {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tp-gal::-webkit-scrollbar { display: none; }
.tp-gal-slide { flex: 0 0 100%; margin: 0; line-height: 0; scroll-snap-align: center; }
.tp-gal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(0, 0, 0, .38); color: #fff;
  font-size: 22px; line-height: 1;
  opacity: 0; transition: opacity .2s ease, background .2s ease;
}
.tp-media--gallery:hover .tp-gal-nav { opacity: 1; }
.tp-gal-nav:hover { background: rgba(0, 0, 0, .6); }
.tp-gal-nav:disabled { opacity: 0; pointer-events: none; }
.tp-gal-prev { left: 10px; }
.tp-gal-next { right: 10px; }
.tp-gal-dots {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 7px;
  padding: 5px 9px; border-radius: 999px;
  background: rgba(0, 0, 0, .30);
}
.tp-gal-dots button {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .72); cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.tp-gal-dots button.is-on { width: 18px; border-radius: 4px; background: #FFD400; }
@media (max-width: 768px) {
  .tp-gal-nav { display: none; }
}

.tp-info { padding-left: 4px; }
.tp-ic {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #d70c19;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(215,12,25,.26);
}
.tp-info h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #d70c19;
  margin-bottom: 14px;
  letter-spacing: .5px;
}
.tp-specs li {
  display: flex;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.85;
  padding: 8px 0;
  border-bottom: 1px dashed #f0f0f0;
}
.tp-specs li:last-child { border-bottom: 0; }
.tp-specs .k { flex: 0 0 84px; color: #9a9a9a; }
.tp-specs .v { flex: 1; color: #333; font-weight: 600; }
.tp-specs .v em { font-style: normal; color: #d70c19; font-weight: 800; }

.jv2-formats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.jv2-format {
  background: #fff;
  border-radius: 14px;
  border-left: 5px solid var(--red, #d70c19);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  padding: 22px 20px;
  transition: transform .3s, box-shadow .3s;
}
.jv2-format:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.jv2-format .f-ic { font-size: 1.8rem; margin-bottom: 10px; }
.jv2-format h4 { font-size: 1.1rem; font-weight: 800; color: #1a1a1a; margin-bottom: 6px; line-height: 1.35; }
.jv2-format p { font-size: .85rem; color: #666; line-height: 1.6; }
.jv2-model-note {
  max-width: 920px;
  margin: 0 auto 36px;
  background: #fffaf0;
  border: 1px solid #ffe1a8;
  border-left: 4px solid #FFB300;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: .92rem;
  color: #6b5210;
  line-height: 1.75;
}

/* ===== 3. 加盟要求 & 总部支持（四列条件卡） ===== */
.jv2-cond { background: linear-gradient(180deg, #fff5f5 0%, #fff 100%); }
.jv2-cond-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 22px;
}
.jv2-cond-card {
  background: #fdf2f4;
  border: 1px solid #f6dada;
  border-radius: 14px;
  padding: 28px 22px 26px;
}
.jv2-cond-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #d70c19;
  margin-bottom: 16px;
}
.jv2-cond-card .cc-lead {
  font-size: .95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
}
.jv2-cond-card ul,
.jv2-cond-card ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.jv2-cond-card li {
  position: relative;
  padding-left: 15px;
  font-size: .92rem;
  line-height: 1.85;
  color: #4a4a4a;
  margin-bottom: 10px;
}
.jv2-cond-card li:last-child { margin-bottom: 0; }
.jv2-cond-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f09595;
}
.jv2-cond-card li b { color: #1a1a1a; }
.jv2-cond-card ol { counter-reset: cc; }
.jv2-cond-card ol li { padding-left: 21px; }
.jv2-cond-card ol li::before {
  counter-increment: cc;
  content: counter(cc) ".";
  top: .1em;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: #d70c19;
  font-weight: 800;
  font-size: .92rem;
}
/* 高亮列（加盟扶持） */
.jv2-cond-card.cc-hl {
  background: #fff;
  border: 2px solid #e8787f;
  box-shadow: 0 10px 28px rgba(215,12,25,.12);
}
.jv2-cond-note {
  text-align: center;
  font-size: .85rem;
  color: #8a8a8a;
  background: #fafafa;
  border-radius: 10px;
  padding: 12px 16px;
  max-width: 880px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== 4. 开店保障 · 六大赋能 ===== */
.jv2-empower {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.jv2-emp {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 26px;
  transition: transform .3s;
}
.jv2-emp:hover { transform: translateY(-4px); }
.jv2-emp .e-ic {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--yellow-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 14px;
}
/* 六大赋能配图：改用加盟页实拍图（2026-09-17） */
.jv2-emp .e-img {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 16 / 10;
  background: var(--yellow-bg-light);
}
.jv2-emp .e-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.jv2-emp h3 { font-size: 1.2rem; font-weight: 800; color: #d70c19; margin-bottom: 8px; letter-spacing: .3px; }
.jv2-emp p { font-size: .92rem; color: var(--ink-soft); line-height: 1.65; }
/* 解读里的强调（全局 reset 把 b 字重压平了，这里显式加回） */
.jv2-emp p b { font-weight: 800; color: #d70c19; }

/* ===== 5. 加盟流程（与首页一致，直接复用全局 .flow 图标样式） ===== */
.jv2-flow-sec { background: var(--yellow-bg-light); }

/* ===== 6. 门店实况 / 营业额实证 ===== */
.jv2-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.jv2-stat2 {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 26px 18px;
  text-align: center;
}
.jv2-stat2 b { display: block; font-size: 2.2rem; font-weight: 900; color: #d70c19; line-height: 1.1; }
.jv2-stat2 span { font-size: .95rem; color: #666; }

/* ===== 6. 门店经营案例（左图右文横向卡 · 2 列） ===== */
.jv2-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.jv2-case {
  display: grid;
  grid-template-columns: 42% 1fr;
  background: #fff;
  border: 1px solid #f1efec;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .05);
  transition: transform .3s, box-shadow .3s;
}
.jv2-case:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, .11); }
/* 图片绝对定位铺满左栏：卡片高度由右侧文案决定，避免长图/短文案产生空白 */
.jv2-case-media { position: relative; line-height: 0; overflow: hidden; min-height: 168px; }
.jv2-case-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jv2-case-tag {
  position: absolute; left: 12px; top: 12px;
  background: rgba(215, 12, 25, .92); color: #fff;
  font-size: .74rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.jv2-case-body { padding: 22px 24px; display: flex; flex-direction: column; }
.jv2-case-store { font-size: 1.1rem; font-weight: 800; color: #1a1a1a; line-height: 1.4; margin-bottom: 10px; }
.jv2-case-store span { font-size: .86rem; font-weight: 600; color: #d70c19; margin-left: 6px; }
.jv2-case-story { font-size: .9rem; color: #5c5c5c; line-height: 1.8; margin-bottom: 14px; }
.jv2-case-meta {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  margin-top: auto; padding-top: 12px; border-top: 1px dashed #eee;
}
.jv2-case-meta span { font-size: .8rem; color: #999; }
.jv2-case-meta b { color: #444; font-weight: 700; margin-right: 3px; }
.jv2-case-note { font-size: .72rem; color: #b08a2e; line-height: 1.5; margin-top: 8px; }
.jv2-case-foot { text-align: center; color: #8a8a8a; font-size: .85rem; line-height: 1.7; margin-top: 28px; }

/* ===== 7. 常见问题（复用全局 .faq，两列折叠） ===== */
.jv2-faq {
  max-width: none;                /* 覆盖全局 .faq 的 780px 单栏约束 */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  align-items: start;             /* 两列各自独立，展开某条不撑高相邻列 */
}
.jv2-faq-col { display: flex; flex-direction: column; min-width: 0; }
.jv2-faq details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.jv2-faq summary {
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1a1a1a;
}
.jv2-faq summary::-webkit-details-marker { display: none; }
.jv2-faq summary::after { content: '+'; font-size: 1.4rem; color: #d70c19; font-weight: 700; }
.jv2-faq details[open] summary::after { content: '\2212'; }
.jv2-faq details p { font-size: .92rem; color: var(--ink-soft); margin-top: 10px; line-height: 1.65; }

/* ===== 8. 留言咨询（复用全局 .inquiry-form） ===== */
.jv2-form-sec { background: #fff; padding: 72px 0 80px; }
/* 全局只定义了 .inquiry-field input，select 需补齐同款无边框样式 */
.inquiry-field select {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1.05rem;
  color: #333;
  flex: 1;
  min-width: 120px;
  padding: 6px 0;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* ===== 响应式 ===== */
/* 次级板块主标题跟随首页 .sec-hd h2 的同档缩放：1100→38px、768→26px */
@media (max-width: 1100px) {
  .jv2-sub-sec-title { font-size: 38px; }
}
@media (max-width: 980px) {
  .jv2-faq { grid-template-columns: 1fr; gap: 0; }
  .jv2-type-panel { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 6px; }
  .jv2-type-tab { font-size: 1rem; padding: 16px 6px 14px; }
  .tp-info h3 { font-size: 1.25rem; }
  .jv2-cond-card h3, .jv2-emp h3 { font-size: 1.1rem; }
  .jv2-formats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .jv2-cond-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .jv2-empower { grid-template-columns: repeat(2, 1fr); }
  .jv2-stats { grid-template-columns: repeat(2, 1fr); }
  .jv2-cases { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 640px) {
  .jv2-hero { min-height: 460px; }
  .jv2-hero-txt { padding: 64px 18px; }
  .jv2-hero p { font-size: 1rem; }
  .jv2-type-tab { font-size: .93rem; padding: 14px 4px 12px; letter-spacing: 0; }
  .tp-ic { width: 52px; height: 52px; font-size: 1.45rem; margin-bottom: 12px; }
  .tp-info h3 { font-size: 1.15rem; margin-bottom: 10px; }
  .jv2-cond-card h3, .jv2-emp h3 { font-size: 1.05rem; }
  .jv2-sub-sec-title { font-size: 26px; margin: 4px 0 20px; }
  .tp-specs li { font-size: .9rem; gap: 8px; padding: 7px 0; line-height: 1.7; }
  .tp-specs .k { flex: 0 0 70px; font-size: .86rem; }
  .jv2-formats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .jv2-format { padding: 18px 14px; }
  .jv2-format h4 { font-size: 1rem; }
  .jv2-empower { grid-template-columns: 1fr; }
  .jv2-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .jv2-stat2 b { font-size: 1.7rem; }
  .jv2-cond-grid { grid-template-columns: 1fr; gap: 14px; }
  .jv2-cond-card { padding: 22px 18px 20px; }
  /* 案例卡在窄屏改为上图下文，避免图文都被压窄 */
  .jv2-case { grid-template-columns: 1fr; }
  .jv2-case-media { min-height: 0; }
  /* 竖屏时 16:9 会裁上下，重心下移保住档口与排队客流 */
  .jv2-case-media img { position: static; height: auto; aspect-ratio: 16 / 9; object-position: center 70%; }
  .jv2-case-body { padding: 18px 18px 20px; }
  .jv2-case-store { font-size: 1.04rem; }
}
