/* ===== 利衍体育官网 共享样式 ===== */
:root {
  --brand: #1f8b4c;
  --brand-dark: #14683a;
  --brand-light: #e8f6ee;
  --accent: #f5a623;
  --ink: #1f2933;
  --muted: #5b6770;
  --bg: #f6f8fa;
  --white: #ffffff;
  --shadow: 0 6px 24px rgba(31, 139, 76, .10);
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ===== 顶部导航 ===== */
.topbar {
  background: var(--brand-dark);
  color: #cdeedd;
  font-size: 14px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  flex-wrap: wrap; gap: 6px;
}
.topbar a { color: #cdeedd; }
.topbar a:hover { color: #fff; }

.navbar {
  background: var(--white);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.logo .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; display: grid; place-items: center; font-size: 20px;
}
.logo .name { font-size: 20px; color: var(--brand-dark); }
.logo .name small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 1px; }

.nav { display: flex; gap: 6px; list-style: none; }
.nav a {
  padding: 9px 16px; border-radius: 8px; color: var(--ink); font-weight: 600;
  transition: .2s;
}
.nav a:hover, .nav a.active { background: var(--brand-light); color: var(--brand-dark); }

.menu-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--brand-dark); cursor: pointer; }

/* ===== 英雄区 ===== */
.hero {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff; padding: 70px 0;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.hero::before {
  content: ""; position: absolute; left: -60px; bottom: -100px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(245,166,35,.18);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 40px; line-height: 1.25; margin-bottom: 16px; }
.hero p { font-size: 18px; max-width: 640px; color: #e4f5ec; }
.hero .btn-row { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 28px; border-radius: 30px;
  font-weight: 700; transition: .2s; cursor: pointer; border: 0;
}
.btn-primary { background: var(--accent); color: #2a1a00; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,166,35,.4); }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.28); }

/* ===== 区块通用 ===== */
.section { padding: 64px 0; }
.section.alt { background: var(--white); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .eyebrow { color: var(--brand); font-weight: 700; letter-spacing: 2px; font-size: 14px; }
.section-head h2 { font-size: 30px; color: var(--brand-dark); margin: 6px 0 10px; }
.section-head p { color: var(--muted); max-width: 680px; margin: 0 auto; }

/* ===== 卡片网格 ===== */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  transition: .25s; border: 1px solid #eef2f0;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(31,139,76,.18); }
.card .icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--brand-light); color: var(--brand);
  display: grid; place-items: center; font-size: 26px; margin-bottom: 16px;
}
.card h3 { color: var(--brand-dark); margin-bottom: 8px; font-size: 19px; }
.card p { color: var(--muted); font-size: 15px; }

/* ===== 产品/列表卡片 ===== */
.product {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid #eef2f0; transition: .25s;
}
.product:hover { transform: translateY(-6px); }
.product .thumb {
  height: 160px; display: grid; place-items: center; font-size: 56px;
  background: linear-gradient(135deg, var(--brand-light), #fff);
}
.product .body { padding: 18px 20px 22px; }
.product .body h3 { color: var(--brand-dark); font-size: 18px; }
.product .body .price { color: var(--accent); font-weight: 800; font-size: 18px; margin: 6px 0; }
.product .body p { color: var(--muted); font-size: 14px; }

/* ===== 场地 ===== */
.venue-card { display: flex; gap: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid #eef2f0; }
.venue-card .pic { flex: 0 0 38%; display: grid; place-items: center; font-size: 60px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: rgba(255,255,255,.85); }
.venue-card .info { padding: 22px 26px; }
.venue-card .info h3 { color: var(--brand-dark); font-size: 20px; margin-bottom: 8px; }
.venue-card .info ul { list-style: none; color: var(--muted); font-size: 15px; }
.venue-card .info ul li { padding: 3px 0; border-bottom: 1px dashed #eee; }
.venue-card .info ul li b { color: var(--ink); }

/* ===== 数据条 ===== */
.stats { background: var(--brand-dark); color: #fff; }
.stats .grid-4 { text-align: center; }
.stats .num { font-size: 36px; font-weight: 800; color: var(--accent); }
.stats .label { color: #cdeedd; font-size: 15px; }

/* ===== 流程步骤 ===== */
.steps { counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: relative; }
.step h3 { color: var(--brand-dark); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -16px; left: 20px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #2a1a00; font-weight: 800;
  display: grid; place-items: center;
}

/* ===== 关于/联系 ===== */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.about-grid h2 { color: var(--brand-dark); font-size: 28px; margin-bottom: 14px; }
.about-grid p { color: var(--muted); margin-bottom: 12px; }
.feature-list { list-style: none; }
.feature-list li { padding: 8px 0 8px 28px; position: relative; color: var(--ink); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

.info-box { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.info-box h3 { color: var(--brand-dark); margin-bottom: 14px; }
.info-box .line { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #eee; color: var(--muted); }
.info-box .line .k { color: var(--brand); font-weight: 700; min-width: 70px; }

/* ===== 页脚 ===== */
.footer { background: #122c20; color: #b9cdc2; padding: 48px 0 20px; }
.footer .grid-4 { gap: 30px; }
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 16px; }
.footer a { color: #b9cdc2; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; }
.footer ul li { padding: 4px 0; }
.footer .bottom { text-align: center; border-top: 1px solid rgba(255,255,255,.08); margin-top: 30px; padding-top: 18px; font-size: 14px; color: #8aa597; }

/* ===== 面包屑 ===== */
.crumb { background: var(--brand-light); padding: 14px 0; font-size: 14px; color: var(--muted); }
.crumb a { color: var(--brand); }

/* ===== 响应式 ===== */
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .venue-card { flex-direction: column; }
  .venue-card .pic { flex-basis: 120px; }
}
@media (max-width: 640px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px; box-shadow: 0 8px 16px rgba(0,0,0,.1); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
}
