/* =============================================================================
   追光职业培训学校 — 首页样式（对齐设计稿：白底分区、企业蓝、细阴影、远山底纹）
   ============================================================================= */

:root {
  /* 主色：偏亮的企业蓝，接近常见职教类主视觉 */
  --zg-blue: #0d6edc;
  --zg-blue-hover: #0b5ec4;
  --zg-blue-soft: rgba(13, 110, 220, 0.1);
  --zg-red-accent: #d32f2f;
  --zg-text: #1a1a1a;
  --zg-text-secondary: #4a4f57;
  --zg-text-muted: #7a8088;
  --zg-border: #e6eaf0;
  --zg-white: #ffffff;
  --zg-gray-50: #f7f8fa;
  --zg-gray-100: #eef1f5;
  --zg-footer: #1a1d22;
  --zg-radius-sm: 6px;
  --zg-radius-md: 10px;
  --zg-radius-lg: 14px;
  --zg-shadow-card: 0 2px 12px rgba(15, 35, 70, 0.06), 0 8px 28px rgba(15, 35, 70, 0.06);
  --zg-shadow-float: 0 12px 40px rgba(20, 45, 90, 0.1);
  --zg-max: 1200px;
  --zg-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--zg-font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--zg-text-secondary);
  background: var(--zg-white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--zg-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-pad {
  padding: 72px 0 80px;
}

/* 分区底纹：浅灰区 + 底部远山水印（与设计稿「分区远山」一致） */
.section-surface-white {
  background: var(--zg-white);
}

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

.section-surface-soft::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  pointer-events: none;
  opacity: 0.45;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23b8c9dc' d='M0 80L120 65 280 90 420 55 580 85 740 50 900 88 1040 62 1200 78 1440 60V120H0z'/%3E%3Cpath fill='%23d0dbe8' d='M0 100L180 88 360 105 540 82 720 98 900 75 1080 92 1260 85 1440 90V120H0z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
}

.section-surface-faculty {
  position: relative;
  background: linear-gradient(180deg, var(--zg-gray-100) 0%, var(--zg-gray-50) 55%, #f3f5f8 100%);
}

.section-surface-faculty::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  pointer-events: none;
  opacity: 0.5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='%23aabdd4' d='M0 90L160 70 340 100 520 60 700 95 880 65 1060 88 1240 72 1440 85V140H0z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
}

/* -----------------------------------------------------------------------------
   头部
   ----------------------------------------------------------------------------- */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--zg-white);
  border-bottom: 1px solid #d9e8f7;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand-logo {

  height: 62px;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.main-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 32px;
  flex: 1;
  min-width: 0;
}

.main-nav-item {
  position: relative;
}

.main-nav-item > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.main-nav-item.active > .nav-link {
  color: var(--zg-blue);
}

/* has-children：模板输出；:has(.nav-submenu) 作后备，避免 CMS 在子栏目页未打上 has-children 时箭头消失 */
.main-nav-item.has-children > .nav-link::after,
.main-nav-item:has(> .nav-submenu) > .nav-link::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
  vertical-align: middle;
}

.nav-submenu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 168px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 2px);
  background: var(--zg-white);
  border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-sm);
  box-shadow: var(--zg-shadow-card);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1001;
}

/* 填补一级与下拉之间的空隙，避免鼠标经过时 :hover 断开导致菜单闪退、无法点击二级 */
.nav-submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.main-nav-item:hover .nav-submenu,
.main-nav-item:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-submenu li {
  margin: 0;
}

.nav-submenu-link {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--zg-text-secondary);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-submenu-link:hover {
  color: var(--zg-blue);
  background: var(--zg-blue-soft);
}

.nav-submenu-link.active {
  color: var(--zg-blue);
  font-weight: 600;
}

.nav-link {
  font-size: 15px;
  color: var(--zg-text-secondary);
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

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

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--zg-blue);
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--zg-text);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* -----------------------------------------------------------------------------
   首屏 Hero：设计稿 1920×1080（16:9），高度随屏宽等比缩放，避免小屏裁切
   ----------------------------------------------------------------------------- */
.section-hero {
  position: relative;
}

.hero-swiper {
  width: 100%;
  /* 56.25vw = 9÷16×100vw，与 1920×1080 同比例 */
  height: clamp(220px, 56.25vw, 1080px);
}

.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  height: 100%;
}

