/* ============================================================
   心雨中文 Xinyu Chinese — 清爽门户风（色调参照 gaokao.cn）
   主橙 #ff6500 · 深橙 #e35400 / #cc5200 · 琥珀 #ff9d1a
   文字 #333 / #666 / #999 · 底色 #fff / #f5f6f7 · 细线 #ebedf0
   变量名沿用旧命名，改值即全站生效
   ============================================================ */
:root {
  --cinnabar: #ff6500;   /* 主品牌橙（对应 gaokao.cn #ff6500） */
  --seal: #e35400;       /* 深橙 · 悬停 / 强调条 */
  --jade: #cc5200;       /* 深橙 · 次要按钮与链接 */
  --ink: #222222;        /* 墨黑 · 标题 / 深底 */
  --gold: #ff9d1a;       /* 琥珀 · 点缀 */
  --paper: #ffffff;      /* 页面底色 · 白 */
  --cream: #f5f6f7;      /* 交替区块 · 浅灰 */
  --card: #ffffff;       /* 卡片底 */
  --line: #ebedf0;       /* 细线 */
  --text: #333333;       /* 正文 */
  --heading: #222222;    /* 标题 */
  --muted: #999999;      /* 次要文字 */
  --footer: #262626;     /* 页脚深灰 */
  --max: 1360px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--paper);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cinnabar); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--seal); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--cinnabar); color: #ffffff; }
.xy_section-faq{background-color: #fff !important;}
.xy_container { width: 92%; max-width: var(--max); margin: 0 auto; }
.xy_section { padding: 88px 0; }
.xy_section-alt { background: var(--cream); }
.xy_center { text-align: center; }

h1, h2, h3, h4 {
  color: var(--heading);
  font-weight: 600;
  line-height: 1.28;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}
h1 { font-size: 48px; }
h2 { font-size: 34px; margin-bottom: 10px; }
h3 { font-size: 21px; }
.xy_subhead { font-size: 18px; font-weight: 400; color: var(--text); margin-bottom: 40px; }

/* 按钮 */
.xy_btn {
  display: inline-block;
  background: var(--cinnabar);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 30px;
  border: none;
  border-radius: 999px;
  transition: transform .35s var(--ease), box-shadow .35s ease, background .25s ease;
  box-shadow: 0 4px 14px rgba(255, 101, 0, .22);
}
.xy_btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 101, 0, .3); color: #ffffff; }
.xy_btn-outline {
  background: transparent;
  border: 2px solid var(--cinnabar);
  color: var(--cinnabar);
  box-shadow: none;
}
.xy_btn-outline:hover { background: var(--cinnabar); color: #ffffff; }
.xy_btn-dark { background: var(--jade); color: #ffffff; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.xy_btn-dark:hover { color: #ffffff; box-shadow: 0 10px 24px rgba(0, 0, 0, .28); }
.xy_learn-more {
  color: var(--jade);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s ease, color .25s ease;
}
.xy_learn-more:hover { gap: 10px; color: var(--seal); }
.xy_learn-more::after { content: ">"; font-weight: 700; }

/* ============ 顶部导航 ============ */
.xy_site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .35s ease, background .35s ease;
}
.xy_site-header.xy_scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .1); }
nav.xy_header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 92%;
  max-width: var(--max);
  margin: 0 auto;
  height: 84px;
  gap: 70px;
}
.xy_logo img { height: 50px; width: auto; }
.xy_nav-desktop { display: flex; align-items: center; gap: 0; list-style: none; flex: 1; min-width: 0; }
.xy_nav-desktop > .xy_nav-item { list-style: none; flex: 1; min-width: 0; text-align: center; }
.xy_nav-item { position: relative; }
.xy_nav-link {
  position: relative;
  display: block;
  color: var(--heading);
  font-size: 15px;
  font-weight: 600;
  padding: 32px 15px;
  white-space: nowrap;
  text-align: center;
  transition: color .25s ease;
}
.xy_nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 60%;
  height: 2px;
  background: var(--cinnabar);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .35s var(--ease);
}
.xy_nav-item:hover .xy_nav-link::after,
.xy_nav-item.xy_on .xy_nav-link::after { transform: translateX(-50%) scaleX(1); }
.xy_nav-item.xy_on .xy_nav-link,
.xy_nav-link:hover { color: var(--cinnabar); }
/* 有下拉的导航项：箭头指示 */
.xy_nav-item.xy_has-sub > .xy_nav-link { padding-right: 15px; }
.xy_nav-item.xy_has-sub > .xy_nav-link::before {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .6;
  transition: transform .32s var(--ease), margin .32s var(--ease);
}
.xy_nav-item.xy_has-sub:hover > .xy_nav-link::before,
.xy_nav-item.xy_has-sub.xy_on > .xy_nav-link::before {
  transform: rotate(-135deg);
  margin-top: -2px;
  opacity: 1;
}

.xy_dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 240px;
  background: #ffffff;
  border-top: 3px solid var(--cinnabar);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  list-style: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.xy_nav-item:hover .xy_dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.xy_dropdown li { list-style: none; }
.xy_dropdown a {
  display: block;
  color: var(--text);
  padding: 9px 24px;
  font-size: 14px;
  font-weight: 500;
}
.xy_dropdown a:hover { color: var(--cinnabar); background: var(--cream); }
.xy_header-right { display: flex; align-items: center; gap: 10px; }
.xy_header-cta { padding: 12px 24px; white-space: nowrap; display: none;}

/* 中英文切换（旧 .xy_lang / .xy_lang-btn 已废弃，见下方 .xy_lang-switch） */
.xy_burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--cinnabar);
  font-size: 28px;
}

/* 移动端菜单 */
.xy_mobile-menu {
  display: none;
  background: var(--footer);
  padding: 20px 8% 40px;
  min-height: calc(100vh - 58px);
  min-height: calc(100dvh - 58px);
  max-height: calc(100vh - 58px);
  max-height: calc(100dvh - 58px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.xy_mobile-menu.xy_open { display: block; }
.xy_mobile-menu a {
  display: block;
  color: #f5f6f7;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.xy_mobile-menu a:hover { color: var(--gold); }
.xy_mobile-menu .xy_sub {
  padding-left: 16px;
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, .72);
}

/* 移动端折叠分组 + 展开/收起箭头 */
.xy_m-group { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.xy_m-head { display: flex; align-items: center; gap: 8px; }
.xy_mobile-menu .xy_m-label { flex: 1 1 auto; border-bottom: 0; }
.xy_mobile-menu .xy_m-toggle {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, .72);
  transition: background .25s ease, color .25s ease;
}
.xy_mobile-menu .xy_m-toggle:hover,
.xy_mobile-menu .xy_m-toggle:focus-visible { background: rgba(255, 255, 255, .12); color: var(--gold); }
.xy_m-arrow {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);          /* 收起：箭头朝下 */
  margin-top: -4px;
  transition: transform .32s var(--ease), margin .32s var(--ease);
}
.xy_m-group.xy_open .xy_m-arrow { transform: rotate(-135deg); margin-top: 4px; }  /* 展开：箭头朝上 */
.xy_m-group.xy_open .xy_m-toggle { color: var(--gold); }
.xy_m-panel { display: none; padding-bottom: 6px; }
.xy_m-group.xy_open .xy_m-panel { display: block; }

/* 顶部招生条 */
.xy_promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--seal);
  color: #ffffff;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
}
.xy_promo-banner .xy_btn {
  padding: 5px 18px;
  font-size: 13px;
  background: var(--gold);
  color: var(--ink);
  box-shadow: none;
}
.xy_promo-banner .xy_btn:hover { box-shadow: 0 6px 16px rgba(0,0,0,.2); }

