@font-face {
  font-family: Inter;
  src: url("/assets/fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root { font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif; color: #202021; background: #fff; }
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #d52032; outline-offset: 4px; }
main:focus { outline: none; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; top: 8px; left: 8px; z-index: 10; background: white; padding: 10px 18px; }
.wrap { width: min(calc(100% - 64px), 1180px); margin-inline: auto; }
.mast { border-bottom: 1px solid #e8e6e5; }
.mast-inner { display: flex; align-items: center; gap: 32px; min-height: 78px; }
.brand { flex: none; font-size: 1rem; }
.brand a { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.brand img { display: block; width: 126px; height: auto; }
.brand span { font-size: 9px; font-weight: 700; letter-spacing: .3em; line-height: 1; }
.top-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.top-nav a { padding-block: 12px; font-size: 14px; font-weight: 600; }
.languages { display: flex; padding: 3px; border: 1px solid #dbd9da; border-radius: 99px; }
.languages button { min-width: 42px; min-height: 32px; padding: 0 9px; border: 0; border-radius: 99px; background: none; font-size: 12px; font-weight: 700; }
.languages button[aria-pressed="true"] { color: #b71825; background: #fae9eb; }
main { padding-top: 26px; }
.s5-banner { position: relative; overflow: hidden; border-radius: 20px; color: #fff; background: #191919; }
.s5-banner-track { display: grid; gap: 2px; }
.s5-banner.is-carousel .s5-banner-track { display: flex; gap: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.s5-banner-track::-webkit-scrollbar { display: none; }
.s5-banner-slide {
  position: relative; isolation: isolate; flex: 0 0 100%; min-width: 0; min-height: clamp(330px,38vw,450px);
  display: flex; align-items: center; overflow: hidden; scroll-snap-align: start; background: #202020;
}
.hero-photo { position: absolute; right: 0; top: 0; z-index: -2; width: 85%; height: 100%; object-fit: cover; object-position: right 60%; }
.s5-banner-slide::before {
  position: absolute; z-index: -1; inset: 0; content: "";
  background: linear-gradient(90deg,#19191b 4%,rgba(23,23,24,.92) 27%,rgba(22,22,23,.64) 43%,transparent 73%);
}
.hero-copy { width: 54%; padding: clamp(30px,5.4vw,76px); padding-right: 16px; }
.hero-copy h2 { font-size: clamp(44px,5.7vw,76px); line-height: .99; letter-spacing: -.06em; text-wrap: balance; }
.hero-copy p { max-width: 36ch; margin-top: 18px; font-size: clamp(15px,1.5vw,19px); line-height: 1.5; }
.s5-banner-action { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 11px 18px; margin-top: 22px; border-radius: 7px; color: #fff; background: #c51c2c; font-size: 14px; font-weight: 700; }
.s5-banner-action:focus-visible, .s5-banner-controls button:focus-visible { outline: 2px solid white; outline-offset: -4px; }
.s5-banner-controls {
  position: absolute; right: clamp(12px,2.3vw,28px); bottom: clamp(12px,2.1vw,24px); z-index: 1;
  display: flex; align-items: center; padding: 0 4px; border-radius: 100px; color: #fff; background: #1b1b1dec;
}
.s5-banner-controls button { display: inline-grid; place-items: center; border: none; border-radius: 100px; background: none; padding: 0; min-width: 36px; height: 40px; }
.s5-banner-controls button > span { font-size: 23px; line-height: 1; }
.dots { display: flex; align-items: center; }
.s5-banner-controls .s5-dot { min-width: 25px; }
.s5-dot::before { content: ""; display: block; width: 6px; height: 6px; background: #b5b5b6; border-radius: 12px; }
.s5-dot[aria-pressed="true"]::before { width: 16px; background: #fff; }
.services { padding: clamp(32px,5vw,68px) 0 clamp(36px,5.8vw,78px); scroll-margin-top: 18px; }
.service-head { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.service-head h2 { font-size: clamp(27px,3.1vw,42px); line-height: 1.1; letter-spacing: -.045em; }
.service-head > span { color: #6a6868; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.service-card { display: flex; align-items: center; gap: clamp(12px,1.8vw,26px); min-width: 0; overflow: hidden; border: 1px solid #e4e0dd; border-radius: 12px; background: #faf9f7; }
.service-card img { display: block; align-self: stretch; width: 35%; min-height: 114px; height: auto; object-fit: cover; }
.service-card h3 { font-size: clamp(17px,2.1vw,26px); line-height: 1.12; letter-spacing: -.04em; }
.service-card div > span { display: block; margin: 7px 0 0; color: #5b5655; font-size: 13px; line-height: 1.35; }
.service-card b { margin-inline: auto 16px; color: #bc1727; font-size: 21px; }
footer { background: #f6f5f3; }
.foot-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 18px; }
.foot-inner strong { font-size: 11px; letter-spacing: .08em; }
.foot-inner a { font-size: 13px; font-weight: 600; }
.foot-inner a span { white-space: nowrap; }
:lang(zh) .hero-copy h2, :lang(zh) .service-head h2, :lang(zh) .service-card h3 { letter-spacing: -.025em; }
@media (hover:hover) {
  .top-nav a:hover, .foot-inner a:hover { color: #b71929; text-decoration: underline; }
  .s5-banner-action:hover { background: #ac1525; }
  .service-card:hover { border-color: #b5a7a1; }
  .s5-banner-controls button:hover { background: #ffffff1b; }
}
@media (max-width:760px) {
  .wrap { width: min(calc(100% - 32px),660px); }
  .mast-inner { min-height: 65px; gap: 14px; }
  .brand img { width: 110px; }
  .top-nav { gap: 15px; }
  .top-nav a { font-size: 12px; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card img { width: 31%; min-height: 93px; }
}
@media (max-width:570px) {
  main { padding-top: 14px; }
  .top-nav { display: none; }
  .languages { margin-left: auto; }
  .brand img { width: 104px; }
  .brand span { font-size: 8px; }
  .s5-banner { border-radius: 14px; }
  .s5-banner-slide { min-height: clamp(346px,93vw,420px); align-items: flex-start; }
  .hero-photo { top: auto; bottom: 0; width: 100%; height: 78%; object-position: 83% 65%; }
  .s5-banner-slide::before { background: linear-gradient(168deg,#1a1a1b 9%,rgba(25,25,26,.96) 28%,rgba(23,23,24,.5) 54%,rgba(23,23,24,0) 76%); }
  .hero-copy { width: 96%; padding: 24px 22px 86px; }
  .hero-copy h2 { max-width: 12ch; font-size: clamp(36px,8.8vw,48px); line-height: 1.04; }
  .hero-copy p { width: 96%; max-width: 33ch; font-size: 14px; line-height: 1.45; margin-top: 10px; }
  .s5-banner-action { margin-top: 14px; padding: 9px 13px; min-height: 40px; font-size: 13px; }
  .s5-banner-controls { right: 9px; bottom: 9px; }
  .service-head { margin-bottom: 14px; }
  .foot-inner { min-height: 86px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; }
}
