﻿:root {
  --green: #7ea93f;
  --deep-green: #5c7e2e;
  --light-bg: #f8f8f2;
  --text: #2b2b2b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body .corner-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  box-shadow: none;
  display: block;
}

.top-nav {
  height: 58px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e8e8e8;
  display: grid;
  grid-template-columns: auto 1fr 320px;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  backdrop-filter: blur(6px);
}

.top-nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-nav .top-nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #4e4e4e;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 4px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}

.top-nav .top-nav-trigger-icon {
  font-size: 18px;
  line-height: 1;
  width: 18px;
  text-align: center;
}

.top-nav .top-nav-trigger.is-open .top-nav-trigger-icon {
  font-size: 22px;
}

.top-nav-logo {
  width: 120px;
  height: 36px;
  display: inline-flex;
  align-items: center;
}

.top-nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.top-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  justify-content: flex-start;
}

.top-nav-links a {
  color: #3f3f3f;
  text-decoration: none;
  font-size: 16px;
}

.top-nav-links a:hover {
  color: var(--deep-green);
}

.top-nav-search input {
  width: 100%;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
}

.top-nav-search input:focus {
  border-color: #b4c58f;
}

.top-nav-end {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.top-nav-end .top-nav-search {
  flex: 1;
  min-width: 0;
}

.top-nav-search-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #4e4e4e;
  cursor: pointer;
  flex-shrink: 0;
}

.top-nav-search-toggle:hover,
.top-nav-search-toggle:focus-visible {
  color: var(--deep-green);
  background: #f3f6ee;
  outline: none;
}

.top-nav-search-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.corner-menu.is-search-open .top-nav-search-toggle {
  color: var(--deep-green);
  background: #eef5e4;
}

body .mega-menu {
  top: 58px;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
}

/* 顶栏 fixed 不占文档流，内页横幅需留出同等高度，避免背景图被遮挡 */
.about-top-banner {
  margin-top: 58px;
}

.mega-header {
  height: auto;
  min-height: 82px;
}

.mega-topbar {
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
}

.mega-topbar h2 {
  margin: 0;
  text-align: left;
  font-size: 22px;
  letter-spacing: 1px;
}

.mega-topbar p {
  margin-top: 6px;
  font-size: 13px;
  color: #5b5b5b;
}

.mega-close-inline {
  width: auto;
  height: auto;
  background: #f3f3f3;
  color: #3f3f3f;
  border: 1px solid #dfdfdf;
  border-radius: 6px;
  font-size: 13px;
  padding: 7px 14px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.mega-close-inline:hover {
  background: #ebebeb;
}

.mega-main {
  padding: 16px 18px 18px;
  overflow: auto;
  background: #f6f7f4;
}

.mega-console {
  display: grid;
  gap: 12px;
}

.mega-group h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #4b4b4b;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-group-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #2169de;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
}

.mega-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mega-tile {
  background: #f0f0f0;
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 16px 18px;
  min-height: 88px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  color: #3f3f3f;
}

.mega-tile strong {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.18;
  color: #2e2e2e;
}

.mega-tile span {
  font-size: 13px;
  line-height: 1.25;
  color: #7b7b7b;
}

.mega-tile:hover {
  background: #ebebeb;
}

/* —— 乡野农庄体验入口（首页菜单面板） —— */
.mega-main.mega-main--experience {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: #f7f4ef;
  padding: 22px 36px 20px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 114, 104, 0.35) transparent;
}

.mega-main.mega-main--experience::-webkit-scrollbar {
  width: 5px;
}

.mega-main.mega-main--experience::-webkit-scrollbar-thumb {
  background: rgba(122, 114, 104, 0.3);
  border-radius: 4px;
}

.experience-entry {
  max-width: 940px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  min-height: min(100%, 640px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.experience-entry__head {
  flex-shrink: 0;
  padding-right: 8px;
}

.experience-entry__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9a8f7e;
  font-weight: 400;
}

.experience-entry__title {
  margin: 0;
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #3d3830;
  line-height: 1.35;
}

.experience-entry__lead {
  margin: 10px 0 0;
  max-width: 34em;
  font-size: 13px;
  line-height: 1.65;
  color: #7a7268;
  font-weight: 300;
}

.experience-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: minmax(128px, 1.22fr) minmax(100px, 0.9fr) minmax(100px, 0.9fr);
  gap: 12px;
}