.hero-slide {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

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

/* 屏高较矮的笔记本：略降高度，仍铺满宽度无左右留白 */
@media (max-height: 820px) and (min-width: 769px) {
  .hero-swiper {
    height: min(56.25vw, 80vh, 1080px);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 30, 60, 0.15) 0%,
    rgba(0, 25, 55, 0.35) 45%,
    rgba(0, 20, 45, 0.72) 100%
  );
}

.hero-caption {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 16px 56px;
  width: 100%;
}

.hero-title {
  margin: 0;
  font-size: clamp(28px, 5.5vw, 52px);
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.35;
  filter: drop-shadow(2px 2px 0 rgba(198, 40, 40, 0.82)) drop-shadow(-1px -1px 0 rgba(13, 110, 220, 0.9))
    drop-shadow(0 10px 26px rgba(0, 0, 0, 0.42));
}

/* 渐变填充 + 外层 filter 描边，贴近稿图立体标语 */
.hero-title-inner {
  display: inline-block;
  background: linear-gradient(185deg, #ffffff 0%, #cde4ff 38%, #6eb0ff 72%, #0d6edc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-pagination {
  bottom: 20px !important;
}

.hero-pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: #fff;
  opacity: 0.5;
}

.hero-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--zg-blue);
  transform: scale(1.2);
}

/* -----------------------------------------------------------------------------
   学校介绍：标题黑字 + 蓝下划线；四宫格左图标右文案
   ----------------------------------------------------------------------------- */
.section-about {
  padding-top: 88px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-main-title {
  margin: 0 0 22px;
  font-size: 32px;
  font-weight: 800;
  color: var(--zg-text);
  letter-spacing: 0.04em;
}

.about-main-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--zg-blue);
}

.about-lead {
  margin: 0 0 32px;
  color: var(--zg-text-secondary);
  font-size: 15px;
  line-height: 1.85;
  text-align: justify;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}

.feature-item {
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
}

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

.feature-body {
  min-width: 0;
}

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

.feature-desc {
  margin: 0;
  font-size: 13px;
  color: var(--zg-text-muted);
  line-height: 1.65;
}

.about-photo-wrap {
  margin: 0;
  border-radius: var(--zg-radius-lg);
  overflow: hidden;
  box-shadow: var(--zg-shadow-float);
}

.about-photo {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
}

/* -----------------------------------------------------------------------------
   学员案例
   ----------------------------------------------------------------------------- */
.section-heading-center {
  margin: 0 0 8px;
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  color: var(--zg-text);
  letter-spacing: 0.06em;
}

.section-heading-sub {
  margin: 0 0 44px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--zg-text-muted);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.case-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 20px 22px;
  background: var(--zg-white);
  border-radius: var(--zg-radius-lg);
  border: 1px solid var(--zg-border);
  box-shadow: var(--zg-shadow-card);
}

.case-photo {
  border-radius: var(--zg-radius-md);
  overflow: hidden;
  min-height: 128px;
}

.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-headline {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--zg-text);
  line-height: 1.45;
}

.case-meta {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--zg-text-muted);
  letter-spacing: 0.04em;
}

.case-quote {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--zg-text-secondary);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-outline {
  display: inline-block;
  padding: 7px 20px;
  border: 1px solid var(--zg-blue);
  border-radius: 999px;
  background: var(--zg-white);
  color: var(--zg-blue);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--zg-blue);
  color: var(--zg-white);
}

/* -----------------------------------------------------------------------------
   六大职业技能
   ----------------------------------------------------------------------------- */
.skills-layout {
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: 36px;
  align-items: start;
}

.skills-tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skills-tab {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-sm);
  background: var(--zg-white);
  color: var(--zg-text-secondary);
  text-align: left;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.skills-tab-ico {
  display: flex;
  color: var(--zg-blue);
  opacity: 0.75;
}

.skills-tab.is-active .skills-tab-ico {
  color: #fff;
  opacity: 1;
}

.skills-tab .tab-num {
  font-weight: 800;
  font-size: 14px;
  min-width: 26px;
  opacity: 0.9;
}

.skills-tab .tab-label {
  font-size: 15px;
  font-weight: 600;
}

.skills-tab.is-active {
  background: var(--zg-blue);
  color: #fff;
  border-color: var(--zg-blue);
  box-shadow: 0 6px 18px rgba(13, 110, 220, 0.28);
}

.skills-panels {
  position: relative;
  min-height: 400px;
}

.skill-panel {
  display: none;
  animation: panelIn 0.35s ease;
}

.skill-panel.is-active {
  display: block;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skill-panel-img {
  border-radius: var(--zg-radius-lg);
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: var(--zg-shadow-float);
}

.skill-panel-img img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}

