/* =========================================
   Purpose Journeys Footer - Final
========================================= */

.site-footer{
  width:100%;
  margin-top:38px;
  padding:0;
  background:#eaedf1;
  border-top:1px solid #d5dbe3;
  color:#606875;
}

.site-footer *{box-sizing:border-box}

.site-footer .footer-inner{
  width:min(var(--shell),calc(100% - 40px));
  margin:0 auto;
  padding:36px 0 24px;
}

.site-footer .footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1.18fr .88fr .88fr;
  gap:30px;
  align-items:start;
}

.site-footer .footer-services{grid-column:1;grid-row:1}
.site-footer .footer-sisters{grid-column:2;grid-row:1}
.site-footer .footer-contact{grid-column:3;grid-row:1}
.site-footer .footer-share{grid-column:4;grid-row:1}
.site-footer .footer-follow{grid-column:5;grid-row:1}

.site-footer .footer-section{min-width:0}

.site-footer .footer-title{
  margin:0 0 16px;
  color:var(--navy);
  font-size:17px;
  font-weight:700;
  line-height:1.4;
}

.site-footer .footer-section-links{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
}

.site-footer .footer-section-links a{
  color:#606875;
  font-size:14px;
  line-height:1.6;
  text-decoration:none;
}

.site-footer .footer-section-links a:hover{
  color:var(--gold);
}

.site-footer .footer-email-links a{
  display:block;
  white-space:nowrap;
}

.site-footer .footer-email-links a span{
  display:inline;
}

/* 分享 / 关注图标 */
.site-footer .footer-social-grid{
  --social-size:31px;
  display:grid;
  grid-template-columns:repeat(4,var(--social-size));
  gap:10px;
  width:max-content;
  max-width:100%;
  align-items:center;
}

.site-footer .footer-social-button{
  width:var(--social-size);
  height:var(--social-size);
  min-width:var(--social-size);
  min-height:var(--social-size);
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0;
  border:0;
  border-radius:50%;
  overflow:hidden;
  color:#fff;
  cursor:pointer;
  box-shadow:0 4px 10px rgba(31,58,95,.13);
  transition:transform .2s ease,box-shadow .2s ease;
}

.site-footer .footer-social-button:hover,
.site-footer .footer-social-button:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 8px 16px rgba(31,58,95,.18);
}

.site-footer .footer-social-button.is-disabled{
  cursor:default;
  box-shadow:none;
}

.site-footer .footer-social-button.is-disabled:hover,
.site-footer .footer-social-button.is-disabled:focus-visible{
  transform:none;
  box-shadow:none;
}

.site-footer .footer-social-icon{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  font-weight:700;
  line-height:1;
}

.site-footer .footer-social-icon svg{
  width:58%;
  height:58%;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.site-footer .footer-facebook-icon{
  align-items:flex-end;
  padding-bottom:1px;
  font-family:Arial,sans-serif;
  font-size:23px;
}

.site-footer .facebook-button{background:#1877f2}
.site-footer .whatsapp-button{background:#25d366}
.site-footer .wechat-button{background:#07c160}
.site-footer .copy-button{background:#1f3a5f}
.site-footer .instagram-button{background:linear-gradient(135deg,#833ab4,#e1306c,#f77737)}
.site-footer .tiktok-button{background:#111}
.site-footer .xiaohongshu-button{background:#ff2442}
.site-footer .channels-button{background:linear-gradient(135deg,#fa7a35,#f04455)}

.site-footer .wechat-button svg{
  width:70%;
  height:70%;
  fill:#fff;
  stroke:none;
}

.site-footer .wechat-button svg circle{
  fill:#07c160;
}

.site-footer .instagram-button .solid-dot,
.site-footer .channels-button .channels-play{
  fill:currentColor;
  stroke:none;
}

.site-footer .xiaohongshu-symbol{
  font-family:"Microsoft YaHei","PingFang SC",sans-serif;
  font-size:15px;
}

.site-footer .footer-copy-message{
  min-height:18px;
  margin-top:7px;
  color:#2e7d32;
  font-size:12px;
  line-height:1.5;
}

.site-footer .footer-copy-message:empty{
  visibility:hidden;
}

/* 返回上页 / 返回顶端 */
.site-footer .footer-navigation{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  margin-top:28px;
  padding-top:20px;
  border-top:1px solid #d3d9e1;
}

.site-footer .footer-nav-button{
  min-width:142px;
  min-height:42px;
  padding:8px 17px;
  border:1px solid #9aa7b5;
  border-radius:6px;
  background:#fff;
  color:var(--navy);
  font:inherit;
  font-size:15px;
  font-weight:700;
  line-height:1.3;
  cursor:pointer;
  box-shadow:0 2px 5px rgba(31,58,95,.06);
}

.site-footer .footer-nav-button:hover{
  border-color:var(--gold);
  color:var(--gold);
}

.site-footer .footer-copyright{
  margin-top:18px;
  color:#7d8590;
  font-size:13px;
  line-height:1.7;
  text-align:center;
}


/* =========================================
   Tablet
========================================= */

@media(max-width:900px) and (min-width:601px){

  .site-footer .footer-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:28px 22px;
  }

  .site-footer .footer-services{
    grid-column:1;
    grid-row:1;
  }

  .site-footer .footer-sisters{
    grid-column:2;
    grid-row:1;
  }

  .site-footer .footer-contact{
    grid-column:3;
    grid-row:1;
  }

  .site-footer .footer-share{
    grid-column:1 / span 2;
    grid-row:2;
  }

  .site-footer .footer-follow{
    grid-column:3;
    grid-row:2;
  }
}


/* =========================================
   Mobile
   第一排：服务与政策 | 姊妹平台 | 联系我们
   第二排：分享网站 | 关注我们
========================================= */

@media(max-width:600px){

  .site-footer{
    margin-top:28px;
  }

  .site-footer .footer-inner{
    width:calc(100% - 20px);
    margin:0 auto;
    padding:25px 0 20px;
  }

  .site-footer .footer-grid{
    display:grid;
    grid-template-columns:.95fr .95fr 1.10fr;
    gap:24px 8px;
    align-items:start;
  }

  .site-footer .footer-services{
    grid-column:1;
    grid-row:1;
  }

  .site-footer .footer-sisters{
    grid-column:2;
    grid-row:1;
  }

  .site-footer .footer-contact{
    grid-column:3;
    grid-row:1;
  }

  .site-footer .footer-share{
    grid-column:1 / span 2;
    grid-row:2;
  }

  .site-footer .footer-follow{
    grid-column:3;
    grid-row:2;
  }

  .site-footer .footer-title{
    margin-bottom:11px;
    font-size:14px;
    line-height:1.35;
  }

  .site-footer .footer-section-links{
    gap:7px;
  }

  .site-footer .footer-section-links a{
    font-size:12px;
    line-height:1.5;
  }

  /* 联系邮箱压缩 */
  .site-footer .footer-email-links{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:9px;
    width:100%;
  }

  .site-footer .footer-email-links a{
    white-space:normal;
    font-size:10.5px;
    line-height:1.35;
  }

  .site-footer .footer-email-links a span{
    display:block;
  }

  /* 社交图标 */
  .site-footer .footer-social-grid{
    --social-size:28px;
    gap:6px;
  }

  /* 返回按钮 */
  .site-footer .footer-navigation{
    gap:9px;
    margin-top:23px;
    padding-top:16px;
  }

  .site-footer .footer-nav-button{
    min-width:0;
    min-height:39px;
    padding:8px 12px;
    font-size:13px;
  }

  .site-footer .footer-copyright{
    margin-top:15px;
    font-size:12px;
  }
}