.exp-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  color: #faf8f4;
  isolation: isolate;
  box-shadow: 0 4px 24px rgba(52, 44, 32, 0.06);
  transition: box-shadow 480ms cubic-bezier(0.22, 1, 0.36, 1), transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.exp-card__media {
  position: absolute;
  inset: 0;
  background-image: var(--exp-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: saturate(0.72) contrast(0.96) brightness(0.94);
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1), filter 520ms ease;
}

.exp-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
  transition: opacity 480ms ease, background 480ms ease;
}

.mega-main--experience .exp-card__cta {
  display: none;
}

.mega-main--experience .exp-card__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.45;
  margin-top: 2px;
}

.mega-main--experience .exp-card--farm .exp-card__desc {
  -webkit-line-clamp: 2;
}

.exp-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 16px 18px;
  gap: 4px;
}

.exp-card__tag {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.72);
  margin-bottom: 2px;
}

.exp-card__title {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.exp-card__desc {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(250, 248, 244, 0.78);
  font-weight: 300;
  max-width: 22em;
}

.exp-card__cta {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(250, 248, 244, 0.55);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 380ms ease, transform 380ms ease, color 380ms ease;
}

.exp-card--farm {
  grid-column: 1 / 6;
  grid-row: 1 / 4;
}

.exp-card--bbq {
  grid-column: 6 / 9;
  grid-row: 1 / 2;
}

.exp-card--food {
  grid-column: 9 / 13;
  grid-row: 1 / 2;
}

.exp-card--craft {
  grid-column: 6 / 9;
  grid-row: 2 / 4;
}

.exp-card--eco {
  grid-column: 9 / 13;
  grid-row: 2 / 4;
}

.exp-card:hover,
.exp-card:focus-visible {
  box-shadow: 0 12px 40px rgba(52, 44, 32, 0.14);
  transform: translateY(-2px);
  outline: none;
}

.exp-card:hover .exp-card__media,
.exp-card:focus-visible .exp-card__media {
  transform: scale(1.06);
  filter: saturate(0.82) contrast(1) brightness(1);
}

.exp-card:hover .exp-card__shade,
.exp-card:focus-visible .exp-card__shade {
  background: linear-gradient(
    165deg,
    rgba(0, 0, 0, 0.03) 0%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

.exp-card:hover .exp-card__cta,
.exp-card:focus-visible .exp-card__cta {
  opacity: 1;
  transform: translateY(0);
  color: rgba(235, 220, 190, 0.95);
}

.experience-services {
  flex-shrink: 0;
  padding-top: 2px;
  border-top: 1px solid rgba(122, 114, 104, 0.12);
}

.experience-services__label {
  margin: 14px 0 10px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #9a8f7e;
}

.experience-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px;
  background: rgba(255, 252, 247, 0.72);
  border: 1px solid rgba(122, 114, 104, 0.14);
  border-radius: 10px;
  text-decoration: none;
  color: #3d3830;
  box-shadow: 0 2px 12px rgba(52, 44, 32, 0.04);
  transition: background 280ms ease, border-color 280ms ease, box-shadow 280ms ease, transform 280ms ease;
}

.service-link::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #b8a88a;
  border-radius: 1px;
  margin-bottom: 2px;
  transition: width 280ms ease, background 280ms ease;
}

.service-link__title {
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.service-link__desc {
  font-size: 11px;
  line-height: 1.45;
  color: #7a7268;
  font-weight: 300;
}

.service-link:hover,
.service-link:focus-visible {
  background: #fffdf9;
  border-color: rgba(74, 107, 58, 0.28);
  box-shadow: 0 6px 20px rgba(52, 44, 32, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.service-link:hover::before,
.service-link:focus-visible::before {
  width: 28px;
  background: #6d8a3a;
}

.corner-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 12;
  display: flex;
  align-items: stretch;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.corner-tile {
  width: 96px;
  height: 96px;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}

.corner-tile span:last-child {
  font-size: 14px;
  line-height: 1;
}

.corner-icon {
  font-size: 42px;
  line-height: 1;
}

.corner-menu-btn {
  background: #56524d;
}

.corner-phone-btn {
  background: #f0ab39;
}

.corner-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 248px;
  background: rgba(35, 35, 35, 0.95);
  border-radius: 4px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.corner-panel a {
  display: block;
  color: #f2f2f2;
  text-decoration: none;
  padding: 10px 16px;
  font-size: 24px;
}

.corner-panel a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.corner-menu.is-open .corner-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(36, 32, 26, 0.42);
  backdrop-filter: blur(4px);
  display: grid;
  grid-template-columns: 1fr 360px;
  grid-template-rows: 1fr;
  align-items: stretch;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.mega-menu > .mega-left-pane,
.mega-menu > .mega-map {
  min-height: 0;
}

.mega-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mega-left-pane {
  background: #f7f4ef;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  box-shadow: 8px 0 48px rgba(36, 32, 26, 0.08);
}

.mega-header {
  height: 96px;
  display: grid;
  grid-template-columns: 192px 1fr;
  border-bottom: 1px solid #e6e6e6;
}

.mega-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mega-close,
.mega-phone-mini {
  border: 0;
  width: 100%;
  height: 96px;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.mega-close span:last-child,
.mega-phone-mini span:last-child {
  font-size: 14px;
  line-height: 1;
}

.mega-close {
  background: #44403b;
}

.mega-phone-mini {
  background: #f0ab39;
}

.btn-icon {
  font-size: 42px;
  line-height: 1;
}

.mega-main {
  background: #f8f8f8;
  overflow: hidden;
  flex: 1;
}

.mega-topbar {
  height: 72px;
  background: #fff;
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
}

.mega-logo-slot {
  width: 150px;
  height: 52px;
  display: flex;
  align-items: center;
  border-radius: 2px;
}

.mega-logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mega-topbar p {
  margin: 0;
  font-size: 11px;
  color: #3f3f3f;
  line-height: 1.45;
}

.mega-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 2px;
  height: 100%;
}

.mega-item {
  position: relative;
  min-height: 0;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.mega-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.18));
}

.mega-item span,
.mega-item b {
  position: relative;
  z-index: 1;
}

.mega-item b {
  font-size: 24px;
  color: #ffb31a;
}

/* —— 农场到访信息卡（菜单右侧） —— */
.mega-map.visit-panel {
  background: #f7f4ef;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  border-left: 1px solid rgba(122, 114, 104, 0.12);
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 114, 104, 0.3) transparent;
}

.visit-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 26px 24px;
  min-height: 100%;
}

