/* ==========================================================================
   万顺为民法律援助与研究中心 — 官网样式
   设计基调：专业、可信、温和、克制（白 / 浅灰 / 蓝色 + 少量暖色点缀）
   ========================================================================== */

:root {
  --brand: #1e5a9e;
  --brand-700: #17477e;
  --brand-600: #1d5c9e;
  --brand-50: #eef4fb;
  --warm: #d9772b;
  --warm-50: #fdf3e7;
  --ink: #222f3d;
  --ink-soft: #5b6b7c;
  --ink-faint: #8a97a5;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --line: #e5eaf0;
  --dark: #14283f;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(20, 40, 63, 0.06);
  --shadow-md: 0 10px 28px rgba(20, 40, 63, 0.12);
  --shadow-lg: 0 18px 44px rgba(20, 40, 63, 0.18);
  --header-h: 72px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, sans-serif;
}

/* ---------- 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4, p, ul, ol, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--brand-600);
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--brand-700);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: rgba(30, 90, 158, 0.18);
}

.text-strong {
  color: var(--brand-700);
  font-weight: 600;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease,
    color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--solid {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 6px 18px rgba(30, 90, 158, 0.28);
}

.btn--solid:hover {
  background: var(--brand-700);
  box-shadow: 0 10px 24px rgba(30, 90, 158, 0.34);
}

.btn--ghost {
  background: transparent;
  border-color: var(--brand-600);
  color: var(--brand-600);
}

.btn--ghost:hover {
  background: var(--brand-50);
}

.btn--light {
  background: #fff;
  color: var(--brand-700);
  box-shadow: 0 6px 18px rgba(10, 26, 46, 0.25);
}

.btn--light:hover {
  background: var(--brand-50);
}

.btn--outline {
  background: transparent;
  border-color: var(--brand-600);
  color: var(--brand-600);
}

.btn--outline:hover {
  background: var(--brand-50);
}

.btn--lg {
  padding: 14px 30px;
  font-size: 17px;
}

.btn--sm {
  padding: 8px 18px;
  font-size: 15px;
}

.tel-link {
  color: var(--brand-600);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tel-link:hover {
  color: var(--brand-700);
  text-decoration: underline;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--brand-600);
}

.link-arrow:hover {
  gap: 10px;
  color: var(--brand-700);
}

.link-arrow svg {
  transition: none;
}

/* ---------- 页头 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 14px rgba(20, 40, 63, 0.08);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
}

.brand__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.brand__name {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand__slogan {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.main-nav {
  margin-left: auto;
}

.main-nav__list {
  display: flex;
  gap: 4px;
}

.main-nav__link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.18s ease, background-color 0.18s ease;
}

.main-nav__link:hover {
  color: var(--brand-600);
  background: var(--brand-50);
}

.main-nav__link.is-active {
  color: var(--brand-600);
  background: var(--brand-50);
  font-weight: 600;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__actions .btn {
  padding: 9px 18px;
  font-size: 15px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  align-items: center;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 64px) 0 120px;
  overflow: hidden;
  color: #fff;
}

.hero__bg,
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(10, 24, 43, 0.82) 0%,
    rgba(10, 24, 43, 0.62) 48%,
    rgba(10, 24, 43, 0.42) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  z-index: 2;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.92), transparent);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero__eyebrow {
  display: inline-block;
  padding: 7px 16px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #eaf2fb;
}

.hero__title {
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.hero__slogan {
  font-size: clamp(19px, 2.6vw, 27px);
  font-weight: 600;
  color: #f2c078;
  letter-spacing: 0.24em;
  margin-bottom: 18px;
}

.hero__sub {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(20, 40, 63, 0.75);
}

.hero__scroll-text {
  font-size: 13.5px;
  letter-spacing: 0.12em;
}

.hero__scroll-icon {
  animation: hero-bounce 2s ease-in-out infinite;
}

@keyframes hero-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ---------- 区块通用 ---------- */
.section {
  padding: 96px 0;
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.section--about {
  background: var(--bg);
}

.section--services {
  background: var(--bg-soft);
}

.section--service-details {
  background: var(--bg);
  padding-top: 48px;
}

.section--team {
  background: var(--bg-soft);
}

.section--contact {
  background: var(--bg);
}

.section__head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.section__head--compact {
  margin-bottom: 36px;
}

.section__eyebrow {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--brand-600);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 14px;
}

.section__lead {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.9;
}

.section__footnote {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-faint);
}

/* ---------- 中心简介 ---------- */
.about__content {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.about__block {
  padding: 24px 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.about__block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--brand-700);
}

.about__block p {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.9;
}

.list-check li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.9;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 16px;
  height: 16px;
  background: var(--brand-50);
  border-radius: 50%;
}