/* ============ Hero ============ */
.xy_hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
}
/* 首页轮播 Banner：自动播放 + 左右箭头 + 圆点切换 */
.xy_hero.xy_banner {
  min-height: 620px;
  display: block;
  text-align: center;
  overflow: hidden;
  background: var(--ink);
}
.xy_hero.xy_banner::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  height: 4px;
  z-index: 5;
  background: linear-gradient(90deg, #ff6500 0%, #ff9d1a 55%, #ffcf94 100%);
  opacity: .9;
}
.xy_banner-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity .9s ease, visibility .9s ease;
}
.xy_banner-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgb(0 0 0 / 28%) 0%, rgb(0 0 0 / 18%) 55%, rgb(255 101 0 / 25%) 100%);
}
.xy_banner-slide.xy_on { opacity: 1; visibility: visible; z-index: 2; }
.xy_banner-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(0, 0, 0, .3);
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.xy_banner-arrow:hover { background: var(--cinnabar); border-color: var(--cinnabar); transform: translateY(-50%) scale(1.06); }
.xy_banner-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* 右侧固定联系条约占 85px，箭头内缩避开，保证可点击 */
.xy_banner-arrow.xy_prev { left: 96px; }
.xy_banner-arrow.xy_next { right: 96px; }
.xy_banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.xy_banner-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 999px;
  background: transparent;
  transition: width .3s var(--ease), background .25s ease, border-color .25s ease;
}
.xy_banner-dot:hover { background: rgba(255, 255, 255, .5); }
.xy_banner-dot.xy_on { width: 30px; background: var(--gold); border-color: var(--gold); }
.xy_banner-kicker {
  display: inline-block;
  letter-spacing: .2em;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
}
.xy_banner-sub { font-size: 18px; margin: -8px 0 30px; color: #ffffff; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
.xy_hero-inner { width: 92%; max-width: 1100px; margin: 0 auto; padding: 96px 0 112px; position: relative; z-index: 2; }
.xy_hero h1 {
  color: #fff;
  font-size: 52px;
  font-weight: 600;
  margin-bottom: 28px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .5);
}
.xy_hero h1 a { color: #fff; }
.xy_hero .xy_btn-outline { border-color: #ffffff; color: #ffffff; box-shadow: none; }
.xy_hero .xy_btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.xy_awards-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 28px;
  margin-top: 48px;
}
.xy_awards-row img { height: 64px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.2)); }

/* ============ 数据条（图标卡片 · 悬停浮起） ============ */
.xy_stats { padding: 56px 0;  }
.xy_stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.xy_stat {
  position: relative;
  padding: 28px 18px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease), background .35s var(--ease);
}
a.xy_stat { display: block; text-decoration: none; color: inherit; cursor: pointer; }
/* 悬停时从底边中心展开的橙金渐变条 */
.xy_stat::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--gold), var(--cinnabar));
  transition: width .4s var(--ease);
}
.xy_stat:hover {
  transform: translateY(-6px);
  border-color: #ffd2b0;
  background: #fffaf6;
  box-shadow: 0 16px 34px rgba(255, 101, 0, .16);
}
.xy_stat:hover::after { width: 60px; }

.xy_stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--cinnabar);
  background: #fff0e6;
  transition: color .35s var(--ease), background .35s var(--ease),
              transform .35s var(--ease), box-shadow .35s var(--ease);
}
.xy_stat-icon svg { width: 26px; height: 26px; display: block; }
.xy_stat:hover .xy_stat-icon {
  color: #ffffff;
  background: linear-gradient(135deg, var(--cinnabar), var(--gold));
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 20px rgba(255, 101, 0, .3);
}

.xy_stat-num {
  display: block;
  font-size: 26px;
  font-weight: 600;
  color: var(--heading);
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  transition: color .3s var(--ease);
}
.xy_stat:hover .xy_stat-num { color: var(--cinnabar); }
.xy_stat-label { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ============ 图文分栏 ============ */
.xy_split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.xy_split-text h2 { margin-bottom: 8px; }
.xy_bullet { list-style: none; margin: 18px 0 0; }
.xy_bullet li { position: relative; padding: 8px 0 8px 28px; }
.xy_bullet li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.xy_photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.xy_photo-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}

/* ============ 推广卡 ============ */
.xy_section-test{background-color:#fff;padding: 0 0 80px;}
.xy_promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.xy_promo-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .05);
  padding: 30px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
/* 顶部强调条：hover 时从左滑入 */
.xy_promo-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cinnabar), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
/* 悬停浮起 + 强调条展开 + 标题变色 + 箭头前移 */
.xy_promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, .12);
  border-color: rgba(255, 101, 0, .25);
}
.xy_promo-card:hover::before { transform: scaleX(1); }
.xy_promo-card:hover h4 { color: var(--cinnabar); }
.xy_promo-card:hover .xy_learn-more { gap: 10px; color: var(--seal); }

/* 图标底座：浅橙渐变圆角容器 */
.xy_promo-card .xy_promo-icon {
  width: 84px;
  height: 84px;
  padding: 14px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #fff3ea, #ffe3cd);
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cinnabar);
  box-shadow: 0 4px 12px rgba(255, 101, 0, .1);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
}
.xy_promo-card .xy_promo-icon svg { width: 100%; height: 100%; display: block; }
.xy_promo-card:hover .xy_promo-icon {
  transform: scale(1.07) rotate(-3deg);
  box-shadow: 0 10px 22px rgba(255, 101, 0, .22);
  background: linear-gradient(135deg, #ffe9d6, #ffd2a8);
}
.xy_promo-card h4 { margin-bottom: 8px; transition: color .3s ease; }

/* 与滚动显现（xy_reveal）的 transition 分阶段，避免互相覆盖 */
.xy_promo-card.xy_reveal {
  transition: opacity .7s var(--ease), transform .7s var(--ease),
    box-shadow .35s var(--ease), border-color .3s ease;
}
.xy_promo-card.xy_in {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s ease;
}
@media (max-width: 560px) {
  .xy_promo-card { padding: 22px 18px; gap: 16px; }
  .xy_promo-card .xy_promo-icon { width: 68px; height: 68px; padding: 12px; }
}

/* 合作媒体滚动 */
.xy_featured { overflow: hidden; padding: 48px 0; }
.xy_logo-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.xy_logo-track img { height: 42px; width: auto; opacity: .8; filter: grayscale(.25); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ 媒体块 ============ */
.xy_media-block { display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; }
.xy_media-block .xy_video-cover { width: 100%; max-width: 900px; }
.xy_media-block article { max-width: 640px; }
.xy_media-block .xy_btn { margin-top: 10%; }
.xy_video-cover { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 40px rgba(0, 0, 0, .16); cursor: pointer; }
.xy_video { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: #000; }
.xy_play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 101, 0, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
  transition: transform .25s var(--ease), background .25s ease, opacity .3s ease;
}
.xy_anniu{margin-top: 10%;}
.xy_play-btn:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--cinnabar); }
.xy_play-btn svg { width: 32px; height: 32px; fill: #fff; margin-left: 5px; }
.xy_video-cover.is-playing { cursor: default; }
.xy_video-cover.is-playing .xy_play-btn { opacity: 0; visibility: hidden; pointer-events: none; }

/* 课堂实拍图集 */
.xy_video-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.xy_video-gallery .xy_video-cover {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .1);
  cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s ease;
}
.xy_video-gallery .xy_video-cover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .2);
}
.xy_video-gallery .xy_video-cover img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #ffffff;
  display: block;
  transition: transform .7s var(--ease);
}
.xy_video-gallery .xy_video-cover:hover img {
  transform: scale(1.04);
}
/* 悬停渐变蒙版 */
.xy_video-gallery .xy_video-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(227,84,0,.4) 100%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  border-radius: 16px;
}
.xy_video-gallery .xy_video-cover:hover::after { opacity: 1; }
/* 隐藏播放按钮 */
.xy_video-gallery .xy_video-cover .xy_play-btn { display: none; }