.visit-card__head {
  flex-shrink: 0;
}

.visit-card__eyebrow {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9a8f7e;
  font-weight: 400;
}

.visit-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #3d3830;
  line-height: 1.35;
}

.visit-card__verse {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #5c554c;
  font-weight: 300;
}

.visit-card__intro {
  margin: 0;
}

.visit-card__intro p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #7a7268;
  font-weight: 300;
}

.visit-card__meta {
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(122, 114, 104, 0.14);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.visit-card__meta-item {
  margin: 0;
}

.visit-card__meta-item dt {
  margin: 0 0 4px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a8f7e;
  font-weight: 400;
}

.visit-card__meta-item dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #3d3830;
  font-weight: 300;
}

.visit-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding-top: 4px;
}

.visit-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid rgba(122, 114, 104, 0.28);
  background: none;
  color: #6f665c;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: color 220ms ease, border-color 220ms ease;
}

.visit-link::after {
  content: "→";
  font-size: 11px;
  opacity: 0.45;
  transition: transform 220ms ease, opacity 220ms ease;
}

.visit-link:hover,
.visit-link:focus-visible {
  color: #4a6b3a;
  border-color: rgba(74, 107, 58, 0.45);
  outline: none;
}

.visit-link:hover::after,
.visit-link:focus-visible::after {
  transform: translateX(3px);
  opacity: 0.85;
}

.visit-link--emphasis {
  color: #3d3830;
  border-bottom-width: 2px;
  border-bottom-color: rgba(74, 107, 58, 0.38);
  letter-spacing: 0.16em;
}

.visit-link--map::after {
  content: "↗";
  transform: none;
}

.visit-link--map:hover::after {
  transform: translate(2px, -2px);
}

.visit-map-compact.map-box {
  position: relative;
  flex-shrink: 0;
  height: 168px;
  border-radius: 12px;
  overflow: hidden;
  background: #e8e4dc;
  border: 1px solid rgba(122, 114, 104, 0.12);
}

.visit-map-compact .map-preview.visit-map-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  text-decoration: none;
  background: linear-gradient(
    165deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.35) 100%
  ),
  url("images/Loading5.jpg") center / cover no-repeat;
  transition: filter 280ms ease;
}

