/* ============================================================
   阿龙吉他｜徐州吉他教学｜古典吉他老师
   样式表 —— 移动优先（Mobile-first）
   设计语言：暖纸色 + 墨色 + 古铜，编辑式排版，古典音乐气质
   ============================================================ */

:root {
  /* 色板 */
  --paper:        #f5f0e7;   /* 暖纸色（主背景） */
  --paper-deep:   #ece3d3;   /* 深一档纸色（交替区块） */
  --card:         #fbf7ef;   /* 卡片表面 */
  --ink:          #221d17;   /* 墨色（正文） */
  --ink-soft:     #4c453a;   /* 次级文字 */
  --ink-faint:    #8b8172;   /* 弱化文字 */
  --accent:       #9a6b3f;   /* 古铜（主强调色） */
  --accent-deep:  #7a4f2a;   /* 深古铜（hover） */
  --espresso:     #211c16;   /* 深咖啡（深色区块） */
  --espresso-soft:#342c22;   /* 深区块内嵌表面 */
  --cream:        #f7f2e9;   /* 深区块上的文字色 */
  --line:         rgba(34, 29, 23, 0.14);        /* 浅色分割线 */
  --line-dark:    rgba(247, 242, 233, 0.16);     /* 深色分割线 */

  /* 字体 */
  --font-display: "Songti SC", "Noto Serif SC", "STSong", "SimSun", Georgia, "Times New Roman", serif;
  --font-body:    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-latin:   Georgia, "Times New Roman", "Songti SC", serif;

  /* 布局与圆角 */
  --container: 1080px;
  --radius: 14px;
  --header-h: 62px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

::selection { background: var(--accent); color: var(--cream); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.serif { font-family: var(--font-display); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;                 /* 移动端 44px+ 点击目标 */
  padding: 10px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }

.btn-primary { background: var(--espresso); color: var(--cream); }
.btn-primary:hover { background: var(--accent-deep); }

.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-light { background: var(--cream); color: var(--espresso); }
.btn-light:hover { background: #fff; }

.btn-outline-light { border-color: var(--cream); color: var(--cream); }
.btn-outline-light:hover { background: var(--cream); color: var(--espresso); }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 231, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.brand-sub {
  font-family: var(--font-latin);
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

/* 汉堡按钮 */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端菜单 */
.site-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  left: 0;
  /* 高度用视口单位而非 bottom:0 拉伸：
     避免 header 的 backdrop-filter 改变 fixed 包含块后菜单塌缩（Android 只显示首项） */
  height: calc(100vh - var(--header-h));   /* 旧内核回退 */
  height: calc(100dvh - var(--header-h));
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 20px 40px;
  background: var(--paper);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  overflow-y: auto;
}
.site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }

.site-nav a {
  font-family: var(--font-display);
  font-size: 20px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav a::after { content: "→"; font-family: var(--font-body); font-size: 14px; color: var(--ink-faint); }
.site-nav a[aria-current="page"] { color: var(--accent-deep); }
.site-nav a[aria-current="page"]::after { content: "· 当前页"; font-size: 12px; color: var(--accent); }

/* ---------- 通用区块 ---------- */
.section { padding-block: 64px; }
.section-alt { background: var(--paper-deep); }
.section-dark { background: var(--espresso); color: var(--cream); }

.section-head { margin-bottom: 40px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-latin);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
}
.section-lead {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 34em;
}
.section-dark .section-lead { color: rgba(247, 242, 233, 0.72); }

/* 章节标题下的细线 */
.rule { width: 56px; height: 2px; background: var(--accent); margin-top: 18px; border-radius: 2px; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(154, 107, 63, 0.14), transparent 60%),
    var(--paper);
}
/* 五线谱细线纹理 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 26px,
    rgba(34, 29, 23, 0.05) 26px 27px
  );
  pointer-events: none;
}
/* 吉他剪影水印 */
.hero-mark {
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: 300px;
  color: var(--accent);
  opacity: 0.10;
  pointer-events: none;
}

.hero-inner { position: relative; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--accent-deep);
  margin-bottom: 26px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--accent); }

.hero-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.hero-title em {
  font-style: normal;
  color: var(--accent-deep);
  border-bottom: 3px solid rgba(154, 107, 63, 0.35);
}

.hero-sub {
  margin-top: 22px;
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-facts li {
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-facts li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(154, 107, 63, 0.45);
  box-shadow: 0 14px 34px -18px rgba(34, 29, 23, 0.35);
}
.card-num {
  font-family: var(--font-latin);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.card p { font-size: 14px; color: var(--ink-soft); }

/* ---------- 课程列表（编辑式编号列表） ---------- */
.course-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.course-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: baseline;
  background: var(--card);
  padding: 22px 20px;
}
.course-item .no {
  font-family: var(--font-latin);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--accent);
}
.course-item h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.course-item p { font-size: 14px; color: var(--ink-soft); }

