/* ============ 基础 ============ */
:root {
  /* 闲田品牌手册 2025：主色 PANTONE 561 CP #005B49 + 辅色 PANTONE 2009 C #EEB663 */
  --green-deep: #005B49;
  --green: #267A65;
  --green-light: #E8F1EE;
  --earth: #EEB663;
  --earth-strong: #D9A14B;
  --earth-bg: #FCF5E8;
  --earth-light: #F9E9C8;
  --cream: #FDFBF8;
  --card: #ffffff;
  --ink: #1A1A1A;
  --muted: #5C5C5C;
  --line: #EDE8DD;
  --shadow: 0 8px 28px rgba(0, 91, 73, 0.12);
  --radius: 18px;
  --nav-h: 64px;
  --font-fangsong: "FangSong", "STFangsong", "Fangsong", "SimSun", "Noto Serif SC", serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--font-fangsong);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.03em;
}

img { display: block; max-width: 100%; }
/* 确保 hidden 属性始终生效（避免被 .grid 等 display 规则覆盖，导致相册返回失效） */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 18px; }

.section { padding: 56px 0; }
.section__title {
  font-size: 24px; font-weight: 700; text-align: center;
  color: var(--green-deep); margin-bottom: 8px; position: relative;
  letter-spacing: 0.1em;
}
.section__title::after {
  content: ""; display: block; width: 40px; height: 3px; border-radius: 4px;
  background: var(--earth); margin: 12px auto 0;
}
/* 全站使用仿宋，呈现中式田园气质 */
.hub-card__name, .menu-cat__name, .exp-name, .gallery-block__title,
.svc-extra__title, .review-name { font-family: var(--font-fangsong); letter-spacing: 0.04em; }
.section__sub { text-align: center; color: var(--muted); margin-bottom: 28px; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green-deep); color: #fff; box-shadow: 0 6px 16px rgba(0,92,73,.35); }
.btn--ghost { background: rgba(255,255,255,.85); color: var(--green-deep); border: 1px solid var(--line); }

/* ============ 导航 ============ */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(250, 247, 240, 0.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1080px; margin: 0 auto; height: 100%; padding: 0 18px;
  display: flex; align-items: center; gap: 14px;
}
.nav__brand { font-weight: 800; font-size: 19px; color: var(--green-deep); white-space: nowrap; }
.nav__links { display: flex; gap: 16px; margin-left: auto; }
.nav__links a { font-size: 15px; color: var(--ink); font-weight: 600; }
.nav__links a:hover { color: var(--earth); }
.nav__cta {
  background: var(--green-deep); color: #fff; padding: 8px 16px; border-radius: 999px;
  font-weight: 700; font-size: 14px; white-space: nowrap;
}
.nav__toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--green-deep); }