.visit-map-compact .map-preview.visit-map-fallback:hover {
  filter: brightness(1.04);
}

.visit-map-fallback__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(250, 248, 244, 0.92);
  padding: 6px 12px;
  border-bottom: 1px solid rgba(250, 248, 244, 0.5);
}

.map-preview[hidden] {
  display: none !important;
}

.visit-map-compact .menu-baidu-map {
  width: 100%;
  height: 168px;
  min-height: 168px;
  background: #e8e4dc;
  filter: saturate(0.85);
}

.menu-baidu-map[hidden] {
  display: none !important;
}

.menu-baidu-map .anchorBL,
.menu-baidu-map .BMap_cpyCtrl {
  display: none !important;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 540px;
  overflow: hidden;
}

.hero-track {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  background-color: #3d5a3a;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 700ms ease, transform 700ms ease;
  pointer-events: none;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* 底部装裱条：BN.png 常为纯黑底 + 浅色 logo。黑底本应用 mix-blend-mode:screen 透出轮播；仅写在 img 上时部分浏览器会整块发黑。
   默认：screen 写在容器上更稳。若支持 mask-type:luminance，则改用亮度蒙版抠除纯黑，不依赖混合模式。 */
.hero-bn-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(45vh, 420px);
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
}

.hero-bn-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  mix-blend-mode: normal;
}

@supports (mask-type: luminance) {
  .hero-bn-overlay {
    mix-blend-mode: normal;
  }

  .hero-bn-overlay img {
    -webkit-mask-image: url("images/BN.png");
    mask-image: url("images/BN.png");
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-position: center bottom;
    mask-position: center bottom;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    mask-type: luminance;
  }
}

.hero-captions {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 500ms ease;
}

.hero-caption.is-active {
  opacity: 1;
  visibility: visible;
}

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

.hero-content {
  animation: riseIn 800ms ease;
}

.hero-slider h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 46px);
  margin: 0 0 12px;
  letter-spacing: 2px;
}

.hero-subtitle {
  color: #f5f5f5;
  margin: 0;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  transition: background 200ms ease;
}

.hero-nav:hover {
  background: rgba(0, 0, 0, 0.55);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease;
}

.hero-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.news-dynamics {
  padding: 48px 0 80px;
  background: #fff;
}

.news-dynamics-head {
  margin-bottom: 48px;
}

.news-dynamics-head-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 22px 32px;
  flex-wrap: wrap;
}

.news-dynamics-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.news-dynamics-icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

.news-dynamics-rule-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 96px;
}

.news-dynamics-rule-line {
  flex: 1;
  min-width: 20px;
  height: 0;
  border-top: 1px solid #d6d6ce;
}

.news-dynamics-leaf {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.news-dynamics-title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 700;
  color: var(--green);
  letter-spacing: 4px;
  line-height: 1.2;
}

.news-dynamics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
}

.news-dynamics-col {
  min-width: 0;
}

.news-dynamics-bar {
  margin: 0;
  padding: 14px 18px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 4px;
}

.news-dynamics-bar--orange {
  background: #f0ab39;
}

.news-dynamics-bar--green {
  background: var(--deep-green);
}

.news-dynamics-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-dynamics-list li:not(:last-child)::after {
  content: "";
  display: block;
  margin: 0 18px;
  border-bottom: 1px dotted #d0d0c8;
}

.news-dynamics-link {
  display: flex;
  align-items: baseline;
  gap: 18px 28px;
  flex-wrap: wrap;
  padding: 18px 10px;
  text-decoration: none;
  color: inherit;
  transition: background 180ms ease;
}

.news-dynamics-link:hover {
  background: rgba(124, 169, 63, 0.05);
}

.news-dynamics-link time {
  flex-shrink: 0;
  font-size: 14px;
  color: #a8a8a8;
  font-variant-numeric: tabular-nums;
}

.news-dynamics-link-text {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  color: var(--deep-green);
  line-height: 1.65;
  text-align: left;
}