/* 分页 */
.pagination-numbered {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.pagination-numbered .page {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.pagination-numbered .page a,
.pagination-numbered .page b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--heading);
  background: #fff;
  border: 1px solid #e6e6e6;
  transition: color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
  text-decoration: none;
}
.pagination-numbered .page a:hover {
  color: var(--cinnabar);
  border-color: var(--cinnabar);
  box-shadow: 0 4px 12px rgba(227, 84, 0, .15);
}
.pagination-numbered .page b {
  color: var(--cinnabar);
  border: none;
  background: transparent;
  font-weight: 600;
}

@media (max-width: 900px) {
  .xy_video-gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (max-width: 640px) {
  .xy_video-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .xy_video-gallery .xy_video-cover { border-radius: 14px; }
  .pagination-numbered .page a,
  .pagination-numbered .page b {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 13px;
  }
}
@media (max-width: 400px) {
  .xy_video-gallery { grid-template-columns: 1fr; }
  .pagination-numbered .page a,
  .pagination-numbered .page b {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    font-size: 12px;
  }
}

/* ============ 课程卡 ============ */
.xy_section-testimonials{background-color: #f5f6f7;}
.xy_cards-3, .xy_cards-6 { display: grid; gap: 28px; }
.xy_cards-3 { grid-template-columns: repeat(3, 1fr); }
.xy_cards-6 { grid-template-columns: repeat(3, 1fr); }
.xy_card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .06);
  transition: transform .45s var(--ease), box-shadow .45s ease;
}
.xy_card:hover { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(0, 0, 0, .14); }
.xy_card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .7s var(--ease); }
.xy_card:hover img { transform: scale(1.06); }
.xy_card-body { padding: 24px 26px 28px; }
.xy_card-body h4 { margin-bottom: 8px; font-size: 18px; }
.xy_card-body p { font-size: 14px; margin-bottom: 12px; color: var(--muted); }

/* ============ 城市卡 ============ */
.xy_city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.xy_city-card { text-align: center; padding: 12px 8px 8px; }
.xy_city-card img { width: 160px; height: 160px; object-fit: contain; margin: 0 auto 16px; }
.xy_city-card h3 { font-size: 18px; margin-bottom: 8px; }
.xy_city-card p { font-size: 14px; margin-bottom: 12px; }

/* ============ 品牌块 ============ */
.xy_brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.xy_brand {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
  padding: 28px 24px;
  text-align: center;
}
.xy_brand img { height: 64px; margin: 0 auto 16px; object-fit: contain; }

/* ============ FAQ ============ */
.xy_faq-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 56px; align-items: start; }
.xy_faq-item { border-bottom: 1px solid var(--line); }
.xy_faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 18px 36px 18px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
  position: relative;
}
.xy_faq-q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 15px;
  color: var(--cinnabar);
  font-size: 22px;
}
.xy_faq-item.xy_open .xy_faq-q::after { content: "–"; }
.xy_faq-a {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 8px 0 0;
  font-size: 14.5px;
  transition: max-height .4s var(--ease), opacity .3s ease, padding .3s ease;
}
.xy_faq-item.xy_open .xy_faq-a { max-height: 280px; opacity: 1; padding: 0 8px 18px 0; }
.xy_faq-side img { width: 100%; border-radius: 14px; object-fit: cover; aspect-ratio: 3.5/4; }

/* ============ 学员评价 ============ */
.xy_testimonial {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
  padding: 28px 26px;
  font-size: 14.5px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background .45s var(--ease), border-color .45s ease, box-shadow .45s ease, transform .45s var(--ease), color .45s ease;
}
.xy_testimonial::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cinnabar), var(--gold));
  opacity: 0;
  transition: opacity .45s ease;
}
.xy_testimonial:hover {
  background: linear-gradient(160deg, #fff6ed 0%, #ffe8d4 100%);
  border-color: var(--cinnabar);
  box-shadow: 0 16px 38px rgba(227, 84, 0, .18);
  transform: translateY(-4px);
  color: var(--ink);
}
.xy_testimonial:hover::before { opacity: 1; }
.xy_testimonial:hover p { color: var(--ink); }
.xy_testimonial:hover .xy_who { color: var(--cinnabar); }
.xy_avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
.xy_testimonial p { text-align: left; transition: color .45s ease; }
.xy_testimonial .xy_who { margin-top: 12px; font-weight: 600; color: var(--heading); text-align: left; transition: color .45s ease; }
.xy_google-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.xy_google-row img { height: 48px; }

/* ============ 资讯 ============ */
.xy_news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.xy_news-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; }
.xy_news-card h3 { font-size: 18px; margin: 12px 0 6px; }
.xy_news-card h3 a { color: var(--heading); }
.xy_news-card h3 a:hover { color: var(--cinnabar); }
.xy_news-card .xy_date { font-size: 13px; color: var(--muted); }

/* ============ 内页头 ============ */
.xy_page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 88px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.xy_page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .68) 48%, rgba(227, 84, 0, .78) 100%);
}
.xy_page-hero > * { position: relative; z-index: 1; max-width: 880px; }
.xy_page-hero h1 { color: #fff; margin-bottom: 10px; font-size: 52px; letter-spacing: .04em; }
.xy_page-hero p { color: #f5f6f7; font-size: 18px; }
.xy_page-hero.xy_light {
  background: #ffffff;
  color: var(--heading);
  padding: 52px 20px 24px;
}
.xy_page-hero.xy_light::before { display: none; }
.xy_page-hero.xy_light h1 { color: var(--heading); }
.xy_page-hero.xy_light p { color: var(--text); }
.xy_hero-logo { height: 72px; margin: 0 auto 18px; }
.xy_crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 18px;
}
.xy_crumb a { color: #ffffff; opacity: .9; }
.xy_crumb span { opacity: .55; }

/* 章节头 */
.xy_section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.xy_kicker {
  display: inline-block;
  letter-spacing: .28em;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}
.xy_section-head .xy_kicker { color: var(--cinnabar); }
.xy_section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--gold), var(--cinnabar));
  border-radius: 2px;
}
.xy_section-head p { color: var(--muted); margin-top: 10px; }

/* 滚动显现 */
.xy_reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.xy_reveal.xy_in { opacity: 1; transform: none; }

/* ============ 课程详情页 ============ */
.xy_course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 56px;
  align-items: start;
}
.xy_course-visual {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .14);
}

/* ============ 老师简介 ============ */
.xy_teacher {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}
.xy_teacher-photo { position: relative; }
.xy_teacher-photo img {
  width: 100%;
  aspect-ratio: 5 / 5;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .14);
}
.xy_teacher-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 101, 0, .92);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}
.xy_teacher-body .xy_subhead { margin-bottom: 18px; }
.xy_teacher-body p + p { margin-top: 14px; }
.xy_teacher-body .xy_bullet { margin: 22px 0; }
.xy_chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.xy_chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--seal);
  font-size: 13px;
  font-weight: 600;
}
.xy_highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.xy_highlight {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 20px;
  text-align: left;
  transition: transform .4s var(--ease), box-shadow .4s ease;
}
.xy_highlight:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }
.xy_highlight strong {
  display: block;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 18px;
  color: var(--heading);
  margin-bottom: 6px;
}
.xy_highlight p { font-size: 14px; color: var(--muted); margin: 0; }

.xy_related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.xy_related a {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  color: var(--heading);
  transition: transform .4s var(--ease), border-color .3s ease;
}
.xy_related a:hover { transform: translateY(-4px); border-color: var(--cinnabar); color: var(--cinnabar); }
.xy_related span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ============ 步骤卡 ============ */
.xy_steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.xy_steps img { height: 56px; margin: 0 auto 10px; }
.xy_step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: left;
  height: 100%;
  transition: transform .4s var(--ease), box-shadow .4s ease;
}
.xy_step-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }
.xy_step-num {
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 28px;
  color: var(--cinnabar);
  display: block;
  margin-bottom: 10px;
}

