@charset "utf-8";
/* ==========================================================================
   鸿博科教 · 高端家庭服务人才培训
   静态站点样式表 / 本地字体，无外部资源
   ========================================================================== */

:root {
  --brand: #f26522;
  --brand-light: #ff7a2e;
  --brand-deep: #e04e0f;
  --brand-soft: #fff3ec;
  --footer: #fe6732;
  --ink: #1d1d1f;
  --ink-2: #3a3a3c;
  --ink-3: #6b6b70;
  --muted: #9a9aa0;
  --line: #ececee;
  --bg-soft: #f5f5f6;
  --bg-form: #d8d8d8;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(25, 25, 30, .05);
  --shadow-md: 0 10px 30px rgba(25, 25, 30, .08);
  --shadow-lg: 0 22px 50px rgba(25, 25, 30, .12);
  --radius: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, textarea { font-family: inherit; font-size: inherit; color: inherit; }

.wrap {
  width: 89.58vw;
  max-width: 1320px;
  margin: 0 auto;
}

/* ---------- 通用标题 ---------- */
.sec { padding: 80px 0; position: relative; }
.sec--soft { background: var(--bg-soft); }
.sec--brand {
  background: linear-gradient(118deg, #ff7d33 0%, #f4611c 52%, #ee5410 100%);
  color: #fff;
  overflow: hidden;
}
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .5px;
}
.sec-head h2 em { font-style: normal; color: var(--brand); }
.sec--brand .sec-head h2 { color: #fff; }
.sec-head .en {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
}
.sec--brand .sec-head .en { color: rgba(255, 255, 255, .72); }
.sec-head .lead { margin-top: 18px; font-size: 17px; color: var(--ink-3); }
.sec-head .lead b { color: var(--brand); font-weight: 500; }
.sec--brand .sec-head .lead { color: rgba(255, 255, 255, .9); }
.sec-head .idx {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--brand);
  border: 1px solid rgba(242, 101, 34, .3);
  border-radius: 99px;
  padding: 2px 12px;
  margin-bottom: 14px;
}

/* ---------- 顶部导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  transition: box-shadow .35s var(--ease);
}
.header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--line);
}
.header.is-stuck { box-shadow: 0 8px 24px rgba(20, 20, 30, .07); }
.head-in {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 34px); }
.nav a {
  position: relative;
  font-size: 16px;
  color: var(--ink);
  padding: 6px 0;
  white-space: nowrap;
  transition: color .25s;
}
.nav a::after {
  content: "";
  position: absolute; left: 50%; bottom: -4px;
  width: 0; height: 2px; background: var(--brand);
  transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.nav a:hover { color: var(--brand); }
.nav a:hover::after { width: 70%; }
.nav a.active { color: var(--brand); font-weight: 600; }
.nav a.active::after { width: 70%; }

.head-tel {
  display: flex; align-items: center; gap: 8px;
  flex: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--brand);
}
.head-tel svg { width: 20px; height: 20px; }
.head-tel:hover { color: var(--brand-deep); }

.nav-toggle { display: none; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: linear-gradient(112deg, #ff8136 0%, #f5621d 55%, #eb4f0c 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, .16), transparent 42%),
    radial-gradient(circle at 78% 78%, rgba(255, 196, 150, .22), transparent 48%);
  pointer-events: none;
}
.hero-ring {
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  pointer-events: none;
}
.hero-ring.r1 { width: 300px; height: 300px; left: -110px; top: 60px; }
.hero-ring.r2 { width: 460px; height: 460px; right: -140px; top: -160px; border-color: rgba(255, 220, 190, .35); }
.hero-ring.r3 { width: 200px; height: 200px; left: 44%; bottom: -90px; }
.hero-blob {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 175, 120, .85), rgba(255, 120, 50, 0));
  filter: blur(2px);
  pointer-events: none;
}
.hero-blob.b1 { width: 260px; height: 260px; left: 8%; bottom: -70px; }
.hero-blob.b2 { width: 180px; height: 180px; right: 24%; top: 40px; opacity: .7; }

.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  visibility: hidden;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-copy { position: relative; z-index: 3; max-width: 60%; }
.hero-copy h1 {
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.28;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 6px 24px rgba(176, 56, 4, .18);
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  margin-top: 26px;
  background: #fff;
  color: var(--brand);
  border-radius: 999px;
  padding: 10px 42px;
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 700;
  letter-spacing: 3px;
  box-shadow: 0 14px 34px rgba(150, 45, 0, .18);
}
.hero-figure {
  position: absolute;
  right: 34px;
  bottom: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 2;
  pointer-events: none;
}
.hero-figure img {
  height: 94%;
  width: auto;
  object-fit: contain;
  object-position: bottom right;
  transform: translateZ(0);
  will-change: transform;
}
.hero-figure::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 6px;
  width: 62%;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(140, 40, 0, .26), rgba(140, 40, 0, 0) 72%);
  z-index: -1;
}
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}
.hero-dots button {
  width: 9px; height: 9px; padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .9);
  background: transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.hero-dots button.is-active { background: #fff; transform: scale(1.15); }

/* ---------- 品牌优势 ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.adv-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 18px 34px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.adv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.adv-card svg { width: 58px; height: 58px; margin: 0 auto 18px; color: var(--brand); }
.adv-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.adv-card p { font-size: 15px; line-height: 1.7; color: var(--ink-3); }

/* ---------- 热门课程 ---------- */
.course-block {
  display: flex;
  align-items: stretch;
  min-height: 340px;
  background: #f7f7f8;
  margin-bottom: 30px;
  overflow: hidden;
}
.course-block:nth-child(2n) { flex-direction: row-reverse; }
.course-copy {
  flex: 0 0 45%;
  padding: 46px 52px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.course-copy h3 { font-size: 25px; font-weight: 700; margin-bottom: 18px; }
.course-copy p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-3);
  text-align: justify;
}
.course-media {
  flex: 1;
  position: relative;
  overflow: hidden;
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
}
.course-block:nth-child(2n) .course-media { clip-path: polygon(0 0, 100% 0, 87% 100%, 0 100%); }
.course-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.course-block:hover .course-media img { transform: scale(1.07); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(242, 101, 34, .28);
  transition: transform .3s var(--ease), background .3s, box-shadow .3s;
}
.btn:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(242, 101, 34, .34); }
.btn--ghost { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { background: var(--brand-soft); color: var(--brand-deep); }
.btn--sm { height: 40px; font-size: 14px; padding: 0 24px; }
.course-copy .btn { margin-top: 26px; }

/* ---------- 师资团队 ---------- */
.teacher-wrap {
  display: flex;
  align-items: center;
  gap: 70px;
  justify-content: center;
}
.teacher-photo {
  position: relative;
  width: 300px;
  flex: none;
}
.teacher-photo img {
  width: 100%;
  border-radius: 8px;
  filter: drop-shadow(0 20px 40px rgba(130, 35, 0, .28));
}
.teacher-photo .tag {
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  background: #fff;
  color: var(--brand);
  font-size: 15px;
  padding: 6px 18px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(120, 30, 0, .18);
}
.teacher-info { max-width: 520px; color: #fff; }
.teacher-info .name { font-size: 30px; font-weight: 700; margin-bottom: 6px; }
.teacher-info .role { font-size: 18px; opacity: .92; margin-bottom: 22px; }
.teacher-info p { font-size: 15.5px; line-height: 2; color: rgba(255, 255, 255, .92); text-align: justify; }
.teacher-info .quote {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid rgba(255, 255, 255, .65);
  font-size: 15px;
  color: rgba(255, 255, 255, .88);
}
.teacher-list { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.teacher-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  width: 300px;
  box-shadow: var(--shadow-md);
  transition: transform .45s var(--ease);
}
.teacher-card:hover { transform: translateY(-8px); }
.teacher-card img { width: 100%; height: 300px; object-fit: cover; object-position: top center; }
.teacher-card .txt { padding: 20px 22px 24px; }
.teacher-card h4 { font-size: 19px; margin-bottom: 4px; }
.teacher-card span { font-size: 13px; color: var(--brand); letter-spacing: .5px; }
.teacher-card p { margin-top: 10px; font-size: 14px; color: var(--ink-3); line-height: 1.75; }

/* ---------- 教学环境 ---------- */
.env-grid {
  display: grid;
  grid-template-columns: 1.98fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 480px;
}
.env-item { position: relative; overflow: hidden; border-radius: 6px; background: #eee; }
.env-item:first-child { grid-row: span 2; }
.env-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.env-item:hover img { transform: scale(1.06); }
.env-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 15, 10, .28), transparent 55%);
  opacity: 0;
  transition: opacity .5s;
}
.env-item:hover::after { opacity: 1; }