.list-check li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1.15em;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--brand-600);
  border-bottom: 2px solid var(--brand-600);
  transform: rotate(-45deg);
}

/* ---------- 服务卡片（五宫格） ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 90, 158, 0.4);
  box-shadow: var(--shadow-md);
}

.service-card__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 28px 18px 24px;
  border: 0;
  background: transparent;
  text-align: center;
  color: inherit;
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
  transition: background-color 0.22s ease, color 0.22s ease;
}

.service-card__btn:hover .service-card__icon {
  background: var(--brand-600);
  color: #fff;
}

.service-card__name {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

.service-card__desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
  flex-grow: 1;
}

.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand-600);
  margin-top: 4px;
}

.service-card__btn:hover .service-card__more svg {
  transform: translateX(3px);
}

.service-card__more svg {
  transition: transform 0.2s ease;
}

/* ---------- 服务详情（手风琴） ---------- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 16px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.accordion__item.is-open {
  border-color: rgba(30, 90, 158, 0.45);
  box-shadow: var(--shadow-md);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 26px;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
}

.accordion__trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
}

.accordion__trigger-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.accordion__trigger-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.accordion__trigger-desc {
  font-size: 15px;
  color: var(--ink-soft);
}

.accordion__chevron {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--ink-faint);
  transition: transform 0.28s ease;
}

.accordion__item.is-open .accordion__chevron {
  transform: rotate(180deg);
  color: var(--brand-600);
}

.accordion__panel-inner {
  padding: 4px 26px 30px;
  border-top: 1px dashed var(--line);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 36px;
  padding-top: 26px;
}

.detail-block__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-700);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-50);
}

.detail-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 8px;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-600);
}

.detail-steps {
  counter-reset: step;
}

.detail-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 40px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 12px;
}

.detail-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-block--faq {
  margin-top: 26px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
}

.faq-item__q {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  margin-bottom: 4px;
}

.faq-item__q::before {
  content: "问：";
  color: var(--brand-600);
}

.faq-item__a {
  font-size: 15px;
  color: var(--ink-soft);
}

.faq-item__a::before {
  content: "答：";
  color: var(--warm);
  font-weight: 600;
}

.detail-note {
  margin-top: 22px;
  padding: 12px 16px;
  background: var(--warm-50);
  border-left: 3px solid var(--warm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: #8a5a24;
  line-height: 1.8;
}

.detail-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ---------- 专业团队 ---------- */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.team-card {
  width: calc((100% - 48px) / 3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 26px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-card__avatar-wrap {
  position: relative;
  margin-bottom: 16px;
}

.team-card__avatar {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand-50);
  box-shadow: var(--shadow-sm);
}

.team-card__role {
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--brand-600);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(30, 90, 158, 0.3);
}

.team-card__name {
  font-size: 20px;
  font-weight: 700;
  margin-top: 10px;
}

