/* ============================================================
   cysred · 酒红 + 香槟金 · 杂志镜像骨架（PC）
   布局：居中顶栏 / 满幅遮罩居中 Hero / 图文左右镜像 / 大卡片堆叠
   ============================================================ */
:root {
  --red: #8c2f39;
  --red-d: #5f1f27;
  --red-l: #ad4852;
  --gold: #c9a24b;
  --gold-d: #a67f33;
  --bg: #faf6f6;
  --card: #ffffff;
  --text: #2e2627;
  --mut: #756667;
  --line: #f0e3e4;
  --shadow: 0 10px 28px rgba(95, 31, 39, .12);
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.75; font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--red); }
ul, ol { list-style: none; }

.r-wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.r-wrap--narrow { max-width: 860px; }
.r-wrap--article { max-width: 820px; }

/* ---------- 顶栏：居中 logo + 横排菜单 ---------- */
.r-top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.r-top__brand { text-align: center; padding: 20px 0 14px; }
.r-top__brand img { height: 50px; width: auto; margin: 0 auto; }
.r-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; padding: 0 24px 16px; }
.r-nav .nt-menu__item a {
  display: block; padding: 9px 18px; font-size: 15px; font-weight: 500; color: var(--text);
  border-bottom: 2px solid transparent; border-radius: 4px;
}
.r-nav .nt-menu__item a:hover,
.r-nav .nt-menu__item.is-active a { color: var(--red); border-bottom-color: var(--gold); }