/* ---------- 品牌实力 ---------- */
.cert-viewport { overflow: hidden; position: relative; }
.cert-viewport::before, .cert-viewport::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 90px; z-index: 3;
  pointer-events: none;
}
.cert-viewport::before { left: 0; background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0)); }
.cert-viewport::after { right: 0; background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0)); }
.cert-track { display: flex; gap: 26px; width: max-content; }
.cert-track figure {
  width: 300px;
  flex: none;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 10px;
  border-radius: 4px;
}
.cert-track img { width: 100%; height: 220px; object-fit: contain; }
.cert-note { text-align: center; margin-top: 44px; }

/* ---------- 学员案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 16px;
  color: var(--ink);
  transition: transform .45s var(--ease);
}
.case-card:hover { transform: translateY(-6px); }
.case-card > img {
  width: 130px; height: 132px;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
  flex: none;
}
.case-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.case-body .row { font-size: 15px; color: var(--ink-3); }
.case-body .row b { color: var(--brand); font-weight: 700; }
.case-body .row strong { color: var(--ink); font-weight: 500; }
.case-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; align-items: center; }
.chip {
  font-size: 12px;
  color: var(--brand);
  border: 1px solid rgba(242, 101, 34, .45);
  border-radius: 4px;
  padding: 2px 10px;
  line-height: 1.6;
}
.chip--solid { background: var(--brand); color: #fff; border-color: var(--brand); }
.case-chips .btn { height: 42px; padding: 0 18px; border-radius: 6px; font-size: 15px; }

/* ---------- 行业资讯 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-col .cover {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
}
.news-col .cover img { width: 100%; aspect-ratio: 706 / 508; object-fit: cover; transition: transform 1.2s var(--ease); }
.news-col .cover:hover img { transform: scale(1.05); }
.news-list { margin-top: 18px; display: grid; gap: 14px; }
.news-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e9e9ec;
  border-radius: 4px;
  padding: 10px;
  transition: border-color .3s, box-shadow .3s;
}
.news-item:hover { border-color: rgba(242, 101, 34, .4); box-shadow: var(--shadow-sm); }
.news-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 3px; flex: none; }
.news-item .t { font-size: 13px; color: var(--muted); flex: none; }
.news-item .h {
  font-size: 14px;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 报名条 ---------- */