/* ============ 联系页 ============ */
.xy_contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.xy_info-panel {
  background: linear-gradient(165deg, var(--ink) 0%, var(--jade) 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 40px 36px;
  min-height: 100%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .16);
}
.xy_info-panel h3 { color: #ffffff; margin-bottom: 14px; }
.xy_info-panel p { color: #e8e8e8; margin: 10px 0; }
.xy_info-panel img { width: 148px; margin-top: 18px; background: #ffffff; border-radius: 12px; padding: 8px; }

.xy_form {
  background: var(--card);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .07);
  border: 1px solid var(--line);
}
.xy_form label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 6px; color: var(--heading); }
.xy_form input, .xy_form select, .xy_form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 14px;
  background: #ffffff;
  color: var(--text);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.xy_form input:focus, .xy_form select:focus, .xy_form textarea:focus {
  outline: none;
  border-color: var(--cinnabar);
  box-shadow: 0 0 0 3px rgba(255, 101, 0, .12);
}
.xy_form textarea { min-height: 120px; resize: vertical; }
.xy_form .xy_btn { width: 100%; margin-top: 18px; }
.xy_form-ok {
  display: none;
  background: rgba(255, 101, 0, .1);
  color: var(--jade);
  padding: 12px;
  border-radius: 8px;
  margin-top: 12px;
}
.xy_f_err { color: #e74c3c; font-size: 12px; margin: 4px 0 0; min-height: 16px; }
.xy_form input.xy_f_bad, .xy_form select.xy_f_bad, .xy_form textarea.xy_f_bad { border-color: #e74c3c !important; }

/* ============ 付费卡 ============ */
.xy_price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  padding: 32px;
  max-width: 420px;
}
.xy_price-card .xy_from { display: block; font-size: 14px; color: var(--muted); }
.xy_price-card .xy_amt { display: block; font-size: 32px; font-weight: 700; color: var(--heading); margin: 8px 0 16px; }
.xy_price-card li { padding: 6px 0 6px 18px; position: relative; }
.xy_price-card li::before { content: "•"; position: absolute; left: 0; color: var(--cinnabar); }

/* ============ 图集 ============ */
.xy_gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.xy_gallery img { aspect-ratio: 1/1; width: 100%; object-fit: cover; border-radius: 10px; }
.xy_gallery.xy_onsite {
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 168px 168px;
  gap: 12px;
  margin-top: 12px;
}
.xy_gallery.xy_onsite img {
  height: 100%;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
  transition: transform .55s var(--ease);
}
.xy_gallery.xy_onsite img:hover { transform: scale(1.03); }
.xy_gallery.xy_onsite img:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }

.xy_support-row { display: flex; justify-content: center; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.xy_support-row img { height: 92px; }

.xy_dates { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.xy_date-chip {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  min-width: 88px;
  text-align: center;
  color: var(--seal);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

/* ============ 元信息条 ============ */
.xy_meta-bar { background: var(--cream); padding: 18px 0; font-size: 13px; }
.xy_meta-bar .xy_container { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: center; }
.xy_meta-bar strong { color: var(--heading); }

.xy_info-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.xy_info-4 img { height: 48px; margin: 0 auto 10px; }
.xy_info-4 h4 { font-size: 16px; margin-bottom: 6px; }

/* 时间线 */
.xy_timeline { max-width: 720px; margin: 0 auto; text-align: left; }
.xy_tl {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-left: 3px solid var(--gold);
  margin-left: 20px;
  padding-left: 24px;
}
.xy_tl-year { font-weight: 700; color: var(--seal); }

/* ============ 课程模式 / 路径 / 媒体图块 ============ */
.xy_mode-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.xy_mode-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
  transition: transform .45s var(--ease), box-shadow .4s ease;
}
.xy_mode-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0, 0, 0, .1); }
.xy_mode-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.xy_mode-card article { padding: 18px 20px 22px; }
.xy_mode-card h4 { margin-bottom: 6px; }

.xy_path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.xy_path {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: left;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .05);
}
.xy_path h3 { margin-bottom: 12px; }
.xy_path ul { margin: 16px 0 22px; }

.xy_media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.xy_media-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: left;
  min-height: 180px;
  transition: transform .4s var(--ease), box-shadow .4s ease;
}
.xy_media-tile:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0, 0, 0, .1); }
.xy_media-tile h4 { margin-bottom: 8px; }

