/* finesse · SOUL=6 SPECTACLE=4 DENSITY=6 · variant=B-clean · brand=SRH */
/* ============================================================
   SRH 德国应用科学大学 · 中文官方网站
   Design system — 干净留白 (B) + 首页 hero 橙块擦光 (A 强调)
   Brand tokens 原样使用 SRH 配色方案
   ============================================================ */

:root {
  /* —— 品牌色（原样） —— */
  --orange: #d54407;          /* 主色 SRH Orange */
  --grey:   #aaa39d;          /* 唯一辅助色 SRH Warm Grey */
  --yellow: #fcc61e;          /* 强调 SRH Sun Yellow */
  --mint:   #35b4a0;          /* 强调 SRH Fresh Mint */
  --berry:  #ca0d7f;          /* 强调 SRH Sweet Berry */
  --blue:   #021e30;          /* 强调 SRH Deep Blue */
  --ink:    #575756;          /* 文字 SRH Smokey Black */
  --link:   #00699a;          /* 链接 SRH Blue */

  /* —— 派生纸面（避免纯白/纯黑） —— */
  --paper:    #fdfcfb;        /* 近白纸底 */
  --paper-2:  #f5f2ef;        /* 浅暖灰区块 */
  --paper-3:  #ece8e3;        /* 描边/分隔 */
  --paper-0:  #eae5df;        /* 图片占位底（补定义） */
  --ink-soft: #6f6e6c;        /* 次级文字 */
  --card:     #ffffff;        /* 卡片底（仅在纸面内用，带暖描边） */

  /* —— 字体 —— */
  --sans: "Inter", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  --serif: "Georgia", "Songti SC", "SimSun", serif;

  /* —— 间距尺度（流体，更松的呼吸感） —— */
  --sp-1: clamp(0.5rem, 1vw, 0.75rem);
  --sp-2: clamp(0.75rem, 1.5vw, 1.25rem);
  --sp-3: clamp(1.5rem, 2.6vw, 2.25rem);
  --sp-4: clamp(2.25rem, 4.2vw, 3.75rem);
  --sp-5: clamp(3.75rem, 7.5vw, 7rem);          /* 区段垂直节奏加大 */
  --sp-6: clamp(5rem, 9vw, 9rem);                /* 超大区段分隔 */

  --maxw: 1600px;                                /* 全尺寸自适应：放宽容器 */
  --gutter: clamp(1.5rem, 5vw, 4rem);            /* 横向留白（大屏更舒展） */
  --header-h: 72px;                              /* sticky 偏移基准 */

  --radius: 14px 14px 14px 0;        /* 三圆一直角：左下直角（SRH 设计规范） */
  --radius-lg: 22px 22px 22px 0;     /* 三圆一直角：左下直角 */
  --radius-sm: 10px 10px 10px 0;     /* 三圆一直角：左下直角 */

  /* —— 阴影（暖色调、低饱和、非纯黑） —— */
  --sh-1: 0 1px 2px rgba(2, 30, 48, 0.06), 0 2px 8px rgba(2, 30, 48, 0.05);
  --sh-2: 0 6px 18px rgba(2, 30, 48, 0.08), 0 2px 6px rgba(2, 30, 48, 0.05);
  --sh-3: 0 18px 48px rgba(2, 30, 48, 0.14);
  --sh-glass: 0 8px 32px rgba(2, 30, 48, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.55);

  --shadow-orange: 0 12px 30px rgba(213, 68, 7, 0.22);

  /* —— 液态玻璃（glassmorphism） —— */
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.74);
  --glass-brd: rgba(255, 255, 255, 0.6);
  --glass-blur: 18px;

  /* —— 骨架屏 —— */
  --sk-1: #e7e2dc;
  --sk-2: #f4f1ed;
}

/* ============================================================
   Reset / Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  overflow-x: clip;                 /* M1 */
  -webkit-font-smoothing: antialiased;
}

/* 极轻纸纹颗粒 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.018;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: #575756;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;         /* M4 */
  min-width: 0;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--sp-3);
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 var(--sp-2);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: var(--orange);
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-3px);
}

