/* ============================================================
   cysgold · 画册版式（移动端）
   ============================================================ */
:root {
  --ink: #0d131c; --ink-2: #131c28; --paper: #f6f3ec; --paper-2: #efeade; --card: #fffdf9;
  --text: #1c222b; --mut: #6f6d65; --line: #ded6c6; --line-2: #e9e3d7;
  --gold: #a8823f; --gold-l: #d3b681;
  --serif: "Songti SC", "Noto Serif SC", STSong, SimSun, Georgia, serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
img, iframe { max-width: 100%; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; color: var(--text);
  background: var(--paper); line-height: 1.75; font-size: 14.5px; padding-bottom: 56px;
}
img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.3; }
.g-wrap { margin: 0 16px; }

/* 顶栏 */
.g-top { background: var(--ink); border-bottom: 1px solid rgba(211,182,129,.25); position: sticky; top: 0; z-index: 80; }
.g-top__row { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; }
.g-top__logo { display: inline-flex; background: #f6f0e4; padding: 5px 9px; border: 1px solid rgba(211,182,129,.4); }
.g-top__logo img { height: 28px; width: auto; }
.g-top__right { display: flex; align-items: center; gap: 12px; }
.g-top__phone { font-family: var(--serif); font-size: 14px; color: var(--gold-l); }
.nt-burger { width: 28px; height: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.nt-burger span { height: 2px; background: var(--gold-l); }
.g-menu { display: none; flex-wrap: wrap; border-top: 1px solid rgba(211,182,129,.2); padding: 4px 10px 12px; }
.g-menu.is-open { display: flex; }
.g-menu__item { width: 33.33%; }
.g-menu__item a { display: block; padding: 9px 4px; font-size: 13px; color: #cfc9bb; letter-spacing: .5px; }
.g-menu__item.is-active a { color: #fff; }
.g-menu__cta { width: 100%; margin-top: 6px; }
.g-menu__cta a { text-align: center; border: 1px solid var(--gold); color: var(--gold-l); padding: 9px 0; letter-spacing: 1.5px; }

/* 首屏 */
.g-hero {
  background: var(--ink); color: #fff; padding: 28px 16px 0;
  background-image: linear-gradient(180deg, rgba(8,12,18,.92), rgba(8,12,18,.96)), url("../dc/gy-1.jpg");
  background-size: cover; background-position: center;
}
.g-hero__inner { padding-bottom: 22px; }
.g-hero__eyebrow { display: block; font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-l); margin-bottom: 14px; }
.g-hero h1 { font-size: 29px; line-height: 1.28; color: #fff; margin-bottom: 14px; }
.g-hero__slogan { font-family: var(--serif); font-size: 15px; color: #e8dfcc; margin-bottom: 8px; }
.g-hero__info { font-size: 12.5px; color: #a9a396; margin-bottom: 14px; }
.g-hero__tags { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 18px; }
.g-hero__tag { font-size: 11.5px; color: #d8cfbc; padding: 0 10px; border-left: 1px solid rgba(211,182,129,.4); }
.g-hero__tag:first-child { padding-left: 0; border-left: 0; }
.g-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.g-hero__stats { margin: 22px -16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(211,182,129,.22); border-top: 1px solid rgba(211,182,129,.22); }
.g-stat { background: rgba(9,14,20,.8); padding: 14px; }
.g-stat__num { font-family: var(--serif); font-size: 24px; color: var(--gold-l); line-height: 1.1; }
.g-stat__label { font-size: 12px; color: #f0e9da; }
.g-stat__desc { font-size: 10.5px; color: #8d887c; }

/* 按钮 */
.g-btn { display: inline-block; padding: 11px 18px; font-size: 13px; letter-spacing: 1px; }
.g-btn--gold { background: var(--gold); color: #fff; }
.g-btn--ghost { border: 1px solid rgba(255,255,255,.42); color: #fff; }
.g-btn--ink { background: var(--ink); color: #f0e9da; }
.g-btn--sm { padding: 8px 14px; font-size: 12px; }

/* 区块 */
.g-section { padding: 30px 0; border-bottom: 1px solid var(--line-2); }
.g-section--alt { background: var(--paper-2); }
.g-sec-head { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.g-sec-head h2 { font-size: 22px; color: var(--ink); }
.g-sec-head h2 .g-kicker { display: block; font-family: inherit; font-size: 10px; letter-spacing: 2.5px; color: var(--gold); font-weight: 400; margin-bottom: 6px; text-transform: uppercase; }
.g-sec-head p { font-size: 12.5px; color: var(--mut); margin-top: 6px; }
.g-more { display: inline-block; margin-top: 8px; font-size: 12px; letter-spacing: 1.5px; color: var(--gold); }

/* 卡片 */
.g-grid { display: grid; gap: 20px; }
.g-grid--2 { gap: 16px; }
.g-card__img { overflow: hidden; }
.g-card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.g-card__body { padding-top: 10px; }
.g-card__body h3 { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.g-card__meta { font-size: 12px; color: var(--mut); }
.g-card__desc { font-size: 12.5px; color: var(--mut); margin: 4px 0 8px; }
.g-card__link, .g-card__actions a { font-size: 12px; letter-spacing: 1px; color: var(--gold); }
.g-card__actions { display: flex; gap: 12px; margin-top: 6px; }

/* 关于 */
.g-about__photo { margin-bottom: 16px; }
.g-about__photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.g-about__copy h2 { font-size: 22px; color: var(--ink); margin-bottom: 10px; }
.g-about__copy p { font-size: 13px; color: #4e4d47; margin-bottom: 10px; }
.g-about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; border-top: 1px solid var(--line); margin: 12px 0; }
.g-fact { padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.g-fact dt { font-size: 10.5px; letter-spacing: 1px; color: var(--gold); }
.g-fact dd { font-size: 12.5px; }
.g-about__hotline { font-family: var(--serif); font-size: 15px; border-top: 1px solid var(--line); padding-top: 10px; }
.g-about__hotline a { color: var(--gold); }

/* 师资 */
.g-tutors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.g-tutor__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(100%); }
.g-tutor__body { padding-top: 8px; }
.g-tutor__body h3 { font-size: 15px; color: var(--ink); }
.g-tutor__body h3 span { font-size: 10.5px; color: var(--gold); font-weight: 400; letter-spacing: 1px; }
.g-tutor__desc { font-size: 11.5px; color: var(--mut); line-height: 1.7; margin: 4px 0 6px; }

/* 环境 */
.g-gallery-card { position: relative; overflow: hidden; }
.g-gallery-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.g-gallery-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: 11.5px; color: #fff;
  background: linear-gradient(transparent, rgba(9,14,20,.8));
}

/* FAQ / 案例 */
.g-faq { border-top: 1px solid var(--line); }
.g-faq__item { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.g-faq__item h3 { font-size: 14.5px; color: var(--ink); margin-bottom: 5px; }
.g-faq__item h3::before { content: "—"; color: var(--gold); margin-right: 6px; }
.g-faq__item p { font-size: 12.5px; color: var(--mut); }
.g-cases { border-top: 1px solid var(--line); }
.g-case { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.g-case p { font-family: var(--serif); font-size: 13px; color: #3d3c37; }

/* 行列表 */
.g-rows { border-top: 1px solid var(--line); }
.g-row { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.g-row__no { font-family: var(--serif); font-size: 12px; color: var(--gold); letter-spacing: 2px; }
.g-row__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.g-row__body h3 { font-size: 16px; color: var(--ink); margin-bottom: 5px; }
.g-row__meta { font-size: 12px; color: var(--mut); }
.g-row__link { font-size: 12px; color: var(--gold); letter-spacing: 1px; }
.g-row__actions { display: flex; gap: 12px; margin-top: 6px; }

/* 内页头 */
.g-page-head { background: var(--ink); color: #fff; padding: 24px 0 20px; }
.g-page-head h1 { font-size: 24px; margin-bottom: 8px; }
.g-page-head__sub { font-size: 13px; color: #c3bcae; }
.g-crumb { font-size: 11.5px; color: #8f8a7d; }
.g-crumb a { color: #a9a396; }

/* 详情 */
.g-art { background: var(--card); border: 1px solid var(--line); padding: 20px 16px; }
.g-art__kicker { font-size: 10px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; }
.g-art h1 { font-size: 21px; color: var(--ink); margin-bottom: 10px; }
.g-art__meta { font-size: 11.5px; color: #8d887c; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.g-art__content { font-size: 14.5px; line-height: 1.95; color: #38383a; }
.g-art__content p { margin-bottom: 12px; }
.g-art__content img { margin: 12px auto; height: auto; }
.g-art__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; }
.g-art__nav a { color: var(--mut); max-width: 48%; }
.g-art__cta { margin-top: 16px; padding: 16px; background: var(--ink); color: #e8dfcc; }
.g-art__cta strong { display: block; font-family: var(--serif); font-size: 15px; color: #fff; margin-bottom: 4px; }
.g-art__cta span { font-size: 11.5px; color: #a9a396; display: block; margin-bottom: 10px; }

/* 资讯列表 */
.g-news-list { border-top: 1px solid var(--line); }
.g-news-item { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.g-news-item__img { display: none; }
.g-news-item__body h3 { font-size: 15.5px; color: var(--ink); margin-bottom: 4px; }
.g-news-item__meta { font-size: 11px; color: #8d887c; display: flex; gap: 12px; }
.g-news-item__desc { font-size: 12.5px; color: var(--mut); margin-top: 4px; }

/* 侧栏块 */
.g-rail { display: grid; gap: 16px; margin-top: 20px; }
.g-rail__box { border-top: 1px solid var(--ink); padding-top: 10px; }
.g-rail__box h3 { font-family: var(--serif); font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.g-rail__phone { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.g-rail__phone small { display: block; font-size: 10.5px; color: var(--mut); }
.g-rail__note { font-size: 11.5px; color: var(--mut); margin-top: 6px; }
.g-rail__link { display: block; font-size: 12.5px; color: #4e4d47; padding: 6px 0; border-bottom: 1px dashed var(--line-2); }

/* 分页 */
.g-pager { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.g-pager a, .g-pager span { min-width: 34px; padding: 6px 10px; text-align: center; border: 1px solid var(--line); font-size: 12.5px; }
.g-pager .current, .g-pager .on, .g-pager .page-num-current { background: var(--ink); color: #e8dfcc; border-color: var(--ink); }

/* 页脚 */
.g-footer { background: var(--ink); color: #9d978a; margin-top: 24px; }
.g-footer__inner { padding: 24px 16px 16px; display: grid; gap: 16px; }
.g-footer h4 { font-family: var(--serif); color: #e8dfcc; font-size: 13.5px; letter-spacing: 1.5px; margin-bottom: 8px; }
.g-footer__about p, .g-footer__contact { font-size: 12px; line-height: 1.9; }
.g-footer__nav a { display: inline-block; font-size: 12.5px; color: #9d978a; margin: 0 12px 6px 0; }
.g-footer__hotline { font-family: var(--serif); font-size: 20px; color: #fff; }
.g-footer__copy { border-top: 1px solid rgba(211,182,129,.16); padding: 12px 16px; text-align: center; font-size: 11px; color: #6f6a5e; }

/* 底部固定条 */
.g-dock { position: fixed; left: 0; right: 0; bottom: 0; display: flex; background: var(--ink); border-top: 1px solid rgba(211,182,129,.5); z-index: 90; }
.g-dock a { flex: 1; text-align: center; padding: 12px 0; font-size: 13.5px; color: var(--gold-l); letter-spacing: 1px; }
.g-dock__chat { background: var(--gold); color: #fff !important; }