.skill-panel-text {
  position: relative;
  padding-left: 4px;
}

.skill-big-num {
  display: block;
  font-size: 76px;
  font-weight: 900;
  line-height: 1;
  color: #e2e8f0;
  letter-spacing: -0.03em;
}

.skill-panel-title {
  margin: -52px 0 12px 6px;
  font-size: 24px;
  font-weight: 800;
  color: var(--zg-text);
  position: relative;
}

.skill-panel-desc {
  margin: 0 0 0 6px;
  max-width: 640px;
  color: var(--zg-text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

/* -----------------------------------------------------------------------------
   经验型讲师团队：左 35% 文案+分页；右 65% 每页三张竖版肖像
   ----------------------------------------------------------------------------- */
.faculty-block {
  position: relative;
  z-index: 1;
}

.faculty-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 35%) minmax(0, 1fr);
  gap: 40px 48px;
  align-items: start;
}

.faculty-section-title {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 800;
  color: var(--zg-text);
  letter-spacing: 0.04em;
}

.faculty-name {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  color: var(--zg-text);
}

.faculty-bio {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--zg-text-secondary);
  line-height: 1.85;
  text-align: justify;
}

.faculty-pagination {
  position: relative !important;
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  transform: none !important;
  width: auto !important;
}

.faculty-pagination .swiper-pagination-bullet {
  margin: 0 !important;
  width: 9px;
  height: 9px;
  background: var(--zg-blue);
  opacity: 0.35;
}

.faculty-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.15);
}

.faculty-col-right {
  min-width: 0;
  overflow: visible;
}

.faculty-swiper {
  width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  /* 左右留白，避免首张/末张选中描边被裁切 */
  padding: 8px 10px 6px;
  box-sizing: border-box;
}

.faculty-swiper .swiper-slide {
  overflow: visible;
}

.faculty-slide {
  height: auto;
  overflow: visible;
}

.faculty-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 4px 2px;
  align-items: start;
}

.faculty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 5px;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: center;
  border-radius: calc(var(--zg-radius-lg) + 6px);
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow 0.25s ease;
}

.faculty-card:focus-visible {
  outline: 2px solid var(--zg-blue);
  outline-offset: 4px;
}

.faculty-card.is-active {
  box-shadow: 0 0 0 3px var(--zg-blue);
}

.faculty-portrait {
  display: block;
  width: 100%;
  border-radius: var(--zg-radius-lg);
  overflow: hidden;
  box-shadow: var(--zg-shadow-card);
  aspect-ratio: 3 / 4;
}

.faculty-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.faculty-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--zg-text);
  line-height: 1.4;
}

/* -----------------------------------------------------------------------------
   办学优势：coverflow + slide 宽度；底部六图标
   ----------------------------------------------------------------------------- */
.advantages-swiper-wrap {
  max-width: 1000px;
  margin: 0 auto 32px;
  padding: 8px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advantages-swiper {
  width: 100%;
  overflow: visible;
  padding-bottom: 8px;
}

.advantages-swiper .swiper-slide {
  width: 78%;
  max-width: 640px;
}

@media (min-width: 768px) {
  .advantages-swiper .swiper-slide {
    width: 58%;
    max-width: 720px;
  }
}

.advantages-slide {
  border-radius: var(--zg-radius-lg);
  overflow: hidden;
  box-shadow: var(--zg-shadow-float);
}

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

.advantages-pagination {
  position: relative !important;
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  transform: none !important;
  width: 100% !important;
}

.advantages-pagination .swiper-pagination-bullet {
  margin: 0 !important;
  background: var(--zg-blue);
  opacity: 0.35;
}

.advantages-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

.advantages-icons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 32px 52px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.advantages-icons li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--zg-text-secondary);
  line-height: 1.35;
}

.advantages-icons li > span:last-child {
  white-space: nowrap;
}

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

.adv-icon--svg svg {
  display: block;
  width: 30px;
  height: 30px;
}

/* -----------------------------------------------------------------------------
   页脚：四栏（多品牌 Logo + 咨询时间 | 有用链接 | 快速入口 | 品牌关系）
   ----------------------------------------------------------------------------- */
.site-footer {
  background: #1a1a1a;
  color: #e8eaed;
}

.footer-top {
  display: grid;
  /* 第一列加宽，避免三枚横向 logo 与「有用链接」挤在一起 */
  grid-template-columns: minmax(0, 2fr) minmax(0, 0.72fr) minmax(0, 0.8fr) minmax(0, 0.92fr);
  gap: 40px 44px;
  padding: 48px 20px 44px;
  align-items: start;
}

