/* ============================================================
   瓜哥在岭南 · 全局样式 v5（产品页风格 / 参考 FLEXTAIL）
   关键词：白底 · 粗黑无衬线大标题 · 全宽照片块压大数字 · 圆形图标栏 · 大圆角
   ============================================================ */
:root {
  --deep-green: #1d3a2a;
  --pine:       #2c5741;
  --moss:       #5a7a5c;
  --gray-green: #a8bfa2;
  --mist:       #e7ede4;
  --paper:      #ffffff;
  --soft:       #f6f6f4;    /* 浅灰卡片底 */
  --gold:       #c19a4b;
  --gold-soft:  #d8bc85;
  --ochre-red:  #8a3226;
  --ink:        #1c211c;
  --ink-2:      #6a716a;

  --sans:  -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --latin: "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1200px;
  --r-lg: 16px;
  --r-md: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); line-height: 1.75; background: var(--paper); }
h1,h2,h3,h4 { font-family: var(--sans); font-weight: 800; line-height: 1.3; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
html, body { overflow-x: hidden; }  /* 防止任何元素撑破产生横向拖动 */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* 居中标题组（参考页式样） */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vh, 64px); }
.sec-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: .02em; }
.sec-head p { color: var(--ink-2); margin-top: 14px; font-size: .98rem; }

