/* =============================================================
   首页独有模块样式（css/index.css）
   首页 Banner / 核心优势 / 服务 Bento / 行业圆章 / 快速入口 / 流程 / 资讯 / 评价 / CTA
   ============================================================= */

/* ---------- 1. 全屏 Banner ---------- */
.index-hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + var(--topbar-h) + 56px) 0 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.index-hero-bg {
  position: absolute; inset: 0;
  background: url("../images/banner-home.jpg") center 30% / cover no-repeat;
  transform: scale(1.02);
}
.index-hero-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(255, 249, 239, .96) 0%, rgba(255, 249, 239, .88) 38%, rgba(255, 249, 239, .45) 62%, rgba(255, 249, 239, .18) 100%),
    linear-gradient(180deg, rgba(255,249,239,.35) 0%, rgba(255,249,239,0) 30%);
}
.index-hero-blob {
  position: absolute; width: 240px; height: 240px; top: 22%; right: 9%;
  background: rgba(191, 216, 178, .5);
}
.index-hero-square {
  position: absolute; width: 120px; height: 120px; bottom: 24%; right: 6%;
  background: rgba(246, 227, 180, .65);
  transform: rotate(16deg);
}
.index-hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px;
  align-items: center;
  padding-bottom: 96px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .88rem; font-weight: 700; letter-spacing: 2px;
  color: var(--green-3); margin-bottom: 18px;
}
.hero-kicker::before {
  content: ""; width: 30px; height: 12px; border-radius: 999px; background: var(--green);
}
.index-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.25; margin-bottom: 22px; color: var(--ink);
}
.index-hero h1 span {
  color: var(--green-3); position: relative;
}
.index-hero h1 span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px;
  background: var(--yellow); z-index: -1; border-radius: 999px; opacity: .75;
}
.hero-sub { max-width: 560px; margin-bottom: 30px; color: var(--ink-2); font-size: 1.05rem; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags li {
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); border: 1.5px dashed var(--yellow-2);
  font-size: .82rem; color: var(--ink-2); font-weight: 600;
}
.index-hero-card {
  position: relative;
  border-radius: 36px;
  box-shadow: var(--clay-shadow-lg);
  transform: rotate(1.5deg);
}
.index-hero-card img {
  border-radius: 36px; object-fit: cover;
  width: 100%; height: auto;
  max-height: 460px;
}
.hero-card-note {
  position: absolute; left: -24px; bottom: 26px;
  display: flex; align-items: center; gap: 12px;
  background: var(--cream); border-radius: 999px;
  padding: 12px 22px; box-shadow: var(--clay-shadow-sm);
  font-size: .9rem; font-weight: 700; color: var(--ink);
  white-space: nowrap;
}
.hero-card-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green-2); flex-shrink: 0;
}
.hero-stats {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: rgba(255, 249, 239, .92);
  backdrop-filter: blur(8px);
  border-top: 1px dashed var(--yellow-2);
}
.hero-stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 22px 0;
}
.hero-stat { text-align: center; }
.hero-stat b {
  display: block; font-size: 2rem; color: var(--green-3); font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hero-stat b::after { content: "+"; }
.hero-stat span { font-size: .85rem; color: var(--ink-3); }

/* ---------- 2. 核心优势（圆方嵌套错落卡） ---------- */
.index-adv { background: linear-gradient(180deg, #FFFDF6 0%, var(--cream-2) 100%); }
.adv-layout {
  display: grid; grid-template-columns: .72fr 1.28fr; gap: 40px; align-items: stretch;
}
.adv-intro {
  position: relative; padding: 40px 32px; align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.adv-intro-num {
  position: absolute; top: -30px; right: 10px;
  font-size: 7rem; font-weight: 800; color: rgba(191, 216, 178, .4); line-height: 1;
}
.adv-intro h3 { font-size: 1.6rem; margin-bottom: 16px; }
.adv-intro p { margin-bottom: 22px; }
.adv-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.adv-card {
  padding: 26px 22px; position: relative;
  display: flex; flex-direction: column; gap: 10px;
}
.adv-card:nth-child(2n) { transform: translateY(14px); }
.adv-card:hover { transform: translateY(6px); }
.adv-ico {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--ink);
  margin-bottom: 4px; box-shadow: var(--clay-shadow-sm);
}
.adv-ico svg { width: 30px; height: 30px; }
.adv-ico-2, .adv-ico-4, .adv-ico-6 { background: var(--green); }
.adv-card h3 { font-size: 1.05rem; }
.adv-card p { font-size: .88rem; }

/* ---------- 3. 服务 Bento ---------- */
.index-svc { background: var(--cream); }
.svc-bento {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px; gap: 20px;
}
.bento-item {
  position: relative; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--clay-shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.bento-item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.bento-item:hover { box-shadow: var(--clay-shadow); }
.bento-item:hover img { transform: scale(1.06); }
.bento-mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(91, 83, 70, .05) 30%, rgba(91, 83, 70, .72) 100%);
}
.bento-txt {
  position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2;
  color: var(--cream);
}
.bento-txt h3 { color: #FFFDF6; font-size: 1.18rem; margin-bottom: 6px; }
.bento-txt p { color: rgba(255, 249, 239, .92); font-size: .86rem; }
.bento-tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font-size: .76rem; font-weight: 800;
  margin-bottom: 8px;
}
.bento-tag-green { background: var(--green); }
.bento-tall { grid-row: span 2; }
.bento-wide { grid-column: span 2; }
.svc-more { text-align: center; margin-top: 34px; }
.svc-more a {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  border: 2px dashed var(--yellow-2); color: var(--ink); font-weight: 700;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.svc-more a:hover { background: var(--yellow); transform: translateY(-3px); }

/* ---------- 4. 行业圆章 ---------- */
.index-ind { background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%); }
.ind-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
}
.ind-chip {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 10px; border-radius: var(--radius-sm);
  background: var(--cream); box-shadow: var(--clay-shadow-sm);
  font-size: .9rem; font-weight: 700; color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ind-chip:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--clay-shadow); }
