/* ============================================================
   hhlsq.com — realestate.css 房产家居建站方案页专属样式
   布局指纹：H8 网格动感 Hero（2×2 错位旋转图格 + 中央白卡 z-index 压上）
   区块序列：B7 Bento｜B2 卡片墙｜B4 图文交替｜B13 套餐｜B1 统计带｜B15 CTA
   签名元素：S9 双线框（推荐套餐卡外层双细线框）
   ============================================================ */

/* ---------- 1. Hero 网格动感 ---------- */
.re-hero{ background:var(--gray-100); padding:clamp(56px,7vw,96px) 0; position:relative; overflow:hidden; }
.re-hero__inner{ position:relative; min-height:560px; display:grid; align-items:center; }
.re-hero__grid{
  display:grid; grid-template-columns:1fr 1fr; grid-template-rows:auto auto;
  gap:22px; transform:translateX(6%);
}
.re-hero__img{
  width:100%; aspect-ratio:16/11; object-fit:cover;
  border-radius:var(--radius-lg); box-shadow:var(--shadow-md);
}
.re-hero__img--1{ transform:rotate(-1.6deg) scale(.99); }
.re-hero__img--2{ transform:translateY(26px) rotate(1.4deg) scale(.97); }
.re-hero__img--3{ transform:rotate(1.8deg) scale(.96); }
.re-hero__img--4{ transform:translateY(-20px) rotate(-1.2deg) scale(.99); }

.re-hero__card{
  position:absolute; left:0; top:50%; transform:translateY(-50%); z-index:2;
  background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg);
  padding:clamp(30px,3.6vw,48px) clamp(26px,3.6vw,48px); max-width:520px;
}
.re-hero__title{ font-size:clamp(26px,3.4vw,42px); line-height:1.3; margin-bottom:16px; }
.re-hero__title em{ font-style:normal; color:var(--gold); }
.re-hero__lead{ color:var(--gray-600); font-size:15.5px; margin-bottom:26px; }
.re-hero__actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- 2. B7 Bento 网格 ---------- */
.re-bento__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.re-bento__cell{
  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;
}
.re-bento__cell:hover{ transform:translateY(-5px); box-shadow:var(--shadow-md); }
.re-bento__cell--lg{ grid-column:span 2; }
.re-bento__cell--wide{ grid-column:span 2; }
.re-bento__cell--navy{ background:var(--navy-900); border-color:var(--navy-900); }
.re-bento__cell--navy h3{ color:#fff; }
.re-bento__k{ display:block; font-size:12.5px; letter-spacing:.2em; color:var(--gold); margin-bottom:10px; }
.re-bento__cell h3{ font-size:18px; margin-bottom:10px; }
.re-bento__cell p{ font-size:14px; color:var(--gray-600); margin:0; line-height:1.75; }
.re-bento__cell--navy p{ color:rgba(232,238,245,.78); }
.re-bento__cell p a{ color:var(--gold); font-weight:600; }

/* ---------- 3. B2 错位卡片墙 ---------- */
.re-feat__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.re-feat__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;
}
.re-feat__card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.re-feat__card:nth-child(even){ transform:translateY(18px); }
.re-feat__card:nth-child(even):hover{ transform:translateY(-4px); }
.re-feat__card svg{ width:32px; height:32px; color:var(--navy-600); stroke-width:1.4; margin-bottom:14px; }
.re-feat__card:hover svg{ color:var(--gold); }
.re-feat__card h3{ font-size:17px; margin-bottom:10px; }
.re-feat__card p{ font-size:14px; color:var(--gray-600); margin:0; line-height:1.75; }
.re-feat__card p a{ color:var(--navy-600); font-weight:600; }

