/* ==========================================================================
   IKX Vision — Southeast Asia site
   style.css — shared styles for every page
   Sections:
     1. Variables        6. Header / nav        11. Float actions
     2. Reset & base     7. Mobile drawer       12. Video modal
     3. Layout helpers   8. Footer              13. Breadcrumb
     4. Typography/sec   9. Placeholders        13a. Page banner (inner pages)
     5. Buttons          10. Reveal animation   14. Page: Home
                                                15. Page: About
                                                16. Page: Short Videos
                                                17. Page: Services
                                                18. Page: Service Detail (template)
                                                19. Page: Service Category (template)
                                                20. Page: News (list + article template)
                                                21. Page: Cases
                                                22. Page: Contact
                                                23. Responsive
   ========================================================================== */

/* 1. Variables ------------------------------------------------------------- */
:root {
  /* Brand colours (taken from HQ site CSS) */
  --c-primary: #205294;          /* theme colour */
  --c-accent: #2d54b9;           /* tabs, highlights, hover */
  --c-accent-light: #3a64cc;
  --c-navy: #0f2a5c;             /* deep blue backgrounds */
  --c-navy-2: #16397a;
  --c-card-blue: rgba(50, 90, 190, 0.78);
  --c-wa: #25d366;
  --c-logo-orange: #ed6d00;     /* orange from the logo */

  /* Neutrals */
  --c-text: #333333;
  --c-text-2: #5e6064;
  --c-muted: #999999;
  --c-border: #dedede;
  --c-bg: #ffffff;
  --c-bg-soft: #f8f9fe;
  --c-bg-grey: #f7f7f7;
  --c-white: #ffffff;

  /* Typography */
  --font-zh: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-en: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-base: var(--font-en), var(--font-zh);
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 15px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 24px;
  --fs-h2: 36px;
  --fs-watermark: 100px;
  --lh-body: 1.8;

  /* Spacing & layout */
  --container: 1280px;
  --gutter: 20px;
  --sec-pad: 90px;
  --radius: 10px;
  --radius-sm: 4px;
  --header-h: 90px;
  --shadow: 0 10px 30px rgba(15, 42, 92, 0.12);
  --shadow-lg: 0 20px 50px rgba(15, 42, 92, 0.18);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2. Reset & base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
html[data-lang="zh"] body { font-family: var(--font-zh); }
body.no-scroll { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.35; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--c-white); color: var(--c-primary); padding: 8px 16px;
}
.skip-link:focus { left: 10px; top: 10px; }

/* 3. Layout helpers -------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--sec-pad) 0; overflow: hidden; }
.section--soft { background: var(--c-bg-soft); }
.page-main--inner { padding-top: var(--header-h); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 4. Section heading (watermark + title + dot icon) ------------------------ */
.sec-head { position: relative; margin-bottom: 40px; }
.sec-head__mark {
  display: block;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: var(--fs-watermark);
  line-height: 1;
  letter-spacing: .02em;
  color: rgba(0, 0, 0, .04);
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
}
.sec-head__row {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 24px;
}
.sec-head__title { font-size: var(--fs-h2); font-weight: 400; color: var(--c-text); }
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__row { justify-content: center; }
.sec-head--light .sec-head__mark { color: rgba(255, 255, 255, .05); }
.sec-head--light .sec-head__title { color: var(--c-white); }

/* Four-dot decorative icon used beside section titles */
.dots { position: relative; width: 22px; height: 22px; flex: none; }
.dots::before, .dots::after, .dots i::before, .dots i::after {
  content: ''; position: absolute; width: 7px; height: 7px; background: var(--c-accent);
}
.dots::before { top: 0; left: 7.5px; }
.dots::after { bottom: 0; left: 7.5px; }
.dots i::before { left: 0; top: 7.5px; opacity: .55; }
.dots i::after { right: 0; top: 7.5px; opacity: .55; }
.sec-head--light .dots::before, .sec-head--light .dots::after,
.sec-head--light .dots i::before, .sec-head--light .dots i::after { background: var(--c-white); }

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 32px;
  border: 1px solid var(--c-primary); border-radius: 0;
  background: var(--c-white); color: var(--c-primary);
  font-size: var(--fs-md); transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--c-primary); color: var(--c-white); }
.btn--solid { background: var(--c-primary); color: var(--c-white); }
.btn--solid:hover { background: var(--c-accent); border-color: var(--c-accent); }
.btn--wa { background: var(--c-wa); border-color: var(--c-wa); color: var(--c-white); }
.btn--wa:hover { background: #1eb457; border-color: #1eb457; }

/* Text link with round arrow (HQ "更多简介 ›") */
.more-link { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--c-text-2); }
.more-link__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%; background: var(--c-accent); color: var(--c-white);
  transition: transform .25s;
}
.more-link__arrow svg { width: 12px; height: 12px; fill: currentColor; }
.more-link:hover { color: var(--c-accent); }
.more-link:hover .more-link__arrow { transform: translateX(4px); }
.more-link--light { color: rgba(255, 255, 255, .85); }
.more-link--light .more-link__arrow { background: var(--c-white); color: var(--c-accent); }
.more-link--light:hover { color: var(--c-white); }

/* 6. Header / desktop nav -------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(15, 42, 92, .94);
  color: var(--c-white);
  transition: background .3s, box-shadow .3s;
}
.header--transparent { background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.header.is-scrolled { background: rgba(15, 42, 92, .94); box-shadow: 0 4px 20px rgba(0, 0, 0, .15); border-bottom-color: transparent; }
@supports (backdrop-filter: blur(8px)) {
  .header.is-scrolled { backdrop-filter: blur(8px); }
}
.header__inner { display: flex; align-items: center; height: 100%; gap: 28px; }

.logo { display: inline-flex; align-items: center; flex: none; }
.logo__img { height: 50px; width: auto; }
/* Region tag beside the logo: "IKX logo | ASIA" */
.logo__region {
  display: inline-flex; align-items: center;
  margin-left: 14px; padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, .45);
  height: 26px;
  font-family: var(--font-en); font-size: 15px; font-weight: 700;
  letter-spacing: .28em; line-height: 1;
  color: var(--c-logo-orange);
}
.logo__text { display: inline-flex; flex-direction: column; line-height: 1.1; color: inherit; }
.logo__text b { font-family: var(--font-zh); font-size: 24px; font-weight: 700; letter-spacing: .12em; }
.logo__text i { font-style: normal; font-family: var(--font-en); font-size: 11px; letter-spacing: .32em; opacity: .85; }

.nav { margin-left: auto; height: 100%; }
.nav__list { display: flex; height: 100%; gap: 26px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item--l1 { height: 100%; }
.nav__item--l1 > .nav__link {
  display: flex; align-items: center; height: 100%;
  font-size: var(--fs-md); color: var(--c-white); white-space: nowrap;
  border-bottom: 2px solid transparent; padding-top: 2px;
}
.nav__item--l1.is-active > .nav__link,
.nav__item--l1:hover > .nav__link { border-bottom-color: var(--c-white); }
.nav__caret { display: none; }

.nav__sub {
  position: absolute; z-index: 10;
  min-width: 200px;
  background: var(--c-white);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__sub--l2 { top: 100%; left: 50%; margin-left: -100px; padding: 6px 0; }
.nav__sub--l3 { top: -6px; left: 100%; padding: 6px 0; }
.nav__item:hover > .nav__sub,
.nav__item.is-hover > .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }

.nav__item--l2, .nav__item--l3 { display: block; }
.nav__item--l2 > .nav__link, .nav__item--l3 > .nav__link {
  display: block; padding: 10px 28px 10px 20px;
  font-size: var(--fs-sm); color: var(--c-text); line-height: 1.5; white-space: nowrap;
}
.nav__item--l2:hover > .nav__link, .nav__item--l3:hover > .nav__link,
.nav__item--l2.is-active > .nav__link, .nav__item--l3.is-active > .nav__link {
  background: var(--c-bg-grey); color: #2e55bc;
}
.nav__caret--right {
  display: block; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; fill: var(--c-muted); pointer-events: none;
}

.header__tools { display: flex; align-items: center; gap: 22px; flex: none; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-sm); }
.lang-switch__btn {
  border: 0; background: none; color: rgba(255, 255, 255, .65); padding: 4px 6px; font-weight: 500;
}
.lang-switch__btn.is-active { color: var(--c-white); font-weight: 700; }
.lang-switch__sep { opacity: .4; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); white-space: nowrap;
  padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .2); height: 40px;
}
.header__phone-icon svg { width: 18px; height: 18px; fill: currentColor; }

.header__burger {
  display: none; position: relative; width: 40px; height: 40px; border: 0; background: none; padding: 0;
}
.header__burger span {
  position: absolute; left: 9px; right: 9px; height: 2px; background: var(--c-white); border-radius: 2px;
}
.header__burger span:nth-child(1) { top: 13px; }
.header__burger span:nth-child(2) { top: 19px; }
.header__burger span:nth-child(3) { top: 25px; }