/* ---------- Hero：满幅遮罩居中 ---------- */
.r-hero {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(95,31,39,.88) 0%, rgba(140,47,57,.82) 100%),
    url(zz.jpg) center/cover no-repeat;
}
.r-hero__inner { max-width: 880px; margin: 0 auto; padding: 72px 32px 40px; }
.r-hero__eyebrow {
  display: inline-block; padding: 6px 16px; border: 1px solid rgba(201,162,75,.7);
  border-radius: 999px; color: var(--gold); font-size: 13px; letter-spacing: 2px; margin-bottom: 22px;
}
.r-hero h1 { font-size: 40px; line-height: 1.3; margin-bottom: 16px; letter-spacing: 1px; }
.r-hero__lead { font-size: 18px; color: #f3e3e4; margin-bottom: 10px; }
.r-hero__info { font-size: 14.5px; color: #e7c9cb; margin: 0 auto 24px; max-width: 620px; }
.r-hero__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.r-hero__tag { padding: 7px 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; font-size: 13.5px; }
.r-hero__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.r-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); max-width: 1180px; margin: 0 auto; }
.r-stat { padding: 24px 28px; background: rgba(95,31,39,.4); }
.r-stat__num { font-size: 30px; font-weight: 700; color: var(--gold); }
.r-stat__label { font-size: 15px; margin: 4px 0; }
.r-stat__desc { font-size: 13px; color: #e7c9cb; }

/* ---------- 按钮 ---------- */
.r-btn { display: inline-block; padding: 13px 30px; border-radius: 10px; font-weight: 600; font-size: 15.5px; }
.r-btn--solid { background: var(--red); color: #fff; }
.r-btn--solid:hover { background: var(--red-d); color: #fff; }
.r-btn--line { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.r-btn--line:hover { background: rgba(255,255,255,.12); color: #fff; }
.r-btn--sm { padding: 10px 20px; font-size: 14px; }

/* ---------- 区块通用 ---------- */
.r-section { padding: 56px 0; }
.r-section--alt { background: var(--card); }
.r-head { margin-bottom: 30px; }
.r-head--left { display: block; }
.r-head--center { display: block; text-align: center; }
.r-head h2 {
  font-size: 27px; color: var(--red-d); margin-bottom: 10px; letter-spacing: 1px;
}
.r-head--center h2 { display: inline-block; padding-bottom: 10px; border-bottom: 2px solid var(--gold); }
.r-head p { color: var(--mut); max-width: 640px; }
.r-head--center p { margin: 0 auto; }
.r-more { color: var(--gold-d); font-weight: 600; white-space: nowrap; }
.r-more:hover { color: var(--red); }

/* ---------- 大卡片堆叠（班型 / 简章） ---------- */
.r-cards { display: flex; flex-direction: column; gap: 28px; }
.r-card {
  display: grid; grid-template-columns: 300px 1fr; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line);
}
.r-card:nth-child(even) .r-card__media { order: 2; }
.r-card--half { grid-template-columns: 1fr; }
.r-card__media { min-height: 220px; }
.r-card__media img { width: 100%; height: 100%; object-fit: cover; }
.r-card__body { padding: 28px 30px; }
.r-card__index { font-size: 13px; font-weight: 700; color: var(--gold-d); letter-spacing: 2px; margin-bottom: 6px; }
.r-card__body h3 { font-size: 20px; margin-bottom: 10px; }
.r-card__body h3 a { color: var(--red-d); }
.r-card__body h3 a:hover { color: var(--red); }
.r-card__meta { font-size: 14px; color: var(--mut); margin-bottom: 6px; }
.r-card__desc { font-size: 14.5px; color: var(--text); margin: 8px 0 12px; }
.r-card__actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.r-card__link { color: var(--red); font-weight: 600; font-size: 14.5px; }
.r-card__link:hover { color: var(--gold-d); }
.r-card__link--gold { color: var(--gold-d); }

/* ---------- 图文镜像 ---------- */
.r-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.r-feature--flip .r-feature__media { order: 2; }
.r-feature__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.r-feature__body h2 { font-size: 26px; color: var(--red-d); margin-bottom: 16px; }
.r-feature__body p { color: var(--text); margin-bottom: 14px; }
.r-feature__hotline { font-size: 16px; font-weight: 600; }
.r-feature__hotline a { color: var(--red); }

/* ---------- 师资 ---------- */
.r-tutors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.r-tutor { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.r-tutor__media { height: 220px; }
.r-tutor__media img { width: 100%; height: 100%; object-fit: cover; }
.r-tutor__body { padding: 22px 24px; }
.r-tutor__body h3 { font-size: 18px; margin-bottom: 8px; color: var(--red-d); }
.r-tutor__body h3 span { color: var(--mut); font-size: 14px; font-weight: 400; }
.r-tutor__desc { font-size: 14px; color: var(--mut); margin-bottom: 12px; }

/* ---------- 图库 ---------- */
.r-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.r-gallery__item { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.r-gallery__item img { width: 100%; height: 220px; object-fit: cover; }
.r-gallery__item figcaption { padding: 12px 16px; font-size: 14px; color: var(--text); }

/* ---------- FAQ ---------- */
.r-faq { display: flex; flex-direction: column; gap: 16px; }
.r-faq__item { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 22px 26px; }
.r-faq__item h3 { font-size: 16.5px; color: var(--red-d); margin-bottom: 8px; }
.r-faq__item p { font-size: 14.5px; color: var(--text); }

/* ---------- 案例 ---------- */
.r-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.r-case { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.r-case p { font-size: 15px; color: var(--text); }

/* ---------- 内容 tab 切换 ---------- */
.r-tabs { display: flex; gap: 6px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.r-tab { padding: 12px 22px; font-size: 16px; font-weight: 600; color: var(--mut); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.r-tab:hover { color: var(--red); }
.r-tab.is-active { color: var(--red-d); border-bottom-color: var(--gold); }
.r-tab-pane.is-hide { display: none; }
.r-tab-block { margin-top: 42px; }
.r-tab-block .r-head { margin-bottom: 24px; }

/* ---------- 页头（内页） ---------- */
.r-page-head { background: linear-gradient(135deg, var(--red-d), var(--red-l)); color: #fff; padding: 44px 0; }
.r-page-head h1, .r-page-head__sub { font-size: 28px; margin-bottom: 10px; }
.r-breadcrumb { font-size: 13.5px; color: #f0d9da; }

/* ---------- 时间线竖排（资讯 / 校区） ---------- */
.r-timeline { position: relative; display: flex; flex-direction: column; gap: 28px; padding-left: 34px; }
.r-timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.r-tl-item { position: relative; }
.r-tl-item__dot { position: absolute; left: -30px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--card); box-shadow: 0 0 0 2px var(--gold); }
.r-tl-item__body { display: grid; grid-template-columns: 200px 1fr; gap: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.r-tl-item__media img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.r-tl-item__copy { padding: 24px 26px; }
.r-tl-item__copy h3 { font-size: 18px; margin-bottom: 8px; color: var(--red-d); }

/* ---------- 资讯项 ---------- */
.r-news__item { display: grid; grid-template-columns: 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.r-news__media img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; }
.r-news__body { padding: 24px 26px; }
.r-news__body h3 { font-size: 18px; margin-bottom: 10px; }
.r-news__body h3 a { color: var(--red-d); }
.r-news__body h3 a:hover { color: var(--red); }
.r-news__meta { display: flex; gap: 16px; font-size: 13px; color: var(--mut); margin-bottom: 10px; }
.r-news__desc { font-size: 14.5px; color: var(--text); margin-bottom: 12px; }

/* ---------- 横条：咨询 + 热门 ---------- */
.r-band { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; margin-top: 44px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); }
.r-band h3 { font-size: 16px; color: var(--red-d); margin-bottom: 12px; }
.r-band__phone { font-size: 22px; font-weight: 700; color: var(--red); margin-bottom: 6px; }
.r-band__phone small { display: block; font-size: 13px; color: var(--mut); font-weight: 400; margin-top: 4px; }
.r-band__call p, .r-band__col p { font-size: 14px; color: var(--mut); }
.r-band__link { display: block; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.r-band__link:last-child { border-bottom: 0; }
.r-band__link:hover { color: var(--red); }

/* ---------- 分页 ---------- */
.r-pager { margin-top: 36px; text-align: center; }
.r-pager a, .r-pager span { display: inline-block; margin: 0 4px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); }
.r-pager a:hover { border-color: var(--red); color: var(--red); }
.r-pager .current, .r-pager span.current { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------- 文章详情 ---------- */
.r-article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 44px; box-shadow: var(--shadow); }
.r-article h1 { font-size: 28px; color: var(--red-d); margin-bottom: 14px; line-height: 1.4; }
.r-article__meta { font-size: 13.5px; color: var(--mut); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.r-article__content { font-size: 15.5px; line-height: 1.9; }
.r-article__content p { margin-bottom: 16px; }
.r-article__content img { border-radius: 10px; margin: 12px 0; }
.r-article__nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.r-article__nav a { color: var(--red); }
.r-article__cta { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.r-article__cta strong { display: block; color: var(--red-d); }
.r-article__cta span { font-size: 14px; color: var(--mut); }

/* ---------- 页脚 ---------- */
.r-footer { background: var(--red-d); color: #e9d3d4; margin-top: 40px; }
.r-footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; padding: 52px 32px 36px; max-width: 1180px; margin: 0 auto; text-align: center; }
.r-footer__inner h4 { color: #fff; font-size: 16px; margin-bottom: 16px; letter-spacing: 1px; }
.r-footer__about p { font-size: 14px; line-height: 1.9; }
.r-footer__nav a { display: block; padding: 6px 0; font-size: 14px; color: #e9d3d4; }
.r-footer__nav a:hover { color: var(--gold); }
.r-footer__hotline { font-size: 22px; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.r-footer__contact p { font-size: 14px; }
.nt-footer__copy { text-align: center; padding: 18px 32px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #c9a9ab; }

/* ---------- 浮动咨询 ---------- */
.nt-float { position: fixed; right: 24px; bottom: 80px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.nt-float a { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; font-size: 13px; box-shadow: var(--shadow); }
.nt-float a:hover { background: var(--red-d); color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .r-tutors, .r-gallery { grid-template-columns: repeat(2, 1fr); }
  .r-card--half { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .r-hero h1 { font-size: 28px; }
  .r-stats { grid-template-columns: repeat(2, 1fr); }
  .r-card, .r-card--half, .r-feature, .r-tl-item__body, .r-news__item, .r-band { grid-template-columns: 1fr; }
  .r-card:nth-child(even) .r-card__media { order: 0; }
  .r-feature--flip .r-feature__media { order: 0; }
  .r-tutors, .r-gallery, .r-cases { grid-template-columns: 1fr; }
  .r-footer__inner { grid-template-columns: 1fr; gap: 26px; }
  .r-article { padding: 26px 22px; }
}
