/* ===== 全局变量 ===== */
:root {
  --c-yellow: #FCD515;
  --c-gray: #666666;
  --c-dark: #333333;
  --c-light-gray: #F4F4F4;
  --c-white: #FFFFFF;
  --c-purple: #5a4a9e;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Heiti SC", "Helvetica Neue", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-sans); color: var(--c-dark); background: var(--c-light-gray); line-height: 1.8; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ================= 导航栏 ================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg,
    rgba(16, 16, 22, 0.82) 0%,
    rgba(16, 16, 22, 0.76) 18%,
    rgba(16, 16, 22, 0.66) 34%,
    rgba(16, 16, 22, 0.52) 48%,
    rgba(16, 16, 22, 0.36) 62%,
    rgba(16, 16, 22, 0.20) 74%,
    rgba(16, 16, 22, 0.08) 86%,
    rgba(16, 16, 22, 0.02) 94%,
    rgba(16, 16, 22, 0) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding-bottom: 50px;
  border: none;
  box-shadow: none;
}

.main-nav { padding: 14px 0 8px; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; min-height: 76px; }
.header .container { max-width: 100%; padding: 0 60px 0 55px; }

.brand { display: flex; align-items: center; }
.logo-img { height: 66px; width: auto; object-fit: contain; display: block; filter: none; }

.nav-menu { display: flex; gap: 4px; align-items: center; margin-top: 8px; }
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 7px;
  padding: 14px 22px;
  font-size: 17.5px; font-weight: 700;
  color: var(--c-white);
  transition: 0.3s; position: relative;
  letter-spacing: 1.2px;
}
.nav-item > a:hover, .nav-item > a.active { color: var(--c-yellow); }
.nav-item > a.active::after {
  content: ""; position: absolute; bottom: 6px; left: 22px; right: 22px; height: 3px;
  background: var(--c-yellow); border-radius: 2px;
}
.nav-item > a .arrow-down { font-size: 10px; opacity: 0.55; transition: transform 0.3s; }
.nav-item:hover > a .arrow-down { transform: rotate(180deg); opacity: 1; }

.dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(12px);
  min-width: 280px; background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  padding: 14px 0;
  opacity: 0; visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 999;
  border-top: 4px solid var(--c-yellow);
  border-radius: 0 0 4px 4px;
}
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a {
  display: block; padding: 13px 32px;
  color: #333; font-size: 15.5px; font-weight: 500;
  letter-spacing: 1px; transition: 0.25s;
  position: relative; border-bottom: 1px solid #f2f2f2;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: #fafafa; color: var(--c-purple); padding-left: 44px; }
.dropdown-menu a:hover::before {
  content: ""; position: absolute; left: 22px; top: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-yellow); transform: translateY(-50%);
}

.menu-toggle { display: none; background: none; border: none; color: var(--c-white); font-size: 26px; cursor: pointer; }