.footer-brand-col {
  min-width: 0;
  padding-right: 4px;
}

.footer-logos {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  align-items: center;
  justify-items: start;
  column-gap: 22px;
  row-gap: 0;
  margin-bottom: 20px;
}

.footer-partner-logo {
  display: block;
  height: auto;
  width: auto;
  max-height: 46px;
  max-width: 168px;
  object-fit: contain;
  object-position: left center;
}

/* 各品牌长宽比不同，在统一高度下用 max-width 控制视觉体量，避免某一枚过大或过小 */
.footer-partner-logo--main {
  max-width: 176px;
}

.footer-partner-logo--haofuqi {
  max-width: 128px;
}

.footer-partner-logo--drg {
  max-height: 46px;
  max-width: 120px;
}

.footer-service-hours {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.footer-col-title {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 1px;
  background: var(--zg-blue);
}

.footer-brand-rel-text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.footer-brand-rel-text:last-child {
  margin-bottom: 0;
}

.footer-link-col a {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s;
}

.footer-link-col a:hover {
  color: #fff;
}

.footer-col-contact p {
  margin: 0 0 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.footer-col-contact a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-qr-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-qr {
  width: 112px;
  height: 112px;
  border-radius: var(--zg-radius-sm);
  background: #fff;
  color: var(--zg-text-secondary);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.35;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-qr-hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 120px;
  line-height: 1.4;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0 26px;
}

.footer-copy {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-logos {
    column-gap: 18px;
  }

  .footer-partner-logo {
    max-height: 42px;
  }

  .footer-partner-logo--main {
    max-width: 156px;
  }

  .footer-partner-logo--haofuqi {
    max-width: 112px;
  }

  .footer-partner-logo--drg {
    max-height: 42px;
   
  }
}

/* -----------------------------------------------------------------------------
   响应式
   ----------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .section-pad {
    padding: 52px 0 60px;
  }

  .nav-toggle {
    display: flex;
  }

  .header-phone {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    background: var(--zg-white);
    border-bottom: 1px solid var(--zg-border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }

  .site-header.nav-open .main-nav {
    max-height: min(85vh, 640px);
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav-list {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
  }

  .main-nav-item {
    border-bottom: 1px solid #f0f2f5;
  }

  .main-nav-item.has-children > .nav-link::after,
  .main-nav-item:has(> .nav-submenu) > .nav-link::after {
    display: none;
  }

  .nav-submenu {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    padding: 0 0 4px;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--zg-gray-50);
  }

  .nav-submenu-link {
    padding: 10px 20px 10px 32px;
    white-space: normal;
    font-size: 14px;
    border-top: 1px solid #eceff3;
  }

  .nav-link {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f2f5;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-right {
    order: -1;
  }

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

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

  .case-card {
    grid-template-columns: 108px 1fr;
    gap: 14px;
    padding: 16px;
  }

  .skills-layout {
    grid-template-columns: 1fr;
  }

  .skills-tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 6px;
    margin-bottom: 8px;
  }

  .skills-tabs li {
    flex: 0 0 auto;
  }

  .skills-tab {
    white-space: nowrap;
    padding: 11px 14px;
  }

  .skill-big-num {
    font-size: 58px;
  }

  .skill-panel-title {
    margin-top: -42px;
    font-size: 20px;
  }

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

  .faculty-pagination {
    justify-content: center;
  }

  .faculty-swiper {
    padding-left: 8px;
    padding-right: 8px;
  }

  .faculty-trio {
    gap: 18px;
  }

  .faculty-card {
    padding: 4px;
  }

  .faculty-card-name {
    font-size: 13px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logos {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    column-gap: 12px;
    max-width: 100%;
  }

  .footer-partner-logo {
    max-height: 38px;
    object-position: center;
  }

  .footer-partner-logo--main {
    max-width: 132px;
  }

  .footer-partner-logo--haofuqi {
    max-width: 100px;
  }

  .footer-partner-logo--drg {
    max-height: 38px;
   
  }

  .footer-col-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-link-col a {
    margin-bottom: 8px;
  }

  .advantages-icons {
    flex-wrap: wrap;
    gap: 28px 36px;
  }

  .advantages-icons li {
    font-size: 13px;
  }

  .adv-icon {
    width: 58px;
    height: 58px;
  }

  .adv-icon--svg svg {
    width: 26px;
    height: 26px;
  }
}