/* ============ 底部行动条 ============ */
.xy_apply-strip {
  background: linear-gradient(120deg, var(--jade) 0%, #ff6922 52%, var(--seal) 100%);
  color: #ffffff;
  text-align: center;
  padding: 68px 20px;
}
.xy_apply-strip img { height: 72px; margin: 0 auto 16px; }
.xy_apply-strip h2, .xy_apply-strip .xy_kicker, .xy_apply-strip p { color: #ffffff; }
.xy_apply-strip .xy_kicker { color: var(--gold); }
.xy_apply-strip .xy_btn { background: var(--gold); color: var(--ink); box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.xy_apply-strip .xy_btn-outline { background: transparent; border-color: #ffffff; color: #ffffff; box-shadow: none; }
.xy_apply-strip .xy_btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ============ 页脚 ============ */
.xy_site-footer { background: var(--footer); color: #b8b8b8; padding: 56px 0 0; }
.xy_footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.9fr; gap: 48px; }
.xy_site-footer h4 { color: #fff; margin-bottom: 14px; }
.xy_site-footer a { color: #b8b8b8; display: block; padding: 4px 0; font-size: 14px; }
.xy_site-footer a:hover { color: var(--gold); }
.xy_footer-about { font-size: 14px; line-height: 1.7; }
.xy_footer-about img { height: 40px; margin-bottom: 14px; }
.xy_socials { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.xy_socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ff9d1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 0;
  transition: transform .3s var(--ease), background .3s ease, box-shadow .3s ease;
}
.xy_socials a svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.xy_socials a:hover {
  background: var(--cinnabar);
  color: #ffffff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .28);
}
.xy_copyright {
  text-align: center;
  padding: 18px 0;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  color: #8a8a8a;
}

/* ============ 侧边联系条 ============ */
.xy_contact-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  width: 85px;
  background: var(--cinnabar);
  border-radius: 16px 0 0 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .24);
  padding: 16px 10px;
  text-align: center;
  transition: transform .35s var(--ease), opacity .35s ease;
}
/* 隐藏按钮：浮窗右上角小圆叉 */
.xy_cs-toggle {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 3;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .2s ease;
}
.xy_cs-toggle:hover { background: rgba(255, 255, 255, .4); }
/* 隐藏态：整条滑出右侧 */
.xy_contact-sidebar.xy_cs-hidden {
  transform: translateY(-50%) translateX(115%);
  opacity: 0;
  pointer-events: none;
}
/* 重新展开把手：隐藏后出现在屏幕右缘 */
.xy_cs-reopen {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  width: 30px;
  height: 66px;
  border: none;
  border-radius: 12px 0 0 12px;
  background: var(--cinnabar);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: -4px 6px 18px rgba(0, 0, 0, .2);
  transition: background .2s ease;
}
.xy_cs-reopen:hover { background: var(--seal); }
.xy_cs-item { padding: 10px 0; cursor: pointer; position: relative; }
.xy_cs-item > img,
.xy_cs-item > svg,
.xy_cs-item .xy_cs-link > svg {
  width: 28px;
  height: 28px;
  margin: 0 auto 4px;
  display: block;
  -webkit-transition: -webkit-transform .3s var(--ease);
  transition: transform .3s var(--ease);
}
.xy_cs-item .xy_cs-link > img {
  width: 28px;
  height: 28px;
  margin: 0 auto 4px;
  display: block;
  -webkit-transition: -webkit-transform .3s var(--ease);
  transition: transform .3s var(--ease);
}
.xy_cs-item > svg,
.xy_cs-item .xy_cs-link > svg {
  fill: currentColor;
  color: #ffffff;
}
.xy_cs-item:hover > img,
.xy_cs-item:hover > svg,
.xy_cs-item:hover .xy_cs-link > svg {
  -webkit-transform: translateY(-2px) scale(1.12);
  transform: translateY(-2px) scale(1.12);
}
.xy_cs-item:hover .xy_cs-link > img {
  -webkit-transform: translateY(-2px) scale(1.12);
  transform: translateY(-2px) scale(1.12);
}
.xy_cs-item span { display: block; color: #ffffff; font-weight: 600; font-size: 11px; }
.xy_cs-pop {
  display: none;
  position: absolute;
  right: 90px;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  padding: 14px;
  border-radius: 12px;
  width: 232px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .14);
  font-size: 12px;
  color: var(--text);
  border: 1px solid var(--line);
}
.xy_cs-item .xy_cs-pop img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 10px;
}
.xy_cs-pop p { margin: 0; text-align: center; font-weight: 600; color: var(--ink); }
.xy_cs-item:hover .xy_cs-pop { display: block; }

.xy_scroll-top {
  position: fixed;
  right: 0;
  bottom: 120px;
  width: 45px;
  height: 45px;
  background: #4f4f4f;
  color: #cbcbcb;
  border: 0;
  border-radius: 8px 0 0 8px;
  opacity: .8;
  z-index: 199;
  font-size: 18px;
}
.xy_scroll-top:hover { background: var(--cinnabar); }

/* ============ 响应式 ============ */
/* 中等宽度：收紧导航间距，给语言切换按钮留位置 */
@media (max-width: 1200px) and (min-width: 981px) {
  .xy_nav-link { padding: 32px 9px; font-size: 14px; }
  .xy_logo img { height: 44px; }
  .xy_header-cta { padding: 12px 18px; font-size: 14px; }
}

@media (min-width: 1200px) {
  .xy_cards-6 { grid-template-columns: repeat(3, 1fr); }
  .xy_city-grid { grid-template-columns: repeat(3, 1fr); }
  .xy_brand-grid { grid-template-columns: repeat(3, 1fr); }
  .xy_news-grid { grid-template-columns: repeat(3, 1fr); }
  .xy_info-4, .xy_steps, .xy_stats-grid, .xy_mode-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 980px) {
  .xy_footer-nav{display: none;}
  .xy_banner-btns{display: none;}
  .xy_nav-desktop, .xy_header-cta { display: none; }
  .xy_burger { display: block; }
  nav.xy_header-inner { height: 58px; }
  .xy_logo img { height: 36px; }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .xy_hero, .xy_hero.xy_banner { min-height: 280px; }
  .xy_hero h1 { font-size: 26px; }
  .xy_hero-inner { padding: 72px 0 96px; }
  .xy_banner-arrow { width: 40px; height: 40px; font-size: 14px; }
  .xy_banner-arrow.xy_prev { left: 10px; }
  .xy_banner-arrow.xy_next { right: 10px; }
  .xy_banner-dots { bottom: 20px; }
  .xy_page-hero h1 { font-size: 32px; }
  .xy_page-hero { min-height: 280px; padding: 90px 20px 60px; }
  .xy_split, .xy_promo-grid, .xy_media-block, .xy_cards-3, .xy_cards-6,
  .xy_city-grid, .xy_brand-grid, .xy_faq-layout, .xy_news-grid, .xy_footer-grid,
  .xy_info-4, .xy_steps, .xy_course-layout, .xy_teacher, .xy_contact-grid, .xy_path-grid,
  .xy_highlight-grid, .xy_related, .xy_mode-grid, .xy_media-grid {
    grid-template-columns: 1fr;
  }
  .xy_stats { padding: 40px 0; }
  .xy_stats-grid { grid-template-columns: 1fr 1fr; }
  .xy_gallery { grid-template-columns: 1fr 1fr; }
  .xy_gallery.xy_onsite { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .xy_gallery.xy_onsite img:nth-child(1) { grid-column: auto; grid-row: auto; height: 180px; }
  .xy_gallery.xy_onsite img { height: 160px; }
  .xy_contact-sidebar { display: none; }
  .xy_awards-row img { height: 48px; }
  .xy_course-visual { height: 240px; }
  .xy_teacher { gap: 36px; }
  .xy_teacher-photo img { aspect-ratio: 1 / 1; height: auto; }
  .xy_nav-link::after { display: none; }
}

/* 窄屏：数据条回落为单列 */
@media (max-width: 560px) {
  .xy_stats-grid { grid-template-columns:repeat(2, 1fr); gap: 14px; }
  .xy_stat { padding: 22px 16px 20px; }
}
/* ============ 老师数据条 ============ */
.xy_teacher-numbers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  grid-column: 1 / -1;
  margin: 24px 0 22px;
  background: linear-gradient(135deg, #fff1ed 0%, #fff7f3 135%);
  border-radius: 16px;
  padding: 38px 8px;
  color: #000000;
}
.xy_teacher-numbers span {
  text-align: center;
  padding: 6px 10px;
  border-right: 1px solid rgba(255, 255, 255, .18);
  font-size: 13px;
  line-height: 1.45;
}
.xy_teacher-numbers span:last-child { border-right: 0; }
.xy_teacher-numbers strong {
  display: block;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 55px;
  color: #ff6500;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: .02em;
}

/* ============ 课时体系 ============ */
.xy_section-packages{background-color: #f5f6f7;}
.xy_packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.xy_package {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px 24px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.xy_package:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .12);
}
.xy_pkg-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  background: var(--cinnabar);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.xy_package h4 { font-size: 22px; margin-bottom: 10px; }
.xy_pkg-price {
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 30px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 4px;
}
.xy_pkg-price small {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-left: 6px;
}
.xy_package ul { list-style: none; padding: 0; margin: 16px 0 22px; flex: 1; }
.xy_package ul li {
  padding: 5px 0 5px 22px;
  position: relative;
  color: var(--text);
  font-size: 14px;
}
.xy_package ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cinnabar);
}
.xy_pkg-cta { text-align: center; margin-top: auto; padding-top: 4px; }

/* 上课场景已改为可点击播放的视频：封面用 poster，无假播放按钮与可跳转图片 */

/* ============ 响应式补充 ============ */
@media (max-width: 900px) {
  .xy_teacher-numbers { grid-template-columns: repeat(2, 1fr); padding: 14px 6px; }
  .xy_teacher-numbers span { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 10px 6px; }
  .xy_teacher-numbers span:nth-last-child(-n+2) { border-bottom: 0; }
  .xy_packages { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  .xy_teacher-numbers { grid-template-columns: 1fr; }
  .xy_teacher-numbers span { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .xy_teacher-numbers span:last-child { border-bottom: 0; }
}
.xy_cs-link { display: block; color: inherit; }
.xy_cs-link img{width: 28px;height: 28px;margin: 0 auto 4px;}
/* ============ Hero 动态：Ken Burns 图片缓慢缩小 + 文字从底部上移 ============ */
.xy_banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: xyKenBurns 7s ease-out forwards;
}
.xy_banner-slide:not(.xy_on) .xy_banner-img {
  animation: none;
  transform: scale(1);
}
@keyframes xyKenBurns {
  from { transform: scale(1.15); }
  to { transform: scale(1); }
}

/* 文字从底部上移（slide 切换时重新触发） */
.xy_banner-slide .xy_hero-inner {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .85s ease, transform .9s var(--ease);
}
.xy_banner-slide.xy_on .xy_hero-inner {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .xy_banner-img, .xy_banner-slide .xy_hero-inner { animation: none; transform: none; opacity: 1; }
}
.xy_footer-contact p { color: #b8b8b8; padding: 4px 0; line-height: 1.75; }
.xy_footer-contact a { color: #ff9d1a; display: inline; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   课程介绍（文字 + 图片）· 新版布局
   ============================================================ */
.xy_course-intro { background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%); }

/* 双列：左图片 0.95fr 右文字 1.05fr */
.xy_ci-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: center;
}

/* ---------- 左侧图片介绍：叠加布局 ---------- */
.xy_ci-images {
  position: relative;
  height: 560px;
}
.xy_ci-img { margin: 0; }
.xy_ci-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}

/* 主图（大） */
.xy_ci-img-main {
  position: absolute;
  left: 0;
  top: 0;
  width: 72%;
  height: 82%;
  box-shadow: 0 28px 56px rgba(227, 84, 0, .22);
  z-index: 2;
  border: 6px solid #ffffff;
  transform: rotate(-1.5deg);
  transition: transform .5s var(--ease), box-shadow .5s ease;
}
.xy_ci-images:hover .xy_ci-img-main {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 36px 70px rgba(227, 84, 0, .28);
}

/* 副图（小，右下叠加） */
.xy_ci-img-sub {
  position: absolute;
  right: 0;
  bottom: 20px;
  width: 48%;
  height: 78%;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .18);
  z-index: 3;
  border: 5px solid #ffffff;
  transform: rotate(2deg);
  transition: transform .5s var(--ease);
}
.xy_ci-images:hover .xy_ci-img-sub {
  transform: rotate(0deg) translateY(-4px);
}

/* 装饰色块（左下） */
.xy_ci-images::before {
  content: "";
  position: absolute;
  left: -20px;
  bottom: -10px;
  width: 220px;
  height: 220px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--gold), var(--cinnabar));
  z-index: 1;
  opacity: .92;
  box-shadow: 0 18px 40px rgba(255, 101, 0, .35);
}
/* 装饰小圆点（右上） */
.xy_ci-images::after {
  content: "";
  position: absolute;
  right: 8%;
  top: -14px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  z-index: 1;
  box-shadow: 0 8px 18px rgba(255, 157, 26, .4);
}