.news-dynamics-link:hover .news-dynamics-link-text {
  color: var(--deep-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-dynamics-more {
  display: block;
  width: fit-content;
  margin: 32px auto 0;
  padding: 10px 32px;
  border: 0;
  border-radius: 10px 16px 12px 14px / 14px 12px 16px 10px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
  transition: background 200ms ease, transform 200ms ease;
}

.news-dynamics-more:hover {
  background: var(--deep-green);
  transform: translateY(-1px) rotate(-0.3deg);
}

.section {
  padding: 64px 0;
}

h2 {
  margin: 0 0 28px;
  text-align: center;
  color: var(--deep-green);
  font-size: 30px;
}

.cards {
  display: grid;
  gap: 20px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid #e8e8e8;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin-top: 0;
  color: #5f5f5f;
}

.card a,
.contact a {
  display: inline-block;
  margin-top: 8px;
  color: #fff;
  background: var(--green);
  padding: 7px 16px;
  border-radius: 20px;
  text-decoration: none;
}

.gallery-wrap {
  background: var(--light-bg);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  transition: transform 260ms ease;
}

.gallery img:hover {
  transform: scale(1.04);
}

.feature-icons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  text-align: center;
}

.eco-showcase {
  padding-top: 44px;
  padding-bottom: 76px;
}

.eco-showcase h2 {
  margin-bottom: 10px;
}

.eco-subtitle {
  margin: 0 auto 34px;
  text-align: center;
  color: #9a9a9a;
  font-size: 20px;
  letter-spacing: 1px;
}

.feature-icons--image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.feature-icons-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 44px;
  width: 100%;
  max-width: calc(190px * 4 + 44px * 3);
  margin-left: auto;
  margin-right: auto;
}

.icon-item {
  background: #fdfdfd;
  border: 1px solid #efefef;
  border-radius: 8px;
  padding: 20px 10px;
}

.icon-item--image {
  width: min(190px, 100%);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.icon-item--image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

.icon-item--image p {
  margin: 4px 0 0;
  color: #8a8a8a;
  font-size: 20px;
}

.icon-item span {
  font-size: 34px;
  display: block;
  margin-bottom: 6px;
}

.video-section {
  background: #eee9dd;
}

.video-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: start;
}

.video-copy h2 {
  margin: 0 0 18px;
  text-align: left;
  color: var(--deep-green);
  letter-spacing: 2px;
}

.video-copy p {
  margin: 0;
  color: #3f3f3f;
  font-size: 21px;
  line-height: 1.9;
}

.video-box {
  width: 100%;
  min-height: 320px;
  background: #d7d7d9;
  border-radius: 2px;
  display: grid;
  place-items: center;
}

.video-placeholder-icon {
  font-size: 62px;
  line-height: 1;
  opacity: 0.7;
}

.vitality-section {
  background: #f6f4ef;
}

.vitality-head {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 26px;
}

.vitality-titleline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.vitality-icon {
  font-size: 34px;
  line-height: 1;
}

.vitality-titleline h2 {
  margin: 0;
  text-align: center;
  color: var(--deep-green);
  letter-spacing: 4px;
  font-size: clamp(24px, 2.6vw, 34px);
}

.vitality-rule {
  width: min(520px, 86%);
  height: 0;
  border-top: 2px solid rgba(92, 126, 46, 0.25);
}

.vitality-copy {
  width: min(760px, 92%);
  margin: 0 auto;
  text-align: center;
  color: #3f3f3f;
  font-size: 16px;
  line-height: 1.85;
}

.vitality-copy p {
  margin: 0;
}

.vitality-copy p + p {
  margin-top: 10px;
}

.vitality-more {
  display: inline-block;
  margin-top: 26px;
  padding: 10px 36px;
  border-radius: 6px;
  background: var(--deep-green);
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
}

.site-footer {
  margin-top: 26px;
  background: linear-gradient(180deg, #77a33f 0%, #5f8a2f 100%);
  color: #f4f8e8;
  padding: 52px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
  align-items: start;
}

.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 14px;
}

.footer-brand .footer-logo img {
  display: block;
  height: 42px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(244, 248, 232, 0.92);
  max-width: 320px;
}

.footer-address {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(244, 248, 232, 0.82);
}

.footer-nav h3,
.footer-contact h3 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li + li {
  margin-top: 10px;
}

.footer-nav a,
.footer-contact a {
  color: #eef7dd;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-beian a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-phone {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-phone a {
  color: #fff;
  text-decoration: none;
}

.footer-contact-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(244, 248, 232, 0.78);
  max-width: 240px;
}

.footer-divider {
  margin: 40px 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 20px 0 24px;
  font-size: 13px;
  color: rgba(244, 248, 232, 0.85);
}

.footer-copy {
  margin: 0;
}

.footer-beian {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 20px;
}