.section { padding-block: var(--sp-5); position: relative; z-index: 2; }
.section--alt { background: var(--paper-2); }
.section--blue { background: var(--blue); color: #eef2f4; }
.section--blue h1, .section--blue h2, .section--blue h3 { color: #fff; }
.section--blue .eyebrow { color: var(--yellow); }
.section--blue .eyebrow::before { background: var(--yellow); }

.lead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); color: var(--ink-soft); max-width: 60ch; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(.2,.7,.2,1), box-shadow 0.22s cubic-bezier(.2,.7,.2,1), background 0.22s ease, color 0.22s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn:hover { text-decoration: none; transform: translateY(-3px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn--primary:hover {
  background: #e85a1f;
  box-shadow:
    0 2px 4px rgba(213, 68, 7, 0.08),
    0 8px 24px rgba(213, 68, 7, 0.18),
    0 18px 46px rgba(213, 68, 7, 0.28),
    0 32px 64px rgba(213, 68, 7, 0.16);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-130%);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(.2,.7,.2,1), opacity 0.3s ease;
}
.btn--primary:hover::after {
  transform: translateX(130%);
  opacity: 1;
}
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--grey); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { background: var(--yellow); }
.btn .arr { transition: transform 0.18s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ============================================================
   Header / Nav  (M5: single sticky top:0)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;                          /* M5 */
  z-index: 50;
  background: rgba(253, 252, 251, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--paper-3);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand__mark {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--orange);
  color: #fff; font-weight: 900; font-size: 1.1rem;
  display: grid; place-items: center;
  letter-spacing: -0.04em;
  box-shadow: var(--shadow-orange);
}
.brand__name { color: #575756; font-weight: 800; font-size: 1.02rem; line-height: 1.1; }
.brand__name small { display: block; font-weight: 600; font-size: 0.66rem; color: var(--ink-soft); letter-spacing: 0.05em; }

/* 真实 logo 图片替代原 CSS 方块 */
.brand__logo { height: 48px; width: auto; display: block; }
.brand__logo--white { filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25)); }

.nav__links { display: flex; align-items: center; gap: clamp(0.4rem, 1.6vw, 1.6rem); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.4rem 0.2rem;
  position: relative;
  text-decoration: none;
}
/* M3: 用下划线/亮度区分，不用颜色 */
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%;
  bottom: -2px; height: 2px; background: var(--orange);
  transition: right 0.22s ease;
}
.nav__links a:hover { filter: brightness(1.15); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { right: 0; }
.nav__links a[aria-current="page"] { color: var(--orange); }

.nav__cta { margin-left: 0.4rem; }

.nav__toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav__toggle span { display: block; height: 2px; background: var(--blue); border-radius: 2px; transition: 0.22s; }
.nav__toggle span + span { margin-top: 5px; }

/* ============================================================
   Hero (首页) — 干净留白 + 橙块擦光强调 (A 遗产)
   ============================================================ */
.hero { position: relative; z-index: 2; padding-top: var(--sp-4); padding-bottom: var(--sp-4); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-4);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 1.4rem + 3.4vw, 4rem);
  margin: 0 0 var(--sp-3);
}
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span { display: inline-block; transform: translateY(102%); }
.hero h1 em {
  font-style: normal;
  position: relative;
  color: var(--orange);
  white-space: nowrap;
}
/* 橙块从左擦过 */
.hero h1 em::before {
  content: "";
  position: absolute;
  left: -0.12em; right: -0.12em; bottom: 0.04em;
  height: 0.42em;
  background: rgba(252, 198, 30, 0.55);   /* Sun Yellow 作高亮底 */
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
}
.hero.is-in h1 .ln > span { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) forwards; }
.hero.is-in h1 .ln:nth-child(2) > span { animation-delay: 0.12s; }
.hero.is-in h1 .ln:nth-child(3) > span { animation-delay: 0.24s; }
.hero.is-in h1 em::before { animation: wipe 0.6s cubic-bezier(.2,.7,.2,1) 0.5s forwards; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes wipe { to { transform: scaleX(1); } }

.hero__sub { color: var(--ink-soft); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.18rem); max-width: 46ch; margin: 0 0 var(--sp-3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.hero__media { position: relative; }
.hero__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-3);
}
.hero__badge {
  position: absolute;
  left: -14px; bottom: 26px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  box-shadow: var(--sh-2);
  max-width: 70%;
}
.hero__badge strong { display: block; color: var(--yellow); font-size: 1.5rem; line-height: 1; }
.hero__badge span { font-size: 0.8rem; opacity: 0.85; }