/* 7. Mobile drawer --------------------------------------------------------- */
.mnav {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.mnav.is-open { opacity: 1; visibility: visible; }
.mnav__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
  background: var(--c-white); color: var(--c-text);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s var(--ease);
}
.mnav.is-open .mnav__panel { transform: translateX(0); }
.mnav__head {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 16px; background: var(--c-navy); color: var(--c-white);
}
.mnav__head .logo__img { height: 38px; }
.mnav__head .logo__region { margin-left: 10px; padding-left: 10px; height: 20px; font-size: 12px; letter-spacing: .2em; }
.mnav__close { border: 0; background: none; width: 40px; height: 40px; padding: 8px; }
.mnav__close svg { fill: var(--c-white); }
.mnav__list { flex: 1; overflow-y: auto; padding: 8px 0; }
.mnav__row { display: flex; align-items: center; }
.mnav__link { flex: 1; display: block; padding: 12px 20px; font-size: var(--fs-md); }
.mnav__item.is-active > .mnav__row > .mnav__link { color: var(--c-primary); font-weight: 700; }
.mnav__toggle { width: 48px; height: 44px; border: 0; background: none; padding: 12px; }
.mnav__toggle svg { fill: var(--c-muted); transition: transform .25s; }
.mnav__item.is-open > .mnav__row > .mnav__toggle svg { transform: rotate(180deg); }
.mnav__sub { display: none; background: var(--c-bg-soft); }
.mnav__item.is-open > .mnav__sub { display: block; }
.mnav__item--l2 .mnav__link { padding-left: 36px; font-size: var(--fs-sm); }
.mnav__item--l3 .mnav__link { padding-left: 52px; font-size: var(--fs-sm); color: var(--c-text-2); }
.mnav__item--l2 > .mnav__sub { background: #eef1fa; }
.mnav__foot { padding: 16px 20px; border-top: 1px solid #eee; }
.lang-switch--dark .lang-switch__btn { color: var(--c-muted); }
.lang-switch--dark .lang-switch__btn.is-active { color: var(--c-primary); }

/* 8. Footer ---------------------------------------------------------------- */
.footer {
  position: relative; color: var(--c-white);
  background:
    url('../images/common/footer-bg.jpg') center / cover no-repeat,
    linear-gradient(135deg, #10306b 0%, #1d4fa8 55%, #2a63c4 100%);
  font-size: var(--fs-sm);
}
.footer a:hover { color: #cfe0ff; }
.footer__top {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 40px 0; border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 0; }
.footer__nav li { display: flex; align-items: center; }
.footer__nav li + li::before { content: ''; width: 1px; height: 14px; background: rgba(255, 255, 255, .3); margin: 0 22px; }
.footer__nav a { font-size: var(--fs-md); }
.footer__main {
  display: flex; justify-content: space-between; gap: 40px;
  padding: 40px 0; border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.footer__contacts { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.footer__contact-item { display: flex; flex-direction: column; gap: 4px; }
.footer__contact-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); margin-bottom: 8px;
}
.footer__contact-icon svg { width: 18px; height: 18px; fill: var(--c-white); }
.footer__contact-label { opacity: .75; }
.footer__contact-value { font-size: var(--fs-md); word-break: break-word; }
.footer__qrs { display: flex; gap: 20px; flex: none; }
.footer__qr { margin: 0; text-align: center; }
.footer__qr-img { width: 110px; background: var(--c-white); padding: 5px; }
.footer__qr-img .ph { font-size: 10px; }
.footer__qr figcaption { margin-top: 8px; opacity: .8; }
.footer__qr a { display: block; }
.footer__qr a:hover .footer__qr-img { box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.footer__hq {
  display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .15); opacity: .85;
}
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding: 18px 0 22px; font-size: var(--fs-xs); opacity: .7;
}

/* 9. Image placeholders ---------------------------------------------------- */
.ph {
  display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 100%; min-height: 60px; padding: 10px; text-align: center;
  background: repeating-linear-gradient(45deg, #eceef3 0 12px, #e3e6ed 12px 24px);
  border: 1px dashed #b9c0cf; color: #6b7385;
  font-family: var(--font-en); font-size: 12px; line-height: 1.4; word-break: break-all;
  object-fit: initial !important;
}
.ph__name { font-weight: 600; }
.ph__size { opacity: .8; }
.ph--dark {
  background: linear-gradient(135deg, #0f2a5c 0%, #1d4fa8 60%, #2d6ad6 100%);
  border: 0; color: rgba(255, 255, 255, .45);
  justify-content: flex-end; align-items: flex-end; padding: 0 24px 70px;
}

/* 10. Reveal animation ----------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .1s; }
.reveal--d2 { transition-delay: .2s; }
.reveal--d3 { transition-delay: .3s; }
.reveal--d4 { transition-delay: .4s; }
.reveal--d5 { transition-delay: .5s; }

/* 11. Float actions -------------------------------------------------------- */
.float-actions { position: fixed; right: 20px; bottom: 24px; z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.float-actions__btn {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 50%; border: 0; color: var(--c-white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2); transition: transform .2s, opacity .3s, visibility .3s;
}
.float-actions__btn svg { width: 26px; height: 26px; fill: currentColor; }
.float-actions__btn:hover { transform: translateY(-3px); }
.float-actions__btn--wa { background: var(--c-wa); }
.float-actions__btn--top { background: var(--c-primary); opacity: 0; visibility: hidden; }
.float-actions__btn--top svg { width: 22px; height: 22px; }
.float-actions__btn--top.is-visible { opacity: 1; visibility: visible; }

/* 12. Video modal ---------------------------------------------------------- */
.video-modal {
  position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-modal__box { position: relative; width: min(960px, 100%); }
.video-modal.is-vertical .video-modal__box { width: min(420px, 100%); }
.video-modal__video { width: 100%; max-height: 82vh; background: #000; }
.video-modal__close {
  position: absolute; top: -46px; right: 0; width: 40px; height: 40px; border: 0; background: none; padding: 8px;
}
.video-modal__close svg { fill: var(--c-white); }
.video-modal__msg { display: none; margin-top: 12px; color: var(--c-white); text-align: center; font-size: var(--fs-sm); }
.video-modal.has-error .video-modal__msg { display: block; }

/* 13. Breadcrumb ----------------------------------------------------------- */
.breadcrumb { padding: 16px 0; font-size: var(--fs-sm); color: var(--c-text-2); border-bottom: 1px solid #eee; }
.breadcrumb__list { display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb__item + .breadcrumb__item::before { content: '>'; margin: 0 8px; color: var(--c-muted); }
.breadcrumb__item a:hover { color: var(--c-accent); }
.breadcrumb__item [aria-current] { color: var(--c-primary); }

/* 13a. Page banner (inner pages) -------------------------------------------
   HQ-style inner banner: image behind the transparent header, page title as
   web text on the right ("关于我们 // About Us"). Use with body[data-header="transparent"]. */
.page-banner {
  position: relative; overflow: hidden;
  height: clamp(260px, 18.23vw, 350px);
  background: var(--c-navy); color: var(--c-white);
}
.page-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner .ph { position: absolute; inset: 0; height: 100%; aspect-ratio: auto !important; padding-bottom: 24px; }
.page-banner__content {
  position: relative; z-index: 1; height: 100%;
  display: flex; align-items: center; justify-content: flex-end;
  padding-top: var(--header-h);
}
.page-banner__title {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  width: 28%; min-width: max-content;
  font-size: 38px; font-weight: 700; letter-spacing: .04em; line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.page-banner__sub { font-family: var(--font-en); font-size: 17px; font-weight: 300; letter-spacing: .02em; opacity: .9; }
@media (max-width: 1024px) {
  .page-banner__title { width: auto; font-size: 32px; }
}
@media (max-width: 768px) {
  .page-banner { height: calc(var(--header-h) + 120px); }
  .page-banner__title { font-size: 24px; gap: 2px 10px; }
  .page-banner__sub { font-size: 13px; }
}

/* ==========================================================================
   14. Page: Home (index.html)
   ========================================================================== */

/* Hero slider */
.hero { position: relative; height: clamp(480px, 44.2vw, 860px); overflow: hidden; background: var(--c-navy); color: var(--c-white); }
.hero__track { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__slide::after { /* readability gradient */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 30, 70, .55) 0%, rgba(10, 30, 70, .15) 55%, rgba(10, 30, 70, 0) 100%);
}
.hero__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h);
}
.hero__title {
  font-size: clamp(32px, 4.2vw, 64px); font-weight: 900; font-style: italic; letter-spacing: .06em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .25);
}
html[data-lang="en"] .hero__title { letter-spacing: 0; font-style: normal; }
.hero__sub {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 18px;
  font-size: clamp(14px, 1.3vw, 20px); font-style: italic; opacity: .92;
}
.hero__sub::before { content: ''; width: 60px; height: 2px; background: var(--c-white); }
/* ZH: HQ banners already carry Chinese text, so the web slogan is hidden
   visually (still read by search engines / screen readers).
   Remove this rule once text-free banners are supplied. */
html[data-lang="zh"] .hero__content {
  position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
/* EN: HQ banners already carry Chinese text in the middle-left,
   so the English slogan sits lower and smaller, below that text */
html[data-lang="en"] .hero__content { justify-content: flex-end; padding-bottom: max(80px, 5.5vw); }
html[data-lang="en"] .hero__title { font-size: clamp(24px, 2.6vw, 42px); }
html[data-lang="en"] .hero__sub { margin-top: 10px; font-size: clamp(13px, 1.1vw, 17px); }
html[data-lang="en"] .hero__sub::before { flex: none; }
html[data-lang="en"] .hero__slide::before { /* soft bottom shade for readability */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: 1;
  background: linear-gradient(0deg, rgba(8, 20, 50, .55) 0%, rgba(8, 20, 50, 0) 100%);
}
.hero__slide .hero__title, .hero__slide .hero__sub { opacity: 0; transform: translateY(24px); transition: opacity .8s .4s, transform .8s .4s; }
.hero__slide.is-active .hero__title, .hero__slide.is-active .hero__sub { opacity: 1; transform: none; }
.hero__slide.is-active .hero__sub { transition-delay: .6s; }
.hero__arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border: 0; background: rgba(0, 0, 0, .15); color: var(--c-white);
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.hero__arrow:hover { background: rgba(255, 255, 255, .3); }
.hero__arrow svg { width: 26px; height: 26px; fill: currentColor; }
.hero__arrow--prev { left: 24px; }
.hero__arrow--prev svg { transform: rotate(180deg); }
.hero__arrow--next { right: 24px; }
.hero__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 30px; display: flex; justify-content: center; gap: 10px; }
.hero__dot { width: 30px; height: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .4); transition: width .3s, background .3s; }
.hero__dot.is-active { width: 50px; background: var(--c-white); }

/* About */
.about { position: relative; overflow: hidden; padding: 100px 0 110px; }
/* Layout follows HQ: photo left (~57%), text right; video card hangs off
   the photo's bottom-right corner; thin "About" watermark + quote mark */
.about__grid {
  position: relative; z-index: 1; display: grid; grid-template-columns: 656fr 490fr;
  grid-template-areas: "media body" "tagline video"; column-gap: 62px; row-gap: 10px; align-items: start;
}
.about__media { grid-area: media; position: relative; }
.about__body { grid-area: body; }
.about__img-wrap { border-radius: 20px 20px 0 20px; /* square corner meets the video card, like HQ */ overflow: hidden; aspect-ratio: 724 / 418; background: var(--c-bg-grey); }
.about__img { width: 100%; height: 100%; object-fit: cover; }
.about__tagline { grid-area: tagline; align-self: center; display: flex; align-items: center; gap: 16px; margin-top: 18px; color: var(--c-muted); font-family: var(--font-en); font-size: 20px; font-weight: 300; }
.about__tagline::before { content: ''; width: 206px; height: 1px; background: var(--c-muted); flex: none; }
.about .sec-head__mark { font-weight: 200; color: rgba(0, 0, 0, .06); transform: translateX(28px); }
.about__text { margin-top: 0; color: var(--c-text-2); font-size: var(--fs-sm); line-height: 2.1; }
.about__text p + p { margin-top: 22px; }
.about__more { margin-top: 48px; }
/* EN copy is longer: tighten spacing so the text column stays about as tall
   as the photo, keeping the video card close to the photo */
html[data-lang="en"] .about .sec-head { margin-bottom: 18px; }
html[data-lang="en"] .about__text { line-height: 1.8; }
html[data-lang="en"] .about__text p + p { margin-top: 14px; }
html[data-lang="en"] .about__more { margin-top: 24px; }
.about__video {
  grid-area: video; position: relative; z-index: 2; display: block;
  margin-left: -62px; width: 330px; max-width: calc(100% + 62px); aspect-ratio: 330 / 212; border-radius: 0 20px 20px 20px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 42, 92, .14); cursor: pointer; border: 0; padding: 0; background: var(--c-navy);
}
.about__video-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.about__video:hover .about__video-img { transform: scale(1.05); }
.about__video::after {
  content: ''; position: absolute; inset: 0; background: rgba(10, 30, 70, .15);
}
.play-btn {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85);
  display: flex; align-items: center; justify-content: center; color: var(--c-white);
}
.play-btn::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); animation: pulse 2s infinite; }
.play-btn svg { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
.about__watermark {
  position: absolute; left: 4%; bottom: 20px; z-index: 0;
  font-family: var(--font-en); font-weight: 200; font-size: clamp(140px, 16vw, 260px); line-height: .8;
  color: rgba(0, 0, 0, .045); white-space: nowrap; pointer-events: none; user-select: none;
}
.about__quote {
  position: absolute; right: 12%; bottom: -60px; z-index: 0;
  font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: clamp(160px, 14vw, 240px); line-height: 1;
  color: rgba(0, 0, 0, .045); pointer-events: none; user-select: none;
}

/* Services */
.services {
  color: var(--c-white);
  background:
    url('../images/home/home-service-bg.jpg') center / cover no-repeat,
    radial-gradient(ellipse at 80% 40%, rgba(70, 130, 230, .55), transparent 60%),
    linear-gradient(135deg, #0b2557 0%, #163f8c 50%, #1e57b8 100%);
}
.services__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; align-items: center; }
.services__lead { font-size: var(--fs-xl); font-weight: 700; margin-top: 10px; }
.services__desc { margin-top: 22px; font-size: var(--fs-sm); line-height: 2; opacity: .85; }
.services__more { margin-top: 40px; }
.svc-tiles {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, auto);
  max-width: 780px; margin-left: auto;
}
.svc-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  aspect-ratio: 1 / .76; padding: 20px 12px; text-align: center;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
  margin: -1px 0 0 -1px; /* collapse borders */
  transition: background .3s, transform .3s;
  backdrop-filter: blur(2px);
}
.svc-tile:hover { background: rgba(255, 255, 255, .22); transform: translateY(-4px); }
.svc-tile__icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.svc-tile__icon svg { width: 34px; height: 34px; stroke: var(--c-white); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-tile__img { width: 40px; height: 40px; object-fit: contain; }
.svc-tile__icon .ph { width: 40px; height: 40px; min-height: 0; padding: 0; border-radius: 50%; font-size: 0; background: rgba(255, 255, 255, .15); border: 1px dashed rgba(255, 255, 255, .5); }
.svc-tile__name { font-size: var(--fs-md); font-weight: 700; line-height: 1.4; }
.svc-tile__en { font-size: var(--fs-xs); opacity: .75; line-height: 1.3; }
html[data-lang="en"] .svc-tile__en { display: none; }
.svc-tile--a { grid-area: 1 / 2; }
.svc-tile--b { grid-area: 1 / 3; }
.svc-tile--c { grid-area: 2 / 1; }
.svc-tile--d { grid-area: 2 / 2; }
.svc-tile--e { grid-area: 3 / 2; }
.svc-tile--f { grid-area: 3 / 3; }

/* Honors */
.honor__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Card: thin white frame (certificate fills it, no grey bars). Hover: lifts,
   image zooms slightly and two blue corner lines grow around the card (like HQ) */
.honor-card { position: relative; margin: 0; background: var(--c-white); padding: 5px; box-shadow: 0 6px 24px rgba(15, 42, 92, .1); transition: transform .4s var(--ease), box-shadow .4s; }
.honor-card::before, .honor-card::after {
  content: ''; position: absolute; z-index: 2; width: 0; height: 0; border: 2px solid transparent; pointer-events: none;
}
.honor-card::before { top: 0; left: 0; }
.honor-card::after { right: 0; bottom: 0; }
.honor-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
/* Two L-shaped corners grow at the same time (top-left → right & down,
   bottom-right → left & up) and stop short, leaving gaps at the other corners */
.honor-card::before { border-top-color: var(--c-accent); border-left-color: var(--c-accent); }
.honor-card::after { border-bottom-color: var(--c-accent); border-right-color: var(--c-accent); }
.honor-card::before, .honor-card::after { opacity: 0; transition: width .25s var(--ease), height .25s var(--ease), opacity .1s .15s; }
.honor-card:hover::before, .honor-card:hover::after { width: 100%; height: 100%; opacity: 1; transition: width .25s var(--ease), height .25s var(--ease), opacity 0s; }
.honor-card__img-wrap { aspect-ratio: 3 / 2; overflow: hidden; background: #f2f2f2; }
.honor-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.honor-card:hover .honor-card__img { transform: scale(1.04); }
.honor-card__cap { padding: 14px 6px 10px; text-align: center; font-size: var(--fs-sm); color: var(--c-text-2); transition: color .3s; }
.honor-card:hover .honor-card__cap { color: var(--c-accent); }

/* Short videos */
.shorts__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.short-card { display: block; width: 100%; min-width: 0; text-align: left; border: 0; background: none; padding: 0; cursor: pointer; color: inherit; }
.short-card__media { display: block; position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #e9ecf3; border: 1px solid #e5e7ee; }
.short-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.short-card:hover .short-card__img { transform: scale(1.06); }
.short-card__media .play-btn { width: 46px; height: 46px; opacity: 0; transition: opacity .3s; background: rgba(0, 0, 0, .25); }
.short-card__media .play-btn::before { display: none; }
.short-card:hover .play-btn { opacity: 1; }
/* One line only, "..." when too long (like HQ); full title shows as tooltip */
.short-card__title { display: block; margin-top: 10px; font-size: var(--fs-sm); line-height: 1.5; color: var(--c-text); transition: color .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.short-card:hover .short-card__title { color: var(--c-accent); }
.shorts__more { margin-top: 40px; text-align: center; }

/* Reasons */
/* Layout follows HQ: narrow intro left; big photo right; blue card overlaps
   the photo's lower-left corner and hangs below it; big tabs under the photo.
   Card/photo sizes use container units (cqw) so proportions stay fixed. */
.reason__grid { display: grid; grid-template-columns: minmax(0, 382fr) minmax(0, 775fr); gap: 61px; align-items: start; }
.reason__intro { position: relative; padding-top: 60px; }
.reason .sec-head__mark { font-weight: 200; color: rgba(0, 0, 0, .05); }
.reason__desc { position: relative; z-index: 1; color: var(--c-text-2); font-size: var(--fs-sm); line-height: 2; }
.reason__intro-mark {
  margin-top: 50px; font-family: var(--font-en); font-weight: 200; font-size: 150px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(15, 42, 92, .1);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.reason__stage { position: relative; z-index: 1; container-type: inline-size; }
.reason__photo { position: relative; width: 79%; margin-left: auto; aspect-ratio: 612 / 432; overflow: hidden; }
.reason__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.reason__slide.is-active { opacity: 1; }
.reason__img { width: 100%; height: 100%; object-fit: cover; }
.reason__slide .ph { height: 100%; }
.reason__card {
  position: absolute; left: 0; top: 26.4cqw; width: 38.3cqw; min-height: 38.3cqw;
  padding: 44px 38px 36px; border-radius: 12px; background: var(--c-accent); color: var(--c-white);
  box-shadow: 0 20px 40px rgba(45, 84, 185, .3);
}
.reason__card-num { position: absolute; right: 34px; top: 46px; font-family: var(--font-en); font-size: 72px; font-weight: 800; line-height: 1; opacity: .12; }
/* Icon with a soft round dot behind it (like HQ) */
.reason__card-icon { position: relative; display: block; width: 72px; height: 72px; margin-left: -6px; }
.reason__card-icon::before {
  content: ''; position: absolute; z-index: 0; left: 28px; top: 24px; width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.reason__card-icon svg { position: relative; z-index: 1; width: 100%; height: 100%; stroke: var(--c-white); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.reason__card-title { margin-top: 28px; font-size: var(--fs-lg); font-weight: 700; }
.reason__card-text { margin-top: 12px; font-size: var(--fs-sm); line-height: 1.7; opacity: .95; }
.reason__card-body { transition: opacity .3s; }
.reason__card.is-switching .reason__card-body { opacity: 0; }
.reason__tabs { display: flex; justify-content: flex-end; gap: 9px; margin-top: calc(9cqw + 18px); }
.reason__tab {
  width: 57px; height: 44px; border: 1px solid var(--c-border); border-radius: 2px; background: transparent;
  color: #99999b; font-family: var(--font-en); font-size: 18px; transition: all .25s;
}
.reason__tab:hover { color: var(--c-accent); border-color: var(--c-accent); }
.reason__tab.is-active { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-white); box-shadow: 0 3px 9px -1px var(--c-accent); }

/* News */
.news__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.news-card {
  position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 30px 28px;
  color: var(--c-white); overflow: hidden;
  background:
    url('../images/home/home-news-bg.jpg') center / cover no-repeat,
    linear-gradient(160deg, #2a5cc8, #1c48a8);
}
.news-card::before { content: ''; position: absolute; inset: 0; background: var(--c-card-blue); transition: background .35s; }
.news-card > * { position: relative; }
.news-card:hover::before { background: var(--c-white); }
.news-card:hover { color: var(--c-text); box-shadow: var(--shadow); }
.news-card__cat { font-size: var(--fs-xs); opacity: .85; }
.news-card__title { margin-top: 16px; font-size: var(--fs-lg); font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s; }
.news-card:hover .news-card__title { color: var(--c-accent); }
.news-card__sum { margin-top: 14px; font-size: var(--fs-sm); line-height: 1.8; opacity: .85; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card:hover .news-card__sum { color: #666; opacity: 1; }
.news-card__date { margin-top: auto; padding-top: 24px; display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); opacity: .85; font-family: var(--font-en); }
.news-card__date svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.news__more { margin-top: 40px; text-align: center; }

/* ==========================================================================
   15. Page: About (about.html)
   ========================================================================== */
.about-page__head { margin-bottom: 50px; }
.about-page__head .sec-head__mark { font-weight: 200; color: rgba(0, 0, 0, .06); }
.about-page__head.sec-head--light .sec-head__mark { color: rgba(255, 255, 255, .1); }

/* Company introduction: name + blue bar, two paragraphs, wide photo with a
   translucent blue card hanging over its top-right edge (like HQ) */
.about-intro { padding-bottom: calc(var(--sec-pad) + 10px); }
.about-intro__name { font-size: 24px; font-weight: 700; color: var(--c-text); }
.about-intro__name::after {
  content: ''; display: block; width: 62px; height: 4px; margin-top: 16px;
  background:
    linear-gradient(var(--c-primary), var(--c-primary)) 0 0 / 50px 4px no-repeat,
    radial-gradient(circle, var(--c-primary) 0 2px, transparent 2.5px) 56px 0 / 4px 4px no-repeat;
}
.about-intro__text { margin-top: 28px; font-size: var(--fs-md); line-height: 2; color: var(--c-text-2); }
.about-intro__text p + p { margin-top: 14px; }
.about-intro__media { position: relative; margin-top: 120px; }
.about-intro__img-wrap { aspect-ratio: 1600 / 471; border-radius: 20px; overflow: hidden; background: var(--c-navy); }
.about-intro__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-intro__media:hover .about-intro__img { transform: scale(1.03); }
.about-intro__img-wrap .ph { height: 100%; }
.about-intro__card {
  position: absolute; right: 5%; top: -80px; z-index: 1; width: 300px;
  padding: 42px 44px; border-radius: 12px;
  background: rgba(32, 82, 148, .82); color: var(--c-white);
  box-shadow: 0 20px 40px rgba(15, 42, 92, .25);
}
@supports (backdrop-filter: blur(6px)) { .about-intro__card { backdrop-filter: blur(6px); } }
.about-intro__card-label { display: block; margin-bottom: 10px; font-size: var(--fs-sm); opacity: .85; }
.about-intro__card-text { font-size: var(--fs-md); line-height: 1.9; }
html[data-lang="en"] .about-intro__card { width: 340px; padding: 34px 36px; }
html[data-lang="en"] .about-intro__card-text { font-size: var(--fs-sm); line-height: 1.75; }

/* Values: title + 3 white cards on the left, photo on the right */
.about-values__grid { display: grid; grid-template-columns: minmax(0, 346fr) minmax(0, 276fr); gap: 0 10%; }
.about-values__title {
  margin-bottom: 40px; text-align: center;
  font-size: 34px; font-style: italic; font-weight: 900; letter-spacing: .04em; color: var(--c-primary);
}
html[data-lang="en"] .about-values__title { font-size: 28px; letter-spacing: 0; }
.about-values__list { display: grid; gap: 28px; }
.value-card {
  display: flex; align-items: center; gap: 24px; padding: 30px 32px;
  background: var(--c-white); border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(15, 42, 92, .05);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card__icon { width: 42px; height: 42px; flex: none; transition: transform .5s var(--ease); }
.value-card:hover .value-card__icon { transform: scale(1.12); }
.value-card .ph { width: 42px; min-height: 42px; padding: 0; font-size: 0; }
.value-card__title { font-size: var(--fs-lg); font-weight: 500; color: var(--c-text); }
.value-card__text { margin-top: 4px; font-size: var(--fs-sm); line-height: 1.7; color: var(--c-text-2); }
.about-values__media { position: relative; min-height: 360px; border-radius: var(--radius); overflow: hidden; background: var(--c-navy); }
.about-values__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-values__media:hover .about-values__img { transform: scale(1.04); }

/* Honors: 3 big cards reuse .honor-card (Home); the card image is a button that opens the lightbox */
.about-honor__zoom { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; }

/* Smaller certificates: horizontal slider (5 per view), native scroll + snap */
.cert-slider { position: relative; margin-top: 46px; padding: 0 56px; }
.cert-slider__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 24px) / 5); column-gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 14px 0 26px;
}
.cert-slider__track::-webkit-scrollbar { display: none; }
.cert-slider__item { scroll-snap-align: start; }
.cert-thumb {
  display: block; width: 100%; padding: 5px; border: 0; background: var(--c-white); cursor: zoom-in;
  box-shadow: 0 4px 16px rgba(15, 42, 92, .1); transition: transform .4s var(--ease), box-shadow .4s;
}
.cert-thumb:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cert-thumb__img { width: 100%; aspect-ratio: 5 / 7; object-fit: contain; background: var(--c-white); }
.cert-slider__arrow {
  position: absolute; top: 50%; z-index: 1; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: #d5d8df; color: var(--c-white); transition: background .25s, opacity .25s;
}
.cert-slider__arrow svg { width: 22px; height: 22px; fill: currentColor; }
.cert-slider__arrow--prev { left: 0; }
.cert-slider__arrow--prev svg { transform: rotate(180deg); }
.cert-slider__arrow--next { right: 0; }
.cert-slider__arrow:hover:not(:disabled) { background: var(--c-accent); }
.cert-slider__arrow:disabled { opacity: .45; cursor: default; }

/* History timeline (HQ: Swiper, 4 per view, 1 step / 2 s, 0.5 s slide).
   Odd items: text above the line; even items: text below. Hover lifts the text 15px. */
.history {
  color: var(--c-white);
  background:
    url('../images/about/about-history-bg.jpg') center / cover no-repeat,
    linear-gradient(160deg, #1a4a8f 0%, #2d6ab8 55%, #4f8fd0 100%);
}
.history::before { content: ''; position: absolute; inset: 0; background: rgba(15, 42, 92, .18); }
.history > .container { position: relative; }
.history__slider { --per-view: 4; position: relative; padding: 0 56px; }
.history__slider::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(213, 222, 230, .5);
}
.history__viewport { position: relative; overflow: hidden; }
.history__track { display: flex; transition: transform .5s ease; }
.history__item {
  flex: 0 0 calc(100% / var(--per-view)); min-width: 0; min-height: 400px;
  display: grid; grid-template-rows: 1fr 40px 1fr;
}
.history__box { position: relative; display: flex; flex-direction: column; padding-left: 15px; transition: transform .5s; }
.history__nr { display: flex; flex-direction: column; padding-right: 24px; }
/* Node sits inside the box, so it moves together with the text on hover (like HQ) */
.history__node {
  flex: none; position: relative; z-index: 1;
  width: 40px; height: 40px; margin-left: 13px; border-radius: 50%;
  background: var(--c-accent); border: 6px solid var(--c-white);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .35); transition: box-shadow .5s;
}
.history__item:hover .history__node { box-shadow: 0 0 0 8px rgba(255, 255, 255, .2); }
/* L-shaped connector: vertical line beside the text, rounded corner, short horizontal bar into the node */
.history__box::before {
  content: ''; position: absolute; left: 0; width: 28px;
  border: 0 solid rgba(255, 255, 255, .5); pointer-events: none;
}
.history__item--up .history__box { grid-row: 1 / 3; align-self: end; }
.history__item--up .history__nr { padding-bottom: 22px; }
.history__item--up .history__box::before { top: 4px; bottom: 20px; border-left-width: 1px; border-bottom-width: 1px; border-bottom-left-radius: 10px; }
.history__item--down .history__box { grid-row: 2 / 4; align-self: start; flex-direction: column-reverse; }
.history__item--down .history__nr { padding-top: 22px; flex-direction: column-reverse; }
.history__item--down .history__box::before { top: 20px; bottom: 4px; border-left-width: 1px; border-top-width: 1px; border-top-left-radius: 10px; }
.history__item:hover .history__box { transform: translateY(-15px); }
.history__year { font-family: var(--font-en); font-size: 22px; font-weight: 700; line-height: 1.3; }
.history__text { margin-top: 8px; font-size: 15px; line-height: 1.75; color: rgba(255, 255, 255, .75); }
.history__item--down .history__text { margin: 0 0 8px; }
html[data-lang="en"] .history__text { font-size: 14px; line-height: 1.65; }
.history__arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%;
  background: var(--c-white); color: var(--c-accent); transition: opacity .25s, transform .25s;
}
.history__arrow svg { width: 20px; height: 20px; fill: currentColor; }
.history__arrow--prev { left: 0; }
.history__arrow--prev svg { transform: rotate(180deg); }
.history__arrow--next { right: 0; }
.history__arrow:hover:not(:disabled) { transform: translateY(-50%) scale(1.12); }
.history__arrow:disabled { opacity: .5; cursor: default; }

/* Partners: 4 x 2 logo grid with thin borders */
.partners__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 940px; margin: 0 auto;
  border-top: 1px solid #e3e6ed; border-left: 1px solid #e3e6ed;
}
.partners__cell {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 252 / 160; padding: 24px 28px;
  border-right: 1px solid #e3e6ed; border-bottom: 1px solid #e3e6ed;
  transition: background .3s, box-shadow .3s;
}
.partners__cell:hover { z-index: 1; background: var(--c-white); box-shadow: var(--shadow); }
.partners__logo { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.partners__cell:hover .partners__logo { transform: scale(1.06); }
.partners__cell .ph { height: 100%; min-height: 0; aspect-ratio: auto !important; }

/* Certificate lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center;
  padding: 60px 90px; background: rgba(0, 0, 0, .85);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { margin: 0; max-width: min(1000px, 100%); text-align: center; }
/* Certificates are small originals (about 260–400px wide): show them at a readable height */
.lightbox__img { width: auto; height: min(calc(100vh - 170px), 640px); max-width: 100%; object-fit: contain; margin: 0 auto; padding: 6px; background: var(--c-white); box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.lightbox__cap { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 14px; font-size: var(--fs-sm); color: rgba(255, 255, 255, .85); }
.lightbox__count { font-family: var(--font-en); opacity: .7; }
.lightbox__msg { display: none; padding: 40px 20px; font-size: var(--fs-sm); color: var(--c-white); word-break: break-all; }
.lightbox.has-error .lightbox__img { display: none; }
.lightbox.has-error .lightbox__msg { display: block; }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; padding: 8px; border: 0; background: none; }
.lightbox__close svg { fill: var(--c-white); }
.lightbox__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .15); color: var(--c-white); transition: background .25s;
}
.lightbox__arrow:hover { background: var(--c-accent); }
.lightbox__arrow svg { width: 26px; height: 26px; fill: currentColor; }
.lightbox__arrow--prev { left: 20px; }
.lightbox__arrow--prev svg { transform: rotate(180deg); }
.lightbox__arrow--next { right: 20px; }

/* About — responsive */
@media (max-width: 1024px) {
  .about-values__grid { grid-template-columns: 1fr; gap: 30px; }
  .about-values__media { min-height: 0; aspect-ratio: 16 / 10; }
  .cert-slider__track { grid-auto-columns: calc((100% - 3 * 20px) / 4); column-gap: 20px; }
  .history__slider { --per-view: 2; }
}
@media (max-width: 768px) {
  .about-page__head { margin-bottom: 30px; }
  .about-intro__name { font-size: 20px; }
  .about-intro__text { font-size: var(--fs-base); }
  .about-intro__media { margin-top: 28px; }
  .about-intro__img-wrap { border-radius: 12px; aspect-ratio: 16 / 7; }
  .about-intro__card { display: none; } /* HQ hides the card on mobile */
  .about-values__title { font-size: 26px; margin-bottom: 26px; }
  html[data-lang="en"] .about-values__title { font-size: 22px; }
  .about-values__list { gap: 16px; }
  .value-card { padding: 22px 20px; gap: 18px; }
  /* Mobile: swipe the small certificates (about 2 per view, like HQ) */
  .cert-slider { padding: 0; margin-top: 30px; }
  .cert-slider__arrow { display: none; }
  .cert-slider__track { grid-auto-columns: 42%; column-gap: 14px; }
  /* Mobile timeline: one milestone per view, node on the line, text below */
  .history__slider { --per-view: 1; padding: 0 44px; }
  .history__slider::before, .history__arrow { top: 20px; }
  .history__item { min-height: 0; grid-template-rows: 40px auto; text-align: center; }
  .history__item--up .history__box, .history__item--down .history__box {
    grid-row: 1 / 3; align-self: start; padding: 0 8px; flex-direction: column-reverse;
  }
  .history__item--up .history__nr, .history__item--down .history__nr { padding: 26px 0 0; flex-direction: column; }
  .history__node { margin: 0 auto; }
  .history__box::before { display: none; }
  .history__item:hover .history__box { transform: none; }
  .history__item--down .history__text { margin: 8px 0 0; }
  .history__year { font-size: 24px; }
  .partners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners__cell { padding: 18px 20px; }
  .lightbox { padding: 60px 12px 90px; }
  .lightbox__img { height: auto; max-height: calc(100vh - 200px); }
  .lightbox__arrow { top: auto; bottom: 20px; transform: none; }
  .lightbox__arrow--prev { left: calc(50% - 64px); }
  .lightbox__arrow--next { right: calc(50% - 64px); }
}

/* ==========================================================================
   16. Page: Short Videos (short-videos.html)
   Cards reuse .shorts__grid / .short-card from the home page (section 14);
   only the page head, row gap, paging and the pager live here.
   ========================================================================== */
.svideo__head { margin-bottom: 50px; }
.svideo__head .sec-head__mark { font-weight: 200; color: rgba(0, 0, 0, .06); }
.svideo__grid { row-gap: 34px; }
/* .short-card sets display:block, so [hidden] needs an explicit rule */
.svideo__grid .short-card[hidden] { display: none; }

/* Pager: 上一页 1 2 下一页 */
.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 56px; }
.pager[hidden] { display: none; }
.pager__nums { display: flex; gap: 8px; }
.pager__btn, .pager__num {
  min-width: 40px; height: 40px; padding: 0 14px;
  border: 1px solid #dfe3ec; border-radius: 4px; background: var(--c-white);
  font-size: var(--fs-sm); color: var(--c-text-2); cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.pager__btn:not(:disabled):hover, .pager__num:hover { color: var(--c-accent); border-color: var(--c-accent); }
.pager__num.is-active { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-white); cursor: default; }
.pager__btn:disabled { opacity: .45; cursor: not-allowed; }

@media (max-width: 768px) {
  .svideo__head { margin-bottom: 34px; }
  .svideo__grid { row-gap: 24px; }
  .pager { margin-top: 40px; gap: 6px; }
  .pager__nums { gap: 6px; }
  .pager__btn, .pager__num { min-width: 36px; height: 36px; padding: 0 10px; }
}

/* ==========================================================================
   17. Page: Services (services.html)
   HQ layout: category sidebar on the left (blue head with a rounded corner),
   product cards 3 per row on the right, search box and pager.
   The pager reuses .pager from section 16. On ≤1024px the sidebar collapses
   into a "Categories" toggle above the cards.
   ========================================================================== */
.svc-list { padding-top: 50px; }
.svc-list__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 50px; align-items: start; }

/* Sidebar */
.svc-side__head {
  display: flex; flex-direction: column; align-items: flex-start; width: 100%;
  padding: 30px 26px 26px; border: 0; border-radius: 0 40px 0 0;
  background: var(--c-primary); color: var(--c-white); text-align: left; cursor: default;
}
.svc-side__title { font-size: 24px; font-weight: 500; line-height: 1.3; letter-spacing: .04em; }
.svc-side__sub { font-family: var(--font-en); font-size: 14px; font-weight: 300; opacity: .85; }
.svc-side__mtitle, .svc-side__chev { display: none; }
.svc-side__tree { border: 1px solid #eaeaea; border-top: 0; }
.svc-side__l1-item + .svc-side__l1-item { border-top: 1px solid #eaeaea; }
.svc-side__l1-link {
  position: relative; display: block; padding: 13px 20px 13px 40px;
  font-size: var(--fs-md); color: var(--c-text); line-height: 1.5;
  transition: color .2s, background-color .2s;
}
.svc-side__l1-link::before {
  content: ''; position: absolute; left: 20px; top: 50%; width: 6px; height: 6px;
  border: solid #b5b9c2; border-width: 1px 1px 0 0; transform: translateY(-50%) rotate(45deg);
  transition: border-color .2s, left .2s, transform .2s;
}
.svc-side__l1-link:hover, .svc-side__l1-link.is-active { color: var(--c-primary); background: var(--c-bg-soft); }
.svc-side__l1-link:hover::before, .svc-side__l1-link.is-active::before { border-color: var(--c-primary); left: 23px; }
.svc-side__l2 { display: none; padding: 0 0 10px; border-top: 1px solid #f1f1f1; padding-top: 6px; }
.svc-side__l1-item.is-open > .svc-side__l2 { display: block; } /* only the current category shows its sub menu */
/* Open category with a sub menu: arrow points down */
.svc-side__l1-item.is-open > .svc-side__l1-link:not(:only-child)::before {
  left: 21px; border-color: var(--c-primary); transform: translateY(-75%) rotate(135deg);
}
.svc-side__l1-item.is-open > .svc-side__l1-link:not(:only-child) { color: var(--c-primary); }
.svc-side__l2-link {
  position: relative; display: block; padding: 5px 20px 5px 50px;
  font-size: 13px; color: var(--c-muted); line-height: 1.6; transition: color .2s;
}
.svc-side__l2-link::before {
  content: ''; position: absolute; left: 40px; top: 50%; width: 3px; height: 3px; border-radius: 50%;
  background: currentColor; transform: translateY(-50%);
}
.svc-side__l2-link:hover, .svc-side__l2-link.is-active { color: var(--c-primary); }

/* Toolbar: 当前条件 + search */
.svc-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.svc-bar__cond { font-size: var(--fs-sm); color: var(--c-text-2); }
.svc-bar__tag { color: var(--c-primary); font-weight: 500; }
.svc-bar__count { margin-left: 14px; color: var(--c-muted); }
.svc-search { position: relative; flex: 0 0 240px; }
.svc-search__input {
  width: 100%; height: 40px; padding: 0 44px 0 14px;
  border: 1px solid #e3e3e3; border-radius: 4px; background: var(--c-white);
  font: inherit; font-size: 13px; color: var(--c-text); outline: none; transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.svc-search__input:focus { border-color: var(--c-accent); }
.svc-search__btn {
  position: absolute; right: 0; top: 0; width: 42px; height: 40px; padding: 11px;
  border: 0; background: none; color: var(--c-text-2); cursor: pointer;
}
.svc-search__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Product cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-white); box-shadow: 0 2px 12px rgba(0, 0, 0, .08); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .8s var(--ease);
}
.svc-card[hidden] { display: none; }
/* Blue line grows from the centre on hover */
.svc-card::after {
  content: ''; position: absolute; left: 50%; right: 50%; bottom: 0; height: 3px;
  background: var(--c-accent); transition: left .35s var(--ease), right .35s var(--ease);
}
.svc-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-white); }
.svc-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc-card__name {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 14px 18px 22px; text-align: center; font-size: var(--fs-md); line-height: 1.5; color: var(--c-text);
  transition: color .25s;
}
.svc-card.is-visible:hover { transform: translateY(-6px); }
.svc-card:hover { box-shadow: var(--shadow); }
.svc-card:hover::after { left: 0; right: 0; }
.svc-card:hover .svc-card__img { transform: scale(1.06); }
.svc-card:hover .svc-card__name { color: var(--c-accent); }
html[data-lang="en"] .svc-card__name { font-size: var(--fs-sm); }

.svc-empty { padding: 60px 0; text-align: center; color: var(--c-muted); }
.svc-empty[hidden] { display: none; }
.svc-list .pager { margin-top: 44px; }

@media (max-width: 1200px) {
  .svc-list__layout { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
  .svc-grid { gap: 18px; }
}

/* Tablet / mobile: sidebar becomes a collapsible "Categories" bar above the cards */
@media (max-width: 1024px) {
  .svc-list { padding-top: 36px; }
  .svc-list__layout { grid-template-columns: 1fr; gap: 24px; }
  .svc-side__head {
    flex-direction: row; align-items: center; justify-content: space-between;
    padding: 14px 20px; border-radius: 0 24px 0 0; cursor: pointer;
  }
  .svc-side__title, .svc-side__sub { display: none; }
  .svc-side__mtitle { display: block; font-size: var(--fs-md); font-weight: 500; }
  .svc-side__chev { display: block; width: 24px; height: 24px; fill: currentColor; transition: transform .25s; }
  .svc-side.is-open .svc-side__chev { transform: rotate(180deg); }
  .svc-side__tree { display: none; }
  .svc-side.is-open .svc-side__tree { display: block; }
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .svc-bar { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 18px; }
  .svc-search { flex: none; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .svc-card__name { padding: 10px 10px 16px; font-size: var(--fs-sm); }
  html[data-lang="en"] .svc-card__name { font-size: 13px; }
  .svc-list .pager { margin-top: 32px; }
}

/* ==========================================================================
   18. Page: Service Detail (template for every service-*.html page)
   Reuses the sidebar (.svc-side) and cards (.svc-card) from 17. Page: Services.
   HQ layout: product title + intro + machine photo, then three tabs
   (系统特点 / 系统功能 / 系统参数) with a grey title bar and red ★ bullets.
   ========================================================================== */
.svc-detail { min-width: 0; }
.svc-detail__title {
  margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid #eaeaea;
  font-size: 26px; font-weight: 500; line-height: 1.35; color: var(--c-text);
}

/* Product tabs (offset / gravure / flexo) */
.svc-ptabs { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.svc-ptabs[hidden] { display: none; }
.svc-ptabs__btn {
  height: 42px; padding: 0 22px; border: 1px solid #dfe3ea; border-radius: var(--radius-sm);
  background: var(--c-white); color: var(--c-text-2); font: inherit; font-size: var(--fs-sm);
  cursor: pointer; transition: color .2s, border-color .2s, background-color .2s;
}
.svc-ptabs__btn:hover { color: var(--c-primary); border-color: var(--c-primary); }
.svc-ptabs__btn.is-active { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-white); }

/* One product */
.svc-product[hidden] { display: none; }
.svc-product { animation: svcFade .45s var(--ease); }
@keyframes svcFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.svc-product__title { margin-bottom: 18px; text-align: center; font-size: 22px; font-weight: 700; color: var(--c-text); }
.svc-product__intro { font-size: var(--fs-base); line-height: 1.9; color: var(--c-text-2); }
.svc-product__media { margin: 28px 0 36px; text-align: center; }
.svc-product__media img { display: inline-block; width: 100%; max-width: 900px; height: auto; }

/* Section tabs (系统特点 / 系统功能 / 系统参数) */
.svc-stabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #e8e8e8; }
.svc-stabs__btn {
  position: relative; height: 50px; padding: 0 10px; border: 0; background: #fafafa;
  color: var(--c-text-2); font: inherit; font-size: var(--fs-sm); cursor: pointer; transition: color .2s, background-color .2s;
}
.svc-stabs__btn + .svc-stabs__btn { border-left: 1px solid #e8e8e8; }
.svc-stabs__btn::before {
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--c-primary); transform: scaleX(0); transition: transform .3s var(--ease);
}
.svc-stabs__btn:hover { color: var(--c-primary); }
.svc-stabs__btn.is-active { background: var(--c-white); color: var(--c-primary); font-weight: 500; }
.svc-stabs__btn.is-active::before { transform: scaleX(1); }

.svc-panel { padding: 30px 0 0; }
.svc-panel[hidden] { display: none; }
.svc-panel__title {
  margin-bottom: 18px; padding: 10px 18px; border-left: 3px solid var(--c-primary);
  background: #f5f6f8; font-size: var(--fs-md); font-weight: 500; color: var(--c-text);
}
.svc-panel__img { display: block; width: 100%; height: auto; }
/* Sub-heading inside a panel (e.g. garment tag: 一维码 / 二维码 / 喷印品检功能), each followed by an image */
.svc-panel__sub {
  position: relative; margin: 28px 0 14px; padding-left: 14px;
  font-size: var(--fs-base); font-weight: 500; line-height: 1.5; color: var(--c-text);
}
.svc-panel__title + .svc-panel__sub { margin-top: 6px; }
.svc-panel__sub::before {
  content: ''; position: absolute; left: 0; top: .45em; width: 6px; height: 6px;
  background: var(--c-primary); border-radius: 1px;
}

.svc-points { padding: 0 18px; }
.svc-points li {
  position: relative; padding: 8px 0 8px 26px; font-size: var(--fs-base); line-height: 1.8; color: var(--c-text-2);
}
.svc-points li::before { content: '★'; position: absolute; left: 0; top: 8px; color: #e60012; }
.svc-points__label { color: var(--c-text); font-weight: 500; }
.svc-points__label::after { content: '：'; }
html[data-lang="en"] .svc-points__label::after { content: ': '; }

/* Enquiry box */
.svc-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 56px; padding: 30px 34px; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--c-navy), var(--c-primary)); color: var(--c-white);
}
.svc-cta__title { font-size: 20px; font-weight: 500; line-height: 1.4; }
.svc-cta__desc { margin-top: 6px; font-size: var(--fs-sm); opacity: .8; }
.svc-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.svc-cta .btn--solid { background: var(--c-white); border-color: var(--c-white); color: var(--c-primary); }
.svc-cta .btn--solid:hover { background: transparent; color: var(--c-white); }

/* Related products (HQ 相关推荐) */
.svc-related { background: var(--c-bg-grey); }
.svc-related__title { margin-bottom: 36px; text-align: center; font-size: 28px; font-weight: 500; color: var(--c-accent); }
.svc-related__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

@media (max-width: 1024px) {
  .svc-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .svc-detail__title { font-size: 22px; margin-bottom: 18px; padding-bottom: 12px; }
  .svc-ptabs { flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin-bottom: 26px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .svc-ptabs__btn { flex: 0 0 auto; height: 38px; padding: 0 16px; font-size: 13px; }
  .svc-product__title { font-size: 19px; }
  .svc-product__intro { font-size: var(--fs-sm); }
  .svc-product__media { margin: 20px 0 26px; }
  .svc-stabs__btn { height: 46px; font-size: 13px; }
  html[data-lang="en"] .svc-stabs__btn { font-size: 12px; line-height: 1.3; }
  .svc-panel { padding-top: 22px; }
  .svc-panel__sub { margin: 22px 0 10px; font-size: var(--fs-sm); }
  .svc-points { padding: 0 4px; }
  .svc-points li { font-size: var(--fs-sm); }
  .svc-cta { margin-top: 40px; padding: 24px 20px; }
  .svc-cta__title { font-size: 17px; }
  .svc-cta__btns { width: 100%; }
  .svc-cta__btns .btn { flex: 1 1 auto; padding: 0 16px; }
  .svc-related__title { font-size: 22px; margin-bottom: 24px; }
  .svc-related__grid { gap: 14px; }
}

/* ==========================================================================
   19. Page: Service Category (template for the 6 category pages,
   e.g. service-appearance.html). Same layout as 17. Page: Services, only the
   cards of one category; the filter tag is a chip with × back to services.html
   (like HQ "当前条件").
   ========================================================================== */
.svc-bar__chip {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 4px;
  padding: 4px 6px 4px 10px; border: 1px solid #e3e3e3; border-radius: 2px; background: var(--c-white);
}
.svc-bar__clear {
  display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px;
  font-size: 16px; line-height: 1; color: var(--c-muted); transition: color .2s;
}
.svc-bar__clear:hover { color: var(--c-primary); }

/* Empty category (service-positioning.html): icon + text like HQ "未搜索到相关结果" */
.svc-empty--none { padding: 70px 0 90px; }
.svc-empty__icon {
  display: block; width: 96px; height: 80px; margin: 0 auto 16px;
  fill: none; stroke: #c9ced6; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.svc-empty__text { font-size: 15px; color: var(--c-muted); }

/* ==========================================================================
   20. Page: News (news.html, news-company.html, news-industry.html and the
   news-detail-*.html article template). Sidebar reuses .svc-side (section 17),
   pager reuses .pager (section 16). Cards: title + date, 2-line summary,
   category tag; on hover the whole card turns brand blue (like HQ).
   ========================================================================== */
.news-page { padding-top: 50px; }
.news-page__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 50px; align-items: start; }

/* List card */
.news-items { display: flex; flex-direction: column; gap: 18px; }
.news-item {
  display: block; padding: 18px 24px 20px;
  background: var(--c-white); box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.news-item[hidden] { display: none; }
.news-item__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.news-item__title { font-size: var(--fs-md); font-weight: 500; line-height: 1.5; color: var(--c-text); transition: color .3s; }
.news-item__date { flex-shrink: 0; font-family: var(--font-en); font-size: 13px; color: var(--c-muted); transition: color .3s; }
.news-item__sum {
  margin-top: 10px; font-size: var(--fs-sm); line-height: 1.8; color: var(--c-text-2); transition: color .3s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-item__tag {
  display: inline-block; margin-top: 14px; padding: 0 8px;
  border: 1px solid #dcdcdc; border-radius: 3px;
  font-size: var(--fs-xs); line-height: 22px; color: var(--c-muted);
  transition: color .3s, border-color .3s;
}
.news-item:hover { background: var(--c-primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.news-item:hover .news-item__title,
.news-item:hover .news-item__date,
.news-item:hover .news-item__sum,
.news-item:hover .news-item__tag { color: var(--c-white); }
.news-item:hover .news-item__tag { border-color: rgba(255, 255, 255, .7); }
.news-empty { padding: 60px 0; text-align: center; color: var(--c-muted); }
.news-empty[hidden] { display: none; }
.news-page .pager { margin-top: 44px; }

/* Breadcrumb on article pages: long title is cut with "…" */
.breadcrumb__item--title { min-width: 0; max-width: 24em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Article */
.news-article__head { padding-bottom: 22px; border-bottom: 1px solid #eee; }
.news-article__title { font-size: 24px; font-weight: 500; line-height: 1.5; color: var(--c-text); }
.news-article__sum { margin-top: 14px; font-size: var(--fs-sm); line-height: 1.8; color: var(--c-muted); }
.news-article__meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 14px; font-size: 13px; color: var(--c-muted); }
.news-article__meta time { font-family: var(--font-en); }
.news-article__body { padding: 30px 0 6px; font-size: var(--fs-base); line-height: 2; color: var(--c-text-2); }
.news-article__body p { margin: 0 0 16px; text-indent: 2em; }
html[data-lang="en"] .news-article__body p { text-indent: 0; }
.news-article__body img { height: auto; margin: 10px auto 20px; }
.news-article__body a { color: var(--c-accent); }
/* Sub-headings (HQ bold 一、二、…) and FAQ pairs inside the article body */
.news-article__body h2 { margin: 30px 0 12px; font-size: var(--fs-md); font-weight: 700; line-height: 1.7; color: var(--c-text); }
.news-article__body > h2:first-child { margin-top: 0; }
.news-article__body .news-article__qa { text-indent: 0; }
.news-article__body .news-article__qa strong { color: var(--c-text); }
.news-article__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 14px; padding: 20px 26px;
  background: var(--c-bg-soft); border-left: 3px solid var(--c-primary);
  font-size: var(--fs-sm); color: var(--c-text);
}
.news-article__cta .btn { flex-shrink: 0; }
.news-article__foot { margin-top: 34px; padding-top: 24px; border-top: 1px solid #eee; }
.news-article__tags .news-item__tag { margin-top: 0; }
.news-article__tags .news-item__tag:hover { color: var(--c-primary); border-color: var(--c-primary); }
.news-pn { margin-top: 20px; }
.news-pn__row { display: flex; gap: 12px; font-size: var(--fs-sm); line-height: 2; }
.news-pn__label { flex-shrink: 0; font-weight: 500; color: var(--c-text); }
.news-pn__link, .news-pn__none { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--c-text-2); }
.news-pn__link:hover { color: var(--c-accent); }
.news-pn__none { color: var(--c-muted); }

/* Related (HQ 相关推荐) */
.news-related { background: var(--c-bg-grey); }
.news-related__title { margin-bottom: 30px; text-align: center; font-size: 28px; font-weight: 500; color: var(--c-accent); }

@media (max-width: 1200px) {
  .news-page__layout { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
}

/* Tablet / mobile: sidebar becomes the collapsible bar from section 17 */
@media (max-width: 1024px) {
  .news-page { padding-top: 36px; }
  .news-page__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }   /* minmax: long EN titles in previous / next must not widen the column */
  .news-article__cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .news-items { gap: 14px; }
  .news-item { padding: 16px 16px 18px; }
  .news-item__head { flex-direction: column; gap: 4px; }
  .news-item__title { font-size: 15px; }
  .news-item__tag { margin-top: 10px; }
  .news-item:hover { transform: none; }
  .news-page .pager { margin-top: 32px; }
  .breadcrumb__item--title { max-width: 12em; }
  .news-article__title { font-size: 20px; }
  .news-article__body { padding-top: 22px; font-size: var(--fs-sm); }
  .news-article__body h2 { margin-top: 24px; font-size: var(--fs-base); }
  .news-article__cta { padding: 18px 18px; }
  .news-pn__row { gap: 8px; }
  .news-related__title { font-size: 22px; margin-bottom: 22px; }
}

/* ==========================================================================
   21. Page: Cases (cases.html, cases-solutions.html and the case-*.html pages).
   Layout, sidebar, article, previous / next and CTA reuse section 20 (News)
   and .svc-side / .svc-points (17, 18); pager reuses .pager (16).
   Cards like HQ: image, title, date, category tag + arrow; 3 per row.
   ========================================================================== */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.case-card { display: flex; flex-direction: column; color: var(--c-text); }
.case-card[hidden] { display: none; }
.case-card__media {
  display: block; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--c-white); border: 1px solid #eee; border-radius: var(--radius);
}
.case-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.case-card__img.ph { height: 100%; border: 0; }
.case-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 16px; }
.case-card__title { font-size: var(--fs-md); font-weight: 500; line-height: 1.5; transition: color .25s; }
.case-card__date { margin-top: 6px; font-family: var(--font-en); font-size: 13px; color: var(--c-muted); }
.case-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 14px;
}
.case-card__tag {
  min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  padding: 0 8px; border: 1px solid #dcdcdc; border-radius: 3px;
  font-size: var(--fs-xs); line-height: 22px; color: var(--c-muted); transition: color .25s, border-color .25s;
}
.case-card__arrow { display: block; flex-shrink: 0; width: 24px; height: 24px; color: var(--c-muted); transition: color .25s, transform .25s var(--ease); }
.case-card__arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.case-card:hover .case-card__img { transform: scale(1.06); }
.case-card:hover .case-card__title,
.case-card:hover .case-card__arrow { color: var(--c-accent); }
.case-card:hover .case-card__tag { color: var(--c-accent); border-color: var(--c-accent); }
.case-card:hover .case-card__arrow { transform: translateX(4px); }
html[data-lang="en"] .case-card__title { font-size: var(--fs-base); }

/* Case article: title centred like HQ; no summary / date (HQ case pages have none) */
.case-article .news-article__head { text-align: center; }
.case-article__body { text-align: left; }
.case-article__body h2 { margin-top: 36px; text-align: center; font-size: 20px; }
.case-article__body img { display: block; max-width: 100%; height: auto; margin: 10px auto 20px; }
.case-article__body .case-points { padding: 0; margin: 10px 0 20px; }
.case-article__body .case-points li { padding: 4px 0 4px 26px; font-size: var(--fs-base); }
.case-article__body .case-points li::before { top: 4px; }
.case-specs { margin: 6px 0 20px; }
.case-specs li { padding: 4px 0; line-height: 1.9; }
.case-fig { margin: 10px 0 26px; text-align: center; }
.case-fig img { margin-bottom: 8px; }
.case-fig figcaption { font-size: var(--fs-md); font-weight: 700; color: var(--c-text); }
.case-article__body--photo { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.case-article__body--photo img { margin: 0 auto; }

@media (max-width: 1200px) {
  .case-grid { gap: 32px 20px; }
}

@media (max-width: 768px) {
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .case-card__body { padding-top: 10px; }
  .case-card__title { font-size: var(--fs-sm); }
  html[data-lang="en"] .case-card__title { font-size: 13px; }
  .case-card__date { font-size: 12px; }
  .case-card__foot { padding-top: 10px; }
  .case-card__arrow { width: 20px; height: 20px; }
  .case-article__body h2 { margin-top: 26px; font-size: var(--fs-base); }
  .case-article__body .case-points li { font-size: var(--fs-sm); }
  .case-fig figcaption { font-size: var(--fs-base); }
}

/* ==========================================================================
   22. Page: Contact (contact.html)
   Not based on HQ: intro + 4 quick-contact cards, then office info (left)
   and enquiry form (right, #message). Form logic in assets/js/contact.js.
   ========================================================================== */
.contact-quick__intro { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.contact-quick__title { margin: 0 0 12px; font-size: 32px; font-weight: 500; color: var(--c-text); }
.contact-quick__text { margin: 0; color: var(--c-text-2); }
.contact-quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.contact-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 30px 26px 28px; border: 1px solid #eceef3; border-radius: var(--radius);
  background: var(--c-white); box-shadow: 0 6px 20px rgba(15, 42, 92, .06);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
a.contact-card:not(.is-disabled):hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card.is-disabled { cursor: default; }
.contact-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 14px; border-radius: 50%;
  background: rgba(45, 84, 185, .1); color: var(--c-accent);
  transition: background .3s, color .3s;
}
.contact-card__icon svg { width: 24px; height: 24px; fill: currentColor; }
a.contact-card:not(.is-disabled):hover .contact-card__icon { background: var(--c-accent); color: var(--c-white); }
.contact-card--wa .contact-card__icon { background: rgba(37, 211, 102, .12); color: var(--c-wa); }
a.contact-card--wa:not(.is-disabled):hover .contact-card__icon { background: var(--c-wa); color: var(--c-white); }
.contact-card__label { font-size: var(--fs-sm); color: var(--c-muted); }
.contact-card__value { font-size: var(--fs-lg); font-weight: 500; color: var(--c-text); word-break: break-word; }
.contact-card__hint { font-size: var(--fs-xs); color: var(--c-text-2); }

.contact-main { background: var(--c-bg-soft); scroll-margin-top: calc(var(--header-h) - 40px); }
.cform__field { scroll-margin-top: calc(var(--header-h) + 20px); }
.contact-main__layout { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }

/* Left: office info */
.contact-info { padding-top: 10px; }
.contact-info__title, .contact-form-wrap__title { margin: 0 0 18px; font-size: var(--fs-xl); font-weight: 500; color: var(--c-text); }
.contact-info__title { padding-left: 14px; border-left: 3px solid var(--c-accent); line-height: 1.2; }
.contact-info__list { margin: 0 0 24px; padding: 0; list-style: none; }
.contact-info__list li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; color: var(--c-text-2); }
.contact-info__list a:hover { color: var(--c-accent); }
.contact-info__icon { flex: none; display: inline-flex; width: 20px; height: 20px; margin-top: 4px; color: var(--c-accent); }
.contact-info__icon svg { width: 100%; height: 100%; fill: currentColor; }
.contact-map {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: repeating-linear-gradient(45deg, #eef1f7 0 12px, #e6eaf2 12px 24px);
  color: var(--c-muted); font-size: var(--fs-sm);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; }
.contact-info__hq {
  display: flex; flex-direction: column; gap: 2px;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--c-border);
  font-size: var(--fs-sm); color: var(--c-text-2);
}
.contact-info__hq strong { color: var(--c-text); font-weight: 500; }
.contact-info__hq a:hover { color: var(--c-accent); }

/* Right: form card */
.contact-form-wrap {
  padding: 40px 42px 36px; border-radius: var(--radius);
  background: var(--c-white); box-shadow: var(--shadow);
}
.contact-form-wrap__title { margin-bottom: 6px; }
.contact-form-wrap__text { margin: 0 0 26px; font-size: var(--fs-sm); color: var(--c-text-2); }

.cform__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.cform__field { margin-bottom: 18px; }
.cform__label { display: block; margin-bottom: 6px; font-size: var(--fs-sm); color: var(--c-text); }
.cform__label em { margin-left: 2px; font-style: normal; color: #e0453a; }
.cform__input {
  display: block; width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  background: var(--c-white); color: var(--c-text);
  font: inherit; font-size: var(--fs-base);
  transition: border-color .2s, box-shadow .2s;
}
.cform__input::placeholder { color: #b5b8bd; }
.cform__input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(45, 84, 185, .12); }
.cform__select {
  appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px;
}
.cform__textarea { height: auto; min-height: 140px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.cform__field.is-error .cform__input { border-color: #e0453a; }
.cform__err { margin: 6px 0 0; font-size: var(--fs-xs); color: #e0453a; }

.cform__consent { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); line-height: 1.6; color: var(--c-text-2); cursor: pointer; }
.cform__consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--c-primary); cursor: pointer; }
.cform__consent a { color: var(--c-accent); text-decoration: underline; }

.cform__submit { min-width: 180px; height: 48px; margin-top: 6px; }
.cform__submit:disabled { opacity: .6; cursor: wait; }
.cform__status { margin: 18px 0 0; padding: 12px 16px; border-radius: var(--radius-sm); font-size: var(--fs-sm); line-height: 1.6; }
.cform__status--ok { background: #e9f8ef; color: #1c7c43; }
.cform__status--fail { background: #fdecea; color: #b3261e; }
.cform__status--demo { background: #fff6e5; color: #9a5b00; }

@media (max-width: 1024px) {
  .contact-quick__grid { grid-template-columns: repeat(2, 1fr); }
  .contact-main__layout { grid-template-columns: 1fr; }
  .contact-form-wrap { order: -1; }
  .contact-map { aspect-ratio: 16 / 9; }
}
@media (max-width: 768px) {
  .contact-quick__title { font-size: 24px; }
  .contact-quick__grid { gap: 14px; }
  .contact-card { padding: 20px 16px; }
  .contact-card__icon { width: 44px; height: 44px; margin-bottom: 10px; }
  .contact-card__value { font-size: var(--fs-md); }
  .contact-form-wrap { padding: 28px 20px 24px; }
  .cform__row { grid-template-columns: 1fr; }
  .cform__submit { width: 100%; }
}

/* ==========================================================================
   23. Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .nav__list { gap: 18px; }
  .nav__item--l1 > .nav__link { font-size: 15px; }
  .header__phone { display: none; }
}

@media (max-width: 1200px) {
  :root { --header-h: 72px; --sec-pad: 70px; --fs-h2: 32px; --fs-watermark: 80px; }
  .nav { display: none; }
  .header__tools { margin-left: auto; }
  .header__burger { display: block; }
  .logo__img { height: 42px; }
  .logo__region { margin-left: 10px; padding-left: 10px; height: 22px; font-size: 13px; letter-spacing: .22em; }
  .shorts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about__grid { gap: 40px; }
}

@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  /* Stacked: text first, then photo / video, like HQ mobile */
  .about__grid { grid-template-columns: 1fr; grid-template-areas: "body" "media" "video" "tagline"; row-gap: 0; }
  .about__body { margin-bottom: 36px; }
  .about__video { justify-self: end; margin: -60px 20px 0 0; width: 300px; border-radius: 20px; }
  .about__img-wrap { border-radius: 20px; }
  .about__tagline { margin: 30px 0 0; }
  .about__watermark, .about__quote { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .svc-tiles { margin: 0 auto; }
  .reason__grid { grid-template-columns: 1fr; gap: 30px; }
  .reason__photo { width: 100%; }
  .reason__tabs { margin-top: 24px; }
  .reason__intro-mark { display: none; }
  .news__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --sec-pad: 56px; --fs-h2: 26px; --fs-watermark: 56px; --gutter: 16px; }
  .sec-head { margin-bottom: 28px; }
  .sec-head__row { gap: 14px; }
  .dots { transform: scale(.8); }
  /* Hero: show the whole banner (no cropping) below the header, like HQ.
     English slogan goes in a navy strip under the image. */
  .hero { height: auto; padding-top: var(--header-h); }
  .hero__track { position: relative; display: grid; }
  .hero__slide { position: relative; grid-area: 1 / 1; }
  .hero__slide::after, html[data-lang="en"] .hero__slide::before { display: none; }
  .hero__img, .hero__slide.is-active .hero__img {
    position: relative; inset: auto; height: auto; aspect-ratio: 1920 / 850; transform: none;
  }
  html[data-lang="en"] .hero__content {
    height: auto; padding: 16px var(--gutter) 34px; justify-content: flex-start;
    background: var(--c-navy);
  }
  html[data-lang="en"] .hero__title { font-size: 22px; }
  html[data-lang="en"] .hero__sub { margin-top: 6px; font-size: 13px; gap: 10px; }
  html[data-lang="en"] .hero__sub::before { width: 28px; }
  .hero__dots { bottom: 12px; }
  .hero__arrow { display: none; }
  .header__tools { gap: 10px; }
  .svc-tiles { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .svc-tile { grid-area: auto !important; aspect-ratio: auto; min-height: 150px; }
  .honor__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .shorts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .reason__stage { padding-left: 0; }
  .reason__photo { width: 100%; margin-left: 0; }
  .reason__tabs { margin-top: 24px; }
  .reason__card { position: relative; left: auto; top: auto; bottom: auto; width: auto; min-height: 0; margin: -50px 16px 0; padding: 28px 24px; }
  .reason__tabs { justify-content: center; }
  .news__grid { grid-template-columns: 1fr; }
  .news-card { min-height: 0; }
  .about__video { justify-self: stretch; width: auto; max-width: none; margin: 20px 0 0; }
  .about__tagline { font-size: 16px; }
  .about__tagline::before { width: 60px; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__nav li + li::before { margin: 0 12px; }
  .footer__main { flex-direction: column; }
  .footer__contacts { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .footer__contacts { grid-template-columns: 1fr; }
  .lang-switch { font-size: 13px; }
}