/* ---------- 价格卡片 ---------- */
.price-grid { display: grid; gap: 18px; }
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.price-card.is-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #fffdf6, var(--card));
  box-shadow: 0 18px 40px -22px rgba(122, 79, 42, 0.4);
}
.price-tag {
  position: absolute;
  top: 16px; right: -30px;
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 4px 34px;
}
.price-card .name { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: 0.08em; }
.price-card .price {
  font-family: var(--font-latin);
  font-size: 46px;
  font-weight: 400;
  color: var(--accent-deep);
  margin: 14px 0 4px;
  line-height: 1;
}
.price-card .price small { font-size: 15px; color: var(--ink-soft); font-family: var(--font-body); }
.price-card .unit { font-size: 13px; color: var(--ink-faint); margin-bottom: 18px; }
.price-card ul li { font-size: 14px; color: var(--ink-soft); padding: 7px 0; border-top: 1px dashed var(--line); }

/* ---------- 相册 / 占位图块 ---------- */
.tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile .placeholder-txt {
  text-align: center;
  color: var(--ink-faint);
  font-size: 13px;
  letter-spacing: 0.18em;
  line-height: 2;
}
.tile .placeholder-txt strong { display: block; font-family: var(--font-display); font-size: 15px; color: var(--ink-soft); letter-spacing: 0.1em; }
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 保持比例，不拉伸 */
  object-position: center;
  display: block;
}
.tile-cap {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.tile-cap .tag {
  font-size: 11px;
  color: var(--accent-deep);
  border: 1px solid rgba(154, 107, 63, 0.4);
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* 视频占位（16:9）——整个封面为可点击链接 */
.video-tile {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(500px 300px at 50% 0%, rgba(154, 107, 63, 0.22), transparent 70%),
    var(--espresso);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(247, 242, 233, 0.12);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
a.video-tile:hover {
  border-color: rgba(154, 107, 63, 0.65);
  transform: translateY(-2px);
}
.video-tile .vt-txt { font-size: 13px; letter-spacing: 0.2em; color: rgba(247, 242, 233, 0.75); }
a.video-tile:hover .vt-txt { color: var(--cream); }

/* ---------- 深色 CTA 条 ---------- */
.cta-band {
  background:
    radial-gradient(900px 380px at 15% 120%, rgba(154, 107, 63, 0.28), transparent 60%),
    var(--espresso);
  color: var(--cream);
  text-align: center;
  padding-block: 72px;
}
.cta-band .section-title { font-size: 26px; }
.cta-band p { margin-top: 14px; color: rgba(247, 242, 233, 0.72); font-size: 14px; }
.cta-band .btn-wrap { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- 联系卡片 ---------- */
.contact-grid { display: grid; gap: 16px; }
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-card .ico {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent-deep);
}
.contact-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.contact-card p { font-size: 13px; color: var(--ink-soft); }
.contact-card .pending {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-faint);
  border: 1px dashed rgba(139, 129, 114, 0.5);
  border-radius: 999px;
  padding: 3px 12px;
}

/* ---------- 教师页 ---------- */
.teacher-portrait {
  max-width: 380px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.portrait-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-deep);
}
.portrait-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* 保持比例，不拉伸 */
  object-position: center 25%; /* 人像偏上，避免裁掉头顶 */
  display: block;
}
.teacher-portrait figcaption {
  padding: 12px 14px 13px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.fact-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact-row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; background: var(--card); padding: 16px 18px; align-items: baseline; }
.fact-row dt { font-size: 13px; color: var(--accent-deep); letter-spacing: 0.14em; }
.fact-row dd { font-size: 14px; color: var(--ink-soft); }
.fact-row dd.pending { color: var(--ink-faint); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--espresso); color: var(--cream); padding-block: 56px 28px; }
.footer-grid { display: grid; gap: 34px; }
.footer-brand { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: 0.14em; }
.footer-brand-sub {
  font-family: var(--font-latin);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(247, 242, 233, 0.5);
  margin-top: 6px;
}
.footer-slogan { margin-top: 16px; font-size: 13px; color: rgba(247, 242, 233, 0.72); max-width: 22em; }
.footer h4 { font-size: 12px; letter-spacing: 0.22em; color: rgba(247, 242, 233, 0.55); margin-bottom: 14px; font-weight: 600; }
.footer-links a { display: block; font-size: 14px; color: rgba(247, 242, 233, 0.85); padding: 4px 0; transition: color .2s; }
.footer-links a:hover { color: var(--cream); }
.footer-contact p { font-size: 13px; color: rgba(247, 242, 233, 0.7); padding: 3px 0; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 12px;
  color: rgba(247, 242, 233, 0.45);
  letter-spacing: 0.06em;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
}