.team-card__title {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.team-card__intro {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 14px;
  flex-grow: 1;
}

.team-card__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.tag {
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 500;
}

.team-card__more {
  margin-top: auto;
}

/* ---------- 联系我们 ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 36px;
  align-items: start;
}

.contact__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
  margin-bottom: 20px;
}

.contact__row {
  display: flex;
  gap: 16px;
  padding: 16px 24px;
  align-items: flex-start;
}

.contact__row + .contact__row {
  border-top: 1px solid var(--line);
}

.contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
}

.contact__row-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 2px;
}

.contact__row-value {
  font-size: 16.5px;
  color: var(--ink);
  line-height: 1.8;
}

.copy-btn {
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid var(--brand-600);
  background: #fff;
  color: var(--brand-600);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.18s ease, color 0.18s ease;
  vertical-align: middle;
}

.copy-btn:hover {
  background: var(--brand-600);
  color: #fff;
}

.contact__bus {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact__bus li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.contact__bus-station {
  font-weight: 600;
  color: var(--brand-700);
  min-width: 130px;
}

.contact__bus-lines {
  font-size: 15.5px;
  color: var(--ink-soft);
}

.contact__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.map-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.map-frame iframe {
  display: block;
  background: var(--bg-soft);
}

.map-frame__note {
  padding: 8px 14px;
  font-size: 13px;
  color: var(--ink-faint);
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.contact__qr {
  display: flex;
  justify-content: center;
}

.qr-card {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 30px 26px 26px;
  text-align: center;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.qr-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--ink);
}

.qr-card__img {
  width: 210px;
  height: 210px;
  object-fit: contain;
  margin: 0 auto 18px;
  background: #fff;
  border-radius: var(--radius-sm);
}

.qr-card__text {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.7;
}

.qr-card__hint {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--ink-faint);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--dark);
  color: #c3d1e0;
  padding: 64px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.footer__name {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.footer__slogan {
  font-size: 14px;
  color: #f2c078;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.footer__desc {
  font-size: 14.5px;
  color: #93a6bb;
  line-height: 1.8;
}

.footer__heading {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.footer__nav li {
  margin-bottom: 8px;
}

.footer__nav a {
  color: #c3d1e0;
  font-size: 15px;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__contact p {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 6px;
}

.footer__contact .tel-link {
  color: #9fc3ea;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 13.5px;
  color: #7d91a6;
}

.footer__icp a {
  color: #93a6bb;
  font-size: 13.5px;
}

.footer__icp a:hover {
  color: #fff;
}

/* ---------- 弹窗（团队成员详情） ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 24, 40, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 82vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px 30px;
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.28s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.modal__close:hover {
  background: var(--brand-50);
  color: var(--brand-700);
  transform: rotate(90deg);
}

.modal-member {
  text-align: center;
}

.modal-member__avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--brand-50);
}

.modal-member__name {
  font-size: 22px;
  font-weight: 700;
}

.modal-member__role {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 13.5px;
  font-weight: 600;
}

.modal-member__title {
  margin-top: 12px;
  font-size: 15.5px;
  color: var(--ink-soft);
}

.modal-member__intro {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
}

.modal-member__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.modal-member__note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.7;
}

.modal-member__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 120;
  background: var(--dark);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 15px;
  box-shadow: var(--shadow-lg);
}

.toast[hidden] {
  display: none;
}

/* ---------- 滚动显现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__scroll-icon,
  .btn,
  .service-card,
  .team-card {
    animation: none;
    transition: none;
  }
}

/* ==========================================================================
   响应式
   ========================================================================== */

/* 平板及以下：汉堡菜单 */
@media (max-width: 1023px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin-left: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 20px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav__list {
    flex-direction: column;
    gap: 2px;
  }

  .main-nav__link {
    display: block;
    padding: 13px 16px;
    font-size: 16.5px;
    border-radius: var(--radius-sm);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header__actions .btn--tel .btn__label {
    display: none;
  }

  .header__actions .btn--tel {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: var(--radius-sm);
    border-color: var(--line);
    background: #fff;
  }
}

@media (max-width: 767px) {
  .header__actions .btn--qr {
    display: none;
  }

  .header__actions {
    gap: 8px;
  }

  .brand__name {
    font-size: 15px;
  }

  .brand__slogan {
    display: none;
  }
}

/* 桌面端五列 → 三列 */
@media (max-width: 1100px) and (min-width: 901px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .qr-card {
    position: static;
    max-width: 380px;
  }
}

@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card {
    width: calc((100% - 24px) / 2);
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 420px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    width: 100%;
  }
}

/* ==========================================================================
   移动端细节
   ========================================================================== */
@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .section {
    padding: 64px 0;
    scroll-margin-top: calc(var(--header-h) + 4px);
  }

  .section--service-details {
    padding-top: 32px;
  }

  .section__head {
    margin-bottom: 40px;
  }

  .section__lead {
    font-size: 15.5px;
  }

  .hero {
    min-height: 92svh;
    padding: calc(var(--header-h) + 48px) 0 110px;
  }

  .hero__sub {
    font-size: 15.5px;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .about__block p,
  .list-check li {
    font-size: 15px;
  }

  .service-card__desc {
    font-size: 15px;
  }

  .service-card__name {
    font-size: 17.5px;
  }

  .accordion__trigger {
    padding: 18px 16px;
    gap: 14px;
  }

  .accordion__trigger-icon {
    width: 42px;
    height: 42px;
  }

  .accordion__trigger-name {
    font-size: 17.5px;
  }

  .accordion__trigger-desc {
    font-size: 14px;
    line-height: 1.6;
  }

  .accordion__panel-inner {
    padding: 4px 18px 24px;
  }

  .detail-list li,
  .detail-steps li {
    font-size: 15px;
  }

  .team-card__intro {
    font-size: 15px;
  }

  .contact__row {
    padding: 14px 16px;
  }

  .contact__row-value {
    font-size: 15.5px;
  }

  .contact__bus-lines {
    font-size: 15px;
  }

  .qr-card {
    padding: 24px 20px 20px;
  }

  .qr-card__img {
    width: 170px;
    height: 170px;
  }

  .qr-card__text {
    font-size: 15px;
  }

  .modal__panel {
    padding: 28px 20px 22px;
  }

  .modal-member__intro {
    font-size: 15px;
  }

  .map-frame iframe {
    height: 260px;
  }
}

/* 微信内置浏览器常用宽度兜底 */
@media (max-width: 360px) {
  .btn--lg {
    font-size: 16px;
    padding: 13px 22px;
  }

  .hero__actions {
    gap: 12px;
  }
}