/* ============ 首屏 ============ */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 40px 18px;
  background-size: cover; background-position: center; background-color: var(--green-deep);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,40,33,.45), rgba(0,40,33,.65));
}
.hero__content { position: relative; z-index: 1; max-width: 720px; }
.hero__title { font-size: 40px; font-weight: 700; letter-spacing: 0.14em; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero__slogan { font-size: 18px; margin: 14px 0 6px; opacity: .95; }
.hero__sub { font-size: 14px; margin: 0 0 26px; opacity: .82; }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ 关于 ============ */
.about__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.about__text p { margin-bottom: 14px; color: #3c4233; }
.about__highlights { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about__highlights li {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow);
}
.about__highlights .ic { font-size: 22px; }

/* ============ 相册 ============ */
.gallery-tabs, .gallery-group-nav { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0 30px; }
.gallery-tabs button, .gallery-group-nav button {
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer;
  transition: all .15s ease;
}
.gallery-tabs button.active, .gallery-group-nav button.active { background: var(--green); color: #fff; border-color: var(--green); }

.gallery-block { margin-bottom: 40px; }
.gallery-block__head { margin-bottom: 16px; }
.gallery-block__title { font-size: 20px; font-weight: 800; color: var(--green-deep); }
.gallery-block__desc { color: var(--muted); font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, 1fr); } }
/* 活动相册封面：固定两列，两两对齐 */
.aggregate-covers.grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
.aggregate-covers .aggregate-cover__desc { white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; display: -webkit-box; overflow: hidden; }

.card {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 5; background: var(--green-light); box-shadow: var(--shadow);
}
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover img { transform: scale(1.06); }
.card::after {
  content: "查看大图"; position: absolute; inset: auto 0 0 0; padding: 8px;
  background: linear-gradient(transparent, rgba(0,0,0,.45)); color: #fff;
  font-size: 12px; opacity: 0; transition: opacity .2s ease;
}
.card:hover::after { opacity: 1; }

/* ============ 菜单 ============ */
.menu-cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; box-shadow: var(--shadow); }
/* 双列菜单（小院咖啡等） */
.menu-cat--grid2 .menu-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 16px; }
.menu-cat--grid2 .menu-item { padding: 9px 0; }
@media (max-width: 420px) { .menu-cat--grid2 .menu-grid2 { grid-template-columns: repeat(2, 1fr); gap: 4px 10px; } }
.menu-cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.menu-cat__name { font-size: 18px; font-weight: 800; color: var(--green-deep); }
.menu-cat__note { font-size: 12px; color: var(--earth); font-weight: 700; }
/* 双列并排菜单（趣味果饮 / 酒水饮品） */
.menu-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.menu-pair .menu-cat { margin-bottom: 0; }
@media (max-width: 420px) { .menu-pair { gap: 12px; } }
.menu-item { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.menu-item:first-of-type { border-top: 0; }
.menu-item__main { flex: 1; }
.menu-item__name { font-weight: 700; }
.menu-item__desc { font-size: 13px; color: var(--muted); }
.menu-item__price { font-weight: 800; color: var(--earth); white-space: nowrap; }
/* 现泡茶：通栏大图 + 茶位费高亮 */
.menu-banner { margin: 4px 0 14px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.menu-banner img { width: 100%; height: 220px; object-fit: cover; display: block; }
.menu-item--highlight { background: var(--earth-light); border-radius: 12px; padding: 12px 10px; box-shadow: 0 0 0 2px var(--earth) inset; }
.menu-item--highlight .menu-item__price { font-size: 17px; }
.menu-tag--茶位费 { background: var(--earth); color: #5a3d00; }
@media (max-width: 480px) { .menu-banner img { height: 160px; } }

/* ============ 联系 ============ */
.contact__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 24px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.contact-card .label { font-size: 13px; color: var(--muted); font-weight: 700; }
.contact-card .value { font-size: 18px; font-weight: 800; color: var(--green-deep); margin-top: 4px; word-break: break-all; }
.contact-card .copy { font-size: 12px; color: var(--earth-strong); cursor: pointer; font-weight: 700; }
.contact__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ 页脚 ============ */
.footer { background: var(--green-deep); color: #eef2e6; text-align: center; padding: 28px 18px; }
.footer__beian { font-size: 12px; margin-top: 10px; }
.footer__beian a { color: #eef2e6; opacity: .85; text-decoration: none; border-bottom: 1px dashed rgba(238,242,230,.4); }
.footer__beian a:hover { opacity: 1; }
.footer__tip { font-size: 12px; opacity: .7; margin-top: 6px; }

/* ============ 灯箱 ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(20, 26, 17, .92); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__img { max-width: 92vw; max-height: 82vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lightbox__close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 38px; cursor: pointer; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); border: 0; color: #fff; font-size: 40px; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox__caption { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; }

/* ============ 轻提示 ============ */
.toast {
  position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ 响应式 ============ */
@media (max-width: 720px) {
  .about__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer-banner__bg { height: 170px; }
  .footer-banner__qr { right: 12px; bottom: 12px; padding: 8px; }
  .footer-banner__qr img { width: 96px; height: 96px; }
  .hero__title { font-size: 34px; }
  .nav__links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; background: var(--cream); border-bottom: 1px solid var(--line); padding: 10px 18px; gap: 4px; }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 10px 0; }
  .nav__toggle { display: block; margin-left: auto; }
  .nav__cta { display: none; }
}

/* ============ 菜单工具按钮 ============ */
.menu__tools { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.menu__tools .btn { font-size: 14px; padding: 10px 18px; }

/* ============ 顾客评价 ============ */
.reviews__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-avatar { font-size: 30px; line-height: 1; }
.review-info { flex: 1; }
.review-name { font-weight: 800; color: var(--green-deep); font-size: 14px; }
.review-role { font-size: 11px; color: var(--muted); }
.review-stars { color: var(--earth); font-size: 12px; letter-spacing: 2px; margin-top: 2px; }
.review-text { color: #3c4233; line-height: 1.6; font-size: 13px; }

/* ============ 联系：二维码 / 名片 ============ */
/* ============ 底部通栏 banner（小火锅照片 + 叠放二维码） ============ */
.footer-banner {
  position: relative;
  margin-top: 26px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #2c2c2c;
}
.footer-banner__bg {
  display: block;
  width: 100%;
  height: auto;
}
.footer-banner__qr {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: rgba(255,255,255,.96);
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0,0,0,.32);
  text-align: center;
}
.footer-banner__qr img { display: block; width: 118px; height: 118px; }
.footer-banner__qr p { margin: 6px 0 0; font-size: 12px; color: var(--green-deep); font-weight: 700; }
.qr, .card-thumb { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.qr img { width: 160px; height: 160px; object-fit: contain; }
.qr p { font-size: 13px; color: var(--muted); }
.card-thumb img { width: 100%; max-width: 280px; border-radius: 10px; }
.card-thumb span { font-weight: 700; color: var(--green-deep); font-size: 14px; }

/* ============ 餐饮：分类图标 + 缩略图 ============ */
.menu-cat__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.menu-cat__icon { font-size: 20px; }
.menu-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.menu-item:first-of-type { border-top: 0; }
.menu-item__thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; background: var(--green-light); }
.menu-item__main { flex: 1; min-width: 0; }
.menu-item__name { font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.menu-item__desc { font-size: 13px; color: var(--muted); }
.menu-item__price { font-weight: 800; color: var(--earth-strong); white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.menu-item__old { font-size: 12px; color: #b8b3a7; text-decoration: line-through; font-weight: 500; }
.menu-item__now { color: var(--earth); font-weight: 800; }
.menu-tag {
  display: inline-block; font-size: 11px; line-height: 1; padding: 4px 8px; border-radius: 999px;
  color: #fff; font-weight: 700; letter-spacing: 0.5px;
}
.menu-tag--招牌 { background: #d23b3b; }
.menu-tag--新品 { background: var(--green-deep); }
.menu-tag--热销 { background: #f0a93b; }
.menu-tag--折扣 { background: #6c5ce7; }

/* ============ 招牌美食：套餐详情可展开 ============ */
.menu-item { flex-wrap: wrap; }
.menu-item__toggle {
  width: 100%;
  margin-top: 10px;
  background: var(--earth-bg);
  border: 1px dashed var(--earth);
  color: var(--earth-strong);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: background .15s ease, border-color .15s ease;
}
.menu-item__toggle:hover { background: #f0e6c8; }
.menu-item__toggle[aria-expanded="true"] {
  background: var(--earth);
  border-style: solid;
  border-color: var(--earth-strong);
  color: #fff;
}
.menu-item__details {
  width: 100%;
  margin-top: 10px;
  padding: 14px 16px;
  background: var(--earth-bg);
  border-radius: 12px;
  border: 1px solid var(--earth-light);
}
.menu-item__details-group { margin-bottom: 10px; }
.menu-item__details-group:last-child { margin-bottom: 0; }
.menu-item__details-title {
  font-weight: 800; color: var(--green-deep);
  font-size: 13px; margin-bottom: 6px;
  display: flex; align-items: center; gap: 6px;
}
.menu-item__details-title::before {
  content: ""; display: inline-block; width: 4px; height: 14px;
  background: var(--earth); border-radius: 2px;
}
.menu-item__details-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px;
}
.menu-item__details-list li { font-size: 13px; color: var(--ink); padding-left: 12px; position: relative; }
.menu-item__details-list li::before {
  content: "·"; position: absolute; left: 0; color: var(--earth-strong); font-weight: 800;
}
@media (max-width: 560px) {
  .menu-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px 0;
  }
  .menu-item__thumb {
    width: 100%;
    height: auto;
    max-height: 170px;
    border-radius: 12px;
    object-fit: cover;
    align-self: flex-start;
  }
  .menu-item__main { width: 100%; }
  .menu-item__name { flex-wrap: wrap; gap: 6px; font-size: 16px; }
  .menu-item__desc { word-break: break-word; }
  .menu-item__price {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    white-space: normal;
  }
  .menu-item__toggle,
  .menu-item__details { width: 100%; margin-top: 0; }
}
@media (max-width: 480px) {
  .menu-item__details-list { grid-template-columns: 1fr; }
}

/* ============ 闲田可提供服务（总览） ============ */
.services__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; margin-top: 22px;
}
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .services__grid { grid-template-columns: repeat(5, 1fr); } }
.service-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.service-card.is-link { cursor: pointer; }
.service-card.is-link:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0,92,73,.18); border-color: var(--earth); }
.service-card__link {
  display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700;
  color: var(--green); transition: color .2s ease;
}
.service-card.is-link:hover .service-card__link { color: var(--earth-strong); }
.service-card__icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--green-light);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 12px;
}
.service-card__title { font-size: 18px; font-weight: 800; color: var(--green-deep); }
.service-card__note {
  display: inline-block; margin: 6px 0 8px; font-size: 12px; color: var(--earth-strong);
  background: var(--earth-bg); border-radius: 999px; padding: 2px 10px; font-weight: 700;
}
.service-card__desc { font-size: 14px; color: var(--muted); line-height: 1.65; }
.service-card__detail { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.service-detail__row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 4px 0; }
.service-detail__row span { color: var(--muted); }
.service-detail__row b { color: var(--green-deep); font-weight: 800; }
.service-card.has-detail.is-link, .service-card.has-detail { cursor: pointer; }
.service-card.has-detail:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0,92,73,.18); border-color: var(--earth); }

/* ============ 拼羊局活动 ============ */
.sheep-card {
  background: linear-gradient(180deg, var(--card) 0%, var(--cream) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.sheep-card__body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  align-items: stretch;
}
.sheep-card__intro {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sheep-card__intro h3 {
  font-family: var(--font-fangsong);
  font-size: 26px;
  color: var(--green-deep);
  margin-bottom: 8px;
}
.sheep-card__sub {
  font-size: 15px;
  font-weight: 700;
  color: var(--earth-strong);
  margin-bottom: 14px;
}
.sheep-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 18px;
}
.sheep-card__meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.sheep-card__price {
  font-size: 22px;
  font-weight: 900;
  color: var(--green-deep);
  background: var(--earth-light);
  padding: 6px 14px;
  border-radius: 999px;
}
.sheep-card__time {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}
.sheep-card__book { align-self: flex-start; }
.sheep-card__gallery {
  padding: 14px;
  background: var(--green-deep);
  align-content: center;
}
.sheep-card__gallery .card { aspect-ratio: 1 / 1; }
.sheep-gallery-preview { margin-bottom: 12px; }
.sheep-gallery__more {
  width: 100%; display: block; margin: 4px 0 0;
  padding: 12px; border: 1px dashed var(--earth); border-radius: 12px;
  background: transparent; color: var(--earth); font-family: var(--font-fangsong);
  font-size: 14px; font-weight: 700; text-align: center; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.sheep-gallery__more:hover { background: var(--earth); color: var(--green-deep); }
.sheep-gallery-rest { margin-top: 12px; }
@media (max-width: 720px) {
  .sheep-card__body { grid-template-columns: 1fr; }
  .sheep-card__intro { padding: 22px; }
  .sheep-card__intro h3 { font-size: 22px; }
  .sheep-card__gallery { padding: 12px; }
}

/* ============ 六大体验活动 ============ */
.exp__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 720px) { .exp__grid { grid-template-columns: repeat(3, 1fr); } }
.exp-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow); overflow: hidden; }
.exp-no { position: absolute; top: 10px; right: 14px; font-size: 30px; font-weight: 900; color: var(--line); line-height: 1; }
.exp-name { font-size: 18px; font-weight: 800; color: var(--green-deep); }
.exp-dur { display: inline-block; font-size: 12px; color: var(--earth-strong); font-weight: 700; margin: 6px 0 10px; background: var(--earth-bg); padding: 2px 8px; border-radius: 999px; }
.exp-desc { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.exp-price { margin-top: 12px; font-size: 14px; font-weight: 800; color: var(--ink); }

/* ============ 顾客评价：示例标记 ============ */
.review-card { position: relative; }
.review-badge { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 700; color: #fff; background: #b9b3a4; padding: 2px 8px; border-radius: 999px; }
.review-card.is-example { border-style: dashed; }

/* ============ 环境相册：设施分类封面 ============ */
.env-covers { margin-bottom: 8px; }
.env-cover {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 5; background: var(--green-light); box-shadow: var(--shadow);
}
.env-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.env-cover:hover img { transform: scale(1.06); }
.env-cover__name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px;
  background: linear-gradient(transparent, rgba(0,40,33,.7)); color: #fff;
  font-weight: 800; font-size: 15px; text-align: center;
}
.aggregate-cover__count,
.aggregate-cover__desc {
  position: absolute; left: 0; right: 0; text-align: center; color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.45);
}
.aggregate-cover__count { bottom: 34px; font-size: 12px; opacity: .95; }
.aggregate-cover__desc {
  bottom: 8px; font-size: 11px; opacity: .88; line-height: 1.35;
  padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.aggregate-cover .env-cover__name { bottom: 50px; padding-bottom: 6px; }
.cat-block { margin-top: 18px; }
.cat-back {
  display: inline-block; margin-bottom: 14px; border: 1px solid var(--line); background: var(--card);
  color: var(--green-deep); font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; cursor: pointer;
}
.cat-back:hover { background: var(--earth-bg); }

/* ============ 餐饮：套餐档位价 / 备注 ============ */
.menu-item__tier-price { font-weight: 800; color: var(--green-deep); font-size: 13px; margin-bottom: 8px; }
.menu-item__details-note { font-size: 12px; color: var(--muted); margin-top: 8px; font-style: italic; }

/* ============ 导航 logo ============ */
.nav__logo { height: 46px; width: auto; flex: 0 0 auto; }

/* ============ 联系：实景照 + 微信二维码 ============ */
.real-photo, .wechat-qr {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; text-align: center; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.real-photo img { width: 100%; max-width: 320px; border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }
.real-photo p, .wechat-qr p { font-size: 13px; color: var(--muted); }
.wechat-qr img { width: 180px; height: 180px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; }
.wechat-qr b { color: var(--green-deep); }

/* ============ 打印：只输出菜单 ============ */
@media print {
  body { background: #fff; }
  body * { visibility: hidden; }
  .menu, .menu * { visibility: visible; }
  .menu { position: absolute; left: 0; top: 0; width: 100%; padding: 20px; }
  .menu__tools { display: none !important; }
  .menu .section__title::before {
    content: "闲田小院 · 菜单  ·  " attr(data-print-date) "\A";
    display: block; font-size: 13px; color: #999; font-weight: 500; margin-bottom: 6px; white-space: pre;
  }
  .menu .section__title { color: #2f3329; }
.menu .section__title::after { display: none; }
.menu .section__sub { display: none; }
}

/* =========================================================
   v7 升级：按《闲田品牌手册》VI 优化视觉 + 新增功能组件
   ========================================================= */

/* 导航：品牌感强化 */
.nav { box-shadow: 0 2px 16px rgba(0,92,73,.08); border-bottom-color: var(--earth-light); }
.nav__inner { gap: 12px; }
.nav__brand { font-size: 20px; letter-spacing: 1px; color: var(--green-deep); }
.nav__links a { position: relative; color: var(--ink); transition: color .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--earth); border-radius: 2px; transition: width .25s ease;
}
.nav__links a:hover { color: var(--green-deep); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  box-shadow: 0 4px 14px rgba(0,92,73,.35); transition: transform .15s, box-shadow .15s;
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,92,73,.45); }

/* Hero 品牌卡片（反白：白色标识置于深色首屏背景） */
.hero__brand {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  margin-bottom: 14px;
}
.hero__brand-logo {
  width: auto; height: auto;
  max-height: 96px; max-width: min(240px, 66vw);
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.35));
}
.hero__brand-slogan {
  font-size: 13px; letter-spacing: 4px; color: var(--earth-light);
  font-weight: 500; text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}
.hero__title {
  font-family: var(--font-fangsong);
  font-size: 38px; font-weight: 700; letter-spacing: 3px;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
  margin-top: 2px;
}
.hero__actions { margin-top: 28px; }

/* 按钮 VI 化 */
.btn { letter-spacing: 0.5px; }
.btn--primary {
  background: linear-gradient(135deg, var(--green-deep), var(--green));
}
.btn--primary:hover { box-shadow: 0 8px 22px rgba(0,92,73,.45); }
.btn--ghost:hover { background: var(--earth-bg); border-color: var(--earth); color: var(--green-deep); }

/* 区块标题 */
.section__title::after { width: 56px; height: 5px; background: var(--earth); border-radius: 3px; }

/* 卡片质感统一增强 */
.service-card, .exp-card, .review-card, .menu-cat, .contact-card, .about__highlights li, .gallery-tabs button, .gallery-group-nav button {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover, .exp-card:hover, .review-card:hover, .contact-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0,92,73,.16); }
.about__highlights li:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,92,73,.14); border-color: var(--earth); }

