/* Homepage contact section and footer. */
.home-contact{padding:80px 0 128px;background:#fff;color:var(--ink);text-align:center}
.home-contact-inner{display:flex;flex-direction:column;align-items:center}
.home-contact-message{max-width:100%;margin:0 auto;font-size:clamp(34px,3.8vw,54px);font-weight:600;line-height:1.5;letter-spacing:.025em;white-space:nowrap;text-wrap:nowrap}
.home-contact .button{margin-top:34px;min-height:56px;padding:13px 28px;border:1px solid var(--navy);border-radius:999px;background:transparent;color:var(--navy);font-size:15px;gap:24px;transition:background .2s,color .2s}
.home-contact .button:hover{background:var(--navy);color:#fff}
.home-contact .button:focus-visible{outline-color:var(--teal)}

.home-footer{--footer-bg:#2d3131;--footer-fg:#fff;--footer-link:#c9cfcf;--footer-mute:#b0b7b7;--footer-accent:#8fd8dc;--footer-line:rgba(255,255,255,.18);position:relative;margin-top:-24px;padding-top:0;border-radius:24px 24px 0 0;background:var(--footer-bg);color:var(--footer-fg)}
.home-footer-main{display:grid;grid-template-columns:minmax(380px,1.5fr) repeat(5,minmax(0,1fr));padding-top:64px;padding-bottom:56px}
.home-footer-main>*{min-width:0}
.home-footer-brand{display:flex;flex-direction:column;justify-content:space-between;gap:56px;padding-right:40px}
.home-footer-logo{display:flex;align-items:center;gap:14px;width:fit-content;max-width:100%;min-width:0;color:var(--footer-fg)}
.home-footer-logo-img{flex:none;width:auto;height:56px;max-width:none;object-fit:contain;border-radius:7px;outline:1px solid rgba(255,255,255,.16);outline-offset:-1px}
.home-footer-wordmark{display:flex;flex-direction:column;gap:4px;min-width:0;white-space:nowrap}
.home-footer-name{font-size:20px;font-weight:700;line-height:1.25;letter-spacing:.01em}
.home-footer-name-en{font-size:11px;font-weight:600;line-height:1.25;letter-spacing:.01em}
.home-footer-socials{display:grid;grid-template-columns:repeat(3,minmax(0,112px));align-items:start;gap:24px 16px;min-width:0}
.home-footer-social{display:grid;min-width:0;justify-items:center;gap:9px;margin:0}
.home-footer-qr{display:block;width:100%;height:auto;aspect-ratio:1;padding:6px;border:1px solid rgba(255,255,255,.28);border-radius:8px;background:#fff}
.home-footer-qr img{display:block;width:100%;height:100%;object-fit:contain}
.home-footer-qr-crop{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:9.183674%}
/* Show the original QR at (42,44)-(166,168), keeping its pixels unchanged. */
.home-footer-qr--xiaohongshu img{position:absolute;top:-35.483871%;left:-33.870968%;width:167.741936%;max-width:none;height:auto}
/* Show the WeChat QR at (24,24)-(408,408) to trim the wide quiet zone. */
.home-footer-qr--wechat img{position:absolute;top:-6.25%;left:-6.25%;width:111.979167%;max-width:none;height:auto}
.home-footer-social figcaption{display:grid;gap:3px;max-width:112px;margin:0;line-height:1.6;text-align:center}
.home-footer-social strong{color:var(--footer-fg);font-size:13px;font-weight:600}
.home-footer-qr--reserved{display:grid;place-items:center;border-style:dashed;border-color:rgba(255,255,255,.3);background:transparent;color:rgba(255,255,255,.45)}
.home-footer-qr--reserved>span{font-size:28px;font-weight:300;line-height:1}
.home-footer-column{padding:0 20px;border-left:1px solid var(--footer-line)}
.home-footer-column:last-child{padding-right:0}
.home-footer-column h3{margin-bottom:24px;color:var(--footer-accent);font-size:16px;font-weight:600;line-height:1.6;letter-spacing:0}
.home-footer-column h3 a{font:inherit;color:inherit}
.home-footer-column ul{display:flex;flex-direction:column;gap:15px}
.home-footer-column li{line-height:1.65}
.home-footer-contact{display:grid;gap:6px;margin-top:26px}
.home-footer-mail-label{color:var(--footer-link);font-size:14px}
.home-footer-mail-value{color:var(--footer-mute);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.home-footer-column a{color:var(--footer-link);font-size:14px;overflow-wrap:anywhere}
.home-footer-column a:hover,.home-footer-bottom a:hover{color:var(--footer-accent);text-decoration:underline;text-underline-offset:4px}
.home-footer-location{margin-top:14px;color:var(--footer-fg);font-size:13px;font-weight:600}
.home-footer-address{margin-top:0;color:var(--footer-link);font-size:13px;font-style:normal;line-height:1.9;overflow-wrap:anywhere}
html[lang=zh-CN] .home-footer-address [data-i18n="contact.address.line1"]{white-space:nowrap}
.home-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:24px;padding-bottom:26px;border-top:1px solid var(--footer-line)}
.home-footer-legal{min-width:0}
.home-footer-legal p,.home-footer-legal a{color:var(--footer-mute);font-size:12px;line-height:1.8;text-decoration:none}
.home-footer-legal a+a{margin-left:24px}
.home-footer-police-icon{display:inline-block;height:16px;width:auto;vertical-align:-3px;margin-right:5px}
.home-footer-tools{display:flex;flex:none;align-items:center;gap:28px}
.home-footer-tools>a{color:var(--footer-mute);font-size:12px}
.home-footer .lang-switch button{color:var(--footer-mute);font-size:12px}
.home-footer .lang-switch>span{color:rgba(255,255,255,.4)}
.home-footer .lang-switch button.is-active{color:var(--footer-accent)}

@media(max-width:1199px){
  .home-footer-main{grid-template-columns:repeat(3,minmax(0,1fr));padding-top:48px}
  .home-footer-brand{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:40px;margin-bottom:32px;padding:0;border-bottom:0}
  .home-footer-column{padding:22px 18px 0;border-left:0;border-top:1px solid var(--footer-line)}
  .home-footer-column:nth-child(2){padding-left:0}
}
@media(max-width:767px){
  .home-contact{padding:56px 0 88px}
  .home-contact-message{font-size:clamp(22px,6.8vw,38px);line-height:1.5}
  html[lang=en] .home-contact-message{font-size:clamp(16px,4vw,38px)}
    .home-contact .button{margin-top:28px;min-height:52px;padding:11px 24px;font-size:14px}
  .home-footer{border-radius:20px 20px 0 0;margin-top:-20px}
  .home-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px;padding-top:40px;padding-bottom:36px}
  .home-footer-brand{display:flex;align-items:stretch;gap:30px;margin:0;padding:0;border:0}
  .home-footer-logo{gap:11px}
  .home-footer-logo-img{height:44px;border-radius:6px}
  .home-footer-name{font-size:17px}
  .home-footer-name-en{font-size:9.5px}
  .home-footer-column,.home-footer-column:nth-child(2){padding:22px 0 0;border-left:0;border-top:1px solid var(--footer-line)}
  .home-footer-column h3{margin-bottom:18px;font-size:15px}
  .home-footer-column ul{gap:13px}
  .home-footer-column a{font-size:13px}
  .home-footer-location{margin-top:20px}
  .home-footer-address{font-size:12px}
  .home-footer-bottom{flex-direction:column;align-items:flex-start;gap:12px;padding-top:20px;padding-bottom:22px}
  .home-footer-tools{flex-wrap:wrap;gap:12px 24px}
  .home-footer-legal p,.home-footer-legal>span{font-size:11px}
}