/* 全宽 hero（首页 / 就读页）— full-bleed 背景图 */
.hero--home {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 72vh, 780px);
  padding-block: var(--sp-6);
  color: #fff;
  background-color: var(--blue);
  background-image: url("assets/img/hero-main.jpg");
  background-size: cover;
  background-position: 62% center;
  overflow: hidden;
}
.hero--home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(2,30,48,0.96) 0%,
    rgba(2,30,48,0.80) 30%,
    rgba(2,30,48,0.35) 60%,
    rgba(2,30,48,0.05) 100%);
}
.hero--home > .container { position: relative; z-index: 2; width: 100%; }
.hero--home .hero__grid { grid-template-columns: 1fr; }
.hero--home .hero__copy { max-width: 760px; }
.hero--home .eyebrow { color: var(--yellow); }
.hero--home .eyebrow::before { background: var(--yellow); }
.hero--home h1 { color: #fff; }
.hero--home h1 em::before { background: rgba(252, 198, 30, 0.7); }
.hero--home .hero__sub { color: rgba(255,255,255,0.9); max-width: 54ch; }
.hero--home .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
.hero--home .btn--ghost:hover { color: var(--orange); border-color: var(--orange); }
.hero--study { background-image: url("assets/img/study-srh/hero-study.jpg"); background-position: center; }
.hero--study::before {
  background: linear-gradient(100deg,
    rgba(2,30,48,0.96) 0%,
    rgba(2,30,48,0.78) 28%,
    rgba(2,30,48,0.15) 58%,
    rgba(2,30,48,0) 100%);
}

/* 全宽 hero（内页） */
.hero--inner {
  background: var(--blue);
  color: #eef2f4;
  padding-block: var(--sp-5);
  position: relative;
  overflow: hidden;
  min-height: clamp(440px, 52vh, 600px);
  display: flex;
  align-items: center;
}
.hero--inner::after {
  content: "";
  position: absolute; right: -10%; top: -20%;
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(213,68,7,0.55), transparent 65%);
  filter: blur(8px);
}
.hero--inner h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 3vw, 3.2rem); }
.hero--inner .eyebrow { color: var(--yellow); }
.hero--inner .eyebrow::before { background: var(--yellow); }
.hero--inner p { color: #c7d2d8; max-width: 56ch; }
/* ============================================================
   Stats strip
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-3);
  border-top: 1px solid var(--paper-3);
  border-bottom: 1px solid var(--paper-3);
  padding-block: var(--sp-4);
}
.stat { text-align: center; }
.stat__num {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__num .suf { color: var(--blue); font-size: 0.6em; }
.stat__label { margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.9rem; font-weight: 600; }

/* ============================================================
   Cards / Fields
   ============================================================ */
.section__head { max-width: 72ch; margin-bottom: var(--sp-4); }
.section__head h2 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); margin: 0 0 var(--sp-2); }