/* 服务卡片：图标加金边 */
.service-card__icon { background: linear-gradient(135deg, var(--green-light), #C9D9B7); box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }

/* 体验卡片：顶部金线 */
.exp-card::before {
  content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 3px;
  background: linear-gradient(90deg, var(--green-deep), var(--earth)); border-radius: 0 0 4px 4px;
}

/* 滚动入场动画 */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* 营业状态徽章 */
.biz-status { text-align: center; margin: -8px 0 24px; }
.biz-status__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.biz-status__badge.open { border-color: var(--green); color: var(--green-deep); background: #F0F7F2; }
.biz-status__badge.closed { border-color: #D32F2F; color: #C62828; background: #FFF5F5; }
.biz-status__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.biz-status__badge.open .biz-status__dot { background: #2E7D32; box-shadow: 0 0 0 4px rgba(46,125,50,.15); }
.biz-status__badge.closed .biz-status__dot { background: #C62828; box-shadow: 0 0 0 4px rgba(198,40,40,.12); }

/* 地图卡片 */
.map-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); margin: 24px 0;
}
.map-card__head { font-weight: 800; color: var(--green-deep); margin-bottom: 12px; font-size: 16px; }
.map { width: 100%; height: 320px; border: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--earth-bg); }
.map-card__nav { margin-top: 14px; width: 100%; text-align: center; }

/* 预约表单 */
.reserve {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); margin: 24px 0;
}
.reserve__title { font-size: 18px; font-weight: 800; color: var(--green-deep); margin-bottom: 16px; text-align: center; }
.reserve__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.reserve input, .reserve textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.reserve input:focus, .reserve textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,92,73,.08); }
.reserve textarea { margin-bottom: 12px; resize: vertical; }
.reserve__submit { width: 100%; border: 0; }
.reserve__tip { text-align: center; margin-top: 12px; font-size: 13px; color: var(--muted); min-height: 1.5em; }