.form-band { background: var(--bg-form); padding: 26px 0; }
.form-band .row { display: flex; gap: 22px; align-items: center; }
.form-band input {
  flex: 1;
  height: 52px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  padding: 0 20px;
  font-size: 15px;
  outline: none;
  transition: box-shadow .3s;
}
.form-band input:focus { box-shadow: 0 0 0 3px rgba(242, 101, 34, .28); }
.form-band .btn { height: 52px; min-width: 210px; border-radius: 8px; font-size: 16px; }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--footer);
  color: #fff;
  padding: 46px 0 26px;
  position: relative;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: clamp(30px, 6vw, 110px);
  padding-bottom: 40px;
  flex-wrap: wrap;
}
.footer-nav a { font-size: 16px; opacity: .95; transition: opacity .3s; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.footer-brand img { width: 200px; height: auto; display: block; }
.footer-slogan { flex: 1; display: flex; justify-content: center; }
.footer-slogan svg { width: 420px; max-width: 100%; height: 120px; }
.footer-contact { font-size: 15px; line-height: 1.9; }
.footer-contact .tel { font-size: 24px; font-weight: 700; letter-spacing: .5px; display: flex; align-items: center; gap: 10px; }
.footer-contact .addr { display: flex; align-items: flex-start; gap: 8px; margin-top: 4px; opacity: .95; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 6px; }
.qr-row { display: flex; gap: 20px; margin-top: 14px; }
.qr { text-align: center; font-size: 13px; line-height: 1.6; }
.qr .box {
  width: 78px; height: 78px;
  background: #fff;
  border-radius: 3px;
  padding: 4px;
  margin-bottom: 4px;
}
.qr .box img { width: 100%; height: 100%; object-fit: contain; }
.copyright {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .86);
}

