/* =============================================================================
   学校简介页（intro.htm）— 对齐设计稿：分区留白、双栏、统计条、轮播浮层、手风琴、表单
   依赖：先引入 style.css（使用 :root 变量）
   ============================================================================= */

.page-intro .intro-main {
  padding-top: 0;
}

/* -----------------------------------------------------------------------------
   内页 Hero
   ----------------------------------------------------------------------------- */
.intro-hero {
  position: relative;
}

.intro-hero-banner {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #0b1220;
}

.intro-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.92;
}

.intro-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.88) 34%,
    rgba(255, 255, 255, 0.2) 68%,
    rgba(10, 20, 40, 0.35) 100%
  );
  pointer-events: none;
}

.intro-hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.intro-hero-copy {
  max-width: min(520px, 92vw);
  padding: 24px 0 32px;
}

.intro-hero-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--zg-text);
  line-height: 1.2;
}

.intro-hero-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: #4a4f57;
}

.intro-breadcrumb {
  background: var(--zg-gray-100);
  border-bottom: 1px solid var(--zg-border);
}

.intro-breadcrumb-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 12px 0 13px;
  font-size: 13px;
  color: var(--zg-text-muted);
}

.intro-bc-link {
  color: var(--zg-text-secondary);
  transition: color 0.2s;
}

.intro-bc-link:hover {
  color: var(--zg-blue);
}

.intro-bc-sep {
  color: #b0b6bf;
  font-weight: 400;
}

.intro-bc-current {
  color: var(--zg-text);
  font-weight: 500;
}

/* -----------------------------------------------------------------------------
   通用区块
   ----------------------------------------------------------------------------- */
.intro-section {
  padding: clamp(56px, 8vw, 96px) 0 clamp(60px, 8.5vw, 100px);
}

.intro-surface-white {
  background: var(--zg-white);
}

.intro-surface-soft {
  position: relative;
  background: var(--zg-gray-50);
}

.intro-surface-soft::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  pointer-events: none;
  opacity: 0.4;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23c5d4e6' d='M0 70L160 55 320 78 520 48 720 82 900 52 1100 76 1280 60 1440 68V100H0z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
}

.intro-surface-muted {
  background: linear-gradient(180deg, #f3f5f8 0%, var(--zg-gray-50) 45%, #fafbfc 100%);
}

.intro-en {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--zg-blue);
  text-transform: uppercase;
}

.intro-en--center {
  text-align: center;
}

.intro-h2 {
  margin: 0 0 20px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  color: var(--zg-text);
  line-height: 1.25;
}

.intro-h2--center {
  text-align: center;
}

.intro-section-head {
  margin-bottom: clamp(36px, 5vw, 52px);
}

.intro-section-head--center {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.intro-sublead {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: #5c6370;
}

.intro-prose p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.85;
  color: #5c6370;
}

.intro-prose p:last-child {
  margin-bottom: 0;
}

.intro-figure {
  margin: 0;
}