/* 灯箱增强：手势缩放 */
.lightbox__img { transition: transform .25s ease; }
.lightbox.zoomed .lightbox__img { transform: scale(1.6); }

/* 联系区按钮 */
.contact__actions { margin-top: 14px; }
.contact__hours { text-align: center; color: var(--green-deep); font-weight: 700; margin: 8px 0 18px; font-size: 15px; }
.signup-input {
  flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 15px; font-family: inherit; background: #fff;
}
.signup-input:focus { outline: none; border-color: var(--green); }

/* ============ 拼羊局报名弹层 ============ */
.modal {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(20, 26, 17, .55); align-items: center; justify-content: center; padding: 18px;
}
.modal.open { display: flex; }
.modal__box {
  background: #fff; border-radius: var(--radius); max-width: 440px; width: 100%;
  padding: 24px 20px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.35);
  max-height: 90vh; overflow-y: auto;
}
.modal__close {
  position: absolute; top: 10px; right: 14px; background: none; border: 0;
  font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer;
}
.modal__title { font-size: 20px; font-weight: 800; color: var(--green-deep); margin-bottom: 6px; }
.modal__sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.signup-dates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
.signup-date {
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left;
  border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 10px 12px;
  cursor: pointer; transition: all .15s ease;
}
.signup-date__day { font-weight: 700; font-size: 14px; color: var(--ink); }
.signup-date__count { font-size: 12px; color: var(--earth-strong); }
.signup-date.active { border-color: var(--green-deep); background: var(--earth-bg); box-shadow: 0 0 0 2px rgba(0,92,73,.15); }
.signup-row { display: flex; gap: 12px; margin-bottom: 16px; }
.signup-field { flex: 1; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.signup-field input { width: 64px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; }
.modal__submit { width: 100%; border: 0; }
.signup__tip { margin-top: 12px; font-size: 13px; color: var(--muted); min-height: 1.4em; text-align: center; }
.signup__tip a { color: var(--green-deep); font-weight: 700; }

/* 响应式补充 */
@media (max-width: 720px) {
  .hero__brand { gap: 8px; }
  .hero__brand-logo { max-height: 76px; max-width: min(200px, 64vw); }
  .hero__title { font-size: 24px; letter-spacing: 2px; }
  .footer-banner__qr { right: 12px; bottom: 12px; padding: 8px; }
  .footer-banner__qr img { width: 96px; height: 96px; }
  .reserve__row { grid-template-columns: 1fr; }
  .map { height: 260px; }
  .signup-dates { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 58vh; }
}

/* ============ 分层视图 ============ */
.view { display: block; }
/* 首屏之外的内容视图，底部留白避开常驻操作栏 */
.view:not(.view--home) { padding-bottom: 72px; }
body { padding-bottom: 60px; }

/* 顶部返回首页 */
.nav__back {
  margin-left: auto; background: none; border: 0; cursor: pointer;
  color: var(--green-deep); font-weight: 700; font-size: 15px;
}

/* 首屏分类导航 */
.hub { padding: 26px 0 44px; }
.hub__title { margin-bottom: 4px; }
.hub__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px;
}
.hub-card {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px; box-shadow: var(--shadow); position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
}
.hub-card:active { transform: translateY(1px); }
.hub-card.active { border-color: var(--green); }
.hub-card__icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1;
  background: var(--earth-bg); color: var(--green-deep);
  border: 1px solid var(--earth-light);
}
.hub-card__name { font-size: 19px; font-weight: 800; color: var(--green-deep); margin-top: 4px; }
.hub-card__desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
.hub-card__go {
  margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--earth-strong);
}
@media (min-width: 720px) {
  .hub__grid { grid-template-columns: repeat(4, 1fr); }
}