/* Why SRH — 左图右文三点堆叠 */
.why-layout {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: var(--sp-5);
  align-items: start;
}
.why-media {
  position: sticky;
  top: calc(var(--header-h, 72px) + var(--sp-3));
}
.why-media__placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 320px;
  background: var(--paper-0);
  border: 2px dashed var(--paper-3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 1.1rem;
}
.why-content .section__head { margin-bottom: var(--sp-4); }
.why-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.why-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--sp-3);
  align-items: start;
}
.why-item__bar {
  width: 32px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin-top: 0.8rem;
}
.why-item h3 { margin: 0; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem); line-height: 1.45; }
.why-item p { margin: 0.6rem 0 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.7; }
@media (max-width: 820px) {
  .why-layout { grid-template-columns: 1fr; }
  .why-media { position: static; margin-bottom: var(--sp-4); }
  .why-media__placeholder { min-height: 240px; }
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-3);
}
.card {
  background: var(--card);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(213, 68, 7, 0.35);
  box-shadow:
    0 2px 4px rgba(213, 68, 7, 0.04),
    0 8px 16px rgba(213, 68, 7, 0.06),
    0 20px 40px rgba(213, 68, 7, 0.08),
    0 40px 80px rgba(213, 68, 7, 0.10),
    0 64px 120px rgba(213, 68, 7, 0.08);
}
.card__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform 0.4s ease; }
.card:hover .card__img { transform: scale(1.05); }
.card__body { padding: var(--sp-3); display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card__tag {
  align-self: flex-start;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: var(--orange);
  padding: 0.3rem 0.7rem; border-radius: var(--radius);
}
.card h3 { margin: 0; font-size: 1.18rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; flex: 1; }
.card__meta { font-size: 0.82rem; color: #575756; font-weight: 700; margin-top: 0.4rem; }
.card__link { font-weight: 700; color: var(--orange); font-size: 0.9rem; }

/* Why SRH — 8 reasons 编号 */
.reason__no {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--orange);
  opacity: 0.16;
  margin-bottom: 0.1rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.reason .card__body { gap: 0.5rem; }
.reason .card__tag { margin-top: 0.1rem; }
.card__avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--card);
  box-shadow: var(--sh-1);
  margin-bottom: 0.5rem;
}

/* Student voice cards: avatar left, text right, strict top/left alignment */
.cards--students {
  align-items: start;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.student-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 1rem;
  align-items: start;
  padding: var(--sp-3);
}
.student-card .card__body {
  display: contents;
  padding: 0;
  gap: 0;
}
.student-card .card__avatar {
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: start;
  justify-self: start;
  margin: 0;
  border-width: 3px;
}
.student-card h3 { grid-column: 2; margin: 0; text-align: left; }
.student-card .card__meta { grid-column: 2; margin: 0.15rem 0 0; text-align: left; }
.student-card p { grid-column: 2; margin: 0.5rem 0 0; flex: none; text-align: left; }
@media (max-width: 520px) {
  .student-card { grid-template-columns: 80px 1fr; gap: 0 0.75rem; }
  .student-card .card__avatar { width: 80px; height: 80px; border-width: 2px; }
}

/* ============================================================
   Accreditations / Rankings / Awards
   ============================================================ */
.accred-intro { max-width: 76ch; margin-bottom: var(--sp-4); }
.accred-intro p { color: var(--ink-soft); margin: 0 0 var(--sp-2); }
.accred-intro ul {
  list-style: none; padding-left: 0;
  color: var(--ink-soft); display: flex; flex-direction: column; gap: 0.35rem;
}
.accred-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-3);
}
.accred-card {
  background: var(--card);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-2);
  text-align: center;
  box-shadow: var(--sh-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.accred-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--grey); }
#accreditations.section--alt { background: #fff; }
.accred-card__logo {
  width: 100%; max-width: 120px; aspect-ratio: 3 / 2;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border-radius: var(--radius);
  overflow: hidden;
}
.accred-card__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.accred-card h3 { margin: 0; font-size: 0.95rem; line-height: 1.35; }

/* Field grid (首页 9 学科) — 3 列矩阵，每 3 个换强调色 */
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.field {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 230px;
  display: flex; align-items: flex-end;
  color: #fff;
  box-shadow: var(--sh-1);
  transform: translateY(26px) rotateX(9deg);
  transform-origin: top center;
  opacity: 0;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1), opacity 0.5s ease, box-shadow 0.2s ease;
}
.field.is-in { transform: translateY(0) rotateX(0); opacity: 1; }
.field:hover { box-shadow: var(--sh-3); }
.field__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.field::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,30,48,0.86) 0%, rgba(2,30,48,0.2) 55%, transparent 100%); z-index: 1; }
.field__body { position: relative; z-index: 2; padding: var(--sp-3); }
.field__body h3 { color: #fff; margin: 0 0 0.3rem; font-size: 1.22rem; }
.field__body p { margin: 0; color: #d7dee2; font-size: 0.86rem; }
.field__no { position: absolute; top: var(--sp-3); left: var(--sp-3); z-index: 2; font-weight: 900; font-size: 1.1rem; color: rgba(255,255,255,0.7); }

/* 每 3 个换强调色：顶部细条 */
.field::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; z-index: 3;
  background: var(--orange);
}
.fields .field:nth-child(3n+2)::before { background: var(--mint); }
.fields .field:nth-child(3n)::before { background: var(--yellow); }
.fields .field:nth-child(5)::before { background: var(--blue); }
.fields .field:nth-child(2)::before, .fields .field:nth-child(7)::before { background: var(--berry); }

/* 专业页：各领域代表专业列表 */
.progs { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.prog {
  background: var(--card); border: 1px solid var(--paper-3);
  border-radius: var(--radius); padding: var(--sp-3); box-shadow: var(--sh-1);
}
.prog__head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: var(--sp-2); flex-wrap: wrap; }
.prog__head h3 { margin: 0; font-size: 1.2rem; }
.prog__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.prog__list li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: 0.55rem 0.7rem; background: var(--paper); border-radius: var(--radius-sm);
  font-weight: 700; color: #575756; font-size: 0.94rem;
}
.prog__list li span { font-weight: 500; color: var(--ink-soft); font-size: 0.82rem; text-align: right; }