/* 左下大数字标签（浮在主图左下角区域） */
.xy_ci-img-tag {
  position: absolute;
  left: -12px;
  bottom: 30%;
  z-index: 4;
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 22px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .16);
  text-align: center;
  min-width: 120px;
  border-top: 4px solid var(--cinnabar);
}
.xy_ci-img-tag strong {
  display: block;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--cinnabar);
  line-height: 1;
  margin-bottom: 4px;
}
.xy_ci-img-tag span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* 左上老师身份徽章 */
.xy_ci-img-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 5;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--seal);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
  letter-spacing: .02em;
}

/* ---------- 右侧文字介绍 ---------- */
.xy_ci-text { position: relative; }

.xy_ci-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 28px;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
}
.xy_ci-lead strong { color: var(--cinnabar); }

/* 三点亮点列表 */
.xy_ci-highlights {
  list-style: none;
  margin: 0 0 28px;
}
.xy_ci-highlights li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px dashed #ffe1c4;
  transition: padding .3s var(--ease);
}
.xy_ci-highlights li:first-child { padding-top: 4px; }
.xy_ci-highlights li:hover { padding-left: 8px; }

.xy_ci-hl-num {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff3ea, #ffe3cd);
  color: var(--cinnabar);
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.xy_ci-highlights h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--heading);
}
.xy_ci-highlights p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* 引用块 */
.xy_ci-quote {
  position: relative;
  background: #fff7ed;
  border-radius: 14px;
  padding: 22px 24px 22px 44px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--heading);
  box-shadow: inset 0 0 0 1px #ffe0c0;
}


.xy_ci-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.xy_ci-cta .xy_btn-outline { margin-left: 0; }

/* ---------- 底部数据条 ---------- */
.xy_ci-numbers {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: linear-gradient(135deg, var(--ink) 0%, var(--jade) 100%);
  border-radius: 20px;
  padding: 40px 16px;
  color: #ffffff;
  box-shadow: 0 22px 48px rgba(204, 82, 0, .25);
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: none;
}
.xy_ci-numbers::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 157, 26, .18), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 101, 0, .22), transparent 50%);
  pointer-events: none;
}
.xy_ci-numbers span {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 10px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}
.xy_ci-numbers span:last-child { border-right: 0; }
.xy_ci-numbers strong {
  display: block;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: .01em;
  transition: text-shadow .5s ease;
}
.xy_ci-numbers em {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
  font-weight: 500;
}

/* 交错入场激活态：发光脉冲 */
.xy_ci-numbers span.xy_ci-item-on strong {
  animation: xyCiGlowPulse 2.2s ease-in-out .3s;
}
@keyframes xyCiGlowPulse {
  0%   { text-shadow: 0 2px 12px rgba(255, 157, 26, .25); }
  15%  { text-shadow: 0 0 18px rgba(255, 157, 26, .85), 0 0 40px rgba(255, 101, 0, .55); }
  40%  { text-shadow: 0 0 10px rgba(255, 157, 26, .4); }
  100% { text-shadow: 0 2px 12px rgba(255, 157, 26, .25); }
}

/* 悬浮悬停时，整列微微上浮 + 数字再次发光 */
.xy_ci-numbers span:hover {
  transform: translateY(-4px);
  transition: transform .3s var(--ease);
}
.xy_ci-numbers span:hover strong {
  text-shadow: 0 0 22px rgba(255, 157, 26, .9), 0 0 50px rgba(255, 101, 0, .5);
  color: #ffc65c;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .xy_ci-grid { grid-template-columns: 1fr; gap: 48px; }
  .xy_ci-images { height: 480px; max-width: 420px; margin: 0 auto; width: 100%; }
  .xy_ci-img-main { width: 68%; height: 78%; }
  .xy_ci-img-sub { width: 55%; height: 55%; }
  .xy_ci-numbers {
    grid-template-columns: repeat(2, 1fr);
    padding: 28px 12px;
    margin-top: 48px;
  }
  .xy_ci-numbers span {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 12px 8px;
  }
  .xy_ci-numbers span:nth-last-child(-n+2) { border-bottom: 0; }
  .xy_ci-numbers strong { font-size: 30px; }
  .xy_ci-highlights li:hover { padding-left: 0; }
}
@media (max-width: 560px) {
  .xy_ci-images { height: 400px; }
  .xy_ci-img-tag strong { font-size: 30px; }
  .xy_ci-numbers { grid-template-columns: repeat(2, 1fr); }
  .xy_ci-numbers span { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .xy_ci-numbers span:last-child { border-bottom: 0; }
}

/* ============================================================
   联系心雨 · 通屏表单 + 联系信息条
   ============================================================ */
/* 联系方式卡片网格 */
.xy_contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}
.xy_contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.xy_contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(227, 84, 0, .12);
  border-color: var(--cinnabar);
}
.xy_contact-icon {
  display: inline-block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--cinnabar);
  margin-bottom: 12px;
  position: relative;
}
.xy_contact-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px;
}
.xy_ci-phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23e35400' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72 12.84 12.84 0 00.7 2.81 2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45 12.84 12.84 0 002.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E");
}
.xy_ci-wechat::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23e35400' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 11.5a8.38 8.38 0 01-.9 3.8 8.5 8.5 0 01-7.6 4.7 8.38 8.38 0 01-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 01-.9-3.8 8.5 8.5 0 014.7-7.6 8.38 8.38 0 013.8-.9h.5a8.48 8.48 0 018 8v.5z'/%3E%3C/svg%3E");
}
.xy_ci-email::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23e35400' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M2 7l10 6 10-6'/%3E%3C/svg%3E");
}
.xy_ci-location::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23e35400' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.xy_contact-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--heading);
}
.xy_contact-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.xy_contact-card p a {
  color: var(--cinnabar);
  font-weight: 500;
}
.xy_contact-card p strong {
  color: var(--heading);
}
@media (max-width: 640px) {
  .xy_contact-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .xy_contact-card { padding: 18px 14px; }
}
@media (max-width: 400px) {
  .xy_contact-grid { grid-template-columns: 1fr; }
}

.xy_form-full {margin: 0 auto;}
.xy_form-full h3 { font-size: 26px; margin-bottom: 6px; }
.xy_form-lead {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}
.xy_form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 24px;
  margin-bottom: 8px;
}
.xy_form-grid > div { display: block; }
.xy_form-full textarea { margin-top: 6px; }
.xy_form-actions {
  text-align: center;
  margin-top: 26px;
  margin-bottom: 0;
}
.xy_form-full .xy_btn { width: auto; padding: 14px 48px; font-size: 16px; }