.footer-beian a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(244, 248, 232, 0.9);
  text-decoration: none;
  white-space: nowrap;
}

.footer-beian-police .footer-beian-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

/* 兼容旧类名（若其他页仍引用） */
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

.site-footer h3 {
  margin-top: 0;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a {
  color: #eef7dd;
  text-decoration: none;
}

/* 统一内页左侧菜单分隔线（覆盖各页面内联样式） */
.about-side-primary a,
.about-side-primary button {
  border-bottom: 2px solid #fff !important;
}

.about-side-primary li:last-child > a,
.about-side-primary li:last-child > button {
  border-bottom: 0 !important;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  html {
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px;
  }

  .top-nav {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 0 10px;
    height: 54px;
    position: relative;
  }

  .corner-menu {
    position: relative;
  }

  .top-nav-links {
    display: none;
  }

  .top-nav-end {
    justify-content: flex-end;
  }

  .top-nav-search-toggle {
    display: inline-flex;
  }

  .top-nav-search {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 2;
    display: none;
    padding: 8px 10px 10px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  }

  .corner-menu.is-search-open .top-nav-search {
    display: block;
  }

  .top-nav-search input {
    height: 40px;
    font-size: 16px;
  }

  body .mega-menu {
    top: 54px;
    bottom: 0;
    height: auto;
  }

  body.search-panel-open .mega-menu {
    top: calc(54px + 56px);
  }

  .about-top-banner {
    margin-top: 54px;
  }

  .mega-tiles {
    grid-template-columns: 1fr;
  }

  .mega-main.mega-main--experience {
    padding: 18px 20px 16px;
  }

  .experience-entry {
    gap: 14px;
    min-height: 0;
  }

  .experience-grid {
    flex: none;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, minmax(120px, 140px));
    gap: 10px;
  }

  .exp-card--farm,
  .exp-card--bbq,
  .exp-card--food,
  .exp-card--craft,
  .exp-card--eco {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  .exp-card--farm {
    grid-column: 1 / -1;
  }

  .experience-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body .corner-menu {
    top: 0;
    left: 0;
  }

  .corner-tile {
    width: 80px;
    height: 80px;
    font-size: 14px;
  }

  .corner-tile span:last-child {
    font-size: 12px;
  }

  .corner-icon {
    font-size: 34px;
  }

  .corner-panel {
    min-width: 192px;
  }

  .corner-panel a {
    font-size: 18px;
  }

  .mega-map {
    display: none;
  }

  .mega-menu {
    grid-template-columns: 1fr;
  }

  .mega-header {
    grid-template-columns: 160px 1fr;
    height: 80px;
  }

  .mega-close,
  .mega-phone-mini {
    height: 80px;
    font-size: 14px;
    gap: 6px;
  }

  .mega-close span:last-child,
  .mega-phone-mini span:last-child {
    font-size: 12px;
  }

  .btn-icon {
    font-size: 34px;
  }

  .mega-item {
    min-height: 74px;
    font-size: 14px;
  }

  .mega-topbar {
    grid-template-columns: 98px 1fr;
    height: 66px;
  }

  .mega-logo-slot {
    width: 88px;
    height: 38px;
  }

  .mega-topbar p {
    font-size: 11px;
  }

  .two-col,
  .gallery,
  .video-grid,
  .footer-cols,
  .footer-grid,
  .news-dynamics-grid {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-beian {
    justify-content: flex-start;
  }

  .feature-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-icons--image {
    gap: 20px;
  }

  .feature-icons-row {
    gap: 20px 14px;
  }

  .feature-icons-row {
    max-width: none;
  }

  .icon-item--image {
    width: min(190px, calc((100% - 14px) / 2));
  }

  .icon-item--image p {
    font-size: 18px;
  }

  .eco-subtitle {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .news-dynamics {
    padding: 40px 0 52px;
  }

  .news-dynamics-head-inner {
    flex-direction: column;
    gap: 16px;
  }

  .news-dynamics-title {
    text-align: center;
  }

  .news-dynamics-list li:not(:last-child)::after {
    margin: 0 12px;
  }

  .news-dynamics-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .gallery img {
    height: 220px;
  }

  .video-copy h2 {
    text-align: center;
  }

  .video-copy p {
    font-size: 17px;
    line-height: 1.8;
  }

  .video-box {
    min-height: 220px;
  }

  .hero-slider {
    min-height: 500px;
  }

  .hero-nav {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
}