/* ============================================================
   CORE block
   ============================================================ */
.core { }
.core__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-4); align-items: center; }
.core__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-2); }
.core__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.core__list { display: grid; gap: var(--sp-2); margin-top: var(--sp-3); }
.core__item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--paper-3);
  border-radius: var(--radius); padding: var(--sp-2) var(--sp-3);
}
.core__letter {
  flex: 0 0 auto;
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  display: grid; place-items: center;
  font-weight: 900; font-size: 1.4rem; color: #fff;
  background: var(--orange);
}
.core__item:nth-child(2) .core__letter { background: var(--mint); }
.core__item:nth-child(3) .core__letter { background: var(--berry); }
.core__item:nth-child(4) .core__letter { background: var(--blue); }
.core__item h4 { margin: 0 0 0.15rem; font-size: 1.05rem; }
.core__item p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

/* ============================================================
   校区 (campuses) — 规整网格
   ============================================================ */
.camps { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--sp-2); }
.camp {
  display: block; color: inherit; text-decoration: none;
  background: var(--card); border: 1px solid var(--paper-3);
  border-radius: var(--radius); padding: var(--sp-2) var(--sp-2) var(--sp-2);
  text-align: center; box-shadow: var(--sh-1);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.camp:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: var(--sh-2); }
.camp__en { font-size: 0.7rem; letter-spacing: 0.05em; color: var(--ink-soft); text-transform: uppercase; }
.camp__cn { font-weight: 800; color: #575756; font-size: 1.05rem; margin-top: 0.15rem; }
.camp__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin: 0.5rem auto 0; }

/* 校区详情：图文交替 */
.campuses { display: grid; gap: 0; }
.campus {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4);
  align-items: center; padding-block: var(--sp-4);
  border-top: 1px solid var(--paper-3);
}
.campus:first-child { border-top: 0; }
.campus__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-2); aspect-ratio: 4 / 3; }
.campus__media img { width: 100%; height: 100%; object-fit: cover; }
.campus__en { color: var(--orange); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; }
.campus__cn { color: #575756; font-weight: 900; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); margin: 0.1rem 0 var(--sp-2); }
.campus p { color: var(--ink-soft); margin: 0; }
.campus:nth-child(even) .campus__media { order: 2; }

/* ============================================================
   Steps (申请流程)
   ============================================================ */
.steps { display: grid; gap: var(--sp-3); counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3);
  align-items: start;
  background: var(--card); border: 1px solid var(--paper-3);
  border-radius: var(--radius); padding: var(--sp-3); box-shadow: var(--sh-1);
}
.step__no {
  counter-increment: step;
  flex: 0 0 auto;
  width: 52px; height: 52px; border-radius: var(--radius);
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 1.3rem;
}
.step__no::before { content: counter(step); }
.step h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }
.step .tag { display: inline-block; margin-top: 0.6rem; font-size: 0.78rem; font-weight: 700; color: var(--orange); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: var(--sp-2); max-width: 820px; }
.faq__item { border: 1px solid var(--paper-3); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: var(--sp-3); font-size: 1.02rem; font-weight: 700; color: #575756;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__q .ico { flex: 0 0 auto; width: 22px; height: 22px; position: relative; transition: transform 0.2s ease; }
.faq__q .ico::before, .faq__q .ico::after { content: ""; position: absolute; background: var(--orange); border-radius: 2px; }
.faq__q .ico::before { left: 0; right: 0; top: 10px; height: 2px; }
.faq__q .ico::after { top: 0; bottom: 0; left: 10px; width: 2px; transition: transform 0.2s ease; }
.faq__item.open .faq__q .ico::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq__a div { padding: 0 var(--sp-3) var(--sp-3); color: var(--ink-soft); }

/* 列表与提示（申请页 / 专业页） */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.list li { position: relative; padding-left: 1.4rem; color: var(--ink-soft); font-size: 0.92rem; }
.list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 1.1rem; height: 2px; border-radius: 2px;
  background: var(--orange);
}