/* ---------- 页头（内页 Hero 小标题） ---------- */
.page-hero {
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(800px 320px at 90% -20%, rgba(154, 107, 63, 0.12), transparent 60%),
    var(--paper);
}
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.page-hero p { margin-top: 14px; color: var(--ink-soft); font-size: 15px; max-width: 36em; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 间距工具 ---------- */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.text-center { text-align: center; }
.grid-2 { display: grid; gap: 20px; }
.grid-3 { display: grid; gap: 20px; }

/* ============================================================
   平板 / 桌面断点
   ============================================================ */
@media (min-width: 640px) {
  .hero-title { font-size: 44px; }
  .section-title { font-size: 32px; }
  .page-hero h1 { font-size: 34px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  :root { --header-h: 68px; }

  /* 桌面导航 */
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    overflow: visible;
  }
  .site-nav a {
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 500;
    padding: 8px 14px;
    border-bottom: none;
    color: var(--ink-soft);
    border-radius: 999px;
    transition: color .2s, background .2s;
  }
  .site-nav a::after { display: none; }
  .site-nav a:hover { color: var(--ink); background: rgba(34, 29, 23, 0.05); }
  .site-nav a[aria-current="page"] { color: var(--accent-deep); font-weight: 600; background: rgba(154, 107, 63, 0.1); }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav .nav-cta {
    margin-left: 10px;
    background: var(--espresso);
    color: var(--cream);
  }
  .site-nav .nav-cta:hover { background: var(--accent-deep); color: var(--cream); }

  .hero { padding: 110px 0 84px; }
  .hero-title { font-size: 56px; line-height: 1.35; }
  .hero-sub { font-size: 17px; }
  .hero-facts { margin-top: 44px; }

  .section { padding-block: 96px; }
  .section-head { margin-bottom: 56px; }
  .section-title { font-size: 36px; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-band { padding-block: 96px; }
  .cta-band .section-title { font-size: 34px; }

  .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; }
  .page-hero { padding: 84px 0 64px; }
  .page-hero h1 { font-size: 40px; }

  /* 教师页：左右分栏 */
  .teacher-layout { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; }
  .teacher-portrait { margin-inline: 0; }
}

/* ---------- 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   咨询转化组件
   ============================================================ */

/* ---------- 免费试听行动条（首页 hero 下方） ---------- */
.trial-strip {
  background: linear-gradient(120deg, var(--accent-deep) 0%, var(--accent) 100%);
  color: var(--cream);
}
.trial-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding-block: 30px;
}
.trial-inner h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
}
.trial-inner p {
  font-size: 14px;
  color: rgba(247, 242, 233, 0.88);
  letter-spacing: 0.05em;
}
.trial-inner .btn {
  background: var(--cream);
  color: var(--accent-deep);
  font-size: 16px;
  min-height: 50px;
  padding-inline: 34px;
}
.trial-inner .btn:hover { background: #fff; }

@media (min-width: 640px) {
  .trial-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 26px;
  }
  .trial-inner h2 { font-size: 30px; }
}

/* ---------- 移动端底部固定联系栏 ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: flex;
  background: var(--espresso);
  border-top: 1px solid rgba(247, 242, 233, 0.14);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 9px 8px 8px;
  min-height: 56px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cream);
  transition: background .2s;
}
.mobile-bar a .ico { font-size: 19px; line-height: 1; }
.mobile-bar a + a { border-left: 1px solid rgba(247, 242, 233, 0.14); }
.mobile-bar a:active { background: var(--espresso-soft); }

/* 移动端为固定栏预留底部空间 */
body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }

@media (min-width: 900px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- 联系卡片中的可点击占位 ---------- */
.contact-card a.pending { display: inline-block; text-decoration: none; }
.contact-card a.pending:hover {
  color: var(--accent-deep);
  border-color: var(--accent);
}

/* ---------- 演奏作品卡片 · 观看按钮 ---------- */
.watch-btn {
  width: 100%;
  margin-top: 12px;
  background: var(--espresso);
  color: var(--cream);
}
.watch-btn:hover { background: var(--accent-deep); color: var(--cream); }

@media (min-width: 640px) {
  .watch-btn { width: auto; padding-inline: 30px; }
}

/* ---------- 微信二维码 ---------- */
.wechat-qr {
  display: block;
  width: 172px;
  height: auto;
  margin-top: 12px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.wechat-qr-hint {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--accent-deep);
  letter-spacing: 0.04em;
}

@media (min-width: 640px) {
  .wechat-qr { width: 196px; }
}

/* ---------- 教学理念（单句引用） ---------- */
.philosophy-quote {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: 0.05em;
  color: var(--cream);
  max-width: 26em;
  padding-left: 22px;
  border-left: 3px solid var(--accent);
  margin-top: 8px;
}
.philosophy-quote::before {
  content: "「";
  color: var(--accent);
  font-size: 1.15em;
  margin-right: 4px;
}
.philosophy-quote::after {
  content: "」";
  color: var(--accent);
  font-size: 1.15em;
  margin-left: 4px;
}

@media (min-width: 640px) {
  .philosophy-quote { font-size: 26px; }
}
