/* ============================================================
   hhlsq.com — education.css 教育培训建站方案页专属样式
   布局指纹：H5 侧栏布局 Hero（左藏蓝窄栏竖排编号 + 右白底文案 + 悬浮压缝图）
   区块序列：B2 卡片墙｜B1 统计带｜B4 图文交替｜B7 Bento｜B8 证言｜B15 CTA
   签名元素：S1 旋转编号圆环（B2 标题上方 dashed 圆环，hover 加速旋转）
   ============================================================ */

/* ---------- 1. Hero 侧栏布局 ---------- */
.edu-hero{ position:relative; background:var(--gray-100); padding:clamp(40px,5vw,64px) 0 clamp(70px,8vw,104px); }
.edu-hero__inner{ display:grid; grid-template-columns:248px 1fr; gap:0; position:relative; z-index:2; }

/* 左侧藏蓝窄栏 */
.edu-hero__side{
  background:linear-gradient(160deg,var(--navy-900),var(--navy-700));
  border-radius:var(--radius-lg);
  padding:34px 26px; display:flex; flex-direction:column; justify-content:space-between; gap:28px;
  min-height:380px; box-shadow:var(--shadow-md);
}
.edu-side__nums{ display:flex; flex-direction:column; gap:20px; }
.edu-side__num{
  font-size:22px; font-weight:700; color:rgba(232,238,245,.28); letter-spacing:.06em;
  border-left:2px solid var(--gold); padding-left:12px; transition:color .3s ease;
}
.edu-side__num:nth-child(1){ color:var(--gold); }
.edu-hero__side:hover .edu-side__num{ color:rgba(232,238,245,.5); }
.edu-hero__side:hover .edu-side__num:nth-child(1){ color:var(--gold); }
.edu-side__vtext{
  writing-mode:vertical-rl; align-self:flex-end; font-size:12.5px; letter-spacing:.34em;
  color:rgba(232,238,245,.55);
}
.edu-side__contact{ font-size:13px; line-height:1.9; color:var(--gold); letter-spacing:.06em; }

/* 右侧白底文案 */
.edu-hero__main{ background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); padding:clamp(34px,4vw,56px) clamp(26px,4vw,60px); margin-left:-46px; padding-left:calc(clamp(26px,4vw,60px) + 46px); }
.edu-hero__title{ font-size:clamp(28px,3.8vw,46px); line-height:1.28; margin-bottom:18px; }
.edu-hero__title em{ font-style:normal; color:var(--gold); }
.edu-hero__lead{ color:var(--gray-600); font-size:16px; max-width:560px; margin-bottom:28px; }
.edu-hero__actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* 压缝悬浮小图 */
.edu-hero__floatimg{
  position:absolute; right:0; bottom:-46px; width:min(380px,40%); aspect-ratio:16/10; object-fit:cover;
  border-radius:var(--radius-lg); border:6px solid #fff; box-shadow:var(--shadow-lg); z-index:3;
}

/* ---------- 2. B2 卡片墙 + S1 旋转编号圆环 ---------- */
.edu-s1{ position:relative; width:84px; height:84px; margin:0 auto 16px; display:grid; place-items:center; }
.edu-s1__ring{ position:absolute; inset:0; border-radius:50%; border:1.5px dashed var(--gold); animation:eduSpin 26s linear infinite; }
.edu-s1:hover .edu-s1__ring{ animation-duration:3.5s; }
.edu-s1__num{ font-size:24px; font-weight:700; color:var(--navy-700); letter-spacing:.04em; }
@keyframes eduSpin{ to{ transform:rotate(360deg); } }

.edu-trust__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.edu-trust__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;
}
.edu-trust__card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.edu-trust__card:nth-child(even){ transform:translateY(18px); }
.edu-trust__card:nth-child(even):hover{ transform:translateY(-4px); }
.edu-trust__card svg{ width:32px; height:32px; color:var(--navy-600); stroke-width:1.4; margin-bottom:14px; }
.edu-trust__card:hover svg{ color:var(--gold); }
.edu-trust__card h3{ font-size:17px; margin-bottom:10px; }
.edu-trust__card p{ font-size:14px; color:var(--gray-600); margin:0; line-height:1.75; }

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