/* SRH 品牌规范：全站无序列表统一使用橙色小横杠，禁用默认圆点 */
ul:not(.nav__links):not(.footer ul):not(.prog__list):not(.core__list):not(.list) {
  list-style: none;
  padding-left: 0;
}
ul:not(.nav__links):not(.footer ul):not(.prog__list):not(.core__list):not(.list) > li {
  position: relative;
  padding-left: 1.5rem;
}
ul:not(.nav__links):not(.footer ul):not(.prog__list):not(.core__list):not(.list) > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 1.1rem;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.note {
  margin-top: 0.8rem; font-size: 0.85rem; color: var(--blue);
  background: rgba(213,68,7,0.06); border-left: 3px solid var(--orange);
  padding: 0.6rem 0.8rem; border-radius: 0 8px 8px 0;
}
.note b { color: var(--orange); }
.note--qr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.7rem;
}
.note--qr .note__text {
  flex: 1 1 auto;
  color: var(--blue);
  font-weight: 700;
  line-height: 1.35;
}
.note--qr img {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  box-shadow: var(--sh-1);
}

/* ============================================================
   CTA band
   ============================================================ */
.cta {
  background: linear-gradient(120deg, var(--orange), #b5370a);
  color: #fff; border-radius: var(--radius-lg);
  padding: var(--sp-4); text-align: center;
  box-shadow: var(--shadow-orange);
  position: relative; overflow: hidden;
}
.cta h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.3rem); margin: 0 0 0.6rem; }
.cta p { color: #ffe9df; max-width: 52ch; margin: 0 auto var(--sp-3); }
.cta .btn--light { color: var(--orange); }

/* ============================================================
   Consult QR (咨询报名二维码)
   ============================================================ */
.embed-wrap {
  background: var(--paper-0);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-1);
  overflow: hidden;
}
.consult-qr-wrap { padding: var(--sp-4); }
.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-3);
}
.qr-card h2 { margin: 0; color: #575756; }
.qr-card .lead { max-width: 44ch; margin: 0; color: var(--ink-soft); }
.qr-figure {
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: var(--sp-2);
  box-shadow: var(--sh-2);
}
.qr-figure img {
  display: block;
  width: min(56vw, 320px);
  height: auto;
  border-radius: var(--radius-sm);
}
.qr-figure figcaption {
  margin-top: var(--sp-2);
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.qr-fallback {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.qr-fallback a { color: var(--orange); font-weight: 600; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #d54407;
  color: rgba(255,255,255,0.92);
  padding-block: var(--sp-5) var(--sp-3);
  position: relative; z-index: 2;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--sp-4); }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { color: rgba(255,255,255,0.85); font-size: 0.92rem; max-width: 34ch; }
.footer__logo-link { text-decoration: none; display: inline-block; }
.footer__logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 260px;
  color: #fff;
}
.footer h4 { color: #fff; font-size: 0.95rem; margin: 0 0 var(--sp-2); letter-spacing: 0.05em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer ul a { color: rgba(255,255,255,0.9); font-size: 0.92rem; }
.footer ul a:hover { color: #fff; text-decoration: none; }
.footer__bottom {
  margin-top: var(--sp-4); padding-top: var(--sp-3);
  border-top: 1px solid rgba(255,255,255,0.25);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.82rem; color: rgba(255,255,255,0.8);
}
.footer__bottom a { color: rgba(255,255,255,0.8); }

.footer__qr { margin: 0; }
.footer__qr img {
  width: 120px; height: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--sh-1);
}
.footer__qr figcaption {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: #c7d2d8;
}

/* ============================================================
   Reveal animation (IntersectionObserver)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ============================================================
   SRH News (公众号合集)
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-3);
}
.news-card {
  background: var(--card);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--sh-2); border-color: var(--orange); }
.news-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.news-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(.2,.7,.2,1); }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__body { padding: var(--sp-3); display: flex; flex-direction: column; gap: 0.85rem; flex: 1; }
.news-card__title { margin: 0; font-size: 1.05rem; line-height: 1.5; color: #575756; font-weight: 700; transition: color 0.2s ease; }
.news-card:hover .news-card__title { color: var(--orange); }
.news-card__more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.9rem; font-weight: 700; color: var(--ink-soft);
  transition: color 0.2s ease;
}
.news-card:hover .news-card__more { color: var(--orange); }
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }

/* SRH 就读页 · 图文两栏（结语区） */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); align-items: center; }
.feature__media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); }
.feature__body .eyebrow { display: block; margin-bottom: 0.5rem; }
.feature__body h2 { margin: 0 0 1rem; }
.feature__body .btn { margin-top: 0.5rem; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: var(--sp-3); } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 520px; }
  .core__grid { grid-template-columns: 1fr; }
  .fields { grid-template-columns: repeat(2, 1fr); }
  .camps { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4) var(--sp-3); }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--paper-3);
    padding: var(--sp-2) var(--sp-3) var(--sp-3);
    transform: translateY(-130%);
    transition: transform 0.28s ease;
    box-shadow: var(--sh-2);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links li { border-top: 1px solid var(--paper-3); }
  .nav__links a { display: block; padding: 0.9rem 0.2rem; }
  .nav__links a::after { display: none; }
  .nav__cta { margin: var(--sp-2) 0 0; }
  .nav__toggle { display: block; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .fields { grid-template-columns: 1fr; }
  .progs { grid-template-columns: 1fr; }
  .camps { grid-template-columns: repeat(3, 1fr); }
  .campus { grid-template-columns: 1fr; gap: var(--sp-3); }
  .campus__media { order: -1 !important; aspect-ratio: 16 / 10; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .step { grid-template-columns: 1fr; }
  .step__no { width: 44px; height: 44px; }
}

@media (max-width: 460px) {
  .camps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero__badge { left: 0; }
}

/* ============================================================
   Reduced motion — 降级到终态
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero h1 .ln > span, .hero h1 em::before { transform: none !important; animation: none !important; }
  .field { transform: none !important; opacity: 1 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* ============================================================
   AI 客服浮窗（腾讯元器 webim）
   ============================================================ */
.ai-fab { position: fixed; right: 22px; bottom: 22px; z-index: 9999; }
.ai-fab__btn {
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--orange); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(213,68,7,.38);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ai-fab__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(213,68,7,.46); }
.ai-fab__btn svg { width: 28px; height: 28px; }
.ai-fab__panel {
  position: fixed; right: 22px; bottom: 92px;
  width: min(380px, calc(100vw - 32px));
  height: min(600px, calc(100vh - 130px));
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 64px rgba(2,30,48,.34);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.ai-fab__panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.ai-fab__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--blue); color: #fff; flex: 0 0 auto;
}
.ai-fab__title { font-weight: 700; font-size: 0.98rem; letter-spacing: .02em; }
.ai-fab__close {
  border: 0; background: transparent; color: #cdd8de; font-size: 22px; line-height: 1;
  cursor: pointer; padding: 0 2px; transition: color .2s ease;
}
.ai-fab__close:hover { color: #fff; }
.ai-fab__frame { flex: 1 1 auto; width: 100%; border: 0; background: #f6f7f9; }
@media (max-width: 480px) {
  .ai-fab { right: 14px; bottom: 14px; }
  .ai-fab__panel { right: 14px; bottom: 84px; width: calc(100vw - 28px); height: calc(100vh - 110px); }
}

/* ============================================================
   质感升级 · 留白栅格 / 液态玻璃 / 骨架屏 / 空状态 / 微交互
   （后写覆盖上方同名规则）
   ============================================================ */

/* —— 留白与隐形网格 —— */
.container { padding-inline: var(--gutter); }
.section { padding-block: var(--sp-5); }
.section--alt, .section--blue { padding-block: var(--sp-5); }
.section__head { margin-bottom: var(--sp-5); }
.section__head .lead { margin-top: var(--sp-2); }

.cards { gap: clamp(1.5rem, 2.6vw, 2.25rem); }
.accred-grid { gap: clamp(1.5rem, 2.6vw, 2.25rem); }
.progs { gap: clamp(1.5rem, 2.4vw, 2.1rem); }
.fields { gap: clamp(1.1rem, 1.8vw, 1.6rem); }

/* —— 液态玻璃工具类 —— */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-brd);
}
.glass--strong { background: var(--glass-bg-strong); }