/* ---------- 右侧悬浮 ---------- */
.side-tools {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.side-tools a {
  width: 66px;
  padding: 10px 0 8px;
  background: var(--brand);
  color: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: background .3s, transform .3s var(--ease);
}
.side-tools a:hover { background: var(--brand-deep); transform: translateX(-3px); }
.side-tools svg { width: 22px; height: 22px; }
.side-tools .to-top { opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.side-tools .to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- 内页 hero ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(112deg, #ff8136 0%, #f5621d 58%, #ec500d 100%);
  color: #fff;
  overflow: hidden;
  padding: 62px 0;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 86% 20%, rgba(255, 255, 255, .2), transparent 46%);
}
.page-hero .ring {
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
}
.page-hero .ring.a { width: 320px; height: 320px; right: 18%; top: -140px; }
.page-hero .ring.b { width: 200px; height: 200px; left: -60px; bottom: -90px; }
.page-hero .inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  min-height: 300px;
}
.page-hero .copy { max-width: 560px; }
.page-hero .crumb { font-size: 13px; letter-spacing: 1px; color: rgba(255, 255, 255, .8); margin-bottom: 16px; }
.page-hero .crumb b { font-weight: 500; color: #fff; }
.page-hero h1 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.35; letter-spacing: 2px; }
.page-hero .pill {
  display: inline-block;
  margin-top: 22px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  padding: 6px 22px;
  font-size: 15px;
  letter-spacing: 1px;
}
.page-hero figure {
  width: 400px;
  height: 300px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(130, 35, 0, .3);
  flex: none;
}
.page-hero figure img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 内页组件 ---------- */
.lead-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.lead-grid figure { margin: 0; border-radius: 6px; overflow: hidden; }
.lead-grid figure img { width: 100%; height: 100%; object-fit: cover; }

.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  color: var(--ink-2);
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-soft);
}
.check-list li::after {
  content: "";
  position: absolute; left: 5px; top: 11px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.num-list { counter-reset: n; display: grid; gap: 18px; }
.num-list li {
  counter-increment: n;
  position: relative;
  padding-left: 56px;
  font-size: 15.5px;
  color: var(--ink-3);
  line-height: 1.9;
}
.num-list li b { color: var(--ink); font-weight: 600; }
.num-list li::before {
  content: "0" counter(n);
  position: absolute; left: 0; top: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 1px;
}

/* 卡片网格 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.feat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feat-card .ic {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feat-card .ic svg { width: 28px; height: 28px; color: var(--brand); }
.feat-card h3 { font-size: 19px; margin-bottom: 10px; }
.feat-card p { font-size: 14.5px; color: var(--ink-3); line-height: 1.85; }

.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tile { position: relative; overflow: hidden; border-radius: 6px; background: #eee; }
.tile img { width: 100%; aspect-ratio: 730 / 484; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 14px;
  color: #fff;
  font-size: 16px;
  background: linear-gradient(to top, rgba(20, 12, 6, .6), transparent);
}

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 40px; }
.faq-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px 16px;
  align-items: start;
}
.faq-item .badge {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.faq-item .badge.a { background: #2b2b2f; }
.faq-item .q { font-size: 16.5px; color: var(--ink); padding-top: 2px; }
.faq-item .ans {
  grid-column: 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.9;
  margin-top: 2px;
}
.sec--soft .faq-item .ans { background: #fff; }

/* 列表带箭头 */
.link-list { display: grid; gap: 12px; }
.link-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  transition: all .3s var(--ease);
}
.link-list a:hover { border-color: rgba(242, 101, 34, .5); color: var(--brand); transform: translateX(4px); }
.link-list a span { color: var(--muted); font-size: 13px; }