/* 联系信息条 */
.xy_contact-banner {
  margin-top: 40px;
  background: linear-gradient(120deg, var(--ink) 0%, var(--jade) 100%);
  border-radius: 20px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 40px;
  align-items: center;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(204, 82, 0, .2);
}
.xy_contact-banner h4 {
  color: var(--gold);
  font-size: 17px;
  margin-bottom: 10px;
  letter-spacing: .03em;
}
.xy_contact-banner p {
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  margin: 4px 0;
  line-height: 1.7;
}
.xy_cb-id {
  display: inline-block;
  margin-top: 8px !important;
  background: rgba(255, 157, 26, .15);
  border: 1px solid rgba(255, 157, 26, .35);
  border-radius: 8px;
  padding: 6px 14px;
  font-family: Consolas, Menlo, monospace;
  color: var(--gold) !important;
  font-size: 13px;
  letter-spacing: .03em;
}
.xy_cb-qr {
  text-align: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 14px 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}
.xy_cb-qr img {
  width: 140px;
  height: 140px;
  display: block;
  border-radius: 8px;
}
.xy_cb-qr span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
}

/* 联系页响应式 */
@media (max-width: 900px) {
  .xy_form-grid { grid-template-columns: 1fr 1fr; }
  .xy_contact-banner { grid-template-columns: 1fr; gap: 24px; padding: 30px 28px; text-align: center; }
  .xy_cb-qr { margin: 0 auto; }
}
@media (max-width: 560px) {
  .xy_form-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   新媒体平台 · 带二维码 + ID号 卡片
   ============================================================ */
.xy_media-grid2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.xy_mc-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px 24px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .06);
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .3s ease;
}
.xy_mc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(227, 84, 0, .16);
  border-color: #ffd2b0;
}

/* 二维码 */
.xy_mc-qr {
  flex: none;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fffaf6;
  border-radius: 16px;
  padding: 14px;
  border: 1px dashed #ffcfa5;
  position: relative;
}
.xy_mc-qr::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 101, 0, .15);
  pointer-events: none;
}
.xy_mc-qr img {
  width: 100px;
  height: 100px;
  display: block;
  border-radius: 6px;
}

/* 文字体 */
.xy_mc-body { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.xy_mc-body h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
}
.xy_mc-id {
  font-family: Consolas, Menlo, monospace;
  font-size: 12.5px;
  color: var(--cinnabar);
  background: #fff3ea;
  border-radius: 6px;
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 10px !important;
  width: fit-content;
  border: 1px solid #ffe0c5;
}
.xy_mc-body p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 10px;
  line-height: 1.6;
}
.xy_mc-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--jade);
  background: #fff3ea;
  padding: 4px 12px;
  border-radius: 999px;
  margin-top: auto;
  letter-spacing: .02em;
}
.xy_mc-cta { margin-top: 14px !important; margin-bottom: 0 !important; }
.xy_mc-cta .xy_btn { padding: 10px 24px; font-size: 14px; }

/* 精选卡（联系顾问） */
.xy_mc-featured {
  grid-column: span 1;
  background: linear-gradient(135deg, var(--ink) 0%, var(--jade) 100%);
  border-color: transparent;
  box-shadow: 0 14px 36px rgba(204, 82, 0, .22);
}
.xy_mc-featured h4 { color: var(--gold); }
.xy_mc-featured p { color: rgba(255, 255, 255, .82); }
.xy_mc-featured .xy_mc-id {
  background: rgba(255, 157, 26, .18);
  border-color: rgba(255, 157, 26, .4);
  color: var(--gold);
}
.xy_mc-featured .xy_mc-tag {
  background: rgba(255, 157, 26, .18);
  color: var(--gold);
}

/* 新媒体响应式 */
@media (max-width: 980px) {
  .xy_media-grid2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .xy_media-grid2 { grid-template-columns: 1fr; }
  .xy_mc-card { padding: 22px 20px 20px; }
  .xy_mc-qr { width: 128px; height: 128px; padding: 12px; }
  .xy_mc-qr img { width: 92px; height: 92px; }
}

/* ============================================================
   图片灯箱 · 点击放大 + 左右切换
   ============================================================ */
.xy_lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 12, 8, .94);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 80px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.xy_lightbox.xy_on { opacity: 1; visibility: visible; }

/* 大图 */
.xy_lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  transform: scale(.92);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.xy_lightbox.xy_on .xy_lb-img { transform: scale(1); }

/* 关闭按钮 */
.xy_lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(0, 0, 0, .35);
  color: #ffffff;
  font-size: 22px;
  line-height: 42px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
  backdrop-filter: blur(6px);
}
.xy_lb-close:hover {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  transform: rotate(90deg);
}

/* 左右箭头 */
.xy_lb-prev, .xy_lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(0, 0, 0, .35);
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
  backdrop-filter: blur(6px);
}
.xy_lb-prev:hover, .xy_lb-next:hover {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  transform: translateY(-50%) scale(1.08);
}
.xy_lb-prev { left: 24px; padding-right: 2px; }
.xy_lb-next { right: 24px; padding-left: 2px; }

/* 计数器 */
.xy_lb-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  letter-spacing: .08em;
  font-weight: 500;
  font-family: Consolas, Menlo, monospace;
}

/* 提示 */
.xy_lb-hint {
  position: absolute;
  bottom: 22px;
  right: 24px;
  color: rgba(255, 255, 255, .45);
  font-size: 12px;
  letter-spacing: .04em;
}

