/* 北京天才狗宠物训练学校 — 前台样式
 * 视觉基准：sijinna.com 复刻版
 *   首屏：草坪实景照片 + 居中大标题 + 副标题 + 红方块要点行
 *   版块：纯白底，标题居中，标题下橙色小字副标题
 *   四列网格：细分隔线（1px 浅灰），无卡片边框与阴影
 * 色板：主橙 #e75c1e / 深 #d4521a / 正文 #333 / 次要 #666 / 弱 #999 / 分隔线 #ebebeb
 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0; color: #333; background: #fff; min-height: 0;
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: #333; text-decoration: none; transition: color .25s; }
a:hover { color: #e75c1e; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: #1a1a1a; line-height: 1.35; }
p { margin: 0 0 16px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 页头（白底，与复刻版一致） ---------- */
.hd { background: #fff; position: relative; z-index: 100; }
.hd-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 90px; }
.brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; align-self: center; }
.brand-logo { width: 30px; height: 30px; flex: 0 0 30px; display: block; object-fit: contain; }
.brand-logo-fb {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: #e75c1e;
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700;
}
.brand-name { font-size: 17px; font-weight: 700; color: #1a1a1a; white-space: nowrap; line-height: 37px; }
.brand-tag {
  font-style: normal; font-size: 11px; font-weight: 400; color: #fff; background: #e75c1e;
  padding: 2px 5px; border-radius: 2px; margin-left: 6px; vertical-align: 3px; line-height: 1.5;
}
.nav { display: flex; align-items: center; }
.nav a {
  font-size: 16px; color: #333; padding: 0 17px; height: 37px; line-height: 37px;
  position: relative; display: block;
}
.nav a::after {
  content: ''; position: absolute; left: 17px; right: 17px; bottom: -6px; height: 2px;
  background: #e75c1e; transform: scaleX(0); transition: transform .3s;
}
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.nav a.on { color: #e75c1e; }
.hd-tel { font-size: 16px; font-weight: 700; color: #e75c1e; white-space: nowrap; display: none; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn i { display: block; width: 22px; height: 2px; background: #333; margin: 4px 0; }

/* ---------- 首屏：草坪照片 + 居中文字（复刻版核心） ---------- */
.banner-hero {
  position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center;
  background-color: #1c3a18; background-repeat: no-repeat; background-size: cover;
  background-position: center 42%; min-height: 560px;
}
.banner-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,.18) 0%, rgba(0,0,0,.42) 62%, rgba(0,0,0,.58) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-panel { width: 100%; max-width: 1040px; text-align: center; padding: 60px 16px; box-sizing: border-box; }
.hero-title {
  font-size: 70px; font-weight: 800; color: #fff; letter-spacing: 5px; line-height: 1.18;
  text-shadow: 0 3px 0 rgba(11,42,91,.5), 0 6px 22px rgba(0,0,0,.6), 0 1px 3px rgba(0,0,0,.65);
  margin: 0; word-break: break-word; overflow-wrap: break-word;
}
.hero-line1 {
  font-size: 25px; font-weight: 700; color: #fff; letter-spacing: .5px; line-height: 1.6;
  margin: 26px auto 20px; max-width: 860px; word-break: break-word;
  text-shadow: 0 2px 10px rgba(0,0,0,.68), 0 1px 2px rgba(0,0,0,.75);
}
.hero-line2 {
  font-size: 19px; font-weight: 700; color: #fff; letter-spacing: .5px; line-height: 1.7;
  margin: 18px auto 0; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  text-shadow: 0 2px 10px rgba(0,0,0,.68), 0 1px 2px rgba(0,0,0,.75);
}
.hero-line2::before { content: ''; width: 14px; height: 14px; background: #e75c1e; flex: 0 0 14px;
  box-shadow: 0 1px 6px rgba(0,0,0,.5); }
.hero-line1 .h-l1, .hero-line1 .h-l2, .hero-line2 .h-l1, .hero-line2 .h-l2 { display: inline; }

/* 平板断点（必须在 768 规则之前，避免覆盖手机字号） */
@media (max-width: 1240px) {
  .hero-title { font-size: 56px; letter-spacing: 4px; }
  .hero-line1 { font-size: 22px; }
  .hero-line2 { font-size: 17px; }
  .banner-hero { min-height: 500px; }
}
@media (max-width: 1000px) {
  .hero-title { font-size: 44px; letter-spacing: 3px; }
  .hero-line1 { font-size: 19px; }
  .hero-line2 { font-size: 15.5px; }
  .banner-hero { min-height: 470px; }
}

/* ---------- 版块 ---------- */
.sec { padding: 64px 0; }
.sec-alt { background: #f7f5f6; }
.title { text-align: center; margin-bottom: 40px; }
.title h2 { font-size: 34px; color: #1a1a1a; letter-spacing: 1px; }
.title p { font-size: 16px; color: #e75c1e; margin: 12px 0 0; }
.more-wrap { text-align: center; margin-top: 40px; }
/* 统一方块按钮：全站模块底部「了解更多」用同一套 */
.btn {
  display: inline-block; padding: 13px 34px; font-size: 15px; border-radius: 2px;
  border: 1px solid #e75c1e; transition: all .3s; cursor: pointer; text-align: center;
}
.btn-p { background: #e75c1e; color: #fff; }
.btn-p:hover { background: #d4521a; border-color: #d4521a; color: #fff; }
.btn-o { background: #fff; color: #e75c1e; }
.btn-o:hover { background: #e75c1e; color: #fff; }
/* 模块底部的方块「了解更多」 */
.more-box {
  display: inline-block; min-width: 180px; padding: 14px 0; text-align: center;
  border: 1px solid #e75c1e; color: #e75c1e; font-size: 15px; line-height: 1.4;
  border-radius: 2px; background: transparent; transition: background .3s, color .3s;
}
.more-box:hover { background: #e75c1e; color: #fff; }

/* 训犬师培训：按钮同款方块（覆盖原圆角胶囊） */
.school-web .school-more {
  margin-top: 30px; display: inline-block; min-width: 180px; padding: 14px 0; text-align: center;
  border: 1px solid #e75c1e; color: #e75c1e; font-size: 15px; line-height: 1.4;
  border-radius: 2px; background: transparent; transition: background .3s, color .3s;
}

/* ---------- 四列 / 三列：细分隔线网格（复刻版核心） ---------- */
.grid-line { display: grid; border-top: 1px solid #ebebeb; border-left: 1px solid #ebebeb; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.gcell {
  min-width: 0;
  border-right: 1px solid #ebebeb; border-bottom: 1px solid #ebebeb; background: #fff;
  padding: 42px 26px; text-align: center; transition: background .3s; display: block;
}
.gcell:hover { background: #fdfbf9; }
.gcell .icon { height: 76px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.gcell .icon img { max-height: 76px; width: auto; }
/* 细线淡彩 SVG 图标：视觉重量比彩色卡通狗轻，缩到 52px 才协调 */
.gcell .icon img[src$=".svg"] { max-height: 52px; }
.gcell h3 { font-size: 19px; margin-bottom: 12px; }
.gcell:hover h3 { color: #e75c1e; }
.gcell .meta { font-size: 13px; color: #e75c1e; margin-bottom: 10px; }
.gcell p { font-size: 14px; color: #888; line-height: 1.85; margin: 0; }

/* ---------- 养宠家长课三卡 ---------- */
.svc-cell { border-right: 1px solid #ebebeb; border-bottom: 1px solid #ebebeb; background: #fff; padding: 0 0 32px; text-align: center; display: block; }
.svc-pic { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: #f2eeea; margin-bottom: 22px; }
.svc-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-cell:hover .svc-pic img { transform: scale(1.05); }
.svc-cell h3 { font-size: 19px; margin-bottom: 10px; padding: 0 20px; }
.svc-cell:hover h3 { color: #e75c1e; }
.svc-cell p { font-size: 14px; color: #888; line-height: 1.85; padding: 0 24px; margin: 0; }

/* ---------- 学校简介（淡灰纸片风） ---------- */
.intro-school { background: #f7f5f6; padding: 64px 0 70px; }
.is-head { text-align: center; margin-bottom: 34px; }
.is-head h2 { font-size: 34px; color: #1a1a1a; }
.is-head p { font-size: 16px; color: #e75c1e; margin: 12px 0 0; }
.is-body { max-width: 1100px; margin: 0 auto; }
.is-item { margin: 0 0 28px; }
.is-item:last-child { margin-bottom: 0; }
.is-item h4 {
  font-size: 18px; color: #1a1a1a; font-weight: 700; line-height: 1.4; margin: 0 0 12px;
  padding-left: 14px; position: relative;
}
.is-item h4::before { content: ''; position: absolute; left: 0; top: .3em; width: 4px; height: 1em; background: #e75c1e; }
.is-item p { font-size: 15.5px; line-height: 2.05; color: #666; text-align: justify; margin: 0 0 10px; }
.is-item p:last-child { margin-bottom: 0; }
.intro-school .more-wrap { margin-top: 38px; }

/* ---------- 训练案例 ---------- */
.case-card { display: flex; flex-direction: column; border-right: 1px solid #ebebeb; border-bottom: 1px solid #ebebeb; background: #fff; min-width: 0; }
.grid-line.grid-4 > .case-card:nth-child(4n) { border-right: 0; }
.case-pic { position: relative; width: 100%; padding-top: 177.78%; background: #f2eeea; overflow: hidden; }
.case-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover .case-pic img { transform: scale(1.04); }
.case-pic .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #c4bdb6; font-size: 13px; background: linear-gradient(135deg, #f6f2ee, #ece6e0);
}
.case-tit { padding: 16px 10px; text-align: center; font-size: 15px; font-weight: 700; color: #1a1a1a;
  min-height: 54px; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.case-card:hover .case-tit { color: #e75c1e; }
.case-badge {
  position: absolute; right: 8px; top: 8px; background: rgba(231,92,30,.94); color: #fff;
  font-size: 11px; padding: 4px 7px; border-radius: 2px;
}

/* ---------- 训犬答疑（两列白底面板，复刻版样式） ---------- */
.qa-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.qa-item { background: #fff; border: 1px solid #eee7e2; transition: all .3s;
  min-width: 0; overflow: hidden; }
.qa-item:hover { border-color: #e75c1e; box-shadow: 0 8px 22px rgba(231,92,30,.09); }
.qa-link { display: block; padding: 22px 24px; }
.qa-link h3 { font-size: 16px; line-height: 1.6; margin-bottom: 8px; display: flex; gap: 8px;
  align-items: flex-start; word-break: break-word; }
.qa-link h3 .q {
  flex: 0 0 20px; height: 20px; line-height: 20px; text-align: center; background: #e75c1e;
  color: #fff; font-size: 12px; border-radius: 2px; margin-top: 2px; font-weight: 400;
}
.qa-link p {
  font-size: 14px; color: #999; margin: 0; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; padding-left: 28px; max-width: 100%;
}
.qa-link .arw { float: right; color: #ccc; font-size: 14px; line-height: 24px; }
.qa-item:hover .arw { color: #e75c1e; }

/* ---------- 文章列表页 ---------- */
.art-list { background: #fff; border: 1px solid #ebebeb; }
.art-item { border-bottom: 1px solid #f2eeea; }
.art-item:last-child { border-bottom: 0; }
.art-item a { display: block; padding: 22px 28px; }
.art-item a:hover { background: #fdfbf9; }
.art-item h3 { font-size: 17px; margin-bottom: 6px; }
.art-item a:hover h3 { color: #e75c1e; }
.art-item p { font-size: 14px; color: #888; margin: 0; line-height: 1.8; }
.art-item .cat {
  display: inline-block; font-size: 12px; color: #e75c1e; background: #fdf3ee;
  padding: 1px 7px; border-radius: 2px; margin-right: 8px; vertical-align: 1px;
}
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 34px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 38px; height: 38px; line-height: 36px; text-align: center; padding: 0 12px;
  border: 1px solid #ebebeb; background: #fff; font-size: 14px; color: #666;
}
.pager a:hover { border-color: #e75c1e; color: #e75c1e; }
.pager .cur { background: #e75c1e; border-color: #e75c1e; color: #fff; }
.pager .info { border: 0; background: none; color: #999; }

/* ---------- 文章详情 ---------- */
.article { background: #fff; border: 1px solid #ebebeb; padding: 52px 48px; }
.article h1 { font-size: 28px; line-height: 1.5; padding-bottom: 22px; border-bottom: 1px dashed #ebebeb; margin-bottom: 24px; }
.art-meta { font-size: 13px; color: #999; margin: -14px 0 18px; }
.article .lead {
  font-size: 17px; color: #1a1a1a; font-weight: 700; line-height: 1.9; background: #faf8f7;
  border-left: 3px solid #e75c1e; padding: 18px 22px; margin-bottom: 26px;
}
.article h2 { font-size: 19px; margin: 30px 0 14px; padding-left: 12px; border-left: 4px solid #e75c1e; line-height: 1.4; }
.kv { margin: 0 0 20px; }
.kv li { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px dashed #f2eeea; font-size: 15px; }
.kv li:last-child { border-bottom: 0; }
.kv .k { flex: 0 0 132px; color: #999; }
.kv .v { flex: 1 1 auto; color: #333; }
.article .tail { font-size: 15px; color: #666; line-height: 1.9; background: #faf8f7; padding: 16px 20px; }
.cta-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* ---------- 内容页（关于） ---------- */
.page-box { background: #fff; border: 1px solid #ebebeb; padding: 52px 48px; }
.page-box h1 { font-size: 28px; text-align: center; padding-bottom: 24px; border-bottom: 1px dashed #ebebeb; margin-bottom: 30px; }
.page-box .lead { font-size: 17px; font-weight: 700; color: #1a1a1a; line-height: 1.95; margin-bottom: 20px; }
.page-box p { font-size: 16px; line-height: 2; color: #333; }
.page-box b, .page-box strong { color: #1a1a1a; }
.page-box ul.dot { margin: 0 0 18px; }
.page-box ul.dot li { position: relative; padding-left: 18px; font-size: 16px; line-height: 2; margin-bottom: 8px; }
.page-box ul.dot li::before { content: ''; position: absolute; left: 4px; top: .85em; width: 5px; height: 5px; border-radius: 50%; background: #e75c1e; }
.page-tabs { display: flex; max-width: 1200px; margin: -62px auto 0; position: relative; z-index: 3; padding: 0 16px;
  align-items: stretch; }
/* 8 项模式：两行贴合，整体仍压在横幅底部 */
.page-tabs-many { margin-top: -108px; }
.page-tabs a { flex: 1 1 0; height: 62px; line-height: 62px; text-align: center; background: #e75c1e; color: #fff; font-size: 15px; border-right: 1px solid rgba(255,255,255,.18); }
.page-tabs a:last-child { border-right: 0; }
.page-tabs a.on { background: #fff; color: #e75c1e; font-weight: 700; }
.page-tabs a:hover { background: #d4521a; }
.page-tabs a.on:hover { background: #fff; }

/* 表格 */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 20px; }
.tbl th, .tbl td { border: 1px solid #ebebeb; padding: 12px 16px; text-align: left; line-height: 1.85; vertical-align: top; }
.tbl th { background: #faf8f7; color: #1a1a1a; font-weight: 700; }
.tbl td:first-child { color: #e75c1e; font-weight: 700; white-space: nowrap; }

/* 创始人 */
.founder { background: #faf8f7; border-left: 3px solid #e75c1e; padding: 24px 26px; margin-bottom: 10px; }
.founder .nm { font-size: 22px; font-weight: 700; color: #1a1a1a; }
.founder .role { font-size: 14px; color: #e75c1e; font-weight: 700; margin: 4px 0 14px; }

/* 联系页 */
.contact-box { display: flex; gap: 34px; background: #faf8f7; border: 1px solid #f4e3db; padding: 28px 30px; margin-bottom: 24px; }
.contact-l { flex: 1 1 auto; min-width: 0; }
.contact-row { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px dashed #f4e3db; font-size: 15px; }
.contact-row:last-child { border-bottom: 0; }
.contact-row .k { flex: 0 0 108px; color: #999; }
.contact-row .v { flex: 1 1 auto; color: #222; word-break: break-word; }
.contact-row .v a { color: #e75c1e; font-weight: 700; }
.contact-r { flex: 0 0 190px; text-align: center; }
.qr { width: 168px; height: 168px; margin: 0 auto; background: #fff; border: 1px solid #f4e3db; display: flex; align-items: center; justify-content: center; color: #c4bdb6; font-size: 13px; }
.qr img { width: 100%; height: 100%; object-fit: contain; }
.contact-r p { font-size: 14px; color: #888; margin: 12px 0 0; }

/* ---------- 页脚（黑底三栏，复刻版样式） ---------- */
.ft { background: #26150c; color: rgba(255,255,255,.75); padding: 42px 0 0; margin-top: 0; }
.ft-in { display: flex; gap: 30px; padding-bottom: 30px; align-items: flex-start; }
.ft-phone-box { flex: 1 1 0; max-width: 34%; text-align: center; }
.ft-qr-box { flex: 0 0 22%; text-align: center; border-left: 1px solid rgba(255,255,255,.12); border-right: 1px solid rgba(255,255,255,.12); }
.ft-addr-box { flex: 1 1 0; max-width: 34%; }
.ft-h5 { font-size: 15px; color: #fff; height: 20px; line-height: 20px; margin: 0 0 14px; }
.ft-tel { font-size: 24px; font-weight: 700; color: #e75c1e; line-height: 1.3; }
.ft-sub { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 6px; }
.ft-qr-box .qr { width: 84px; height: 84px; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.ft-qr-box p { font-size: 12px; color: rgba(255,255,255,.5); margin: 10px 0 0; }
.ft-addr-list p { font-size: 14px; line-height: 1.9; margin: 0; color: rgba(255,255,255,.72); }
.ft-addr-list .lab { color: #f19d78; }
.icp-bar { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 13px; color: rgba(255,255,255,.5); text-align: center; }
.icp-bar a { color: rgba(255,255,255,.45); }
.icp-bar span { margin: 0 6px; }

/* 移动端底部固定栏 */
.telbar { display: none; position: fixed; left: 0; bottom: 0; width: 100%; z-index: 200; }
.telbar a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 50%; height: 50px; line-height: 50px; background: #e75c1e; color: #fff; font-size: 15px;
}
.telbar a:first-child { border-right: 1px solid rgba(255,255,255,.35); }
.telbar svg { width: 18px; height: 18px; fill: currentColor; }

/* 面包屑 */
.crumb { font-size: 13px; color: #999; padding: 22px 0 0; }
.crumb a { color: #999; }
.crumb a:hover { color: #e75c1e; }
.crumb span { margin: 0 6px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav a { padding: 0 12px; font-size: 15px; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .qa-cols { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hd { position: static; }
  .hd-in { height: 64px; }
  .brand-logo, .brand-logo-fb { width: 26px; height: 26px; flex: 0 0 26px; font-size: 13px; }
  .brand-name { font-size: 14px; line-height: 1.3; white-space: normal; }
  .brand-tag { display: inline-block; font-size: 9px; padding: 1px 4px; margin-left: 4px; vertical-align: 2px; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; left: 0; right: 0; top: 64px; background: #fff; flex-direction: column;
    padding: 0; box-shadow: 0 8px 20px rgba(0,0,0,.12); transform: translateY(-120%);
    transition: transform .3s; z-index: 99; align-items: stretch;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 15px 20px; height: auto; line-height: 1.5; border-bottom: 1px solid #f2eeea; font-size: 15px; }
  .nav a::after { display: none; }
  .banner-hero { min-height: 400px; }
  .hero-panel { padding: 44px 16px; }
  .hero-title { font-size: 26px; letter-spacing: 1px; line-height: 1.35; padding: 0 4px; }
  .hero-panel { padding: 40px 10px 44px; }
  .hero-panel { padding: 40px 14px; }
  .wrap { padding: 0 12px; }
  .nav { max-width: 100%; }
  .hero-line1 { font-size: 13px; line-height: 1.7; margin: 16px auto 14px; letter-spacing: 0; }
  .hero-line1 .h-l2 { display: block; }
  .hero-line2 { font-size: 12.5px; line-height: 1.8; display: block; letter-spacing: 0; text-align: center; }
  .hero-line2::before { display: inline-block; vertical-align: middle; margin: -2px 6px 0 0; }
  .hero-line2 .h-l2 { display: block; }
  .hero-line2::before { width: 8px; height: 8px; display: inline-block; vertical-align: middle; margin: -2px 7px 0 0; }
  .sec { padding: 42px 0; }
  .title { margin-bottom: 26px; }
  .title h2 { font-size: 24px; }
  .title p { font-size: 14px; }
  /* 课程与案例：手机端保持两列，避免竖排过长 */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .gcell { padding: 22px 12px; }
  .gcell .icon { height: 54px; margin-bottom: 12px; }
  .gcell .icon img { max-height: 54px; }
  .gcell .icon img[src$=".svg"] { max-height: 38px; }
  .gcell h3 { font-size: 16px; margin-bottom: 8px; }
  .gcell p { font-size: 12.5px; line-height: 1.7; }
  .page-tabs { margin: 0; padding: 0 10px; }
  .page-tabs a { height: 46px; line-height: 46px; font-size: 13px; }
  .page-box, .article { padding: 26px 16px; }
  .page-box h1, .article h1 { font-size: 20px; }
  .page-box p, .page-box .lead, .page-box ul.dot li { font-size: 15px; line-height: 1.95; }
  .contact-box { flex-direction: column; gap: 18px; padding: 18px 16px; }
  .contact-l { width: 100%; }
  .contact-r { flex: none; width: 100%; border-top: 1px dashed #f4e3db; padding-top: 18px; }
  .contact-row { flex-direction: row; gap: 10px; font-size: 14px; }
  .contact-row .k { flex: 0 0 84px; }
  .qr-duo { justify-content: center; gap: 26px; }
  .qr-duo .qr { width: 128px; height: 128px; }
  .kv li { flex-direction: column; gap: 2px; font-size: 14px; }
  .kv .k { flex: none; }
  .tbl { font-size: 14px; }
  .tbl th, .tbl td { padding: 9px 11px; }
  .art-item a { padding: 16px; }
  .art-item h3 { font-size: 15px; }
  .case-tit { padding: 12px 8px; font-size: 13.5px; white-space: normal; }
  .telbar { display: flex; }
  body { padding-bottom: 50px; }
  /* 移动端：只显示手机号 + 校长二维码，两列并列 */
  .ft { padding: 26px 0 0; }
  .ft-in { flex-direction: row; gap: 0; align-items: center; padding-bottom: 22px; }
  .ft-phone-box { flex: 0 0 55%; max-width: 55%; width: 55%; text-align: center; padding: 0 8px; }
  .ft-qr-box { flex: 0 0 45%; max-width: 45%; width: 45%; border: 0; padding: 0 8px; }
  .ft-addr-box { display: none; }
  .ft-h5 { font-size: 13px; margin-bottom: 8px; height: auto; line-height: 1.4; }
  .ft-tel { font-size: 20px; }
  .ft-sub { font-size: 12px; }
  .ft-qr-box .qr { width: 84px; height: 84px; margin: 0 auto; }
  .article .cta-row { flex-direction: column; }
  .article .cta-row .btn { width: 100%; }
  .is-item h4 { font-size: 17px; }
  .is-item p { font-size: 15px; line-height: 1.95; }
  .is-item { margin-bottom: 22px; }
  .qa-link p { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .page-tabs:not(.page-tabs-many) { flex-wrap: wrap; }
  .page-tabs:not(.page-tabs-many) a { flex: 0 0 50%; height: 42px; line-height: 42px; border-bottom: 1px solid rgba(255,255,255,.18); }
  .page-tabs:not(.page-tabs-many) a:nth-child(2n) { border-right: 0; }
}

/* ---------- 训犬师培训（淡灰纸片卡 + 白描边 + 四列要点） ---------- */
.school-block { padding: 65px 0 80px; background: #fff; }
.school-card {
  max-width: 1200px; margin: 0 auto; border: 10px solid #fff; background: #f7f5f6;
  padding: 70px 80px; box-sizing: border-box;
}
.school-tit { text-align: center; margin-bottom: 50px; }
.school-tit h3 { font-size: 26px; font-weight: 400; color: #333; line-height: 1.4; }
.school-tit h3 span { display: inline-block; padding: 0 6px; background: #f7f5f6; position: relative; }
.school-tit h3 span::before, .school-tit h3 span::after {
  content: ""; position: absolute; top: 50%; width: 120px; height: 1px; background: #ddd;
}
.school-tit h3 span::before { right: 100%; margin-right: 14px; }
.school-tit h3 span::after { left: 100%; margin-left: 14px; }
.school-tit h3 span em {
  font-style: normal; display: inline-block; padding: 0 23px; background: #f7f5f6;
  font-size: 42px; font-weight: 700; color: #1a1a1a; letter-spacing: 2px; line-height: 1.3;
}
.school-bar { display: block; margin: 20px auto 0; width: 78px; height: 5px; background: #e75c1e; }
.school-tit p { color: #e75c1e; margin-top: 20px; font-size: 17px; letter-spacing: .5px; line-height: 1.7; }
.school-list { background: #fff; padding: 35px 0; }
.school-list ul { font-size: 0; display: flex; }
.school-list ul li {
  flex: 1 1 25%; width: 25%; text-align: center; border-left: 1px solid #e7e3e2;
  box-sizing: border-box; padding: 6px 4px;
}
.school-list ul li:first-child { border-left: none; }
.school-list ul li h3 {
  font-size: 26px; font-weight: 700; color: #1a1a1a; line-height: 1.4;
  white-space: normal; word-break: break-word; padding: 0 4px;
}
.school-list ul li h3 em {
  font-style: normal; color: #e75c1e; font-size: 13px; vertical-align: top;
  margin-left: 6px; font-weight: 400;
}
.school-list ul li p { color: #999; margin: 18px 0 0; font-size: 13.5px; line-height: 1.75; padding: 0 10px; }
.school-web { text-align: center; padding: 0 145px; margin-top: 50px; }
.school-web p { line-height: 32px; color: #666; font-size: 15px; text-align: justify; margin: 0; }
@media (max-width: 1200px) {
  .school-card { padding: 50px 40px; margin: 0 16px; }
  .school-web { padding: 0 40px; }
}
@media (max-width: 1000px) {
  .school-block { padding: 45px 0 55px; }
  .school-card { padding: 36px 22px; margin: 0 14px; }
  .school-tit { margin-bottom: 32px; }
  .school-tit h3 span em { font-size: 38px; padding: 0 16px; }
  .school-list ul li h3 { font-size: 24px; }
  .school-web { padding: 0; }
  .school-web p { line-height: 28px; font-size: 14px; }
}
@media (max-width: 768px) {
  .school-block { padding: 32px 0 40px; }
  .school-card { padding: 24px 14px; margin: 0 10px; border-width: 6px; }
  .school-tit { margin-bottom: 24px; }
  .school-tit h3 { font-size: 22px; }
  .school-tit h3 span { padding: 0 8px; }
  .school-tit h3 span::before, .school-tit h3 span::after { width: 0; }
  .school-tit h3 span em { font-size: 26px; padding: 0 10px; letter-spacing: 1px; }
  .school-bar { width: 56px; height: 4px; margin-top: 14px; }
  .school-tit p { font-size: 13px; margin-top: 14px; }
  .school-list { padding: 20px 0; }
  .school-list ul { flex-wrap: wrap; }
  .school-list ul li { flex: 0 0 50%; width: 50%; margin-bottom: 10px; border-left: none; padding: 8px 6px; }
  .school-list ul li:nth-child(odd) { border-right: 1px solid #e7e3e2; }
  .school-list ul li h3 { font-size: 19px; }
  .school-list ul li h3 em { font-size: 11px; margin-left: 4px; }
  .school-list ul li p { margin-top: 10px; font-size: 12.5px; line-height: 1.65; padding: 0 4px; }
  .school-web { margin-top: 24px; }
  .school-web p { line-height: 24px; font-size: 13px; }
  .school-web .school-more { margin-top: 22px; padding: 9px 30px; font-size: 14px; }
}

/* 栏目标签条：8 项时自动换行、字号收小，保证不挤压 */
.page-tabs-many { flex-wrap: wrap; }
.page-tabs-many a { flex: 0 0 25%; font-size: 14px; height: 54px; line-height: 54px;
  border-bottom: 1px solid rgba(117,58,22,.18); }
.page-tabs-many a:nth-child(4n) { border-right: 0; }
.page-tabs-many a.on { border-bottom-color: #fff; }
/* 三个服务项：等分即可，无需特殊处理 */
@media (max-width: 768px) {
  .page-tabs { margin: 0; padding: 0 10px; }
  .page-tabs-many { margin-top: -44px; padding: 0 10px; }
  .page-tabs-many a { flex: 0 0 50%; font-size: 13px; height: 42px; line-height: 42px;
    border-right: 1px solid rgba(255,255,255,.18); }
  .page-tabs-many a:nth-child(2n) { border-right: 0; }
  .page-tabs-many a:nth-child(4n) { border-right: 1px solid rgba(255,255,255,.18); }
  .page-tabs a { height: 42px; line-height: 42px; font-size: 13px; }
}

/* ---------- 栏目顶部色块（后台可换图） ---------- */
.col-banner {
  position: relative; height: 220px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e75c1e 0%, #c14e15 55%, #93400f 100%); background-size: cover; background-position: center;
}
.col-banner::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.22); }
.col-banner-t { position: relative; z-index: 2; font-size: 40px; font-weight: 700; color: #fff; letter-spacing: 3px; }

/* ---------- 学校环境：视频 / 照片网格 ---------- */
.env-grid { display: grid; gap: 18px; margin: 0 0 26px; }
.env-grid-3 { grid-template-columns: repeat(3, 1fr); }
.env-card { display: block; background: #fff; border: 1px solid #ebebeb; overflow: hidden; min-width: 0; }
.env-pic { position: relative; width: 100%; padding-top: 66.7%; background: #f2eeea; overflow: hidden; }
.env-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.env-card:hover .env-pic img { transform: scale(1.04); }
.env-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #c4bdb6; font-size: 13px; }
.env-tit { padding: 14px 12px; font-size: 14px; color: #1a1a1a; text-align: center; line-height: 1.6; }
.env-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 50px; height: 50px;
  border-radius: 50%; background: rgba(0,0,0,.42); color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 18px; padding-left: 4px; transition: background .3s;
}
.env-card:hover .env-play { background: rgba(231,92,30,.9); }
.env-badge { position: absolute; right: 8px; top: 8px; background: rgba(231,92,30,.94); color: #fff; font-size: 11px; padding: 4px 7px; border-radius: 2px; }

/* ---------- 证照 / 照片位 ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 0 0 24px; }
.doc-card { border: 1px solid #ebebeb; background: #faf8f7; padding: 16px; text-align: center; }
.doc-pic { width: 100%; padding-top: 68%; position: relative; background: #fff; border: 1px dashed #e0d8d2; margin-bottom: 12px; }
.doc-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.doc-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 13px; }
.doc-tit { font-size: 14px; color: #666; }
/* 创始人照片 */
.founder-wrap { display: flex; gap: 26px; align-items: flex-start; }
.founder-photo { flex: 0 0 150px; }
.founder-photo .ph-box { width: 150px; height: 190px; background: #fff; border: 1px dashed #e0d8d2; display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 13px; overflow: hidden; }
.founder-photo .ph-box img { width: 100%; height: 100%; object-fit: cover; }
.founder-info { flex: 1 1 auto; min-width: 0; }
/* 证书照片墙 */
.cert-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 20px; }
.cert-photo { border: 1px solid #ebebeb; background: #fff; padding: 10px; }
.cert-photo .cp-box { width: 100%; padding-top: 72%; position: relative; background: #faf8f7; border: 1px dashed #e0d8d2; }
.cert-photo .cp-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.cert-photo .cp-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 12px; }
/* 双二维码 */
.qr-duo { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.qr-duo .qr-item { text-align: center; }
.qr-duo .qr-item p { font-size: 14px; color: #888; margin: 10px 0 0; }

@media (max-width: 900px) {
  .env-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cert-photos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .col-banner { height: 150px; }
  .col-banner-t { font-size: 24px; letter-spacing: 2px; }
  .env-grid { gap: 12px; }
  .env-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .env-tit { padding: 10px 8px; font-size: 13px; }
  .env-play { width: 38px; height: 38px; font-size: 14px; }
  .doc-grid { grid-template-columns: 1fr; gap: 14px; }
  .founder-wrap { flex-direction: column; gap: 16px; }
  .founder-photo { flex: none; }
  .founder-photo .ph-box { width: 130px; height: 165px; }
  .qr-duo { gap: 18px; }
  .qr-duo .qr { width: 140px; height: 140px; }
}

/* 训练案例：PC 四列，移动两列 */
.case-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .case-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }



/* ---------- 首屏事实凭证行 ---------- */
.hero-facts {
  display: flex; justify-content: center; gap: 0; margin: 38px auto 0; max-width: 900px;
  border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22);
  padding: 22px 0;
}
.hero-fact { flex: 1 1 0; padding: 0 12px; position: relative; min-width: 0; }
.hero-fact + .hero-fact::before {
  content: ''; position: absolute; left: 0; top: 14%; height: 72%; width: 1px;
  background: rgba(255,255,255,.2);
}
.hero-fact b {
  display: block; font-size: 30px; font-weight: 800; color: #fff; line-height: 1.2;
  letter-spacing: .5px; text-shadow: 0 2px 10px rgba(0,0,0,.6);
}
.hero-fact span { display: block; font-size: 13px; color: rgba(255,255,255,.78); margin-top: 7px; line-height: 1.5; }
.hero-fact i { display: block; font-style: normal; font-size: 11px; color: rgba(255,255,255,.5); margin-top: 3px; line-height: 1.4; }
/* 首屏按钮 */
.hero-acts { display: flex; justify-content: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn-hero-o {
  display: inline-block; padding: 13px 34px; font-size: 15px; border-radius: 2px;
  border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08); color: #fff;
  transition: all .3s; text-align: center;
}
.btn-hero-o:hover { background: #fff; color: #e75c1e; border-color: #fff; }

@media (max-width: 1240px) {
  .hero-fact b { font-size: 26px; }
  .banner-hero { min-height: 560px; }
}
@media (max-width: 1000px) {
  .hero-fact b { font-size: 23px; }
  .hero-fact span { font-size: 12px; }
  .banner-hero { min-height: 520px; }
}
@media (max-width: 768px) {
  .banner-hero { min-height: 400px; }
  .hero-facts { flex-wrap: nowrap; margin-top: 22px; padding: 12px 0; }
  .hero-fact { flex: 1 1 0; padding: 0 6px; }
  .hero-fact + .hero-fact::before { display: block; }
  .hero-fact b { font-size: 17px; }
  .hero-fact span { font-size: 10.5px; margin-top: 4px; }
  .hero-fact i { font-size: 9px; }
  .hero-acts { margin-top: 24px; gap: 10px; }
  .hero-acts .btn, .btn-hero-o { padding: 11px 24px; font-size: 14px; }
}

/* 超窄屏（≤360px）：校名再收一档，保证单行不溢出 */
@media (max-width: 360px) {
  .hero-title { font-size: 22px; letter-spacing: .5px; }
  .hero-line1 { font-size: 12px; }
  .hero-line2 { font-size: 11.5px; }
  .hero-fact b { font-size: 15px; }
  .hero-acts .btn, .btn-hero-o { padding: 10px 14px; font-size: 12.5px; }
}

/* 证书页：三级小标题与来源注记 */
.sub-h { font-size: 16px; font-weight: 700; color: #e75c1e; margin: 20px 0 8px; }
.src-note { font-size: 13px; color: #999; line-height: 1.9; background: #faf8f7; border: 1px dashed #e0d8d2; padding: 12px 16px; margin-top: 26px; }

/* 栏目页返回首页提示条 */
.home-hint { background: #faf8f7; border-bottom: 1px solid #ebebeb; }
.home-hint .wrap { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.home-hint a { color: #e75c1e; font-size: 14px; font-weight: 700; white-space: nowrap; }
.home-hint a:hover { text-decoration: underline; }
.home-hint span { color: #999; font-size: 12.5px; }
/* 课程页提示：还有其它班型 */
.course-note { font-size: 14px; color: #888; margin: -18px 0 22px; }
.course-note a { color: #e75c1e; font-weight: 700; }
@media (max-width: 768px) {
  .home-hint span { display: none; }
  .home-hint .wrap { padding-top: 8px; padding-bottom: 8px; }
}

/* 8 项标签的栏目页：色块加高，避免两行标签遮住标题 */
.col-banner-high { height: 280px; }
@media (max-width: 768px) { .col-banner-high { height: 230px; } }

/* 实名证书展示 */
.cert-people { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin:0 0 24px; }
.cert-person { border:1px solid #ebebeb; background:#faf8f7; padding:12px; text-align:center; }
.cert-person .cp-box { width:100%; padding-top:120%; position:relative; background:#fff; border:1px solid #e0d8d2; overflow:hidden; }
.cert-person .cp-box img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.cp-name { font-size:16px; font-weight:700; color:#1a1a1a; margin-top:10px; }
.cp-role { font-size:12.5px; color:#e75c1e; margin-top:3px; }
@media (max-width:768px){ .cert-people { grid-template-columns:1fr; } }

/* 服务特色列表 */
.sf-list { margin:0; }
.sf-item { margin:0 0 10px; }
.sf-item:last-child { margin-bottom:0; }
.sf-no { display:none; }
.sf-body { min-width:0; text-align:justify; }
.sf-body b { display:inline; font-size:15.5px; color:#1a1a1a; font-weight:700; }
.sf-body b::after { content:'：'; }
.sf-body p { display:inline; font-size:15.5px; line-height:2.05; color:#666; margin:0; }
@media (max-width:768px){
  .sf-body b { font-size:15px; }
  .sf-body p { font-size:15px; line-height:1.95; }
}