/* ---------- 4. B4 图文交替流 ---------- */
.edu-flow__list{ display:flex; flex-direction:column; gap:clamp(36px,5vw,60px); }
.edu-flow__pair{ display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
.edu-flow__pair--rev .edu-flow__media{ order:2; }
.edu-flow__media img{ width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.edu-flow__num{ font-size:46px; font-weight:700; color:transparent; -webkit-text-stroke:1.5px var(--gold); line-height:1; display:block; margin-bottom:10px; }
.edu-flow__body h3{ font-size:22px; margin-bottom:12px; }
.edu-flow__body p{ color:var(--gray-600); font-size:15px; margin:0; }
.edu-flow__body p a{ color:var(--navy-600); font-weight:600; }
.edu-flow__points{ margin-top:16px; }
.edu-flow__points li{ position:relative; padding:6px 0 6px 22px; font-size:14.5px; color:var(--gray-700); }
.edu-flow__points li::before{ content:""; position:absolute; left:0; top:14px; width:8px; height:8px; border-radius:50%; background:var(--gold); }

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

/* ---------- 6. B8 证言带 ---------- */
.edu-say__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.edu-say__card{
  background:#fff; border:1px solid var(--gray-200); border-top:4px solid var(--gold);
  border-radius:var(--radius-lg); padding:28px 26px; box-shadow:var(--shadow-sm); transition:all .3s ease;
}
.edu-say__card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-md); }
.edu-say__quote{ color:var(--ink); font-size:15px; line-height:1.9; margin-bottom:16px; }
.edu-say__who{ font-size:13.5px; color:var(--navy-700); font-weight:600; }
.edu-say__who span{ color:var(--gray-500); font-weight:400; }
.edu-say__more{ text-align:center; margin-top:36px; color:var(--gray-600); font-size:14.5px; }
.edu-say__more a{ color:var(--navy-600); margin:0 4px; font-weight:600; }

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

/* ---------- 响应式 ---------- */
@media (max-width: 992px){
  .edu-hero__inner{ grid-template-columns:1fr; }
  .edu-hero__side{ flex-direction:row; align-items:center; min-height:0; border-radius:var(--radius-md); }
  .edu-side__nums{ flex-direction:row; gap:14px; }
  .edu-side__vtext{ writing-mode:horizontal-tb; align-self:auto; letter-spacing:.1em; }
  .edu-hero__main{ margin-left:0; padding-left:clamp(26px,4vw,60px); }
  .edu-hero__floatimg{ position:static; width:70%; margin:-40px auto 0; }
  .edu-trust__grid{ grid-template-columns:repeat(2,1fr); }
  .edu-trust__card:nth-child(even){ transform:none; }
  .edu-stats__grid{ grid-template-columns:repeat(2,1fr); }
  .edu-flow__pair{ grid-template-columns:1fr; }
  .edu-flow__pair--rev .edu-flow__media{ order:0; }
  .edu-bento__grid{ grid-template-columns:1fr 1fr; }
  .edu-bento__cell--lg,.edu-bento__cell--wide{ grid-column:span 2; }
  .edu-say__grid{ grid-template-columns:1fr; max-width:560px; margin:0 auto; }
}
@media (max-width: 640px){
  .edu-side__contact{ display:none; }
  .edu-hero__floatimg{ width:92%; }
  .edu-trust__grid{ grid-template-columns:1fr; }
  .edu-stats__grid{ grid-template-columns:1fr 1fr; gap:14px; }
  .edu-bento__grid{ grid-template-columns:1fr; }
  .edu-bento__cell--lg,.edu-bento__cell--wide{ grid-column:span 1; }
  .edu-hero__actions .btn{ width:100%; }
}
