/* ============================================================
   hhlsq.com — agriculture.css 农业电商建站方案页专属样式
   布局指纹：H1 全屏沉浸 Hero（藏蓝底+压暗背景图+底部浮动小卡带）｜B2卡片墙｜B1统计带｜B4图文交替｜B7 Bento｜B13套餐｜B15 CTA
   签名元素：S3 虚线圆环组
   ============================================================ */

/* ---------- 1. Hero H1 全屏沉浸 ---------- */
.agri-hero{
  position:relative; min-height:88vh; display:flex; flex-direction:column;
  justify-content:center; padding:clamp(90px,10vw,130px) 0 clamp(120px,12vw,160px);
  background:linear-gradient(150deg,var(--navy-900) 0%,var(--navy-700) 100%);
  overflow:hidden;
}
.agri-hero__bg{ position:absolute; inset:0; }
.agri-hero__bg img{ width:100%; height:100%; object-fit:cover; opacity:.32; }
.agri-hero__bg::after{
  content:""; position:absolute; inset:0;
  background:radial-gradient(ellipse at 30% 40%, rgba(18,38,63,.35), rgba(18,38,63,.88) 78%);
}
.agri-hero__inner{ position:relative; z-index:1; max-width:680px; }
.agri-hero__eyebrow{ color:var(--gold); }
.agri-hero__eyebrow::before{ background:var(--gold); }
.agri-hero__title{
  color:#fff; font-size:clamp(30px,4.4vw,52px); line-height:1.24; margin-bottom:20px;
}
.agri-hero__title em{ font-style:normal; color:var(--gold); }
.agri-hero__lead{ color:rgba(232,238,245,.82); font-size:16.5px; max-width:560px; margin-bottom:30px; }
.agri-hero__actions{ display:flex; gap:14px; flex-wrap:wrap; }

.agri-hero__cards{
  position:relative; z-index:2; margin-top:-90px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}
.agri-hero__mini{
  background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-md);
  padding:22px 24px; transition:transform .3s ease, box-shadow .3s ease;
}
.agri-hero__mini:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.agri-hero__mini:nth-child(2){ transform:translateY(14px); }
.agri-hero__mini:nth-child(2):hover{ transform:translateY(8px); }
.agri-hero__mini h4{ font-size:16.5px; margin-bottom:6px; }
.agri-hero__mini p{ font-size:13.5px; color:var(--gray-500); margin:0; }

/* ---------- 2. S3 签名：虚线圆环组 ---------- */
.agri-rings{ position:absolute; top:60px; right:40px; width:150px; height:150px; pointer-events:none; }
.agri-rings span{ position:absolute; border-radius:50%; border:1.5px dashed var(--gray-300); }
.agri-rings span:nth-child(1){ inset:0; }
.agri-rings span:nth-child(2){ inset:26px; border-color:var(--gold); opacity:.6; }

/* ---------- 3. B2 错位卡片墙 ---------- */
.agri-cards{ position:relative; }
.agri-cards__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.agri-card{
  background:#fff; border:1px solid var(--gray-200); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm); padding:28px 26px; transition:all .3s ease;
}
.agri-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.agri-card:nth-child(even){ transform:translateY(18px); }
.agri-card:nth-child(even):hover{ transform:translateY(12px); }
.agri-card svg{ width:32px; height:32px; color:var(--navy-600); stroke-width:1.4; margin-bottom:14px; }
.agri-card:hover svg{ color:var(--gold); }
.agri-card h3{ font-size:17px; margin-bottom:10px; }
.agri-card p{ font-size:14px; color:var(--gray-600); margin:0; line-height:1.75; }

