/* ===========================================================
   广西人力资源外包服务 - 静态页面样式
   =========================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, "Segoe UI", Arial, sans-serif;
  color: #333;
  background: #fff;
  font-size: 14px;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.type-area { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* ===== 顶部深色半透明导航 ===== */
#header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .7);
  color: #fff;
  height: 56px;
}
#header .h-wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }

.h-left { display: flex; align-items: center; min-width: 0; }

.gp-logo {
  display: inline-block;
  width: 104px; height: 39px;
  background: url("../images/logo7.svg") no-repeat center/contain;
  margin-right: 20px;
}

.site-nav { display: flex; align-items: center; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }

.site-select { display: flex; align-items: center; gap: 4px; font-size: 14px; white-space: nowrap; padding-right: 14px; }
.site-select .loc { font-style: normal; }
.site-select .switch { font-size: 12px; color: #bbb; cursor: pointer; }
.site-select .name { color: #ff6000; font-weight: 600; margin-right: 2px; }

.commontags { padding: 0 12px; position: relative; white-space: nowrap; }
.commontags p { font-size: 15px; color: #fff; transition: .2s; }
.commontags p:hover { color: #ff6000; }
.commontags.active p { color: #ef6400; }
.commontags.hot { position: relative; }
.commontags.hot::after {
  content: "HOT";
  position: absolute;
  top: -4px; right: -2px;
  font-size: 9px;
  color: #ff6000;
  font-weight: 700;
}

.active-box { position: relative; white-space: nowrap; }
.active-box p { font-size: 15px; color: #fff; cursor: pointer; }
.active-box:hover p { color: #ff6000; }

.hide-drop {
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  color: #333;
  min-width: 96px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0, 0, 0, .2);
  opacity: 0; visibility: hidden;
  transition: .3s;
  padding: 6px 0;
  z-index: 99;
}
.active-box:hover .hide-drop { opacity: 1; visibility: visible; }
.hide-drop a { display: block; line-height: 32px; text-align: center; font-size: 14px; color: #333; }
.hide-drop a:hover { font-weight: 600; color: #ff6000; }

.h-right { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.h-right button {
  padding: 0 16px; height: 30px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 2px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
}
.h-right button:hover { color: #ff6000; border-color: #ff6000; }

.menu-toggle { display: none; font-size: 22px; color: #fff; cursor: pointer; padding: 0 4px; }

/* ===== 面包屑 ===== */
.crumb-wrap { padding: 74px 0 12px; font-size: 13px; color: #666; }
.crumb-wrap a:hover { color: #ff6000; }

/* ===== banner 图片横幅 ===== */
.banner {
  max-width: 1400px;
  margin: 0 auto 50px;
  height: 480px;
  border-radius: 14px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
  background: #dfe7ee url("../images/bg.jpg") no-repeat center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.banner h1 { font-size: 52px; color: #213141; line-height: 1.8; letter-spacing: 6px; }
.banner .classification { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; font-size: 19px; color: #333; }
.banner .classification .gap { width: 1px; height: 16px; background: #a8a2ae; margin: 0 15px; }
.banner .hello { font-size: 19px; color: #333; }
.banner .tel-box { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 40px; font-size: 16px; color: #333; margin-top: 6px; }

/* ===== 标题内容 ===== */
.title-content { display: flex; gap: 40px; align-items: flex-start; padding: 0 0 10px; }
.title-content .title {
  flex: 0 0 380px;
  font-size: 34px;
  line-height: 1.6;
  color: #222f3f;
  font-weight: 600;
  padding-left: 22px;
  border-left: 6px solid #ff6000;
}
.title-content .title span { color: #0596e5; }
.title-content .content { flex: 1; min-width: 0; }
.title-content .content p { font-size: 16px; line-height: 1.9; color: #5e6166; text-align: justify; margin-bottom: 12px; }

/* ===== 核心优势四卡 ===== */
.card-list { display: flex; justify-content: space-between; gap: 16px; margin: 40px 0 20px; flex-wrap: wrap; }
.card-list .item {
  flex: 1 1 260px;
  max-width: 348px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
  background: #fff;
}
.card-list .item .title-text {
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.card-list .item:nth-child(1) .title-text { background-color: #4a80d2; background-image: url("../images/bg1.png"); }
.card-list .item:nth-child(2) .title-text { background-color: #3f7fd0; background-image: url("../images/bg2.png"); }
.card-list .item:nth-child(3) .title-text { background-color: #ef6a44; background-image: url("../images/bg3.png"); }
.card-list .item:nth-child(4) .title-text { background-color: #35b98a; background-image: url("../images/bg4.png"); }
.card-list .item .title-des { padding: 6px 26px 22px; }
.card-list .item .title-des .title { line-height: 2.2; font-size: 18px; color: #3d4550; font-weight: 600; }
.card-list .item .title-des .des { font-size: 13px; line-height: 1.8; color: #6a6d72; text-align: justify; }

/* ===== 最新动态 / 战略合作 ===== */
.recent-news, .cooperation { margin-top: 40px; }
.recent-news > .title, .cooperation > .title { line-height: 2.2; font-size: 30px; color: #132030; font-weight: 600; }

.news-list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 50px; row-gap: 2px; }
.news-list li { display: flex; align-items: center; justify-content: space-between; line-height: 44px; padding: 0 10px; transition: .2s; }
.news-list li:hover { background: #f3f6fb; }
.news-list li a { font-size: 15px; color: #333; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-list li:hover a { color: #ff6000; }
.news-list li .arrow { color: #ff6000; opacity: 0; font-weight: 600; margin-left: 8px; transition: .2s; }
.news-list li:hover .arrow { opacity: 1; }

/* ===== 成为合作伙伴 ===== */
.cooperation-card {
  max-width: 960px;
  height: 224px;
  border-radius: 8px;
  margin: 44px auto;
  background: #1e9fe0 url("../images/bg5.png") no-repeat center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
}
.cooperation-card .title { font-size: 28px; line-height: 1.6; color: #fff; font-weight: 600; }
.cooperation-card p { font-size: 15px; color: #fff; line-height: 1.7; }
.cooperation-card .tel {
  margin-top: 12px;
  height: 38px;
  line-height: 36px;
  padding: 0 24px;
  background: #fff;
  color: #393939;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== 服务客户 ===== */
.client-box .title-box { text-align: center; padding-top: 20px; }
.client-box .title-box .title { font-size: 30px; color: #2b3848; font-weight: 600; }
.client-box .title-box .english { font-size: 20px; color: #cfcfcf; position: relative; margin: 10px 0; }
.client-box .title-box .english::before { left: -58px; }
.client-box .title-box .english::after { right: -58px; }
.client-box .title-box .des { font-size: 17px; color: #666668; }

.client-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 26px;
  border-top: 1px solid #ebebeb;
  border-left: 1px solid #ebebeb;
}
.client-wall li {
  height: 150px;
  border-right: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
  background: #fff center/70% no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c5cbd3;
  font-size: 14px;
  transition: .3s;
}
.client-wall li:hover { background-size: 85%; }

.client-wall li:nth-child(1)  { background-image: url("../images/logo/001.jpg"); }
.client-wall li:nth-child(2)  { background-image: url("../images/logo/002.jpg"); }
.client-wall li:nth-child(3)  { background-image: url("../images/logo/003.jpg"); }
.client-wall li:nth-child(4)  { background-image: url("../images/logo/004.jpg"); }
.client-wall li:nth-child(5)  { background-image: url("../images/logo/005.jpg"); }
.client-wall li:nth-child(6)  { background-image: url("../images/logo/006.jpg"); }
.client-wall li:nth-child(7)  { background-image: url("../images/logo/007.jpg"); }
.client-wall li:nth-child(8)  { background-image: url("../images/logo/008.jpg"); }
.client-wall li:nth-child(9)  { background-image: url("../images/logo/009.jpg"); }
.client-wall li:nth-child(10) { background-image: url("../images/logo/010.jpg"); }

/* ===== 分隔线 ===== */
.line1 { height: 1px; background: #ebebeb; margin: 46px 0 0; }

/* ===== 页脚 ===== */
footer { background: #333942; color: #9aa2ad; padding: 30px 0 24px; text-align: center; }
footer .footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin-bottom: 14px; font-size: 14px; }
footer .footer-menu a { color: #c6ccd4; padding: 0 14px; border-right: 1px solid #4a5058; }
footer .footer-menu a:last-child { border-right: none; }
footer .footer-menu a:hover { color: #ff6000; }
footer .des { text-align: center; font-size: 12px; line-height: 2.1; color: #828a94; }
footer .des a { color: #828a94; }
footer .des a:hover { color: #ff6000; }
footer .link-box { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 12px; }

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
  .news-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .title-content { flex-direction: column; gap: 16px; }
  .title-content .title { flex: auto; border-left: none; border-bottom: 3px solid #ff6000; padding-left: 0; padding-bottom: 8px; }
  .client-wall { grid-template-columns: repeat(3, 1fr); }
  .banner { height: auto; padding: 60px 16px; }
  .banner h1 { font-size: 36px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 56px; left: 0; right: 0;
    background: rgba(0, 0, 0, .92);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
    overflow: visible;
  }
  .site-nav.open { display: flex; }
  .commontags p, .active-box p { line-height: 44px; display: block; }
  .site-select { line-height: 44px; padding: 0 14px; }
  .hide-drop { position: static; opacity: 1; visibility: visible; box-shadow: none; background: transparent; display: none; padding: 0; }
  .active-box:hover .hide-drop { display: block; }
  .hide-drop a { color: #ddd; }
  .h-right { display: none; }

  .news-list { grid-template-columns: 1fr; }
  .client-wall { grid-template-columns: repeat(2, 1fr); }
  .client-wall li { height: 120px; }
  .cooperation-card { height: auto; padding: 30px 16px; }

  .banner h1 { font-size: 28px; letter-spacing: 2px; }
  .banner .classification { font-size: 15px; }
  .banner .classification .gap { margin: 0 8px; }
  .banner .hello { font-size: 15px; }
  .banner .tel-box { flex-direction: column; gap: 2px; font-size: 14px; }
  .title-content .title { font-size: 24px; }
  .recent-news > .title, .cooperation > .title, .client-box .title-box .title { font-size: 24px; }
  footer .footer-menu a { padding: 0 8px; }
}
