:root {
  --ink: #111a36;
  --ink-soft: #34405e;
  --muted: #68708a;
  --brand: #0b146c;
  --brand-2: #16279f;
  --brand-3: #e9edff;
  --accent: #e5251f;
  --accent-soft: #fff0ee;
  --paper: #fffdf8;
  --surface: #ffffff;
  --surface-2: #f6f7fb;
  --line: #e6e8f0;
  --success: #1c7c54;
  --warning: #9a5b00;
  --warning-bg: #fff6df;
  --shadow-sm: 0 8px 24px rgba(10, 20, 72, .08);
  --shadow-md: 0 20px 48px rgba(10, 20, 72, .13);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --max: 1200px;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(22, 39, 159, .18); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--brand);
  color: white;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 840px); margin-inline: auto; }
.section { padding: 92px 0; }
.section.compact { padding: 64px 0; }
.section.alt { background: var(--surface-2); }
.section.dark {
  color: white;
  background:
    radial-gradient(circle at 88% 12%, rgba(229, 37, 31, .23), transparent 27%),
    radial-gradient(circle at 14% 80%, rgba(90, 110, 255, .2), transparent 30%),
    #080e41;
}

.draft-bar {
  display: none;
  position: relative;
  z-index: 1001;
  padding: 8px 20px;
  text-align: center;
  color: #6d4300;
  background: var(--warning-bg);
  border-bottom: 1px solid #f3d99a;
  font-size: 13px;
  font-weight: 700;
}
.draft-mode .draft-bar { display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  border-bottom: 1px solid rgba(230, 232, 240, .7);
  background: rgba(255, 253, 248, .92);
  backdrop-filter: blur(16px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(10, 20, 72, .08); background: rgba(255,255,255,.96); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 205px; }
.brand img { width: 66px; height: 50px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-size: 19px; letter-spacing: .08em; color: var(--brand); }
.brand-copy span { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  position: relative;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  transition: color .2s ease, background .2s ease;
}
.site-nav a:hover, .site-nav a.active { color: var(--brand); background: var(--brand-3); }
.header-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; color: white; background: var(--brand); font-size: 14px; font-weight: 750; box-shadow: var(--shadow-sm); }
.header-cta:hover { background: var(--brand-2); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--brand-3); }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--brand); transition: transform .2s ease, opacity .2s ease; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 710px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(229,37,31,.09), transparent 28%),
    radial-gradient(circle at 8% 52%, rgba(22,39,159,.08), transparent 30%),
    linear-gradient(180deg, #fffdf8 0%, #f8f9ff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  top: -260px;
  right: -250px;
  border: 1px solid rgba(11, 20, 108, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(11,20,108,.025), 0 0 0 120px rgba(11,20,108,.02);
}
.hero::after {
  content: "书香";
  position: absolute;
  right: 4vw;
  bottom: -70px;
  color: rgba(11, 20, 108, .035);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(170px, 23vw, 360px);
  line-height: 1;
  writing-mode: vertical-rl;
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; padding: 80px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--accent); }
.hero h1 { margin: 22px 0 22px; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(47px, 6vw, 82px); line-height: 1.1; letter-spacing: .02em; color: var(--brand); }
.hero h1 span { display: block; color: var(--accent); font-family: inherit; font-size: .45em; margin-top: 14px; letter-spacing: .16em; }
.hero-lead { max-width: 650px; margin: 0; color: var(--ink-soft); font-size: 19px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: white; background: var(--brand); box-shadow: var(--shadow-sm); }
.btn.primary:hover { background: var(--brand-2); box-shadow: var(--shadow-md); }
.btn.secondary { color: var(--brand); background: white; border-color: rgba(11,20,108,.15); }
.btn.secondary:hover { border-color: var(--brand); }
.btn.ghost { color: white; background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.25); }
.btn.small { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.hero-note { margin-top: 24px; color: var(--muted); font-size: 13px; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 490px; }
.hero-visual .orb {
  position: absolute;
  inset: 6% 2% 2% 8%;
  border-radius: 46% 54% 58% 42% / 45% 40% 60% 55%;
  background: linear-gradient(145deg, rgba(11,20,108,.98), rgba(35,50,153,.9));
  box-shadow: var(--shadow-md);
}
.hero-visual .orb::after { content: ""; position: absolute; inset: 24px; border: 1px solid rgba(255,255,255,.18); border-radius: inherit; }
.hero-logo-card { position: relative; z-index: 2; width: min(92%, 470px); padding: 32px 26px 26px; border-radius: var(--radius-lg); background: rgba(255,255,255,.96); box-shadow: 0 30px 80px rgba(6, 11, 65, .3); transform: rotate(-2deg); }
.hero-logo-card img { width: 100%; height: 330px; object-fit: contain; }
.hero-seal { position: absolute; z-index: 4; right: 1%; bottom: 2%; width: 116px; filter: drop-shadow(0 16px 24px rgba(80,0,0,.22)); transform: rotate(7deg); }
.floating-tag { position: absolute; z-index: 3; left: -2%; bottom: 11%; padding: 14px 18px; border-radius: 16px; color: var(--brand); background: white; box-shadow: var(--shadow-md); font-weight: 800; }
.floating-tag small { display: block; color: var(--muted); font-weight: 500; }

.trust-strip { position: relative; z-index: 3; margin-top: -40px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 22px 24px; border: 1px solid rgba(230,232,240,.8); border-radius: var(--radius); background: rgba(255,255,255,.96); box-shadow: var(--shadow-md); }
.trust-item { padding: 8px 26px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--brand); font-size: 27px; line-height: 1.2; }
.trust-item span { color: var(--muted); font-size: 13px; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px; }
.section-title { margin: 0; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(34px, 4vw, 52px); line-height: 1.2; color: var(--brand); }
.section-title.light { color: white; }
.section-desc { max-width: 580px; margin: 12px 0 0; color: var(--muted); }
.section.dark .section-desc { color: rgba(255,255,255,.72); }
.text-link { color: var(--brand); font-weight: 800; white-space: nowrap; }
.text-link:hover { color: var(--accent); }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { position: relative; overflow: hidden; min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 10px 30px rgba(10,20,72,.05); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(22,39,159,.25); }
.value-card .num { color: rgba(11,20,108,.12); font-size: 50px; font-weight: 900; line-height: 1; }
.value-card h3 { margin: 22px 0 10px; font-size: 21px; color: var(--brand); }
.value-card p { margin: 0; color: var(--muted); font-size: 14px; }
.value-card::after { content: ""; position: absolute; width: 80px; height: 80px; right: -34px; bottom: -34px; border-radius: 50%; background: var(--accent-soft); }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 36px; }
.process-step { position: relative; padding: 28px 24px; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.process-step + .process-step { border-left: 1px solid rgba(255,255,255,.2); }
.process-step .dot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: white; background: var(--accent); font-weight: 900; box-shadow: 0 0 0 8px rgba(229,37,31,.13); }
.process-step h3 { margin: 20px 0 8px; color: white; font-size: 18px; }
.process-step p { margin: 0; color: rgba(255,255,255,.66); font-size: 13px; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.quote-panel { position: relative; min-height: 440px; padding: 56px; border-radius: var(--radius-lg); color: white; background: var(--brand); overflow: hidden; }
.quote-panel::before { content: "“"; position: absolute; top: -55px; left: 18px; color: rgba(255,255,255,.10); font-family: Georgia, serif; font-size: 220px; line-height: 1; }
.quote-panel::after { content: ""; position: absolute; width: 280px; height: 280px; right: -100px; bottom: -110px; border: 70px solid rgba(255,255,255,.04); border-radius: 50%; }
.quote-panel blockquote { position: relative; z-index: 1; margin: 0; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(29px, 3.2vw, 44px); line-height: 1.55; }
.quote-panel footer { position: relative; z-index: 1; margin-top: 28px; color: rgba(255,255,255,.7); }
.list-check { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.list-check li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.list-check li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: white; background: var(--success); font-size: 13px; font-weight: 900; }

.timeline { display: grid; gap: 0; }
.timeline-row { display: grid; grid-template-columns: 150px 42px 1fr; gap: 28px; min-height: 130px; }
.timeline-year { padding-top: 7px; color: var(--brand); font-size: 28px; font-weight: 900; text-align: right; }
.timeline-axis { position: relative; }
.timeline-axis::before { content: ""; position: absolute; top: 0; bottom: 0; left: 20px; width: 2px; background: var(--line); }
.timeline-axis::after { content: ""; position: absolute; top: 10px; left: 13px; width: 16px; height: 16px; border: 4px solid white; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.timeline-row:last-child .timeline-axis::before { bottom: 80%; }
.timeline-content { padding: 0 0 38px; }
.timeline-content h3 { margin: 0 0 8px; font-size: 19px; }
.timeline-content p { margin: 0; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { padding: 32px; border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.feature-card .icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: var(--brand); background: var(--brand-3); font-size: 24px; font-weight: 900; }
.feature-card h3 { margin: 22px 0 10px; color: var(--brand); font-size: 21px; }
.feature-card p { margin: 0; color: var(--muted); }

.credential-preview { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: stretch; }
.credential-image { position: relative; min-height: 410px; padding: 24px; border-radius: var(--radius-lg); background: #eef0f6; overflow: hidden; }
.credential-image img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; box-shadow: var(--shadow-sm); }
.credential-copy { padding: 46px; border-radius: var(--radius-lg); color: white; background: var(--brand); }
.credential-copy h3 { margin: 0 0 18px; font-size: 30px; }
.credential-copy p { color: rgba(255,255,255,.75); }
.credential-list { display: grid; gap: 13px; margin: 28px 0 30px; padding: 0; list-style: none; }
.credential-list li { padding: 13px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.07); }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { display: flex; flex-direction: column; overflow: hidden; min-height: 360px; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: transform .25s ease, box-shadow .25s ease; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.article-cover { position: relative; display: grid; place-items: center; height: 168px; padding: 24px; overflow: hidden; color: white; background: linear-gradient(135deg, var(--brand), #2438b2); }
.article-cover::before, .article-cover::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.article-cover::before { width: 180px; height: 180px; right: -70px; top: -80px; }
.article-cover::after { width: 100px; height: 100px; left: -40px; bottom: -50px; }
.article-cover span { position: relative; z-index: 1; font-family: "STKaiti", "KaiTi", serif; font-size: 30px; text-align: center; }
.article-body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.article-meta { color: var(--muted); font-size: 12px; }
.article-card h3 { margin: 10px 0 12px; color: var(--brand); font-size: 19px; line-height: 1.55; }
.article-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.article-card .text-link { margin-top: auto; }

.cta-band { padding: 58px 0; color: white; background: linear-gradient(125deg, var(--brand), #202fa5); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-inner h2 { margin: 0; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(30px, 4vw, 48px); }
.cta-inner p { margin: 8px 0 0; color: rgba(255,255,255,.72); }

.page-hero { position: relative; overflow: hidden; padding: 90px 0 70px; color: white; background: linear-gradient(135deg, #08104d, #17257f); }
.page-hero::after { content: attr(data-watermark); position: absolute; right: 2%; top: -35%; color: rgba(255,255,255,.04); font-family: "STKaiti", "KaiTi", serif; font-size: clamp(160px, 20vw, 340px); line-height: 1; }
.breadcrumbs { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.6); font-size: 13px; }
.breadcrumbs a:hover { color: white; }
.page-hero h1 { position: relative; z-index: 1; margin: 18px 0 12px; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(42px, 6vw, 68px); line-height: 1.2; }
.page-hero p { position: relative; z-index: 1; max-width: 760px; margin: 0; color: rgba(255,255,255,.72); font-size: 17px; }

.prose { font-size: 16px; color: var(--ink-soft); }
.prose h2, .prose h3 { color: var(--brand); line-height: 1.45; }
.prose h2 { margin: 50px 0 18px; font-family: "STKaiti", "KaiTi", serif; font-size: 34px; }
.prose h3 { margin: 34px 0 12px; font-size: 22px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: 8px 0; }
.prose blockquote { margin: 30px 0; padding: 22px 28px; border-left: 5px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--brand); background: var(--accent-soft); font-family: "STKaiti", "KaiTi", serif; font-size: 22px; }
.prose .lead { color: var(--ink); font-size: 20px; line-height: 1.9; }
.note-box { margin: 28px 0; padding: 20px 22px; border: 1px solid #f0d28f; border-radius: var(--radius-sm); color: #664000; background: var(--warning-bg); }
.info-box { margin: 28px 0; padding: 22px; border: 1px solid #cfd6ff; border-radius: var(--radius-sm); color: var(--brand); background: var(--brand-3); }

.pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pillar { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.pillar h3 { margin: 0 0 10px; color: var(--brand); }
.pillar p { margin: 0; color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { padding: 30px; border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.service-card .tag { display: inline-flex; padding: 5px 10px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); font-size: 12px; font-weight: 800; }
.service-card h3 { margin: 18px 0 10px; color: var(--brand); }
.service-card p { color: var(--muted); }
.subject-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.subject-cloud span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--brand); background: white; font-weight: 750; }

.campus-summary { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; }
.big-number { display: grid; place-items: center; min-height: 320px; border-radius: var(--radius-lg); color: white; background: var(--brand); text-align: center; }
.big-number strong { display: block; font-size: 110px; line-height: .9; }
.big-number span { display: block; margin-top: 12px; letter-spacing: .12em; }
.campus-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; }
.campus-card h2 { margin-top: 0; color: var(--brand); }
.data-list { display: grid; gap: 0; margin: 24px 0 0; }
.data-row { display: grid; grid-template-columns: 140px 1fr; gap: 22px; padding: 15px 0; border-top: 1px solid var(--line); }
.data-row dt { color: var(--muted); }
.data-row dd { margin: 0; color: var(--ink); font-weight: 650; }

.certificate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.certificate-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.certificate-thumb { position: relative; display: grid; place-items: center; height: 440px; padding: 20px; background: #f1f2f7; }
.certificate-thumb img { width: 100%; height: 100%; object-fit: contain; }
.certificate-thumb button { position: absolute; right: 18px; bottom: 18px; padding: 9px 13px; border: 0; border-radius: 999px; color: white; background: rgba(8,14,65,.86); font-size: 13px; font-weight: 800; }
.certificate-body { padding: 24px; }
.certificate-body h2 { margin: 0 0 8px; color: var(--brand); font-size: 22px; }
.certificate-body p { margin: 0; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 3000; display: none; place-items: center; padding: 30px; background: rgba(4, 7, 26, .88); }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 88vh; object-fit: contain; border-radius: 12px; background: white; }
.lightbox-close { position: fixed; top: 20px; right: 24px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: white; background: rgba(255,255,255,.08); font-size: 28px; }

.faq { display: grid; gap: 12px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; border: 0; color: var(--ink); background: transparent; text-align: left; font-weight: 800; }
.faq-question span:last-child { color: var(--brand); font-size: 24px; transition: transform .2s ease; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 22px 22px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; }
.contact-panel { padding: 36px; border-radius: var(--radius-lg); color: white; background: var(--brand); }
.contact-panel h2 { margin-top: 0; font-size: 32px; }
.contact-panel p { color: rgba(255,255,255,.72); }
.contact-lines { display: grid; gap: 14px; margin-top: 28px; }
.contact-line { padding: 14px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.07); }
.contact-line span { display: block; color: rgba(255,255,255,.56); font-size: 12px; }
.contact-line strong { display: block; margin-top: 4px; }
.contact-form { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: 14px; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #daddE7; border-radius: 10px; color: var(--ink); background: #fff; outline: none; transition: border .2s ease, box-shadow .2s ease; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(22,39,159,.09); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { margin-top: 12px; color: var(--muted); font-size: 12px; }
.result-box { display: none; margin-top: 20px; padding: 18px; border-radius: 12px; background: var(--brand-3); color: var(--brand); white-space: pre-wrap; }
.result-box.show { display: block; }

.site-footer { padding: 62px 0 24px; color: rgba(255,255,255,.76); background: #060a2d; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 50px; padding-bottom: 40px; }
.footer-brand-card { display: inline-flex; align-items: center; justify-content: center; width: 250px; height: 154px; padding: 16px; border-radius: 18px; background: white; }
.footer-brand-card img { width: 100%; height: 100%; object-fit: contain; }
.footer-copy { max-width: 410px; margin-top: 20px; color: rgba(255,255,255,.6); font-size: 14px; }
.footer-col h3 { margin: 0 0 16px; color: white; font-size: 15px; }
.footer-col a { display: block; padding: 5px 0; color: rgba(255,255,255,.63); font-size: 14px; }
.footer-col a:hover { color: white; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: 12px; }
.footer-records { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-records a:hover { color: white; }

.empty-config { color: var(--warning); font-weight: 750; }
[data-config-wrap][hidden] { display: none !important; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .site-nav { position: fixed; inset: calc(var(--header-h) + 1px) 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px 20px 28px; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .menu-open .site-nav { display: flex; }
  .site-nav a { padding: 13px 16px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 450px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step { border: 1px solid rgba(255,255,255,.2); }
  .split, .credential-preview, .campus-summary, .contact-grid { grid-template-columns: 1fr; }
  .feature-grid, .service-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 2 / 4; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 68px 0; }
  .section.compact { padding: 48px 0; }
  .brand img { width: 56px; height: 44px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy span { display: none; }
  .hero { min-height: auto; }
  .hero-grid { padding: 56px 0 74px; }
  .hero h1 { font-size: 46px; }
  .hero h1 span { font-size: .42em; letter-spacing: .08em; }
  .hero-lead { font-size: 16px; }
  .hero-visual { min-height: 350px; }
  .hero-logo-card { padding: 20px 16px; }
  .hero-logo-card img { height: 260px; }
  .hero-seal { width: 84px; }
  .floating-tag { left: 0; bottom: 4%; font-size: 13px; }
  .trust-strip { margin-top: -24px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); padding: 14px; }
  .trust-item { padding: 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .trust-item:nth-child(n+3) { border-bottom: 0; }
  .trust-item strong { font-size: 22px; }
  .section-head { display: block; }
  .section-head .text-link { display: inline-block; margin-top: 16px; }
  .card-grid, .feature-grid, .service-grid, .article-grid, .pillar-grid, .certificate-grid { grid-template-columns: 1fr; }
  .value-card { min-height: auto; }
  .process { grid-template-columns: 1fr; }
  .quote-panel { min-height: 360px; padding: 38px 30px; }
  .timeline-row { grid-template-columns: 72px 30px 1fr; gap: 14px; }
  .timeline-year { font-size: 20px; }
  .timeline-axis::before { left: 14px; }
  .timeline-axis::after { left: 7px; }
  .credential-copy { padding: 32px 26px; }
  .credential-image { min-height: 290px; }
  .cta-inner { display: block; }
  .cta-inner .btn { margin-top: 22px; }
  .page-hero { padding: 64px 0 54px; }
  .page-hero h1 { font-size: 43px; }
  .data-row { grid-template-columns: 1fr; gap: 4px; }
  .certificate-thumb { height: 360px; }
  .field-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .contact-panel, .contact-form { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .footer-meta { display: block; }
  .footer-records { margin-top: 12px; }
}

@media (max-width: 480px) {
  .header-inner { gap: 10px; }
  .brand { min-width: 0; }
  .brand-copy strong { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-logo-card img { height: 220px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(odd) { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand-card { width: 100%; max-width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* V2: 多级导航、五校区与移动端体验 */
:root { --gold:#c69a45; --gold-soft:#fbf4e6; }
.nav-item { position:relative; }
.nav-parent { display:flex; align-items:center; }
.nav-parent > a { white-space:nowrap; }
.submenu-toggle { display:grid; place-items:center; width:24px; height:30px; padding:0; margin-left:-8px; border:0; color:var(--muted); background:transparent; font-size:17px; transition:transform .2s ease,color .2s ease; }
.nav-item:hover .submenu-toggle, .nav-item:focus-within .submenu-toggle { color:var(--brand); transform:rotate(180deg); }
.submenu { position:absolute; top:calc(100% + 12px); left:0; z-index:1100; min-width:190px; padding:10px; border:1px solid rgba(230,232,240,.9); border-radius:16px; background:rgba(255,255,255,.98); box-shadow:0 22px 50px rgba(6,11,65,.16); opacity:0; visibility:hidden; transform:translateY(8px); transition:opacity .18s ease,transform .18s ease,visibility .18s ease; }
.submenu::before { content:""; position:absolute; left:0; right:0; top:-14px; height:14px; }
.nav-item:hover > .submenu, .nav-item:focus-within > .submenu, .nav-item.submenu-open > .submenu { opacity:1; visibility:visible; transform:none; }
.site-nav .submenu a { display:block; padding:10px 12px; border-radius:10px; font-size:13px; font-weight:650; }
.site-nav .submenu a:hover { color:var(--brand); background:var(--brand-3); }
.submenu-wide { min-width:220px; }
.campus-home-section { background:linear-gradient(180deg,#fffdf8,#f7f8ff); }
.home-campus-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:15px; }
.home-campus-card { min-height:238px; padding:24px 20px; border:1px solid var(--line); border-radius:20px; background:white; box-shadow:var(--shadow-sm); transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease; }
.home-campus-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:rgba(198,154,69,.55); }
.home-campus-card span { color:var(--gold); font-size:12px; font-weight:850; letter-spacing:.1em; }
.home-campus-card h3 { margin:20px 0 10px; color:var(--brand); font-size:20px; }
.home-campus-card p { min-height:72px; margin:0 0 18px; color:var(--muted); font-size:13px; }
.home-campus-card strong { display:block; color:var(--ink); font-size:13px; }
.campus-total { display:flex; align-items:baseline; gap:9px; color:var(--brand); }
.campus-total strong { font-size:58px; line-height:1; }
.campus-total span { color:var(--muted); font-weight:750; }
.campus-location-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.campus-location-card { position:relative; overflow:hidden; padding:32px; border:1px solid var(--line); border-radius:26px; background:white; box-shadow:var(--shadow-sm); }
.campus-location-card::after { content:""; position:absolute; width:170px; height:170px; right:-75px; bottom:-90px; border-radius:50%; background:var(--gold-soft); }
.campus-card-top { display:flex; justify-content:space-between; align-items:center; }
.campus-index { color:rgba(11,20,108,.12); font-size:44px; font-weight:900; line-height:1; }
.campus-district, .campus-hero-tag { display:inline-flex; padding:6px 11px; border-radius:999px; color:#7a5412; background:var(--gold-soft); font-size:12px; font-weight:800; }
.campus-location-card h2 { margin:20px 0 4px; color:var(--brand); font-size:27px; }
.campus-alias { margin:0 0 20px; color:var(--gold); font-weight:750; }
.campus-location-card dl { margin:0; }
.campus-location-card dl > div { display:grid; grid-template-columns:86px 1fr; gap:14px; padding:10px 0; border-top:1px solid var(--line); }
.campus-location-card dt { color:var(--muted); }
.campus-location-card dd { margin:0; font-weight:650; }
.campus-location-card dd a, .phone-link { color:var(--brand); font-weight:850; }
.campus-actions { position:relative; z-index:2; display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.official-call-card { margin-top:28px; padding:28px; border:1px solid rgba(11,20,108,.12); border-radius:24px; background:white; box-shadow:var(--shadow-sm); }
.official-call-card span,.official-call-card em { display:block; color:var(--muted); font-style:normal; }
.official-call-card strong { display:block; margin:8px 0 2px; color:var(--brand); font-size:38px; line-height:1.2; }
.official-call-card .btn { margin-top:20px; }
.campus-page-hero .hero-actions { justify-content:flex-start; }
.campus-page-hero .campus-hero-tag { position:relative; z-index:2; margin-top:24px; color:#fff8e7; background:rgba(198,154,69,.28); border:1px solid rgba(255,255,255,.2); }
.campus-detail-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:30px; }
.campus-detail-card,.campus-visit-card { padding:36px; border:1px solid var(--line); border-radius:28px; background:white; box-shadow:var(--shadow-sm); }
.campus-detail-card h2,.campus-visit-card h2 { color:var(--brand); font-size:30px; }
.campus-visit-card { background:linear-gradient(160deg,#fff,#f8f4e9); }
.campus-visit-card .campus-index { font-family:"STKaiti","KaiTi",serif; font-size:82px; color:rgba(198,154,69,.35); }
.other-campus-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.other-campus-link { padding:22px; border:1px solid var(--line); border-radius:18px; background:white; }
.other-campus-link strong { display:block; color:var(--brand); }
.other-campus-link span { display:block; margin-top:8px; color:var(--muted); font-size:13px; }
.other-campus-link:hover { border-color:var(--gold); box-shadow:var(--shadow-sm); }
.official-phone-hero { margin:25px 0; padding:22px; border:1px solid rgba(255,255,255,.16); border-radius:18px; background:rgba(255,255,255,.08); }
.official-phone-hero span { display:block; color:rgba(255,255,255,.62); font-size:13px; }
.official-phone-hero a { display:block; margin-top:5px; color:white; font-size:34px; font-weight:900; letter-spacing:.03em; }
.compact-campus-list { display:grid; gap:14px; }
.compact-campus-contact { display:grid; grid-template-columns:1fr auto; align-items:center; gap:28px; padding:24px 28px; border:1px solid var(--line); border-radius:20px; background:white; }
.compact-campus-contact span { color:var(--gold); font-size:12px; font-weight:800; }
.compact-campus-contact h3 { margin:4px 0; color:var(--brand); }
.compact-campus-contact p { margin:0; color:var(--muted); }
.compact-campus-contact > div:last-child { display:grid; justify-items:end; }
.compact-campus-contact strong { color:var(--muted); font-size:13px; }
.compact-campus-contact a[href^="tel"] { color:var(--brand); font-size:22px; font-weight:900; }
.mobile-action-bar { display:none; }
[id] { scroll-margin-top:calc(var(--header-h) + 24px); }

@media (max-width:1180px) {
  .site-nav > a,.nav-parent > a { padding-inline:9px; font-size:13px; }
  .home-campus-grid { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:1060px) {
  .site-nav { overflow-y:auto; max-height:calc(100vh - var(--header-h)); }
  .nav-item { width:100%; }
  .nav-parent { width:100%; }
  .nav-parent > a { flex:1; }
  .submenu-toggle { width:46px; height:44px; margin:0; border-radius:10px; background:var(--surface-2); }
  .nav-item:hover .submenu-toggle,.nav-item:focus-within .submenu-toggle { transform:none; }
  .nav-item.submenu-open .submenu-toggle { transform:rotate(180deg); }
  .submenu { position:static; display:none; min-width:0; margin:0 8px 8px 18px; padding:8px; border:0; border-left:2px solid var(--brand-3); border-radius:0; box-shadow:none; opacity:1; visibility:visible; transform:none; background:var(--surface-2); }
  .nav-item.submenu-open > .submenu { display:block; }
  .home-campus-grid { grid-template-columns:repeat(2,1fr); }
  .campus-detail-grid { grid-template-columns:1fr; }
  .other-campus-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:760px) {
  body { padding-bottom:66px; }
  .campus-location-grid,.home-campus-grid { grid-template-columns:1fr; }
  .campus-location-card { padding:26px 22px; }
  .campus-total { margin-top:20px; }
  .campus-page-hero .hero-actions { gap:10px; }
  .campus-page-hero .hero-actions .btn { width:100%; }
  .campus-detail-card,.campus-visit-card { padding:28px 22px; }
  .other-campus-grid { grid-template-columns:1fr; }
  .compact-campus-contact { grid-template-columns:1fr; gap:16px; padding:22px; }
  .compact-campus-contact > div:last-child { justify-items:start; }
  .mobile-action-bar { position:fixed; left:0; right:0; bottom:0; z-index:1300; display:grid; grid-template-columns:1fr 1fr; padding:8px 10px calc(8px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:rgba(255,255,255,.97); box-shadow:0 -10px 30px rgba(6,11,65,.12); backdrop-filter:blur(14px); }
  .mobile-action-bar a { display:flex; align-items:center; justify-content:center; gap:8px; min-height:48px; color:white; background:var(--brand); font-weight:850; }
  .mobile-action-bar a:first-child { border-radius:14px 0 0 14px; }
  .mobile-action-bar a:last-child { border-radius:0 14px 14px 0; background:var(--accent); }
}


/* V3：真实素材、高端视觉与多端强化 */
:root {
  --brand-deep:#071047;
  --brand-night:#050a2d;
  --gold:#c99c45;
  --gold-bright:#e4c179;
  --glass:rgba(255,255,255,.82);
}
.site-header { background:rgba(255,255,255,.9); }
.site-header::after { content:""; position:absolute; left:0; right:0; bottom:-1px; height:1px; background:linear-gradient(90deg,transparent,rgba(201,156,69,.55),transparent); }
.brand-copy strong { letter-spacing:.12em; }
.hero-v3 { min-height:760px; background:radial-gradient(circle at 15% 18%,rgba(201,156,69,.12),transparent 25%),linear-gradient(135deg,#fffdf7 0%,#f4f6ff 58%,#eef1ff 100%); }
.hero-v3::after { content:"书香逸"; right:-1vw; bottom:-88px; writing-mode:initial; font-size:clamp(130px,18vw,280px); }
.hero-grid-v3 { position:relative; z-index:2; display:grid; grid-template-columns:.92fr 1.08fr; align-items:center; gap:70px; padding:80px 0 105px; }
.hero-grid-v3 h1 { margin:20px 0 22px; color:var(--brand); font-family:"Noto Serif SC","STKaiti","KaiTi",serif; font-size:clamp(54px,6.2vw,86px); line-height:1.08; }
.hero-grid-v3 h1 span { display:block; margin-top:16px; color:var(--accent); font-size:.44em; letter-spacing:.17em; }
.hero-contact-line { display:flex; align-items:baseline; flex-wrap:wrap; gap:10px; margin-top:28px; padding-top:20px; border-top:1px solid rgba(11,20,108,.12); }
.hero-contact-line span,.hero-contact-line em { color:var(--muted); font-size:13px; font-style:normal; }
.hero-contact-line a { color:var(--brand); font-size:26px; font-weight:900; letter-spacing:.03em; }
.hero-media { position:relative; min-height:570px; }
.hero-media figure { margin:0; overflow:hidden; border-radius:28px; background:#dfe3f4; box-shadow:0 28px 65px rgba(6,11,65,.18); }
.hero-media img { width:100%; height:100%; object-fit:cover; }
.hero-media-main { position:absolute; inset:22px 82px 68px 0; border:8px solid rgba(255,255,255,.85); }
.hero-media-small { position:absolute; right:0; width:205px; border:6px solid rgba(255,255,255,.92); }
.hero-media-small.top { top:0; height:270px; }
.hero-media-small.bottom { bottom:12px; height:230px; }
.hero-brand-chip { position:absolute; left:28px; bottom:16px; z-index:4; display:flex; align-items:center; gap:14px; padding:14px 18px; border:1px solid rgba(255,255,255,.8); border-radius:18px; background:rgba(255,255,255,.94); box-shadow:0 18px 44px rgba(6,11,65,.2); backdrop-filter:blur(12px); color:var(--brand); font-weight:850; line-height:1.25; }
.hero-brand-chip img { width:52px; height:52px; object-fit:contain; }
.hero-brand-chip small { color:var(--muted); font-weight:500; }
.premium-service-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.premium-service { position:relative; overflow:hidden; min-height:300px; padding:34px; border:1px solid rgba(11,20,108,.1); border-radius:26px; background:linear-gradient(150deg,#fff,#f7f8ff); box-shadow:var(--shadow-sm); transition:transform .25s ease,box-shadow .25s ease; }
.premium-service:hover { transform:translateY(-7px); box-shadow:var(--shadow-md); }
.premium-service::after { content:""; position:absolute; width:160px; height:160px; right:-75px; bottom:-80px; border-radius:50%; background:var(--gold-soft); }
.premium-service > span { display:inline-grid; place-items:center; min-width:48px; height:48px; padding:0 12px; border-radius:14px; color:#7b5716; background:var(--gold-soft); font-weight:900; }
.premium-service h3 { position:relative; z-index:1; margin:26px 0 12px; color:var(--brand); font-size:23px; }
.premium-service p { position:relative; z-index:1; margin:0; color:var(--muted); }
.campus-showcase { background:linear-gradient(180deg,#fffdf8,#f5f7ff); }
.campus-photo-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.campus-photo-card { overflow:hidden; border:1px solid var(--line); border-radius:26px; background:white; box-shadow:var(--shadow-sm); transition:transform .25s ease,box-shadow .25s ease; }
.campus-photo-card:hover { transform:translateY(-7px); box-shadow:var(--shadow-md); }
.campus-photo-card figure { margin:0; aspect-ratio:3/2; overflow:hidden; background:#dfe3f4; }
.campus-photo-card img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.campus-photo-card:hover img { transform:scale(1.035); }
.campus-photo-body { padding:23px 24px 26px; }
.campus-photo-body > span { color:var(--gold); font-size:12px; font-weight:850; letter-spacing:.08em; }
.campus-photo-body h3 { margin:8px 0 6px; color:var(--brand); font-size:23px; }
.campus-photo-body p { min-height:52px; margin:0 0 13px; color:var(--muted); font-size:14px; }
.campus-photo-body strong { color:var(--ink); font-size:14px; }
.campus-photo-card:nth-child(4),.campus-photo-card:nth-child(5) { grid-column:span 1; }
.environment-feature { display:grid; grid-template-columns:.78fr 1.22fr; gap:58px; align-items:center; }
.environment-copy > p { color:rgba(255,255,255,.72); }
.environment-mosaic { display:grid; grid-template-columns:1.2fr .8fr; grid-template-rows:260px 260px; gap:16px; }
.environment-mosaic figure { margin:0; overflow:hidden; border-radius:24px; border:1px solid rgba(255,255,255,.12); background:#11184d; }
.environment-mosaic img { width:100%; height:100%; object-fit:cover; }
.environment-mosaic .env-a { grid-row:1/3; }
.environment-mosaic .env-b,.environment-mosaic .env-c { grid-column:2; }
.teacher-feature { align-items:center; }
.teacher-board-frame { position:relative; padding:16px; border-radius:30px; background:linear-gradient(145deg,var(--brand),#293bb7); box-shadow:var(--shadow-md); }
.teacher-board-frame::after { content:"师"; position:absolute; right:24px; bottom:-34px; color:rgba(255,255,255,.08); font-family:"KaiTi",serif; font-size:150px; }
.teacher-board-frame img { position:relative; z-index:1; width:100%; border-radius:20px; }
.photo-page-hero,.campus-photo-hero { min-height:460px; display:grid; align-items:end; padding:0; background:var(--brand-night); }
.page-hero-bg { position:absolute; inset:0; }
.page-hero-bg::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(4,8,39,.94) 0%,rgba(4,8,39,.74) 48%,rgba(4,8,39,.34) 100%),linear-gradient(0deg,rgba(4,8,39,.64),transparent 55%); }
.page-hero-bg img { width:100%; height:100%; object-fit:cover; }
.photo-page-hero .container,.campus-photo-hero .container { position:relative; z-index:2; padding-top:90px; padding-bottom:65px; }
.campus-photo-hero { min-height:560px; }
.campus-photo-hero .page-hero-bg img { object-position:center; }
.campus-photo-location { padding:0; }
.campus-photo-location::after { display:none; }
.campus-location-image { display:block; aspect-ratio:16/9; overflow:hidden; }
.campus-location-image img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.campus-photo-location:hover .campus-location-image img { transform:scale(1.035); }
.campus-location-content { padding:28px 30px 32px; }
.campus-detail-photo { margin:-36px -36px 25px; height:275px; overflow:hidden; border-radius:28px 28px 0 0; }
.campus-detail-photo img { width:100%; height:100%; object-fit:cover; }
.campus-gallery { display:grid; grid-template-columns:1.05fr .95fr; grid-template-rows:300px 300px; gap:18px; }
.campus-gallery figure { margin:0; overflow:hidden; border-radius:24px; background:#e6e8f0; box-shadow:var(--shadow-sm); }
.campus-gallery img { width:100%; height:100%; object-fit:cover; }
.campus-gallery .gallery-tall { grid-row:1/3; }
.wide-photo { margin:0; overflow:hidden; border-radius:30px; background:#e6e8f0; box-shadow:var(--shadow-md); }
.wide-photo img { width:100%; max-height:720px; object-fit:cover; }
.research-photo { margin:0; overflow:hidden; border-radius:28px; background:white; box-shadow:var(--shadow-md); }
.research-photo img { width:100%; min-height:390px; object-fit:cover; }
.research-photo figcaption { padding:12px 18px; color:var(--muted); font-size:12px; }
.premium-process { overflow:hidden; border-radius:26px; color:white; background:linear-gradient(135deg,var(--brand-deep),#1e2c9b); box-shadow:var(--shadow-md); }
.teacher-showcase { display:grid; grid-template-columns:.84fr 1.16fr; gap:55px; align-items:center; }
.teacher-full { margin:0; padding:13px; border-radius:28px; background:linear-gradient(160deg,var(--brand),#5c72e7); box-shadow:var(--shadow-md); }
.teacher-full img { width:100%; max-height:690px; object-fit:cover; object-position:top; border-radius:19px; }
.feature-stack { display:grid; gap:15px; margin-top:30px; }
.feature-stack article { display:grid; grid-template-columns:72px 1fr; gap:18px; align-items:start; padding:20px; border:1px solid var(--line); border-radius:18px; background:white; }
.feature-stack strong { display:grid; place-items:center; width:62px; height:62px; border-radius:16px; color:var(--brand); background:var(--brand-3); }
.feature-stack h3 { margin:0 0 5px; color:var(--brand); }
.feature-stack p { margin:0; color:var(--muted); }
.fact-campus-list { display:grid; gap:12px; }
.fact-campus-row { display:grid; grid-template-columns:1fr auto; gap:20px; align-items:center; padding:18px 20px; border:1px solid var(--line); border-radius:16px; background:white; }
.fact-campus-row a:first-child { display:grid; }
.fact-campus-row strong { color:var(--brand); }
.fact-campus-row span { color:var(--muted); font-size:14px; }
.fact-campus-row > a:last-child { color:var(--brand); font-weight:850; }
.footer-col span { display:block; margin:8px 0; color:rgba(255,255,255,.62); font-size:14px; }
.image-load-error { min-height:160px; background:var(--surface-2); }

@media (max-width:1100px) {
  .hero-grid-v3 { grid-template-columns:1fr; gap:35px; padding-top:65px; }
  .hero-media { min-height:510px; }
  .premium-service-grid,.campus-photo-grid { grid-template-columns:repeat(2,1fr); }
  .environment-feature,.teacher-showcase { grid-template-columns:1fr; }
  .environment-copy { max-width:760px; }
}
@media (max-width:760px) {
  .hero-v3 { min-height:auto; }
  .hero-grid-v3 { padding:50px 0 82px; }
  .hero-grid-v3 h1 { font-size:clamp(48px,14vw,68px); }
  .hero-media { min-height:440px; }
  .hero-media-main { inset:12px 52px 55px 0; }
  .hero-media-small { width:145px; }
  .hero-media-small.top { height:210px; }
  .hero-media-small.bottom { height:180px; }
  .hero-brand-chip { left:14px; bottom:8px; padding:10px 13px; font-size:13px; }
  .hero-brand-chip img { width:40px; height:40px; }
  .premium-service-grid,.campus-photo-grid { grid-template-columns:1fr; }
  .premium-service { min-height:0; }
  .environment-mosaic { grid-template-columns:1fr 1fr; grid-template-rows:300px 190px; gap:10px; }
  .environment-mosaic .env-a { grid-column:1/3; grid-row:1; }
  .environment-mosaic .env-b { grid-column:1; grid-row:2; }
  .environment-mosaic .env-c { grid-column:2; grid-row:2; }
  .photo-page-hero,.campus-photo-hero { min-height:480px; }
  .page-hero-bg::after { background:linear-gradient(0deg,rgba(4,8,39,.94) 0%,rgba(4,8,39,.55) 80%,rgba(4,8,39,.4)); }
  .campus-location-content { padding:24px 22px 28px; }
  .campus-gallery { grid-template-columns:1fr; grid-template-rows:auto; }
  .campus-gallery .gallery-tall { grid-row:auto; }
  .campus-gallery figure { height:360px; }
  .teacher-showcase { gap:30px; }
  .teacher-full img { max-height:560px; }
  .fact-campus-row { grid-template-columns:1fr; gap:8px; }
}
@media (max-width:480px) {
  .hero-media { min-height:350px; }
  .hero-media-main { inset:8px 35px 45px 0; border-width:5px; }
  .hero-media-small { width:112px; border-width:4px; border-radius:18px!important; }
  .hero-media-small.top { height:160px; }
  .hero-media-small.bottom { height:135px; }
  .hero-contact-line a { font-size:22px; }
  .campus-gallery figure { height:300px; }
}


/* V4 official QR and factual service enhancements */
.contact-grid{align-items:start}
.official-qr-panel{grid-column:1/-1;background:linear-gradient(135deg,#07105c,#151f7d);color:#fff;border-radius:28px;padding:38px;box-shadow:0 22px 60px rgba(7,16,92,.18)}
.official-qr-panel h2{font-size:clamp(28px,4vw,44px);margin:8px 0 24px}
.qr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:820px}
.qr-card{margin:0;background:#fff;color:#101433;border-radius:22px;padding:18px;display:grid;grid-template-columns:180px 1fr;gap:20px;align-items:center}
.qr-card img{width:180px;height:180px;object-fit:contain;background:#fff;border-radius:14px}
.qr-card figcaption{display:flex;flex-direction:column;gap:8px}.qr-card strong{font-size:20px}.qr-card span{color:#5f647d;line-height:1.7}
.privacy-note{margin:22px 0 0;color:rgba(255,255,255,.78)}
@media(max-width:780px){.official-qr-panel{padding:24px 18px}.qr-grid{grid-template-columns:1fr}.qr-card{grid-template-columns:120px 1fr}.qr-card img{width:120px;height:120px}}
@media(max-width:420px){.qr-card{grid-template-columns:1fr;text-align:center}.qr-card img{width:190px;height:190px;margin:auto}}