/* 导航栏更通透的玻璃质感 */
.site-header {
  background: rgba(253, 252, 251, 0.66);
  -webkit-backdrop-filter: saturate(175%) blur(var(--glass-blur));
  backdrop-filter: saturate(175%) blur(var(--glass-blur));
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 6px 22px rgba(2, 30, 48, 0.05);
}

/* Hero 徽章：半透明玻璃 + 内描边 */
.hero__badge {
  background: rgba(2, 30, 48, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--sh-glass);
}

/* CTA 玻璃高光 */
.cta { position: relative; }
.cta::before {
  content: ""; position: absolute; pointer-events: none;
  width: 56%; aspect-ratio: 1; right: -8%; top: -34%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.30), transparent 64%);
  filter: blur(6px);
}

/* AI 浮窗面板玻璃 */
.ai-fab__panel {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 24px 64px rgba(2, 30, 48, 0.28);
}

/* —— 骨架屏（图片加载占位） —— */
.skeleton-img {
  background-image: linear-gradient(100deg, var(--sk-1) 30%, var(--sk-2) 50%, var(--sk-1) 70%);
  background-size: 220% 100%;
  animation: sk-shimmer 1.5s linear infinite;
}
.skeleton-img.is-loaded { animation: none; background-image: none; }
@keyframes sk-shimmer { from { background-position: 220% 0; } to { background-position: -220% 0; } }