/* 统计 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .num { font-size: 42px; font-weight: 700; color: #fff; line-height: 1.2; letter-spacing: 1px; }
.stat .num small { font-size: 18px; font-weight: 500; margin-left: 2px; }
.stat .lab { font-size: 14px; color: rgba(255, 255, 255, .82); margin-top: 4px; }

/* 时间线 */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 1px; background: var(--line);
}
.timeline li { position: relative; padding-bottom: 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -30px; top: 9px;
  width: 13px; height: 13px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand);
}
.timeline .year { font-size: 20px; font-weight: 700; color: var(--brand); }
.timeline p { font-size: 15px; color: var(--ink-3); }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.contact-line svg { width: 30px; height: 30px; color: var(--brand); flex: none; margin-top: 2px; }
.contact-line .k { font-size: 14px; color: var(--muted); margin-bottom: 2px; }
.contact-line .v { font-size: 21px; color: var(--ink); line-height: 1.7; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 34px; box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card .sub { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.fld { margin-bottom: 16px; }
.fld label { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.fld input, .fld textarea {
  width: 100%;
  border: 1px solid #e4e4e8;
  background: #f7f7f8;
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 15px;
  outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
  resize: vertical;
}
.fld input:focus, .fld textarea:focus {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(242, 101, 34, .12);
}
.fld textarea { min-height: 132px; }
.form-card .btn { width: 100%; height: 50px; border-radius: 8px; margin-top: 6px; }

/* 页脚底部信息条 */
.note-strip {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .3px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .adv-grid { grid-template-columns: repeat(3, 1fr); }
  .teacher-wrap { gap: 40px; }
  .case-grid { gap: 18px; }
  .case-card > img { width: 108px; height: 116px; }
}
@media (max-width: 992px) {
  .head-in { flex-wrap: wrap; height: auto; padding: 12px 0 0; row-gap: 4px; }
  .header.is-stuck .head-in { height: auto; }
  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
    gap: 20px;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 14px; }
  .hero { height: 480px; }
  .hero-copy { max-width: 72%; }
  .hero-figure img { height: 82%; }
  .course-block, .course-block:nth-child(2n) { flex-direction: column; }
  .course-media { clip-path: none !important; height: 260px; }
  .course-copy { flex: none; padding: 32px 28px; }
  .env-grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .env-item:first-child { grid-row: auto; }
  .env-item img { height: 260px; }
  .case-grid, .news-grid, .grid-3, .grid-4, .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .teacher-wrap { flex-direction: column; text-align: center; }
  .teacher-info { max-width: 100%; }
  .footer-main { flex-direction: column; text-align: center; }
  .footer-contact .tel, .footer-contact .addr { justify-content: center; }
  .qr-row { justify-content: center; }
  .page-hero figure { display: none; }
  .lead-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-band .row { flex-direction: column; }
  .form-band input, .form-band .btn { width: 100%; }
}
/* ---------- 咨询问题行 ---------- */
.ask-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 26px; }
.ask-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(100deg, #ff8b41 0%, #f2601c 55%, #eb4f0c 100%);
  color: #fff;
  border-radius: 6px;
  padding: 14px 18px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ask-row:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(242, 101, 34, .3); }
.ask-row .no {
  font-size: 15px;
  font-weight: 700;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 4px;
  padding: 2px 9px;
  flex: none;
}
.ask-row .q { flex: 1; font-size: 15.5px; line-height: 1.6; }
.ask-row .go {
  background: #fff;
  color: var(--brand);
  border-radius: 999px;
  padding: 5px 18px;
  font-size: 13px;
  flex: none;
  white-space: nowrap;
}

/* ---------- 关于 / 个人介绍 ---------- */
.profile { display: flex; gap: 60px; align-items: center; }
.profile figure { margin: 0; width: 320px; flex: none; }
.profile figure img { width: 100%; border-radius: 8px; box-shadow: var(--shadow-md); }
.profile h3 { font-size: 30px; margin-bottom: 4px; }
.profile .role { font-size: 17px; color: var(--brand); margin-bottom: 18px; }
.profile p { font-size: 15.5px; color: var(--ink-3); line-height: 2; text-align: justify; }

/* ---------- 服务项目卡 ---------- */
.svc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px 30px 34px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card .idx {
  position: absolute;
  right: 22px;
  top: 6px;
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -2px;
  color: rgba(242, 101, 34, .09);
  line-height: 1;
}
.svc-card .ic { width: 60px; height: 60px; border-radius: 14px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.svc-card .ic svg { width: 30px; height: 30px; color: var(--brand); }
.svc-card h3 { font-size: 21px; margin-bottom: 10px; }
.svc-card p { font-size: 14.5px; color: var(--ink-3); line-height: 1.9; }
.svc-card .more { display: inline-block; margin-top: 18px; font-size: 14px; color: var(--brand); }
.svc-card .more::after { content: " →"; }

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: f; }
.flow li {
  counter-increment: f;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 20px;
  position: relative;
}
.flow li::before {
  content: "0" counter(f);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}
.flow li b { display: block; font-size: 17px; margin-bottom: 6px; }
.flow li span { font-size: 13.5px; color: var(--ink-3); line-height: 1.8; }

/* ---------- 信息块 ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.info-card h4 { font-size: 17px; margin-bottom: 8px; }
.info-card p { font-size: 14.5px; color: var(--ink-3); line-height: 1.9; }

/* ---------- 联系 ---------- */
.contact-form .fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 992px) {
  .ask-grid, .flow, .info-grid { grid-template-columns: 1fr 1fr; }
  .profile { flex-direction: column; text-align: center; }
  .profile figure { width: 240px; }
}
@media (max-width: 640px) {
  .ask-grid, .flow, .info-grid, .contact-form .fld-row { grid-template-columns: 1fr; }
  .sec { padding: 54px 0; }
  .sec-head h2 { font-size: 28px; }
  .adv-grid, .case-grid, .news-grid, .grid-3, .grid-4, .grid-2, .tile-grid, .faq, .check-list { grid-template-columns: 1fr; }
  .hero { height: 420px; }
  .hero-copy { max-width: 100%; }
  .hero-copy h1 { letter-spacing: 1px; }
  .hero-figure { opacity: .5; right: -18%; }
  .footer-slogan svg { height: 90px; }
  .side-tools { display: none; }
  .head-tel span { display: none; }
}