/* 全宽圆角照片块 + 图上压字 */
.media-block {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  max-width: var(--maxw); margin: 0 auto;
}
.media-block > img { width: 100%; height: clamp(340px, 48vh, 520px); object-fit: cover; }
.media-block .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 34%, rgba(20,30,18,.58) 66%, rgba(13,20,11,.85));
}
.media-block .stats {
  position: absolute; left: clamp(24px, 5vw, 64px); bottom: clamp(24px, 4vh, 48px);
  display: flex; gap: clamp(28px, 5vw, 72px); color: #fff; flex-wrap: wrap;
}
.media-block .stats b { display: block; font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.2; }
.media-block .stats span { font-size: .85rem; opacity: .85; }
.media-block .stats b em { font-style: normal; color: var(--gold-soft); }
.media-block .btn-about {
  position: absolute; right: clamp(24px, 5vw, 64px); bottom: clamp(24px, 4vh, 48px);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 24px;
  background: var(--gold, #c19a4b); color: #fff; font-weight: 800; font-size: 1rem;
  letter-spacing: .06em; text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.media-block .btn-about:hover { transform: translateY(-2px); background: #d4ab58; box-shadow: 0 8px 22px rgba(0,0,0,.4); }
.media-block .btn-about::after { content: '→'; font-weight: 700; }

/* 圆形图标栏 */
.icon-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 16px;
  max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 6vh, 64px) 24px;
  text-align: center;
}
@media (min-width: 860px) { .icon-strip { grid-template-columns: repeat(6, 1fr); } }
.icon-strip .ic { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.icon-strip .ring {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1.5px solid var(--deep-green); color: var(--deep-green);
  display: flex; align-items: center; justify-content: center;
}
.icon-strip .ring svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.icon-strip b { font-size: .92rem; font-weight: 700; }
.icon-strip span { font-size: .78rem; color: var(--ink-2); }

/* 按钮 */
.btn-solid {
  display: inline-block; background: var(--deep-green); color: #fff;
  font-weight: 700; font-size: .95rem; letter-spacing: .06em;
  padding: .8em 2em; border-radius: 8px; transition: opacity .2s, transform .2s;
}
.btn-solid:hover { opacity: .9; }
.btn-buy {
  display: inline-block; background: var(--ochre-red); color: #fff;
  font-weight: 700; font-size: .9rem; padding: .6em 1.5em;
  border-radius: 8px; transition: opacity .2s;
}
.btn-buy:hover { opacity: .88; }
.btn-gold {
  display: inline-block; background: var(--gold); color: #fff;
  font-weight: 700; font-size: .95rem; padding: .8em 2em;
  border-radius: 8px; transition: opacity .2s;
}
.btn-gold:hover { opacity: .9; }
.btn-ghost {
  display: inline-block; border: 1.5px solid rgba(255,255,255,.85); color: #fff;
  font-weight: 700; font-size: .95rem; padding: .75em 1.9em; border-radius: 8px;
  transition: background .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.14); }

/* ============ 顶栏（深绿、无衬线、两品牌入口） ============ */
.site-nav { position: sticky; top: 0; z-index: 100; background: var(--deep-green); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; color: #fff; letter-spacing: .04em; }
.nav-brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.site-nav nav { display: flex; align-items: center; gap: 22px; }
.site-nav nav a { font-size: .93rem; color: #cfd6cd; font-weight: 500; padding: 6px 2px; white-space: nowrap; transition: color .2s; }
.site-nav nav a:hover, .site-nav nav a.active { color: #fff; }
.site-nav nav a.nav-brand-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 20px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
  color: #fff !important; font-weight: 700 !important;
  transition: background .2s;
}
.site-nav nav a.nav-brand-item.aigc { background: rgba(193,154,75,.28); border-color: rgba(193,154,75,.55); }
.site-nav nav a.nav-brand-item:hover { background: rgba(255,255,255,.26); }
.site-nav nav a.nav-brand-item.aigc:hover { background: rgba(193,154,75,.4); }
.nav-divider { width: 1px; height: 20px; background: rgba(255,255,255,.2); }
.nav-story { font-size: .93rem; color: #cfd6cd; font-weight: 500; padding: 6px 2px; white-space: nowrap; transition: color .2s; }
.nav-story:hover { color: #fff; }
/* ============ 页脚 ============ */
.site-footer { background: var(--deep-green); color: #b9c2b7; font-size: .85rem; padding: 56px 0 32px; }
.site-footer .f-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-end; }
.site-footer .f-title { color: #fff; font-weight: 800; font-size: 1.05rem; }
.site-footer a { color: #d6ddd4; }
.site-footer .f-links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer .disclaimer { color: #8a948a; font-size: .76rem; line-height: 1.9; border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding-top: 16px; }
.site-footer .f-bottom { margin-top: 12px; color: #6f7a6f; font-size: .76rem; }

/* 图片悬停 */
.img-hover { overflow: hidden; }
.img-hover img { transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.img-hover:hover img { transform: scale(1.04); }


/* 小屏导航：一行放下不换行 */
@media (max-width: 480px) {
  .site-nav .wrap { height: 54px; gap: 6px; }
  .nav-brand { font-size: .85rem; gap: 5px; white-space: nowrap; }
  .site-nav nav { gap: 6px; }
  .site-nav nav a { font-size: .78rem; padding: 5px 0; }
  .site-nav nav a.nav-brand-item { padding: 4px 10px !important; font-size: .78rem !important; }
  .nav-story { font-size: .78rem; }
  .nav-divider { margin: 0 1px; }
  /* 手机端导航放不下第5项，隐藏"联系瓜哥"（页脚二维码本就在页面底部） */
  .site-nav nav a[href$="#contact"] { display: none; }
}
@media (max-width: 355px) {
  .site-nav .wrap { gap: 4px; }
  .nav-brand { font-size: .78rem; }
  .site-nav nav { gap: 4px; }
  .site-nav nav a { font-size: .72rem; }
  .site-nav nav a.nav-brand-item { padding: 4px 8px !important; font-size: .72rem !important; }
}

/* 微信购买引导弹层 */
.buy-guide { position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; padding: 24px; }
.buy-guide-box { background: #fff; border-radius: 14px; padding: 22px 20px 18px; max-width: 340px; width: 100%; text-align: left; }
.buy-guide-box h4 { font-size: 1.02rem; font-weight: 800; color: var(--deep-green); }
.buy-guide-box ol { margin: 12px 0 16px; padding-left: 20px; color: var(--ink-2); font-size: .86rem; line-height: 1.9; }
.buy-guide-box .bg-copy { display: block; width: 100%; border: 0; background: var(--buy-red, #8a3226); color: #fff; font-weight: 700; font-size: .95rem; padding: 12px 0; border-radius: 8px; cursor: pointer; }
.buy-guide-box .bg-tip { margin: 10px 0 12px; font-size: .8rem; color: var(--ink-2); line-height: 1.7; }
.buy-guide-box .bg-web { display: block; text-align: center; margin-top: 10px; font-size: .84rem; color: var(--ink-2); }
.buy-guide-box .bg-close { display: block; text-align: center; margin-top: 12px; font-size: .8rem; color: #9aa19a; cursor: pointer; }