/* 上一张淡出 */
.xy_lb-fade-next { animation: xyLbFadeR .25s ease both; }
.xy_lb-fade-prev { animation: xyLbFadeL .25s ease both; }
@keyframes xyLbFadeR { from { opacity: 0; transform: translateX(24px) scale(.98); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes xyLbFadeL { from { opacity: 0; transform: translateX(-24px) scale(.98); } to { opacity: 1; transform: translateX(0) scale(1); } }

@media (max-width: 640px) {
  .xy_lightbox { padding: 20px 10px; }
  .xy_lb-prev { left: 6px; }
  .xy_lb-next { right: 6px; }
  .xy_lb-prev, .xy_lb-next { width: 44px; height: 44px; font-size: 20px; }
  .xy_lb-close { top: 12px; right: 12px; }
  .xy_lb-hint { display: none; }
}

/* ============================================================
   语言切换 xy_lang-switch（参考图风格，独立结构）
   ============================================================ */
.xy_lang-switch{
  position:relative;
  height:100%;
  display:flex;
  align-items:center;
  flex:0 0 auto;
  z-index:1100;
}
/* hover 桥：填满 trigger 到 dropdown 之间的 16px 空隙，
   鼠标穿过时不会离开 .xy_lang-switch 的 hover 区域 */
.xy_lang-switch::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-16px;
  height:16px;
}
.xy_lang-trigger{
  display:inline-flex;
  align-items:center;
  gap:5px;
  border:1px solid var(--line);
  background:#ffffff;
  color:var(--heading);
  font-family:inherit;
  font-size:13px;
  font-weight:600;
  padding:10px 35px;
  border-radius:999px;
  cursor:pointer;
  line-height:1;
  white-space:nowrap;
  -webkit-transition:color .25s var(--ease),border-color .25s var(--ease),background .25s var(--ease),-webkit-box-shadow .25s var(--ease);
  transition:color .25s var(--ease),border-color .25s var(--ease),background .25s var(--ease),box-shadow .25s var(--ease);
}
.xy_lang-trigger svg:first-child{
  width:14px;
  height:14px;
  color:var(--muted);
  -webkit-transition:color .25s var(--ease),-webkit-transform .35s var(--ease);
  transition:color .25s var(--ease),transform .35s var(--ease);
}
.xy_lang-trigger .xy_lang-arrow{
  width:10px;
  height:10px;
  color:currentColor;
  opacity:.5;
  -webkit-transition:-webkit-transform .28s var(--ease),opacity .25s var(--ease);
  transition:transform .28s var(--ease),opacity .25s var(--ease);
}
.xy_lang-switch:hover .xy_lang-trigger,
.xy_lang-switch.xy_open .xy_lang-trigger{
  color:var(--cinnabar);
  border-color:var(--cinnabar);
  background:#ffffff;
  -webkit-box-shadow:0 2px 10px rgba(255,101,0,.15);
  box-shadow:0 2px 10px rgba(255,101,0,.15);
}
.xy_lang-switch:hover .xy_lang-trigger svg:first-child,
.xy_lang-switch.xy_open .xy_lang-trigger svg:first-child{
  color:var(--cinnabar);
  -webkit-transform:rotate(18deg);
  transform:rotate(18deg);
}
.xy_lang-switch:hover .xy_lang-trigger .xy_lang-arrow,
.xy_lang-switch.xy_open .xy_lang-trigger .xy_lang-arrow{
  -webkit-transform:rotate(180deg);
  transform:rotate(180deg);
  opacity:1;
}

/* 下拉菜单（参考图：白底 + 顶部橙色条 + 圆角 + 阴影） */
.xy_lang-dropdown{
  position:absolute;
  top:calc(100% + 16px);
  right:0;
  margin:0;
  padding:0;
  min-width:135px;
  background:#ffffff;
  border-top:3px solid var(--cinnabar);
  border-radius:0 0 10px 10px;
  -webkit-box-shadow:0 14px 34px rgba(0,0,0,.14);
  box-shadow:0 14px 34px rgba(0,0,0,.14);
  list-style:none;
  overflow:hidden;
  opacity:0;
  visibility:hidden;
  -webkit-transform:translateY(-6px);
  transform:translateY(-6px);
  pointer-events:none;
  -webkit-transition:opacity .22s var(--ease),transform .22s var(--ease),visibility .22s;
  transition:opacity .22s var(--ease),transform .22s var(--ease),visibility .22s;
  z-index:1200;
}
.xy_lang-switch:hover .xy_lang-dropdown,
.xy_lang-switch.xy_open .xy_lang-dropdown{
  opacity:1;
  visibility:visible;
  -webkit-transform:translateY(0);
  transform:translateY(0);
  pointer-events:auto;
}
.xy_lang-dropdown li{list-style:none;}
.xy_lang-dropdown a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 20px;
  color:var(--text);
  font-size:14px;
  font-weight:500;
  -webkit-transition:color .18s var(--ease),background .18s var(--ease),padding .18s var(--ease);
  transition:color .18s var(--ease),background .18s var(--ease),padding .18s var(--ease);
}
.xy_lang-dropdown a:hover{
  color:var(--cinnabar);
  background:var(--cream);
  padding-left:24px;
}
.xy_lang-code{
  display:inline-block;
  min-width:26px;
  padding:1px 6px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.4px;
  text-align:center;
  color:var(--cinnabar);
  background:rgba(255,101,0,.08);
  border-radius:4px;
  -webkit-transition:background .2s var(--ease),color .2s var(--ease);
  transition:background .2s var(--ease),color .2s var(--ease);
}
.xy_lang-dropdown a:hover .xy_lang-code{
  background:var(--cinnabar);
  color:#ffffff;
}

/* Header 滚动后微调 */
.xy_site-header.xy_scrolled .xy_lang-trigger{ border-color:var(--line); }

/* -------- 手机端 -------- */
@media only screen and (max-width:768px){
  .xy_lang-switch{ display:none; }
}
@media only screen and (max-width:480px){
  .xy_lang-switch{ display:none; }
}

/* ============================================================
   授课优势 xy_advantage-grid（关于心雨页）
   ============================================================ */
.xy_advantage-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.xy_advantage-card{
  position:relative;
  padding:32px 28px;
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:16px;
  -webkit-transition:transform .35s var(--ease),-webkit-box-shadow .35s var(--ease),border-color .35s var(--ease);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .35s var(--ease);
}
.xy_advantage-card:hover{
  -webkit-transform:translateY(-6px);
  transform:translateY(-6px);
  border-color:var(--cinnabar);
  -webkit-box-shadow:0 18px 40px rgba(255,101,0,.12);
  box-shadow:0 18px 40px rgba(255,101,0,.12);
}
.xy_advantage-icon{
  width:52px;
  height:52px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#fff1e6,#ffe0cc);
  color:var(--cinnabar);
  margin-bottom:20px;
}
.xy_advantage-icon svg{
  width:26px;
  height:26px;
  stroke-width:1.8;
}
.xy_advantage-card h4{
  font-size:18px;
  margin-bottom:10px;
  color:var(--heading);
}
.xy_advantage-card p{
  font-size:14.5px;
  color:var(--muted);
  line-height:1.7;
}

/* 关于心雨：大图横幅（环境照片） */
.xy_env-gallery{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  grid-template-rows:200px 200px;
  gap:14px;
}
.xy_env-gallery .xy_env-item{
  position:relative;
  overflow:hidden;
  border-radius:14px;
}
.xy_env-gallery .xy_env-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  -webkit-transition:-webkit-transform .6s var(--ease);
  transition:transform .6s var(--ease);
}
.xy_env-gallery .xy_env-item:hover img{
  -webkit-transform:scale(1.06);
  transform:scale(1.06);
}
.xy_env-gallery .xy_env-item:nth-child(1){grid-column:1 / span 2;grid-row:1 / span 2;}

/* 关于心雨：数据亮点 strip */
.xy_about-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  text-align:center;
}
/* 解除与 .xy_teacher-numbers 的样式冲突：后者是首页专用的带背景5列数据条 */
.xy_about-stats.xy_teacher-numbers{
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  grid-column:auto;
  margin:0 auto;
  padding:0;
  background:transparent;
  border-radius:0;
  color:inherit;
}
.xy_about-stats.xy_teacher-numbers > span{
  border-right:0;
  padding:0;
}
.xy_about-stat strong{
  display:block;
  font-size:38px;
  font-weight:700;
  color:var(--cinnabar);
  line-height:1;
  margin-bottom:8px;
}
.xy_about-stat span{
  font-size:14px;
  color:var(--muted);
}

/* -------- 关于心雨响应式 -------- */
@media only screen and (max-width:1024px){
  .xy_advantage-grid{grid-template-columns:repeat(2,1fr);}
  .xy_env-gallery{grid-template-columns:repeat(3,1fr);grid-template-rows:170px 170px;}
  .xy_about-stats.xy_teacher-numbers{grid-template-columns:repeat(4,1fr);}
}
@media only screen and (max-width:768px){
  .xy_advantage-grid{grid-template-columns:1fr;}
  .xy_env-gallery{grid-template-columns:1fr 1fr;grid-template-rows:160px 160px 160px;}
  .xy_env-gallery .xy_env-item:nth-child(1){grid-column:1 / span 2;grid-row:1;}
  .xy_about-stats,
  .xy_about-stats.xy_teacher-numbers{grid-template-columns:repeat(2,1fr);gap:28px 20px;}
  .xy_about-stat strong{font-size:30px;}
}
@media only screen and (max-width:480px){
  .xy_env-gallery{grid-template-columns:1fr;grid-template-rows:180px 180px 180px 180px 180px;}
  .xy_env-gallery .xy_env-item:nth-child(1){grid-column:1;grid-row:1;}
  .xy_about-stats.xy_teacher-numbers{grid-template-columns:repeat(2,1fr);}
}

/* ============================================================
   页面独立样式 + 通用工具类
   ============================================================ */

/* 关于心雨：Hero 背景图 */
body.page-about .xy_page-hero{background-image:url(img/banner1.jpg);}

/* 通用工具类 */
.xy_section-compact{padding:40px 0 24px;}
.xy_cta-row{margin-top:22px;}
.xy_ml12{margin-left:12px;}
.xy_mt28{margin-top:28px;}

/* 关于心雨：xy_teacher-body 里第三段（初老师介绍）间距稍小 */
.xy_teacher-body-more{margin-top:18px;}