.intro-media-img {
  width: 100%;
  border-radius: var(--zg-radius-lg);
  box-shadow: var(--zg-shadow-card);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* 双栏布局 */
.intro-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.intro-col-text {
  min-width: 0;
}

/* -----------------------------------------------------------------------------
   为什么选择追光：统计条
   ----------------------------------------------------------------------------- */
.intro-stats {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  max-width: none;
  width: 100%;
  margin: 0 auto clamp(36px, 5vw, 48px);
  padding: 22px 12px;
  background: var(--zg-white);
  border-radius: var(--zg-radius-md);
  border: 1px solid var(--zg-border);
  box-shadow: var(--zg-shadow-card);
}

.intro-stat {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  min-width: 0;
  padding: 0 8px;
}

.intro-stat-num {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  color: var(--zg-blue);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.intro-stat-label {
  font-size: 13px;
  color: var(--zg-text-muted);
  line-height: 1.45;
}

.intro-stat-sep {
  flex: 0 0 1px;
  width: 1px;
  align-self: center;
  min-height: 40px;
  background: linear-gradient(
    180deg,
    rgba(13, 110, 220, 0) 0%,
    rgba(13, 110, 220, 0.45) 35%,
    rgba(13, 110, 220, 0.45) 65%,
    rgba(13, 110, 220, 0) 100%
  );
}

/* -----------------------------------------------------------------------------
   大图轮播 + 左下浮层卡片 + 右下分页点
   ----------------------------------------------------------------------------- */
.intro-showcase-wrap {
  position: relative;
  border-radius: var(--zg-radius-lg);
  overflow: hidden;
  box-shadow: var(--zg-shadow-float);
  background: #0e1520;
}

.intro-showcase-swiper {
  border-radius: inherit;
}

.intro-showcase-swiper .swiper-slide {
  height: auto;
}

.intro-showcase-img {
  display: block;
  width: 100%;
  height: clamp(220px, 38vw, 420px);
  object-fit: cover;
}

.intro-showcase-ui {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  padding: clamp(14px, 2.5vw, 24px);
}

.intro-showcase-card {
  pointer-events: auto;
  align-self: flex-start;
  max-width: min(400px, 92%);
  padding: 20px 22px 18px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--zg-radius-md);
  box-shadow: 0 16px 48px rgba(15, 35, 70, 0.14);
  border: 1px solid rgba(230, 234, 240, 0.9);
}

.intro-showcase-card-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--zg-text);
}

.intro-showcase-card-text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #5c6370;
}

.intro-showcase-nav {
  display: flex;
  gap: 10px;
}

.intro-showcase-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--zg-blue);
  color: #fff;
  transition: background 0.2s, transform 0.15s;
}

.intro-showcase-btn:hover {
  background: var(--zg-blue-hover);
}

.intro-showcase-btn:active {
  transform: scale(0.96);
}

.intro-showcase-pagination {
  pointer-events: auto;
  position: absolute !important;
  right: clamp(14px, 2.5vw, 28px) !important;
  bottom: clamp(14px, 2.5vw, 24px) !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  display: flex !important;
  justify-content: flex-end;
  gap: 8px;
}

.intro-showcase-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.intro-showcase-pagination .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 4px;
  background: #fff;
}

/* -----------------------------------------------------------------------------
   资质列表
   ----------------------------------------------------------------------------- */
.intro-qual-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.intro-qual-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.intro-qual-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--zg-radius-sm);
  background: var(--zg-blue-soft);
  color: var(--zg-blue);
}

.intro-qual-h {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--zg-text);
}

.intro-qual-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #5c6370;
}

/* -----------------------------------------------------------------------------
   手风琴
   ----------------------------------------------------------------------------- */
.intro-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.intro-acc-item {
  border-radius: var(--zg-radius-md);
  overflow: hidden;
  border: 1px solid var(--zg-border);
  background: var(--zg-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.intro-acc-item.is-active {
  border-color: var(--zg-blue);
  box-shadow: 0 8px 28px rgba(13, 110, 220, 0.12);
}

.intro-acc-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px 16px;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--zg-text-secondary);
}

.intro-acc-item.is-active .intro-acc-trigger {
  background: var(--zg-blue);
  color: #fff;
}

.intro-acc-num {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.intro-acc-item.is-active .intro-acc-num {
  opacity: 1;
  color: #fff;
}

.intro-acc-label {
  font-size: 15px;
  font-weight: 700;
}

.intro-acc-toggle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  width: 28px;
  text-align: center;
  opacity: 0.75;
}

.intro-acc-panel {
  padding: 0 18px 16px 72px;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6370;
  border-top: 1px solid var(--zg-border);
  background: #fafbfd;
}

.intro-acc-item.is-active .intro-acc-panel {
  border-top-color: rgba(255, 255, 255, 0.25);
  background: rgba(13, 110, 220, 0.08);
  color: #3d4a5c;
}

.intro-acc-item.is-active .intro-acc-panel {
  padding-top: 12px;
}

.intro-acc-item:not(.is-active) .intro-acc-panel {
  display: none;
}

.intro-acc-item:not(.is-active) .intro-acc-trigger {
  color: var(--zg-text-secondary);
}

