﻿*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif;
  color: #fff;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* —— 整页布局 —— */
.zyszxyy-guidance-page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.zyszxyy-guidance-page__bg {
    position: absolute;
  inset: 0;
  z-index: 0;
  background: url(../image/newYdImg/bg.png) bottom center no-repeat;
  background-size: cover;
  pointer-events: none;
  overflow: hidden;
}

.maxWidth {
  width: 1560px;
  margin: 0 auto;
  height: 100vh;
}

/* —— 顶部区域 —— */
.zyszxyy-guidance-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0px;
  /* background: rgba(0, 150, 150, 0.1); */
}

.zyszxyy-guidance-header__brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.zyszxyy-guidance-header__logo {
  width: 353px;
  object-fit: contain;
}

.zyszxyy-guidance-header__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.zyszxyy-guidance-header__title-cn {
  font-size: 24px;
  font-weight: 700;
  color: #006666;
  letter-spacing: 0.08em;
}

.zyszxyy-guidance-header__title-en {
  font-size: 12px;
  color: #006666;
  letter-spacing: 0.15em;
}

.zyszxyy-guidance-header__actions {
  display: flex;
  gap: 20px;
}

.zyszxyy-guidance-header__action-btn {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 1px solid #009CA0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: transparent;
}

.zyszxyy-guidance-header__action-btn:hover {
  /* background: #fff; */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.zyszxyy-guidance-hero__title {
  width: 90vh;
  height: auto;
}

.zyszxyy-guidance-header__action-btn img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.zyszxyy-guidance-header__wechat-btn {
  position: relative;
}

.zyszxyy-guidance-header__qrcode {
  position: absolute;
  top: calc(100% + 10px);
  right: -20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  width: 100px;
  height: 10px;
}
.zyszxyy-guidance-header__qrcode img {
  width: 10px;
  height: 10px;
}

.zyszxyy-guidance-header__wechat-btn:hover .zyszxyy-guidance-header__qrcode {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.zyszxyy-guidance-header__qrcode-label {
  background: linear-gradient(90deg, #07C160, #10B981);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.zyszxyy-guidance-header__qrcode-label::before {
  content: '';
  width: 18px;
  height: 18px;
  background: url('../image/newYdImg/wechat.png') center/contain no-repeat;
}

.zyszxyy-guidance-header__qrcode img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

/* —— 中部英雄区域 —— */
.zyszxyy-guidance-hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 4vh;
  overflow: hidden;
}

.zyszxyy-guidance-hero__banner {
  background: linear-gradient(90deg, #c4a454 0%, #d4b56a 50%, #c4a454 100%);
  padding: 10px 40px;
  border-radius: 25px;
  margin-bottom: 30px;
}

.zyszxyy-guidance-hero__banner span {
  font-size: 16px;
  color: #5a4a22;
  letter-spacing: 0.05em;
}

.zyszxyy-guidance-hero__title {
  font-size: 56px;
  font-weight: 700;
  color: #006666;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}



/* —— 底部主区域 —— */
.zyszxyy-guidance-main {
  position: absolute;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /* padding: 0 60px 40px; */
  gap: 15px;
  bottom: 40px;
}

/* —— 功能卡片区域 —— */
.zyszxyy-guidance-cards {
  display: flex;
  gap: 15px;
}

.zyszxyy-guidance-card {
  position: relative;
  width: 288px;
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(0, 80, 80, 0.85);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.zyszxyy-guidance-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  background: #218e90;
}
.zyszxyy-guidance-card:nth-child(2):hover {
  background: #c13d3c;
}
.zyszxyy-guidance-card:nth-child(3):hover {
  background: #aeb553;
}
.zyszxyy-guidance-card:nth-child(4):hover {
  background: #2878b8;
}

.zyszxyy-guidance-card__icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.zyszxyy-guidance-card__label {
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  line-height: 28px;
  margin-top: 16px;  
}

.zyszxyy-guidance-card__label-en {
  font-family: Microsoft YaHei;
  font-weight: 400;
  font-size: 14px;
  line-height: 12px;  
}

/* —— 侧边栏 —— */
.zyszxyy-guidance-sidebar {
  width: 348px;
  height: 240px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* padding: 24px; */
  background: rgba(0, 80, 80, 0.85);
  border-radius: 8px;
}
.zyszxyy-guidance-sidebar .btn {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
}
.zyszxyy-guidance-sidebar .info {
  padding: 0 20px;
  border-top: 1px solid #267679;
  padding-top: 20px;
}
.zyszxyy-guidance-sidebar p {
  font-size: 14px;
  color: #fff;
  line-height: 24px;
}

.zyszxyy-guidance-sidebar__btn {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  flex-direction: row;  
  justify-content: center;   
  border-radius: 8px;
  transition: all 0.2s ease;
}

.zyszxyy-guidance-sidebar__btn--is-home {
  background: #aeb553;
  color: #fff;
}

.zyszxyy-guidance-sidebar__btn--is-dept {
  background: #AEB553;
  color: #fff;
}

.zyszxyy-guidance-sidebar__btn:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.zyszxyy-guidance-sidebar__btn-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  margin-top: 10px;
  margin-bottom: 8px;
}

.zyszxyy-guidance-sidebar__btn span {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding-left: 12px;  
}
/* —— 1500px 屏幕兼容 —— */
@media (max-width: 1500px) {
  .maxWidth {
    width: 1200px;
  }
  
  .zyszxyy-guidance-header__logo {
    width: 300px;
  }
  
  .zyszxyy-guidance-header__action-btn {
    width: 55px;
    height: 55px;
  }
  
  .zyszxyy-guidance-header__action-btn img {
    width: 28px;
    height: 28px;
  }
  
  .zyszxyy-guidance-hero__title {
    width: 800px;
    height: 110px;
  }
  
  .zyszxyy-guidance-card {
    width: 211px;
    height: 200px;
  }
      
  
  .zyszxyy-guidance-card__icon {
    width: 60px;
    height: 60px;
  }
  
  .zyszxyy-guidance-card__label {
    font-size: 24px;
    line-height: 24px;  
  }
  
  .zyszxyy-guidance-card__label-en {
    font-size: 12px;
    line-height: 10px;  
  }
  
  .zyszxyy-guidance-sidebar {
    width: 290px;
    height: 200px;
  }
  
  .zyszxyy-guidance-sidebar__btn {
    height: 60px;
  }
  
  .zyszxyy-guidance-sidebar__btn-icon {
    width: 32px;
    height: 32px;
    margin-top: 10px;
  }
  
  .zyszxyy-guidance-sidebar__btn span {
    font-size: 20px;
  }
  
  .zyszxyy-guidance-sidebar p {
    font-size: 12px;
  }
  .zyszxyy-guidance-sidebar .info {
    padding: 0 20px;
    padding-top: 10px;    
  }
}

/* —— 响应式设计 —— */
@media (max-width: 1200px) {
  .zyszxyy-guidance-header {
    padding: 15px 25px;
  }

  .zyszxyy-guidance-header__logo {
    width: 65px;
    height: 65px;
  }

  .zyszxyy-guidance-header__title-cn {
    font-size: 20px;
  }

  .zyszxyy-guidance-hero__title {
    font-size: 44px;
  }

  .zyszxyy-guidance-card {
    width: 140px;
    height: 160px;
  }

  .zyszxyy-guidance-card__icon {
    width: 48px;
    height: 48px;
  }

  .zyszxyy-guidance-card__label {
    font-size: 16px;
  }

  .zyszxyy-guidance-main {
    padding: 0 30px 30px;
  }
}

@media (max-width: 900px) {
  body {
    overflow-y: auto;
  }

  .zyszxyy-guidance-page {
    min-height: 100vh;
  }

  .zyszxyy-guidance-page__bg {
    background: url("../image/phoneNewYdImg/bg.jpg") bottom center / cover no-repeat;
    background-size: 100% 100%;
  }

  .maxWidth {
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 0 15px;
  }

  .zyszxyy-guidance-header {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    padding: 15px 0;
    text-align: left;
  }

  .zyszxyy-guidance-header__brand {
    flex-direction: row;
    gap: 10px;
  }

  .zyszxyy-guidance-header__logo {
    width: 60px;
    height: 60px;
  }

  .zyszxyy-guidance-header__title-cn {
    font-size: 16px;
    font-weight: 700;
    color: #006666;
  }

  .zyszxyy-guidance-header__title-en {
    font-size: 10px;
    color: #006666;
  }

  .zyszxyy-guidance-header__action-btn {
    width: 45px;
    height: 45px;
    border-radius: 6px;
  }

  .zyszxyy-guidance-header__action-btn img {
    width: 22px;
    height: 22px;
  }

  .zyszxyy-guidance-hero {
    padding: 20px 0;
    margin-top: 0;
    margin-top: 30px;
  }

  .zyszxyy-guidance-hero__title {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
  }

  .zyszxyy-guidance-hero__banner {
    display: none;
  }

  .zyszxyy-guidance-main {
    position: static;
    flex-direction: column;
    align-items: center;
    padding: 15px 0 30px;
    gap: 15px;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 200px;
  }

  .zyszxyy-guidance-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 100%;
  }

  .zyszxyy-guidance-card {
    width: 100%;
    height: 190px;
    min-width: auto;
    gap: 6px;
    padding: 10px;
  }

  .zyszxyy-guidance-card__icon {
    width: 45px;
    height: 45px;
  }

  .zyszxyy-guidance-card__label {
    font-size: 16px;
    font-weight: 400;
  }

  .zyszxyy-guidance-card__label-en {
    font-size: 11px;
  }

  .zyszxyy-guidance-sidebar {
    width: 100%;
    min-width: auto;
    height: auto;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    position: relative;  
  }

  .zyszxyy-guidance-sidebar .btn {
    display: flex;
    gap: 10px;
    padding: 0;
    margin-bottom: 10px;
  }

  .zyszxyy-guidance-sidebar__btn {
    width: 100%;
    height: 65px;
    flex-direction: row;
    justify-content: center;
    display: flex;  
  }

  .zyszxyy-guidance-sidebar__btn-icon {
    width: 24px;
    height: 24px;
    margin: 0;
  }

  .zyszxyy-guidance-sidebar__btn span {
    font-size: 14px;
  }

  .zyszxyy-guidance-sidebar .info {
    padding: 15px 0 0;
    text-align: center;
  }

  .zyszxyy-guidance-sidebar p {
    font-size: 11px;
    margin-top: 5px;
  }
}

@media (max-width: 600px) {
  .zyszxyy-guidance-header__logo {
    width: 228px;
  }

  .zyszxyy-guidance-header__title-cn {
    font-size: 14px;
  }

  .zyszxyy-guidance-header__action-btn {
    width: 40px;
    height: 40px;
  }

  .zyszxyy-guidance-header__action-btn img {
    width: 20px;
    height: 20px;
  }

  .zyszxyy-guidance-hero__title {
    max-width: 260px;
  }

  .zyszxyy-guidance-card {
    height: 190px;
  }

  .zyszxyy-guidance-card__icon {
    width: 65px;
    height: 65px;
  }

  .zyszxyy-guidance-card__label {
    font-size: 16px;
  }

  .zyszxyy-guidance-card__label-en {
    font-size: 11px;
  }

  .zyszxyy-guidance-sidebar__btn {
    height: 95px;
  }

  .zyszxyy-guidance-sidebar__btn-icon {
    width: 30px;
    height: 30px;
  }

  .zyszxyy-guidance-sidebar__btn span {
    font-size: 16px;
  }
  .zyszxyy-guidance-sidebar {
    position: relative;
  }

  .zyszxyy-guidance-sidebar p {
    font-size: 13px;
    text-align: left;
  }
}