/* ================= 二级页面 Banner ================= */
.page-banner {
  position: relative; height: 500px;
  background-size: cover; background-position: center;
  overflow: hidden; background-color: #1a1a1a;
  padding-top: 115px;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0) 100%);
}
.banner-title {
  position: absolute; left: 8%; top: 55%; transform: translateY(-30%); z-index: 2;
  color: #fff; max-width: 720px;
}
.banner-title h1 {
  font-size: 56px; font-weight: 900; letter-spacing: 4px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  margin-bottom: 20px; line-height: 1.2;
}
.banner-title p {
  font-size: 16px; color: rgba(255,255,255,0.85);
  line-height: 1.9; letter-spacing: 0.5px;
  max-width: 620px; text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.breadcrumb-bar {
  position: absolute; left: 0; bottom: 0; right: 0;
  background: var(--c-purple); padding: 18px 8%; z-index: 2;
}
.breadcrumb { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.85); font-size: 14px; letter-spacing: 1px; }
.breadcrumb a { color: rgba(255,255,255,0.85); transition: 0.2s; }
.breadcrumb a:hover { color: var(--c-yellow); }
.breadcrumb span.current { color: #fff; font-weight: 700; }
.breadcrumb .sep { opacity: 0.5; }

/* ================= 通用 Section ================= */
.section { padding: 100px 0; background: var(--c-white); }
.section-soft { background: var(--c-light-gray); }
.section-dark { background: var(--c-gray); color: var(--c-white); }
.section-yellow { background: var(--c-yellow); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-tag { display: inline-block; font-size: 14px; font-weight: 700; color: #a8875b; letter-spacing: 3px; margin-bottom: 12px; }
.section-title { font-size: 36px; font-weight: 800; letter-spacing: 2px; color: var(--c-dark); margin-bottom: 16px; }
.section-dark .section-title { color: var(--c-white); }
.section-desc { font-size: 16px; color: var(--c-gray); }
.section-dark .section-desc { color: rgba(255,255,255,0.7); }

.btn { display: inline-block; padding: 14px 32px; font-size: 15px; font-weight: 700; border-radius: 4px; cursor: pointer; transition: 0.3s; border: none; }
.btn-dark { background: var(--c-dark); color: var(--c-yellow); }
.btn-dark:hover { background: var(--c-yellow); color: var(--c-dark); }
.btn-yellow { background: var(--c-yellow); color: var(--c-dark); }
.btn-yellow:hover { background: var(--c-dark); color: var(--c-yellow); }

/* ================= 页脚 ================= */
.footer { background: var(--c-dark); color: rgba(255,255,255,0.7); padding: 70px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 50px; padding-bottom: 50px; }
.footer-brand h3 { color: #fff; font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.footer-brand p { font-size: 14px; color: var(--c-yellow); font-weight: 700; letter-spacing: 2px; }
.footer-brand .qr { width: 100px; height: 100px; background: rgba(255,255,255,0.1); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 20px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 12px; transition: 0.2s; }
.footer-col a:hover { color: var(--c-yellow); }
.footer-col p { font-size: 14px; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ================= 画室近况 ================= */
.news-section { padding: 90px 0 110px; background: var(--c-light-gray); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 20px; min-height: 100px; }
.news-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.06); transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: pointer; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.news-cover { width: 100%; aspect-ratio: 16/10; background: linear-gradient(135deg, #FDF6D8 0%, #FCD515 100%); display: flex; align-items: center; justify-content: center; color: rgba(0,0,0,0.3); font-size: 14px; position: relative; overflow: hidden; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-tag { position: absolute; top: 14px; left: 14px; padding: 4px 12px; background: rgba(20,20,25,0.85); color: var(--c-yellow); font-size: 12px; font-weight: 700; letter-spacing: 1px; border-radius: 3px; }
.news-body { padding: 24px 22px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 13px; color: #aaa; letter-spacing: 1px; margin-bottom: 10px; }
.news-title { font-size: 18px; font-weight: 800; color: var(--c-dark); line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 54px; }
.news-desc { font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 16px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { font-size: 14px; font-weight: 700; color: #a8875b; display: flex; align-items: center; gap: 6px; transition: 0.3s; }
.news-more::after { content: "→"; transition: 0.3s; }
.news-card:hover .news-more { color: #FCD515; }
.news-card:hover .news-more::after { transform: translateX(6px); }
.news-empty { grid-column: 1 / -1; text-align: center; padding: 80px 20px; color: #999; font-size: 15px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
.page-btn { min-width: 42px; height: 42px; padding: 0 14px; background: #fff; border: 1px solid #eaeaea; border-radius: 6px; color: var(--c-dark); font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.25s; display: inline-flex; align-items: center; justify-content: center; font-family: inherit; }
.page-btn:hover:not(:disabled) { border-color: var(--c-yellow); color: #a8875b; }
.page-btn.active { background: var(--c-yellow); border-color: var(--c-yellow); color: var(--c-dark); font-weight: 800; }
.page-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.page-ellipsis { color: #aaa; padding: 0 6px; font-size: 14px; user-select: none; }
.page-info { text-align: center; color: #999; font-size: 13px; margin-top: 18px; letter-spacing: 1px; }

/* ================= 联系我们 ================= */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.contact-card { padding: 32px; background: #fff; border-radius: 8px; border-left: 5px solid var(--c-yellow); box-shadow: 0 8px 24px rgba(0,0,0,0.06); transition: 0.3s; }
.contact-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.contact-card h4 { font-size: 16px; font-weight: 800; color: #a8875b; margin-bottom: 12px; letter-spacing: 1px; }
.contact-card p { font-size: 15px; color: #333; line-height: 1.9; }
.qr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; max-width: 800px; margin: 40px auto 0; }
.qr-item { text-align: center; }
.qr-box { width: 100%; aspect-ratio: 1; background: #fff; border: 1px solid #eaeaea; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #999; margin-bottom: 12px; transition: 0.3s; }
.qr-box:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.qr-item p { font-size: 14px; font-weight: 700; }
.form-wrap { max-width: 560px; margin: 0 auto; background: #fff; padding: 44px 40px; border-radius: 8px; box-shadow: 10px 10px 0 rgba(0,0,0,0.08); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 2px solid #eaeaea; border-radius: 4px; font-size: 15px; font-family: inherit; transition: 0.2s; background: #fff; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-yellow); }
.btn-dark-block { display: block; width: 100%; padding: 16px; background: var(--c-dark); color: var(--c-yellow); font-size: 16px; font-weight: 700; border: none; border-radius: 4px; cursor: pointer; transition: 0.3s; margin-top: 10px; }
.btn-dark-block:hover { background: var(--c-yellow); color: var(--c-dark); }

/* ================= 响应式 ================= */
@media (max-width: 1024px) {
  .header .container { padding: 0 30px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav-item > a { padding: 12px 14px; font-size: 15.5px; }
  .logo-img { height: 58px; }
  .banner-title h1 { font-size: 42px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 768px) {
  .header .container { padding: 0 15px; }
  .main-nav { padding: 10px 0 6px; }
  .nav-inner { min-height: 60px; }
  .logo-img { height: 48px; }
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(22, 22, 28, 0.98); flex-direction: column; padding: 10px 20px 20px; gap: 0; margin-top: 0; }
  .nav-menu.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-item > a { color: var(--c-white) !important; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); width: 100%; justify-content: space-between; font-size: 17px; }
  .nav-item > a.active::after { display: none; }
  .dropdown-menu { position: static; transform: none; box-shadow: none; padding: 0; opacity: 1; visibility: visible; border-top: none; min-width: 100%; background: transparent; border-radius: 0; }
  .dropdown-menu a { padding: 12px 20px; color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.05); }
  .dropdown-menu a:hover { color: var(--c-yellow); background: transparent; padding-left: 26px; }
  .menu-toggle { display: block; }
  .page-banner { height: 360px; padding-top: 80px; }
  .banner-title { left: 5%; top: auto; bottom: 90px; transform: none; }
  .banner-title h1 { font-size: 30px; margin-bottom: 12px; }
  .banner-title p { font-size: 13px; }
  .breadcrumb-bar { padding: 12px 5%; }
  .section { padding: 60px 0; }
  .section-title { font-size: 26px; }
  .footer-inner { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; gap: 20px; }
  .news-section { padding: 50px 0 70px; }
  .page-btn { min-width: 38px; height: 38px; font-size: 13px; padding: 0 10px; }
}
/* ==========================================================
   各省联考战绩（新版 · 卡片式画册排版）
   ========================================================== */
.province-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.province-card {
  position: relative;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: center;
  padding: 44px 48px;
  background: linear-gradient(135deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.42) 100%);
  border: 1px solid rgba(201, 162, 77, 0.22);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.55s cubic-bezier(.2,.8,.2,1),
              box-shadow 0.55s cubic-bezier(.2,.8,.2,1),
              border-color 0.55s ease;
}

/* 左侧装饰：竖向金线 */
.province-card::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 0;
  background: linear-gradient(to bottom, var(--rp-gold-3), var(--rp-gold));
  transition: height 0.7s cubic-bezier(.2,.8,.2,1);
}
.province-card:hover::before { height: 100%; }

/* 右侧装饰：淡金圆角 */
.province-card::after {
  content: "";
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,77,0.14) 0%, rgba(201,162,77,0.03) 60%, transparent 85%);
  pointer-events: none;
}

.province-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 77, 0.5);
  box-shadow: 0 30px 60px -30px rgba(120, 90, 20, 0.4);
}

/* 左侧：省份名称 */
.p-left {
  position: relative;
  z-index: 1;
}

.p-name {
  font-family: var(--rp-sans);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--rp-ink);
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.p-en {
  margin-top: 10px;
  font-family: var(--rp-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5em;
  color: var(--rp-gold-2);
}

.p-tag {
  display: inline-block;
  margin-top: 18px;
  padding: 5px 14px;
  font-family: var(--rp-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--rp-ink);
  border-radius: 2px;
}

/* 右侧：三个数据 */
.p-right {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.p-stat {
  position: relative;
  text-align: left;
}
.p-stat + .p-stat::before {
  content: "";
  position: absolute;
  left: -20px; top: 8px;
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(201,162,77,0.45), transparent);
}

.p-stat .p-val {
  font-family: var(--rp-sans);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  color: var(--rp-ink);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.p-stat .p-val em {
  font-style: normal;
  font-size: 15px;
  font-weight: 800;
  color: var(--rp-gold-2);
  margin-left: 4px;
  letter-spacing: 0;
}

.p-stat .p-desc {
  margin-top: 14px;
  font-family: var(--rp-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--rp-ink-3);
  line-height: 1.6;
}

/* 响应式 */
@media (max-width: 1080px) {
  .province-card { grid-template-columns: 200px 1fr; gap: 40px; padding: 36px 32px; }
  .p-name { font-size: 30px; }
  .p-stat .p-val { font-size: 36px; }
  .p-right { gap: 26px; }
  .p-stat + .p-stat::before { left: -14px; }
}

@media (max-width: 860px) {
  .province-card { grid-template-columns: 1fr; gap: 26px; padding: 30px 24px; }
  .p-right { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .p-stat + .p-stat::before { display: none; }
  .p-name { font-size: 26px; }
  .p-stat .p-val { font-size: 28px; }
  .p-stat .p-desc { font-size: 12px; margin-top: 10px; }
}

@media (max-width: 560px) {
  .province-card { padding: 24px 18px; }
  .p-right { grid-template-columns: 1fr 1fr; gap: 20px; }
  .p-stat:nth-child(3) { grid-column: span 2; }
  .p-stat .p-val { font-size: 26px; }
}