.ind-ico {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green); color: #3F5238;
  display: flex; align-items: center; justify-content: center;
}
.ind-ico svg { width: 28px; height: 28px; }

/* ---------- 5. 快速入口 ---------- */
.index-quick { padding: 0 0 clamp(56px, 7vw, 90px); }
.quick-band {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  padding: 26px;
  transform: rotate(-.6deg);
}
.quick-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 22px 8px; border-radius: 20px;
  background: linear-gradient(180deg, #FFFDF6 0%, var(--cream-2) 100%);
  box-shadow: var(--clay-shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quick-item:hover { transform: translateY(-6px); box-shadow: var(--clay-shadow); }
.quick-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  font-size: .82rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.quick-item b { font-size: .98rem; }
.quick-item i { font-style: normal; font-size: .78rem; color: var(--ink-3); }

/* ---------- 6. 建站流程 ---------- */
.index-flow { background: var(--cream); }
.flow-line {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px;
  position: relative;
}
.flow-line::before {
  content: ""; position: absolute; top: 26px; left: 5%; right: 5%;
  height: 3px; background: repeating-linear-gradient(90deg, var(--yellow-2) 0 10px, transparent 10px 20px);
}
.flow-step { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; position: relative; }
.flow-dot {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(180deg, #FDF6E4 0%, var(--yellow) 100%);
  box-shadow: var(--clay-shadow-sm); color: var(--ink);
  font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.flow-step b { font-size: .95rem; }
.flow-step i { font-style: normal; font-size: .78rem; color: var(--ink-3); }

/* ---------- 7. 资讯列表 ---------- */
.index-news { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.news-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.news-card {
  background: linear-gradient(165deg, #FFFDF6 0%, var(--cream-2) 100%);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--clay-shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--clay-shadow); }
.news-card-img { display: block; overflow: hidden; aspect-ratio: 16 / 9; }
.news-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card-body time { font-size: .78rem; color: var(--ink-3); }
.news-card-body h3 { font-size: 1.02rem; line-height: 1.5; }
.news-card-body h3 a:hover { color: var(--green-3); }
.news-card-body p {
  font-size: .86rem; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.news-more { font-size: .84rem; font-weight: 700; color: var(--green-3); }
.news-more:hover { color: var(--ink); }

/* ---------- 8. 客户评价 ---------- */
.index-fb { background: var(--cream); }
.fb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fb-card {
  position: relative; padding: 30px 26px;
  background: linear-gradient(165deg, #FFFDF6 0%, var(--cream-2) 100%);
  border-radius: 26px; box-shadow: var(--clay-shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.fb-card::before {
  content: "“"; position: absolute; top: 6px; left: 18px;
  font-size: 4rem; color: var(--yellow-2); font-weight: 800; line-height: 1;
}
.fb-card:hover { transform: translateY(-6px) rotate(.6deg); box-shadow: var(--clay-shadow); }
.fb-card p { font-size: .94rem; margin-bottom: 18px; color: var(--ink-2); }
.fb-card cite { font-style: normal; font-size: .84rem; color: var(--green-3); font-weight: 700; }
.fb-note { text-align: center; margin-top: 28px; font-size: .8rem; color: var(--ink-3); }

/* ---------- 9. 联系 CTA ---------- */
.index-cta { background: var(--cream-2); }
.cta-band {
  position: relative; overflow: hidden;
  border-radius: 36px; padding: 64px 56px;
  background: linear-gradient(120deg, var(--yellow) 0%, var(--cream) 60%, var(--green) 140%);
  box-shadow: var(--clay-shadow-lg);
  text-align: center;
}
.cta-circle { position: absolute; width: 180px; height: 180px; top: -50px; left: -40px; background: rgba(255,255,255,.45); }
.cta-square { position: absolute; width: 110px; height: 110px; bottom: -40px; right: 30px; background: rgba(191,216,178,.6); transform: rotate(14deg); }
.cta-txt { position: relative; z-index: 2; }
.cta-txt h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-txt > p { max-width: 620px; margin: 0 auto 26px; }
.cta-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.btn-ico { display: inline-block; }
.cta-tip { font-size: .86rem; color: var(--ink-2); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .index-hero-inner { grid-template-columns: 1fr; padding-bottom: 96px; }
  .index-hero-card { max-width: 640px; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .adv-layout { grid-template-columns: 1fr; }
  .adv-cards { grid-template-columns: repeat(2, 1fr); }
  .svc-bento { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(4, 1fr); }
  .quick-band { grid-template-columns: repeat(3, 1fr); }
  .flow-line { grid-template-columns: repeat(4, 1fr); row-gap: 26px; }
  .news-list, .fb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .index-hero { min-height: auto; padding-top: calc(var(--header-h) + var(--topbar-h) + 40px); }
  .hero-cta .btn { width: 100%; }
  .adv-cards, .svc-bento, .ind-grid, .quick-band, .news-list, .fb-grid { grid-template-columns: 1fr; }
  .bento-tall, .bento-wide { grid-row: auto; grid-column: auto; }
  .cta-band { padding: 44px 24px; border-radius: 26px; }
}