/* —— 空状态 —— */
.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 0.85rem; padding: var(--sp-5) var(--sp-3);
  color: var(--ink-soft); grid-column: 1 / -1;
}
.empty-state__icon { width: 108px; height: 108px; opacity: 0.85; }
.empty-state h3 { margin: 0; color: #575756; font-size: 1.2rem; }
.empty-state p { margin: 0; max-width: 44ch; line-height: 1.6; }
.empty-state .btn { margin-top: 0.4rem; }

/* —— 卡片悬停微交互（水墨阴影 + 顶部橙条 + 光泽扫过） —— */
.card { position: relative; isolation: isolate; }
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 3;
  background: linear-gradient(90deg, var(--orange), #f4753f);
  border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.card:hover::before { transform: scaleX(1); }
.card::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.45) 48%, transparent 64%);
  transform: translateX(-130%); opacity: 0;
  transition: transform 0.65s ease, opacity 0.2s ease;
}
.card:hover::after { transform: translateX(130%); opacity: 1; }

/* 新闻卡也加顶部橙条 */
.news-card { position: relative; isolation: isolate; }
.news-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 3;
  background: linear-gradient(90deg, var(--orange), #f4753f);
  border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.news-card:hover::before { transform: scaleX(1); }

/* —— 专业搜索框（majors 页） —— */
.major-search { margin-bottom: var(--sp-4); max-width: 540px; }
.major-search__input {
  width: 100%;
  padding: 0.9rem 1.15rem;
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--glass-bg-strong);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  box-shadow: var(--sh-1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.major-search__input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(213, 68, 7, 0.14);
}
.major-search__input::placeholder { color: var(--ink-soft); }

/* 认证奖项 7 列一排响应式 */
@media (max-width: 1100px) {
  .accred-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 820px) {
  .accred-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); }
  .accred-card { padding: var(--sp-2) var(--sp-1); }
  .accred-card__logo { max-width: 100px; }
  .accred-card h3 { font-size: 0.85rem; }
}
@media (max-width: 520px) {
  .accred-grid { grid-template-columns: repeat(2, 1fr); }
  .accred-card__logo { font-size: 0.75rem; }
}