/* 底部常驻操作栏（品牌绿底 + 金色主按钮，呼应 APP 底部导航） */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--green-deep);
  border-top: 1px solid rgba(255,255,255,0.08); box-shadow: 0 -4px 16px rgba(0, 91, 73, 0.18);
}
.actionbar__btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px;
  border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #fff;
  border-radius: 999px; padding: 11px 6px; font-weight: 700; font-size: 14px; cursor: pointer;
  text-decoration: none; transition: background .15s ease, color .15s ease;
}
.actionbar__btn--primary { background: var(--earth); color: var(--green-deep); border-color: var(--earth); }
.actionbar__btn:active, .actionbar__btn--primary:active { opacity: .92; }

/* 活动承办 / 场地租赁 卡片 */
.svc-extra {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); margin-bottom: 18px;
}
/* 活动承办 / 场地租赁 上下堆叠 */
#svcExtra .svc-extra { margin-bottom: 18px; }
#svcExtra .svc-extra:last-child { margin-bottom: 0; }
.svc-extra__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.svc-extra__icon { font-size: 24px; }
.svc-extra__title { font-size: 18px; font-weight: 800; color: var(--green-deep); }
.svc-extra__note { font-size: 12px; color: #fff; background: var(--earth); border-radius: 999px; padding: 2px 10px; }
.svc-extra__desc { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.svc-extra__detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.svc-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; border-bottom: 1px dashed var(--line); padding-bottom: 4px; }
.svc-row b { color: var(--green-deep); white-space: nowrap; }
@media (max-width: 480px) { .svc-extra__detail { grid-template-columns: 1fr; } }