/* ---------- 4. B4 图文交替流 ---------- */
.re-how__list{ display:flex; flex-direction:column; gap:clamp(36px,5vw,60px); }
.re-how__pair{ display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
.re-how__pair--rev .re-how__media{ order:2; }
.re-how__media img{ width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.re-how__num{ font-size:46px; font-weight:700; color:transparent; -webkit-text-stroke:1.5px var(--gold); line-height:1; display:block; margin-bottom:10px; }
.re-how__body h3{ font-size:22px; margin-bottom:12px; }
.re-how__body p{ color:var(--gray-600); font-size:15px; margin:0; }
.re-how__body p a{ color:var(--navy-600); font-weight:600; }

/* ---------- 5. B13 套餐卡片 + S9 双线框 ---------- */
.re-plan__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:start; }
.re-plan__card{
  background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-sm);
  padding:32px 26px; position:relative; text-align:center; transition:all .3s ease;
}
.re-plan__card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.re-plan__card--hot{
  background:var(--navy-900); color:#E8EEF5; transform:translateY(-18px); box-shadow:var(--shadow-lg);
  /* S9 双线框：外层 outline + 内层伪元素细线 */
  outline:2px solid var(--gold); outline-offset:6px;
}
.re-plan__card--hot::after{
  content:""; position:absolute; inset:10px; border:1px solid rgba(176,141,74,.45);
  border-radius:calc(var(--radius-lg) - 6px); pointer-events:none;
}
.re-plan__card--hot:hover{ transform:translateY(-24px); }
.re-plan__card--hot h3{ color:#fff; }
.re-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;
}
.re-plan__card--hot .re-plan__tag{ background:var(--gold); color:#fff; }
.re-plan__name{ font-size:19px; margin-bottom:10px; }
.re-plan__price{ font-size:32px; font-weight:700; color:var(--navy-700); margin-bottom:20px; }
.re-plan__price em{ font-style:normal; font-size:18px; }
.re-plan__price small{ font-size:13px; font-weight:400; color:var(--gray-500); margin-left:2px; }
.re-plan__card--hot .re-plan__price{ color:#fff; }
.re-plan__list{ text-align:left; margin-bottom:22px; }
.re-plan__list li{ position:relative; padding:7px 0 7px 22px; font-size:14px; color:var(--gray-600); }
.re-plan__card--hot .re-plan__list li{ color:rgba(232,238,245,.82); }
.re-plan__list li::before{ content:"✓"; position:absolute; left:0; color:var(--gold); font-weight:700; }
.re-plan__card .btn{ width:100%; }

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

/* ---------- 7. B15 CTA ---------- */
.re-cta{ padding-bottom:clamp(70px,8vw,110px); }
.re-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);
}
.re-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);
}
.re-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);
}
.re-cta__inner{ position:relative; z-index:1; }
.re-cta__title{ color:#fff; font-size:clamp(22px,3vw,32px); margin-bottom:12px; }
.re-cta__sub{ color:rgba(232,238,245,.78); font-size:15px; margin-bottom:28px; }
.re-cta__actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.re-cta__ghost{ border-color:rgba(255,255,255,.5); color:#fff; }
.re-cta__ghost:hover{ background:#fff; color:var(--navy-700); }

/* ---------- 响应式 ---------- */
@media (max-width: 992px){
  .re-hero__inner{ min-height:0; }
  .re-hero__grid{ transform:none; }
  .re-hero__card{ position:static; transform:none; max-width:100%; margin:-70px 24px 0; z-index:2; }
  .re-bento__grid{ grid-template-columns:1fr 1fr; }
  .re-bento__cell--lg,.re-bento__cell--wide{ grid-column:span 2; }
  .re-feat__grid{ grid-template-columns:repeat(2,1fr); }
  .re-feat__card:nth-child(even){ transform:none; }
  .re-how__pair{ grid-template-columns:1fr; }
  .re-how__pair--rev .re-how__media{ order:0; }
  .re-plan__grid{ grid-template-columns:1fr; max-width:480px; margin:0 auto; }
  .re-plan__card--hot{ transform:none; }
  .re-plan__card--hot:hover{ transform:translateY(-6px); }
  .re-stats__grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 640px){
  .re-hero__grid{ grid-template-columns:1fr; }
  .re-bento__grid{ grid-template-columns:1fr; }
  .re-bento__cell--lg,.re-bento__cell--wide{ grid-column:span 1; }
  .re-feat__grid{ grid-template-columns:1fr; }
  .re-stats__grid{ grid-template-columns:1fr 1fr; gap:14px; }
  .re-hero__actions .btn{ width:100%; }
}