/* ---------- 4. B1 数据统计带 ---------- */
.agri-stats{ background:linear-gradient(135deg,var(--navy-900),var(--navy-800)); }
.agri-stats__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
.agri-stat{ position:relative; padding:8px 0; }
.agri-stat + .agri-stat::before{
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:1px; height:46px; background:rgba(232,238,245,.16);
}
.agri-stat .stat-num{ color:#fff; }
.agri-stat .stat-note{ color:rgba(232,238,245,.66); }

/* ---------- 5. B4 图文交替流 ---------- */
.agri-flow__list{ display:flex; flex-direction:column; gap:clamp(40px,5vw,64px); }
.agri-pair{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.agri-pair--reverse .agri-pair__media{ order:2; }
.agri-pair__media img{ width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.agri-pair__num{ font-size:46px; font-weight:700; color:transparent; -webkit-text-stroke:1.5px var(--gold); line-height:1; display:block; margin-bottom:10px; }
.agri-pair__body h3{ font-size:22px; margin-bottom:12px; }
.agri-pair__body p{ color:var(--gray-600); font-size:15px; margin:0; }

/* ---------- 6. B7 Bento 网格 ---------- */
.agri-bento__grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
  grid-template-areas:"a a b" "c d d" "e d f";
}
.agri-bento__cell{
  background:#fff; border:1px solid var(--gray-200); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm); padding:26px 24px; transition:all .3s ease;
}
.agri-bento__cell:hover{ transform:translateY(-5px); box-shadow:var(--shadow-md); }
.agri-bento__cell h3{ font-size:17px; margin-bottom:8px; }
.agri-bento__cell p{ font-size:14px; color:var(--gray-600); margin:0; line-height:1.7; }
.agri-bento__cell--lg{ grid-area:a; }
.agri-bento__cell--lg h3{ font-size:20px; }
.agri-bento__cell--navy{ background:var(--navy-900); border-color:transparent; grid-area:d; }
.agri-bento__cell--navy h3{ color:#fff; }
.agri-bento__cell--navy p{ color:rgba(232,238,245,.78); }
.agri-bento__grid .agri-bento__cell:nth-child(3){ grid-area:b; }
.agri-bento__grid .agri-bento__cell:nth-child(4){ grid-area:c; }
.agri-bento__grid .agri-bento__cell:nth-child(5){ grid-area:e; }
.agri-bento__grid .agri-bento__cell:nth-child(6){ grid-area:f; }

/* ---------- 7. B13 套餐卡片 ---------- */
.agri-plan__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:start; margin-bottom:40px; }
.agri-plan__card{
  background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-sm);
  padding:32px 26px; text-align:center; transition:all .3s ease;
}
.agri-plan__card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.agri-plan__card--hot{ background:var(--navy-900); color:#E8EEF5; transform:translateY(-18px); box-shadow:var(--shadow-lg); }
.agri-plan__card--hot:hover{ transform:translateY(-22px); }
.agri-plan__card--hot h3{ color:#fff; }
.agri-plan__tag{
  display:inline-block; font-size:12px; letter-spacing:.14em; color:var(--gold);
  border:1px solid var(--gold); border-radius:var(--radius-pill); padding:4px 14px; margin-bottom:16px;
}
.agri-plan__card--hot .agri-plan__tag{ background:var(--gold); color:#fff; }
.agri-plan__name{ font-size:19px; margin-bottom:10px; }
.agri-plan__price{ font-size:32px; font-weight:700; color:var(--navy-700); margin-bottom:20px; }
.agri-plan__price em{ font-style:normal; font-size:18px; }
.agri-plan__price small{ font-size:13px; font-weight:400; color:var(--gray-500); margin-left:2px; }
.agri-plan__card--hot .agri-plan__price{ color:#fff; }
.agri-plan__list{ text-align:left; margin-bottom:22px; }
.agri-plan__list li{ position:relative; padding:7px 0 7px 22px; font-size:14px; color:var(--gray-600); }
.agri-plan__card--hot .agri-plan__list li{ color:rgba(232,238,245,.82); }
.agri-plan__list li::before{ content:"✓"; position:absolute; left:0; color:var(--gold); font-weight:700; }
.agri-plan__card .btn{ width:100%; }
.agri-plan__related{ text-align:center; font-size:13.5px; color:var(--gray-500); }
.agri-plan__related a{ color:var(--navy-600); }
.agri-plan__related a:hover{ color:var(--gold); }

/* ---------- 8. B15 CTA ---------- */
.agri-cta{ padding-bottom:clamp(70px,8vw,110px); }
.agri-cta .cta-banner{
  background:linear-gradient(135deg,var(--navy-800),var(--navy-700) 55%,var(--navy-600));
  border-radius:28px; padding:clamp(44px,5vw,72px) clamp(24px,4vw,56px);
  text-align:center; position:relative; overflow:hidden; box-shadow:var(--shadow-lg);
}
.agri-cta .cta-banner::before{
  content:""; position:absolute; right:-90px; top:-90px; width:280px; height:280px;
  border-radius:50%; border:1px dashed rgba(255,255,255,.22);
}
.agri-cta .cta-banner::after{
  content:""; position:absolute; left:-60px; bottom:-120px; width:220px; height:220px;
  border-radius:50%; border:1px dashed rgba(176,141,74,.4);
}
.agri-cta .cta-banner__inner{ position:relative; z-index:1; }
.agri-cta .cta-banner__title{ color:#fff; font-size:clamp(22px,3vw,32px); margin-bottom:12px; }
.agri-cta .cta-banner__sub{ color:rgba(232,238,245,.78); font-size:15px; margin-bottom:28px; }
.agri-cta .cta-banner__actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.agri-cta .cta-banner__ghost{ border-color:rgba(255,255,255,.5); color:#fff; }
.agri-cta .cta-banner__ghost:hover{ background:#fff; color:var(--navy-700); }

/* ---------- 响应式 ---------- */
@media (max-width: 992px){
  .agri-hero__cards{ grid-template-columns:1fr; margin-top:-40px; }
  .agri-hero__mini:nth-child(2){ transform:none; }
  .agri-rings{ display:none; }
  .agri-stats__grid{ grid-template-columns:repeat(2,1fr); }
  .agri-cards__grid{ grid-template-columns:repeat(2,1fr); }
  .agri-card:nth-child(even){ transform:none; }
  .agri-card:nth-child(even):hover{ transform:translateY(-6px); }
  .agri-pair{ grid-template-columns:1fr; gap:28px; }
  .agri-pair--reverse .agri-pair__media{ order:0; }
  .agri-bento__grid{ grid-template-columns:1fr 1fr; grid-template-areas:none; }
  .agri-bento__cell--lg,.agri-bento__cell--navy,.agri-bento__grid .agri-bento__cell:nth-child(n){ grid-area:auto; }
  .agri-plan__grid{ grid-template-columns:1fr; max-width:480px; margin:0 auto 40px; }
  .agri-plan__card--hot{ transform:none; }
  .agri-plan__card--hot:hover{ transform:translateY(-6px); }
}
@media (max-width: 640px){
  .agri-stats__grid{ grid-template-columns:1fr 1fr; gap:14px; }
  .agri-cards__grid{ grid-template-columns:1fr; }
  .agri-bento__grid{ grid-template-columns:1fr; }
  .agri-hero__actions .btn{ width:100%; }
}