/* -----------------------------------------------------------------------------
   联系 + 表单
   ----------------------------------------------------------------------------- */
.intro-contact-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.intro-contact-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.intro-contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--zg-blue-soft);
  color: var(--zg-blue);
}

.intro-contact-k {
  display: block;
  font-size: 12px;
  color: var(--zg-text-muted);
  margin-bottom: 2px;
}

.intro-contact-v {
  font-size: 15px;
  color: var(--zg-text);
  line-height: 1.55;
}

a.intro-contact-v:hover {
  color: var(--zg-blue);
}

.intro-map-wrap {
  border-radius: var(--zg-radius-md);
  overflow: hidden;
  border: 1px solid var(--zg-border);
  background: var(--zg-gray-100);
  box-shadow: var(--zg-shadow-card);
}

.intro-map-placeholder {
  width: 100%;
  height: auto;
  min-height: 200px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  display: block;
}

.intro-form {
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--zg-radius-lg);
  border: 1px solid var(--zg-border);
  background: var(--zg-white);
  box-shadow: var(--zg-shadow-card);
}

.intro-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.intro-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.intro-field--full {
  grid-column: 1 / -1;
}

.intro-field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--zg-text-secondary);
}

.intro-field input,
.intro-field textarea {
  width: 100%;
  padding: 13px 14px;
  font-size: 14px;
  font-family: inherit;
  line-height: 1.45;
  color: var(--zg-text);
  background: #f4f6f9;
  border: 1px solid #e2e6ed;
  border-radius: var(--zg-radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.intro-field input::placeholder,
.intro-field textarea::placeholder {
  color: #9aa3ad;
}

.intro-field input:focus,
.intro-field textarea:focus {
  outline: none;
  border-color: rgba(13, 110, 220, 0.55);
  box-shadow: 0 0 0 3px var(--zg-blue-soft);
  background: #fff;
}

.intro-field textarea {
  resize: vertical;
  min-height: 120px;
}

.intro-form-submit {
  width: 100%;
  margin-top: 20px;
  padding: 13px 20px;
  border: 2px solid var(--zg-blue);
  border-radius: var(--zg-radius-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--zg-white);
  background: var(--zg-blue);
  box-shadow: 0 4px 14px rgba(13, 110, 220, 0.22);
  transition: background 0.2s, border-color 0.2s;
}

.intro-form-submit:hover {
  background: var(--zg-blue-hover);
  border-color: var(--zg-blue-hover);
}

/* -----------------------------------------------------------------------------
   响应式
   ----------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .intro-two-col {
    grid-template-columns: 1fr;
  }

  .intro-two-col--text-img .intro-col-media {
    order: -1;
  }

  .intro-two-col--img-text .intro-col-media {
    order: -1;
  }

  .intro-two-col--accordion-img .intro-col-media {
    order: -1;
  }

  .intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    padding: 20px 16px;
  }

  .intro-stat {
    flex-direction: column;
  }

  .intro-stat-sep {
    display: none;
  }

  .intro-showcase-img {
    height: clamp(200px, 48vw, 320px);
  }

  .intro-showcase-ui {
    position: relative;
    inset: auto;
    padding: 0;
    background: linear-gradient(180deg, #0e1520 0%, #121a28 100%);
  }

  .intro-showcase-card {
    max-width: none;
    width: 100%;
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--zg-border);
    box-shadow: none;
  }

  .intro-showcase-pagination {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    justify-content: center;
    padding: 14px 0 18px;
    background: #121a28;
  }

  .intro-showcase-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.35);
  }

  .intro-showcase-pagination .swiper-pagination-bullet-active {
    background: var(--zg-blue);
  }

  .intro-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .intro-hero-inner {
    align-items: flex-end;
    padding-bottom: 8px;
  }

  .intro-hero-copy {
    padding-bottom: 20px;
  }

  .intro-hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.88) 45%,
      rgba(255, 255, 255, 0.55) 100%
    );
  }

  .intro-stats {
    grid-template-columns: 1fr;
  }

  .intro-acc-panel {
    padding-left: 18px;
  }
}