/* ---------- 内页补充细节 ---------- */
.para { font-size: 15.5px; color: var(--ink-3); line-height: 2; margin-bottom: 18px; text-align: justify; }
.para:last-child { margin-bottom: 0; }

.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.sub-block { margin-top: 76px; }

.timeline li .year { display: block; line-height: 1.2; }
.timeline li h4 { font-size: 17px; margin: 6px 0 6px; }

.qr-row figure { margin: 0; text-align: center; }
.qr-row img { width: 128px; height: 128px; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.qr-row figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

.form-card .sub,
.form-card .hint { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.form-card .fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld > span { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.fld select {
  width: 100%;
  border: 1px solid #e4e4e8;
  background-color: #f7f7f8;
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--ink-2);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #9a9aa1 50%), linear-gradient(135deg, #9a9aa1 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.fld select:focus { background-color: #fff; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(242, 101, 34, .12); }
.form-card .note { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.7; }

.tips {
  margin-top: 34px;
  padding: 18px 24px;
  background: #fff;
  border-left: 3px solid var(--brand);
  border-radius: 4px;
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.9;
}

@media (max-width: 992px) {
  .svc-list { grid-template-columns: 1fr; }
  .form-card .fld-row { grid-template-columns: 1fr; }
}

/* ---------- 卡片等高与内部对齐 ---------- */
.adv-grid > *, .grid-2 > *, .grid-3 > *, .grid-4 > *,
.info-grid > *, .svc-list > *, .case-grid > *, .teacher-list > * { height: 100%; }

.adv-card, .feat-card, .info-card, .svc-card, .teacher-card {
  display: flex;
  flex-direction: column;
}
.adv-card { justify-content: flex-start; }
.adv-card p, .feat-card p, .info-card p, .svc-card p { flex: 1 1 auto; }
.adv-card h3, .feat-card h3, .info-card h4, .svc-card h3 {
  display: flex;
  align-items: center;
  min-height: 28px;
}
.svc-card .more { margin-top: auto; }
.teacher-card .txt { flex: 1 1 auto; display: flex; flex-direction: column; }
.teacher-card .txt p { flex: 1 1 auto; }
.teacher-list { align-items: stretch; }
.case-card { height: 100%; }
.case-card > img { align-self: center; }
.news-item .h { flex: 1 1 auto; min-width: 0; }
.adv-card { justify-content: flex-start; gap: 0; }
.adv-card svg { flex: none; }
.adv-card h3 { justify-content: center; }
.adv-card p { margin-top: auto; }
@media (max-width: 1200px) {
  .adv-grid { grid-template-columns: repeat(3, 1fr); }
}