/* 味子夫鸡柳官网 - 稳重可信红黑餐饮风格 */
/* 系统字体栈，不加载外部字体 */

:root {
  --red: #c8102e;
  --red-dark: #a00d24;
  --red-light: #e63946;
  --dark: #1a1a1a;
  --dark-soft: #2b2b2b;
  --gray-900: #222;
  --gray-700: #555;
  --gray-500: #888;
  --gray-300: #d9d9d9;
  --gray-100: #f5f5f5;
  --gray-50: #fafafa;
  --white: #ffffff;
  --gold: #d4af37;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-dark); }

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ===== 顶部导航 ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.brand-name { font-size: 20px; font-weight: 700; color: var(--dark); letter-spacing: 1px; }
.nav-links { display: flex; gap: 8px; align-items: center; list-style: none; }
.nav-links a {
  display: block;
  padding: 8px 16px;
  color: var(--gray-900);
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); background: var(--gray-50); }
.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 4px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--red-dark); color: #fff !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--dark);
  margin: 5px 0; transition: .3s;
}

/* ===== 首页 Banner ===== */
.hero {
  position: relative;
  background: var(--dark);
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  opacity: 0.55;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}
.hero-overlay h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}
.hero-overlay p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 26px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--dark); }

/* 内页通用 banner */
.page-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}
.page-banner h1 { font-size: 34px; font-weight: 800; margin-bottom: 10px; letter-spacing: 1px; }
.page-banner p { font-size: 16px; opacity: 0.85; }

/* ===== 数据统计（静态写进HTML，非JS动画） ===== */
.stats {
  background: var(--red);
  color: #fff;
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
}
.stat-item .stat-num small { font-size: 24px; font-weight: 700; }
.stat-item .stat-label { font-size: 15px; opacity: 0.9; margin-top: 6px; }

/* ===== 通用 section ===== */
.section { padding: 70px 0; }
.section-alt { background: var(--gray-50); }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.section-title .accent {
  display: block;
  width: 50px;
  height: 3px;
  background: var(--red);
  margin: 0 auto 14px;
}
.section-title p { color: var(--gray-700); font-size: 16px; }

/* ===== 品牌介绍 ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.intro-grid img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.intro-text h2 { font-size: 28px; color: var(--dark); margin-bottom: 18px; font-weight: 700; }
.intro-text p { color: var(--gray-700); margin-bottom: 14px; }

/* ===== 产品卡片 ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card img { width: 100%; height: 240px; object-fit: cover; }
.product-card-body { padding: 20px; }
.product-card-body h3 { font-size: 19px; color: var(--dark); margin-bottom: 8px; }
.product-card-body p { color: var(--gray-700); font-size: 14px; }

/* ===== 加盟流程 ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step-item {
  text-align: center;
  padding: 30px 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
.step-item::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}
.step-item h3 { font-size: 17px; color: var(--dark); margin-bottom: 8px; }
.step-item p { color: var(--gray-700); font-size: 14px; }

/* ===== 发展历程时间线 ===== */
.timeline { max-width: 800px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-300);
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--red);
}
.timeline-year { font-size: 20px; font-weight: 700; color: var(--red); margin-bottom: 6px; }
.timeline-content h3 { font-size: 17px; color: var(--dark); margin-bottom: 6px; }
.timeline-content p { color: var(--gray-700); font-size: 15px; }

/* ===== 加盟优势 ===== */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.advantage-item {
  text-align: center;
  padding: 34px 22px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--red);
}
.advantage-item h3 { font-size: 18px; color: var(--dark); margin-bottom: 10px; }
.advantage-item p { color: var(--gray-700); font-size: 14px; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q .icon { color: var(--red); font-size: 20px; transition: transform .2s; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 22px;
  color: var(--gray-700);
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 18px; }

/* ===== 联系页 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-item .ci-label { font-size: 13px; color: var(--gray-500); margin-bottom: 4px; }
.contact-info-item .ci-value { font-size: 16px; color: var(--dark); font-weight: 500; }
.contact-form { background: var(--gray-50); padding: 30px; border-radius: var(--radius); }
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 14px; color: var(--gray-700); margin-bottom: 6px; font-weight: 500; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--red); }

/* ===== 品牌文化 ===== */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.culture-item {
  padding: 34px 26px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.culture-item h3 { font-size: 19px; color: var(--red); margin-bottom: 12px; font-weight: 700; }
.culture-item p { color: var(--gray-700); font-size: 15px; }

/* ===== 门店展示 ===== */
.store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.store-grid img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 280px; object-fit: cover; }

/* ===== CTA 横幅 ===== */
.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 56px 20px;
}
.cta-band h2 { font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.cta-band p { font-size: 16px; opacity: 0.92; margin-bottom: 24px; }
.cta-band .btn-primary { background: #fff; color: var(--red); }
.cta-band .btn-primary:hover { background: var(--gray-100); color: var(--red-dark); }

/* ===== 页脚 ===== */
.footer {
  background: var(--dark);
  color: #ccc;
  padding: 50px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 30px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 36px; filter: brightness(0) invert(1); }
.footer-brand span { font-size: 18px; font-weight: 700; color: #fff; }
.footer-col p { font-size: 14px; line-height: 1.9; color: #aaa; }
.footer-col h4 { font-size: 15px; color: #fff; margin-bottom: 14px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: #aaa; font-size: 14px; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #888;
}
.footer-bottom a { color: #aaa; }
.footer-powered { margin-top: 8px; font-size: 13px; color: #888; }
.footer-powered a { color: #ccc; }

/* ===== 面包屑 ===== */
.breadcrumb { padding: 14px 0; font-size: 14px; color: var(--gray-500); }
.breadcrumb a { color: var(--gray-700); }
.breadcrumb span { margin: 0 8px; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .product-grid, .advantage-grid, .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 10px 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; }
  .nav-toggle { display: block; }
  .hero-img { height: 380px; }
  .hero-overlay h1 { font-size: 28px; }
  .hero-overlay p { font-size: 15px; }
  .stat-item .stat-num { font-size: 34px; }
  .section { padding: 50px 0; }
  .section-title h2 { font-size: 24px; }
  .page-banner { padding: 50px 20px; }
  .page-banner h1 { font-size: 26px; }
  .product-grid, .advantage-grid, .culture-grid, .store-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
