/* ============================================================
   EICO-style replica — shared stylesheet
   Original implementation. Sample content is placeholder.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;900&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --red: #e60012;
  --gray: #808080;
  --gray-light: #b3b3b3;
  --bg-gray: #f5f5f5;
  --line: #e6e6e6;
  --maxw: 1200px;
  --nav-h: 100px;
  --nav-h-m: 56px;
  --font-zh: "PingFang SC", "Noto Sans SC", "Microsoft Yahei", sans-serif;
  --font-en: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  font-family: var(--font-zh);
  color: var(--black);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; overflow: hidden; }

.mobile { display: none !important; }

/* ---------- Navigation ---------- */
.menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 101;
  transition: background 0.3s, backdrop-filter 0.3s;
}
.menu.scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pcmenu_container {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu_logo {
  width: 184px; height: 60px;
  background: url("logo.png") no-repeat left / contain;
}
/* dark backgrounds (home banner, scrolled nav) → make logo white */
.menu.white .menu_logo,
.menu.scrolled .menu_logo {
  filter: brightness(0) invert(1);
}
/* light backgrounds (cases/about pages) → logo as-is */
.menu.black .menu_logo {
  filter: none;
}
.rightmenu { display: flex; align-items: center; }
.rightmenu li { padding-left: 64px; }
.rightmenu li a { display: inline-block; }
.rightmenu li a p {
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--white);
  padding-bottom: 4px;
  border-bottom: 4px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.menu.black .rightmenu li a p { color: var(--black); }
.menu.scrolled .rightmenu li a p { color: var(--white); }
.rightmenu li a p:hover,
.rightmenu li a .menu_active { border-bottom-color: rgba(255,255,255,0.5); }
.menu.black .rightmenu li a p:hover,
.menu.black .rightmenu li a .menu_active { border-bottom-color: rgba(0,0,0,0.5); }
.menu.scrolled .rightmenu li a p:hover,
.menu.scrolled .rightmenu li a .menu_active { border-bottom-color: rgba(255,255,255,0.5); }

/* contact with QR popup (desktop) */
#contact { position: relative; display: inline-block; }
#header-contact-text { display: inline-block; }
#header-contact-icon { position: relative; top: 3px; margin-left: 4px; vertical-align: middle; }
#header-contact-icon path, #header-contact-icon rect { fill: rgba(255,255,255,0.45); transition: fill 0.2s; }
.menu.black #header-contact-icon path, .menu.black #header-contact-icon rect { fill: rgba(0,0,0,0.45); }
#header-contact-icon:hover path, #header-contact-icon:hover rect { fill: var(--white); }
.menu.black #header-contact-icon:hover path, .menu.black #header-contact-icon:hover rect { fill: var(--black); }
#header-contact-qr {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  transform: translateX(0);
  width: 190px;
  padding: 18px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(0, 8px);
  transition: opacity 0.25s, transform 0.25s;
}
#header-contact-qr .qr-box {
  width: 110px; height: 110px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  color: #000;
  font-size: 11px;
}
#header-contact-qr .qr-box img,
#mobile-contact-qr .qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#contact:hover #header-contact-qr,
#header-contact-icon:hover ~ #header-contact-qr { opacity: 1; pointer-events: auto; transform: translate(0,0); }

/* ---------- Mobile top menu ---------- */
.mobile_menu .topmenu {
  position: fixed; top: 0; left: 0; width: 100%;
  height: var(--nav-h-m);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  z-index: 102;
  background: transparent;
  transition: background 0.3s;
}
.mobile_menu .topmenu.scrolled { background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); }
.mobile_menu .topmenu.dark { background: rgba(10,10,10,0.85); backdrop-filter: blur(8px); }
.menulogo {
  width: 140px; height: 48px;
  background: url("logo.png") no-repeat left / contain;
}
/* dark mobile top menu (home, over dark banner) → white logo */
.mobile_menu .topmenu.dark .menulogo,
.mobile_menu .topmenu:not(.light):not(.scrolled) .menulogo {
  filter: brightness(0) invert(1);
}
/* light / scrolled mobile top menu (cases/about) → logo as-is */
.mobile_menu .topmenu.scrolled .menulogo,
.mobile_menu .topmenu.light .menulogo {
  filter: none;
}
#menubtn {
  width: 28px; height: 20px; position: relative;
}
#menubtn span, #menubtn span:before, #menubtn span:after {
  content: ""; position: absolute; left: 0;
  width: 28px; height: 2px; background: #fff; transition: 0.3s;
}
.mobile_menu .topmenu.scrolled #menubtn span,
.mobile_menu .topmenu.scrolled #menubtn span:before,
.mobile_menu .topmenu.scrolled #menubtn span:after { background: #000; }
.mobile_menu .topmenu.light #menubtn span,
.mobile_menu .topmenu.light #menubtn span:before,
.mobile_menu .topmenu.light #menubtn span:after { background: #000; }
/* dark page header: keep hamburger white even after scroll */
.mobile_menu .topmenu.dark #menubtn span,
.mobile_menu .topmenu.dark #menubtn span:before,
.mobile_menu .topmenu.dark #menubtn span:after { background: #fff; }
/* case-detail 页面：下滑进入白色正文后，logo 和汉堡按钮变黑 */
.mobile_menu .topmenu.dark.detail-page.scrolled { background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.mobile_menu .topmenu.dark.detail-page.scrolled .menulogo { filter: none; }
.mobile_menu .topmenu.dark.detail-page.scrolled #menubtn span,
.mobile_menu .topmenu.dark.detail-page.scrolled #menubtn span:before,
.mobile_menu .topmenu.dark.detail-page.scrolled #menubtn span:after { background: #000; }
#menubtn span { top: 9px; }
#menubtn span:before { top: -8px; }
#menubtn span:after { top: 8px; }

.mobile_menu_open {
  position: fixed; inset: 0;
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.7,0,0.3,1);
  overflow-y: auto;
}
.mobile_menu_open.open { transform: translateX(0); }
.mobile_menu_open .content { position: relative; padding: 0 24px; }
#menuclosebtn {
  width: 28px; height: 28px; position: relative;
  margin: 28px 0 0 auto; display: block;
}
#menuclosebtn:before, #menuclosebtn:after {
  content: ""; position: absolute; top: 13px; left: 0;
  width: 28px; height: 2px; background: #000; transform-origin: center;
}
#menuclosebtn:before { transform: rotate(45deg); }
#menuclosebtn:after { transform: rotate(-45deg); }
.mobile_menu_open .menu_logobar { margin-top: 36px; }
.mobile_menu_open .menu_logobar img,
.mobile_menu_open .menu_logobar .menulogo {
  width: 180px; height: 60px;
}
.mobile_menu_open .menulist { margin-top: 48px; }
.mobile_menu_open .menulist a {
  display: block; padding: 18px 0;
  font-size: 22px; font-weight: 500;
  color: #000; border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.mobile_menu_open .menulist a:hover { color: var(--red); }
.mobile_menu_open .menulist a .en {
  font-family: var(--font-en);
  font-size: 12px; color: var(--gray);
  display: block; margin-top: 2px; letter-spacing: 0.1em;
}

/* ---------- Banner ---------- */
.banner_container {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #000;
}
.banner_container .banner_img,
.banner_container .content {
  width: 100%; height: 100%;
  object-fit: cover;
}
.banner_container .mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.pagebanner_title_wrap {
  position: absolute; left: 0; right: 0; bottom: 14%;
  z-index: 2;
  padding: 0 40px;
}
.pagebanner_title {
  max-width: var(--maxw);
  margin: 0 auto;
  color: #fff;
}
.pc_index_content_text .en {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 64px;
  letter-spacing: 0.02em;
  color: #fff;
  position: relative;
  padding-bottom: 4px;
}
.hover-underline-animation-FFFFFF-index {
  position: relative;
}
.hover-underline-animation-FFFFFF-index:after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 3px; background: #fff; transition: width 0.4s;
}
.hover-underline-animation-FFFFFF-index:hover:after { width: 100%; }
.pc_index_content_text .zh {
  display: block;
  margin-top: 14px;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.3em;
}

/* ---------- Main container ---------- */
.main_container { width: 100%; }
.main { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Submenu (4 categories) ---------- */
.submenu {
  display: flex;
  justify-content: center;
  padding: 90px 0 60px;
  gap: 0;
}
.submenu a {
  display: flex; flex-direction: column; align-items: center;
  margin: 0 56px;
  transition: transform 0.3s;
}
.submenu a:hover { transform: translateY(-6px); }
.submenu a img,
.submenu a .icon {
  width: 70px; height: 70px;
  margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
}
.submenu a p { font-size: 18px; letter-spacing: 0.1em; }

/* ---------- Case grid ---------- */
.case_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 60px;
}
.case {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
  aspect-ratio: 4 / 3;
}
.case a { display: block; width: 100%; height: 100%; }
.case .caseimg {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2,0.7,0.2,1);
}
.case:hover .caseimg { transform: scale(1.06); }
.case h1, .case p {
  position: absolute; left: 24px; right: 24px;
  color: #fff; z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s, opacity 0.4s;
}
.case h1 { bottom: 56px; font-size: 24px; font-weight: 700; }
.case p { bottom: 28px; font-size: 14px; font-weight: 300; }
.case:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.7) 100%);
  opacity: 0; transition: opacity 0.4s; z-index: 1;
  pointer-events: none;
}
.case:hover h1, .case:hover p { transform: translateY(0); opacity: 1; }
.case:hover:after { opacity: 1; }
.case.hide { display: none; }

/* ---------- View all button ---------- */
#toall { text-align: center; margin: 0 0 110px; }
.toall_btn { display: inline-block; }
.toall_btn a {
  display: inline-block; padding: 14px 46px;
  border: 1px solid var(--black);
  font-size: 16px; letter-spacing: 0.2em;
  transition: background 0.3s, color 0.3s;
}
.toall_btn a:hover { background: var(--black); color: #fff; }

/* ---------- Cooperation (brand logos) ---------- */
.cooperation_container.pc { padding: 80px 0 100px; }
.cooperation_container .article { margin-bottom: 36px; }
.cooperation_container .article p {
  font-size: 26px; font-weight: 500; letter-spacing: 0.05em;
}
.label_list_, .label_list {
  display: flex; flex-wrap: wrap;
  position: relative;
  margin-bottom: 28px;
}
.label_list .label, .label_list_ .label {
  padding: 8px 22px; margin-right: 8px; margin-bottom: 8px;
  font-size: 15px; cursor: pointer;
  position: relative;
  transition: color 0.3s;
}
.label.active { color: var(--red); }
.label.active .labelbtn { color: var(--red); }
.active_box {
  position: absolute; bottom: 0; left: 0;
  height: 2px; background: var(--red);
  transition: left 0.35s cubic-bezier(0.4,0,0.2,1), width 0.35s cubic-bezier(0.4,0,0.2,1);
}
.logolist, .logolist2, .logolist3 { overflow: hidden; }
.cooperation {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.brand_container {
  background: #fff;
  height: 120px;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  transition: background 0.3s;
}
.brand_container:hover { background: var(--bg-gray); }
.brand_container .brand-name {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 17px;
  color: #333;
  letter-spacing: 0.02em;
  text-align: center;
}

/* ---------- Partner wall (logo grid) ---------- */
.partner_wall {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 0 100px;
}
.partner_wall .article { margin-bottom: 40px; text-align: center; }
.partner_wall .article p {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: #111;
}
.partner_wall .logo_grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-right: none; border-bottom: none;
}
.partner_wall .logo_grid .logo_item {
  display: flex; align-items: center; justify-content: center;
  height: 130px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background 0.3s;
  box-sizing: border-box;
}
.partner_wall .logo_grid .logo_item:hover { background: var(--bg-gray); }
.partner_wall .logo_grid .logo_item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}
.partner_wall .logo_grid .logo_item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ---------- Split line / Hamburger concept ---------- */
.splitline { border: none; border-top: 1px solid var(--line); margin: 0; }
.Hamberg {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px 20px;
}
.Hamberg_left h1 {
  font-size: 44px; font-weight: 700; margin-bottom: 28px;
}
.Hamberg_left p {
  font-size: 16px; color: #444; line-height: 1.9; max-width: 460px;
}
.Hamberg_right { flex: 1; margin-bottom: 20px; }
.Hamberg_right .burger-illus {
  width: 100%; aspect-ratio: 1/1;
  background:
    linear-gradient(135deg, #ffd400 0 25%, transparent 25%) ,
    linear-gradient(225deg, #e60012 0 25%, transparent 25%),
    linear-gradient(45deg, #00a4e4 0 25%, transparent 25%),
    linear-gradient(315deg, #2bb673 0 25%, transparent 25%);
  background-size: 50% 50%;
  background-position: 0 0, 100% 0, 0 100%, 100% 100%;
  background-repeat: no-repeat;
  background-color: #f5f5f5;
  position: relative;
  border-radius: 8px;
}
.Hamberg_right .burger-illus .layer {
  position: absolute; left: 50%; transform: translateX(-50%);
  border-radius: 999px;
  text-align: center; color: #fff; font-family: var(--font-en);
  font-weight: 700; font-size: 17px; line-height: 34px;
  letter-spacing: 0.1em;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ---------- Team ---------- */
.team { max-width: var(--maxw); margin: 0 auto; padding: 100px 20px; text-align: center; }
.team h1 { font-size: 44px; margin-bottom: 50px; text-align: left; }
.team img { width: 100%; }

/* ---------- Locations ---------- */
.location_contrainer { width: 100%; }
.location {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.place {
  position: relative;
  padding: 50px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
  overflow: hidden;
}
.place:last-child { border-right: none; }
.place:hover { background: #fff; }
.place .map { display: none; }
.place .locicon { width: 22px; margin-bottom: 50px; }
.place .placename {
  font-size: 24px; font-weight: 700; margin-bottom: 8px;
}
.place .placename span {
  display: block;
  font-family: var(--font-en);
  font-size: 12px; color: var(--gray);
  letter-spacing: 0.2em; margin-top: 4px;
}
.place .address { font-size: 14px; color: #555; }

/* ---------- Footer ---------- */
footer { background: #000; color: #fff; }
.footer_container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 70px 20px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
}
.footer_container .info .eicologo {
  width: 184px; height: 60px; margin-bottom: 24px;
  background: url("logo.png") no-repeat left / contain;
  filter: brightness(0) invert(1);
}
.footer_container p { font-size: 14px; color: #b3b3b3; margin-bottom: 14px; }
.footer_container p span { color: #666; }
.footer_container p a { color: #b3b3b3; transition: color 0.2s; }
.footer_container p a:hover { color: #fff; text-decoration: underline; }
.social { margin-top: 22px; display: flex; gap: 16px; }
.social a, .social .qrcode-item {
  width: 36px; height: 36px; border: 1px solid #333;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s; cursor: pointer; position: relative;
}
.social a:hover, .social .qrcode-item:hover { border-color: #fff; }
.social svg { width: 18px; height: 18px; fill: #b3b3b3; }
.social a:hover svg, .social .qrcode-item:hover svg { fill: #fff; }
.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding: 22px 20px;
  text-align: center;
  color: #666; font-size: 12px;
}

/* footer qr popup */
.qr-popup {
  position: absolute; bottom: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  width: 140px; padding: 12px;
  background: #fff; color: #000;
  border-radius: 8px; text-align: center;
  font-size: 12px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.qr-popup .qr {
  width: 116px; height: 116px;
  background: #f0f0f0;
  margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
  color: #999; font-size: 10px;
  overflow: hidden;
}
.qr-popup .qr img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.qrcode-item:hover .qr-popup { opacity: 1; pointer-events: auto; }

/* ---------- About page ---------- */
.about_photo { position: relative; width: 100%; height: 80vh; min-height: 520px; overflow: hidden; background: #000; }
.about_photo .photos { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); grid-auto-rows: 1fr; }
.about_photo .photos img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.about_photo .mask { position: absolute; inset: 0; background: rgba(0,0,0,0.45); z-index: 2; }
.about_photo .title {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); z-index: 3;
  color: #fff; text-align: center;
}
.about_photo .title h1 {
  font-family: var(--font-en); font-size: 56px; font-weight: 900;
  letter-spacing: 0.1em;
}
.about_photo .title p { margin-top: 14px; letter-spacing: 0.4em; font-weight: 300; }

.aboutus_container { padding: 100px 0; }
.aboutus_text { max-width: 900px; margin: 0 auto 60px; text-align: center; }
.aboutus_text h1 { font-size: 48px; font-weight: 700; margin-bottom: 30px; }
.aboutus_text p { font-size: 18px; color: #444; line-height: 2; }

.team_members { margin: 80px 0; }
.team_members > h1 { font-size: 40px; margin-bottom: 50px; }
.team_grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px 28px;
}
.team_grid .member img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.4s, transform 0.4s;
}
.team_grid .member:hover img { filter: grayscale(0); }
.team_grid .member .member_des { margin-top: 16px; text-align: center; }
.team_grid .member .member_des h3 {
  font-size: 18px; font-weight: 500; color: var(--black);
}
.team_grid .member .member_des p {
  font-family: var(--font-en);
  font-size: 11px; color: var(--gray);
  letter-spacing: 0.15em; margin-top: 4px;
}

.our_story { margin: 100px 0; }
.our_story h1 { font-size: 40px; margin-bottom: 50px; }
.storyline_container { width: 100%; }
.storyline {
  position: relative; padding: 40px 0;
}
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.timeline .node { border-top: 2px solid var(--black); padding-top: 22px; }
.timeline .node .year { font-family: var(--font-en); font-weight: 900; font-size: 32px; }
.timeline .node h3 { font-size: 18px; margin: 10px 0 8px; }
.timeline .node p { font-size: 14px; color: #555; line-height: 1.8; }

/* ---------- Recruitment ---------- */
.join_container { padding: 100px 0; background: #fff; margin: 60px 0 0; }
.join_container h1 { font-size: 40px; margin-bottom: 30px; }
.recruit_list { margin-top: 30px; }
.recruit {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.recruit > .head {
  display: flex; align-items: center; padding: 26px 24px;
  cursor: pointer; gap: 20px;
}
.recruit h1 { font-size: 20px; margin: 0; flex: 0 0 auto; }
.recruit h2 { font-family: var(--font-en); font-size: 13px; color: var(--gray); letter-spacing: 0.1em; flex: 0 0 auto; }
.recruit h3 { font-size: 13px; color: var(--gray); margin-left: auto; }
.recruit .unfold {
  width: 14px; height: 14px; position: relative; transition: 0.3s;
}
.recruit .unfold:before, .recruit .unfold:after {
  content: ""; position: absolute; top: 6px; left: 0;
  width: 14px; height: 2px; background: #000;
}
.recruit .unfold:after { transform: rotate(90deg); transition: 0.3s; }
.recruit.open .unfold:after { transform: rotate(0); }
.recruit_detail {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 24px;
}
.recruit.open .recruit_detail { max-height: 1200px; padding-bottom: 30px; }
.recruit_detail h1 { font-size: 16px; margin: 20px 0 10px; }
.recruit_detail p { font-size: 14px; color: #444; line-height: 1.9; }
.recruit_detail .join { margin-top: 20px; }
.recruit_detail .join h2 { font-family: var(--font-zh); font-size: 13px; color: var(--gray); letter-spacing: 0; }

/* ============================================================
   Responsive (mobile)
   ============================================================ */
@media (max-width: 768px) {
  .pc { display: none !important; }
  .mobile { display: block !important; }
  .mobile.inline { display: inline !important; }
  .mobile.flex { display: flex !important; }
  .mobile.grid { display: grid !important; }

  :root { --nav-h: 56px; }

  /* ---------- Mobile banner ---------- */
  .banner_container { height: 100vh; min-height: 560px; }
  .banner_container .mask {
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 35%, rgba(0,0,0,0.65) 100%);
  }
  .pagebanner_title_wrap { padding: 0 24px; bottom: 18%; }
  .pc_index_content_text .en { font-size: 34px; }
  .pc_index_content_text .zh { font-size: 15px; margin-top: 10px; letter-spacing: 0.2em; }

  /* mobile banner overlay title */
  .mobile_pagebanner_title {
    position: absolute; left: 24px; right: 24px; bottom: 24%; z-index: 3;
  }
  .mobile_index_content_text .en {
    font-family: var(--font-en); font-weight: 900;
    font-size: 40px; line-height: 1.08; color: #fff;
    letter-spacing: 0.02em;
  }
  .mobile_index_content_text .zh {
    display: block; margin-top: 14px; font-size: 15px;
    letter-spacing: 0.25em; color: #fff; font-weight: 300;
  }

  /* mobile contact button */
  #mobile-contact-btn {
    position: fixed; bottom: 24px; right: 20px;
    z-index: 99;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: #000; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transition: transform 0.2s, background 0.2s;
  }
  #mobile-contact-btn:active { transform: scale(0.94); }
  #mobile-contact-btn svg { width: 20px; height: 20px; }
  #mobile-contact-btn .text { display: none; }
  #mobile-contact-qr {
    position: absolute; right: 0; bottom: calc(100% + 14px);
    background: #fff; color: #000;
    padding: 16px; border-radius: 12px; width: 170px;
    flex-direction: column; align-items: center;
    display: flex; opacity: 0; pointer-events: none; transform: translateY(10px);
    transition: opacity 0.25s, transform 0.25s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    font-size: 12px; text-align: center;
  }
  #mobile-contact-qr .qr { width: 120px; height: 120px; background:#fff; color:#000; display:flex; align-items:center; justify-content:center; font-size:10px; margin-bottom:8px; overflow:hidden; }
  #mobile-contact-btn.active #mobile-contact-qr { opacity: 1; pointer-events: auto; transform: translateY(0); }

  /* ---------- Mobile menu improvements ---------- */
  .mobile_menu .topmenu {
    height: var(--nav-h-m);
    padding: 0 18px;
    background: transparent;
  }
  .mobile_menu .topmenu.scrolled { background: rgba(255,255,255,0.95); box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
  .mobile_menu .topmenu.dark { background: rgba(10,10,10,0.75); }
  .menulogo { width: 120px; height: 42px; }
  #menubtn { width: 30px; height: 22px; }
  #menubtn span, #menubtn span:before, #menubtn span:after {
    width: 30px; height: 2px; border-radius: 1px;
  }
  #menubtn span { top: 10px; }
  #menubtn span:before { top: -9px; }
  #menubtn span:after { top: 9px; }
  /* hamburger → X when menu open */
  #menubtn.active span { background: transparent !important; }
  #menubtn.active span:before { top: 0; transform: rotate(45deg); }
  #menubtn.active span:after { top: 0; transform: rotate(-45deg); }

  .mobile_menu_open {
    background: #0a0a0a;
    color: #fff;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.7,0,0.3,1);
  }
  .mobile_menu_open.open { transform: translateX(0); }
  .mobile_menu_open .content { padding: 0 28px; min-height: 100vh; display: flex; flex-direction: column; }
  #menuclosebtn {
    width: 30px; height: 30px;
    margin: 24px 0 0 auto; display: block;
  }
  #menuclosebtn:before, #menuclosebtn:after {
    width: 30px; height: 2px; background: #fff;
  }
  .mobile_menu_open .menu_logobar { margin-top: 28px; }
  .mobile_menu_open .menu_logobar .menulogo {
    width: 160px; height: 52px;
    filter: brightness(0) invert(1);
  }
  .mobile_menu_open .menulist { margin-top: 50px; flex: 1; }
  .mobile_menu_open .menulist a {
    display: block; padding: 22px 0;
    font-size: 26px; font-weight: 700;
    color: #fff; border-bottom: 1px solid rgba(255,255,255,0.12);
    transition: color 0.2s, padding-left 0.2s;
    letter-spacing: 0.04em;
  }
  .mobile_menu_open .menulist a:active { color: var(--red); padding-left: 8px; }
  .mobile_menu_open .menulist a .en {
    font-family: var(--font-en);
    font-size: 11px; color: rgba(255,255,255,0.45);
    display: block; margin-top: 4px; letter-spacing: 0.15em;
  }
  .mobile_menu_open .menu_footer {
    padding: 32px 0 44px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 13px; color: rgba(255,255,255,0.5);
  }
  .mobile_menu_open .menu_footer a {
    display: inline-block; color: #fff; margin-top: 8px;
    font-size: 16px; letter-spacing: 0.05em;
  }

  .main { padding: 0 18px; }

  /* ---------- Submenu ---------- */
  .submenu {
    display: flex;
    justify-content: space-between;
    padding: 46px 0 28px;
    gap: 8px;
  }
  .submenu a {
    margin: 0;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    transition: transform 0.2s;
  }
  .submenu a:active { transform: scale(0.96); }
  .submenu a .icon,
  .submenu a img {
    width: 58px; height: 58px;
    margin: 0 auto 10px;
    padding: 14px;
    border-radius: 50%;
    background: #f7f7f7;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.25s;
    box-sizing: border-box;
  }
  .submenu a:hover .icon,
  .submenu a:hover img { background: #eeeeee; }
  .submenu a .icon svg { width: 100%; height: 100%; }
  .submenu a p {
    font-size: 13px;
    letter-spacing: 0.02em;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ---------- Case grid ---------- */
  .case_container { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .case { aspect-ratio: 4/3; }
  .case h1 { font-size: 20px; bottom: 46px; left: 18px; right: 18px; }
  .case p { font-size: 13px; bottom: 20px; left: 18px; right: 18px; }
  .case h1, .case p { opacity: 1; transform: translateY(0); }
  .case:after { opacity: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.7) 100%); }

  /* ---------- View all button ---------- */
  #toall { margin: 40px 0 70px; }
  .toall_btn a { padding: 12px 40px; font-size: 14px; }

  /* ---------- Cooperation ---------- */
  .cooperation_container.pc { padding: 46px 0 60px; }
  .cooperation_container.mobile { padding-top: 46px; }
  .cooperation_container .article { margin-bottom: 24px; }
  .cooperation_container .article p { font-size: 22px; }
  .label_list_, .label_list {
    overflow-x: auto; flex-wrap: nowrap;
    padding-bottom: 12px; margin-bottom: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .label_list_::-webkit-scrollbar, .label_list::-webkit-scrollbar { display: none; }
  .label_list .label, .label_list_ .label { flex: 0 0 auto; padding: 8px 18px; }
  .label_list .label button, .label_list_ .label button { font-size: 14px; }
  .active_box { height: 2px; }
  .cooperation { grid-template-columns: repeat(2, 1fr); }
  .brand_container { height: 86px; padding: 14px; }
  .brand_container .brand-name { font-size: 13px; }

  /* ---------- Partner wall (mobile) ---------- */
  .partner_wall { padding: 46px 18px 60px; }
  .partner_wall .article { margin-bottom: 24px; }
  .partner_wall .article p { font-size: 22px; }
  .partner_wall .logo_grid { grid-template-columns: repeat(3, 1fr); }
  .partner_wall .logo_grid .logo_item { height: 96px; padding: 14px; }

  /* ---------- Hamburger concept ---------- */
  .Hamberg { flex-direction: column; gap: 42px; padding: 56px 18px; }
  .Hamberg_left h1 { font-size: 28px; margin-bottom: 18px; }
  .Hamberg_left p { font-size: 14px; line-height: 1.85; }

  /* ---------- Team ---------- */
  .team { padding: 56px 18px; }
  .team h1 { font-size: 28px; margin-bottom: 24px; }

  /* ---------- Locations ---------- */
  .location { grid-template-columns: 1fr; }
  .place {
    padding: 34px 24px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .place .locicon { width: 20px; margin-bottom: 26px; }
  .place .placename { font-size: 22px; margin-bottom: 6px; }
  .place .placename span { font-size: 11px; margin-top: 3px; }
  .place .address { font-size: 14px; }

  /* ---------- Footer ---------- */
  footer { position: relative; }
  .footer_container { grid-template-columns: 1fr; gap: 28px; padding: 48px 22px 28px; }
  .footer_container .info .eicologo { width: 140px; height: 46px; margin-bottom: 22px; }
  .footer_container p { font-size: 14px; margin-bottom: 12px; }
  .social { gap: 14px; margin-top: 18px; }
  .social a, .social .qrcode-item { width: 42px; height: 42px; }
  .social svg { width: 20px; height: 20px; }
  .qr-popup {
    bottom: calc(100% + 10px);
    width: 150px; padding: 12px;
    font-size: 11px;
    opacity: 0; pointer-events: none;
    transform: translateX(-50%) translateY(6px);
    transition: opacity 0.2s, transform 0.2s;
  }
  .qr-popup.active { opacity: 1; pointer-events: auto; transform: translateX(-20%) translateY(0); }
  .qr-popup .qr { width: 110px; height: 110px; }
  .footer-bottom { padding: 18px 22px; font-size: 11px; }

  /* ---------- About page ---------- */
  .about_photo { height: 68vh; min-height: 420px; }
  .about_photo .photos { grid-template-columns: repeat(4, 1fr); }
  .about_photo .title h1 { font-size: 34px; }
  .about_photo .title p { font-size: 12px; letter-spacing: 0.3em; }

  .aboutus_container { padding: 56px 0; }
  .aboutus_text h1 { font-size: 28px; margin-bottom: 22px; }
  .aboutus_text p { font-size: 15px; line-height: 1.9; margin-bottom: 16px; }

  .team_members { margin: 56px 0; }
  .team_members > h1 { font-size: 28px; margin-bottom: 32px; }
  .team_grid { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .team_grid .member .member_des { margin-top: 12px; }
  .team_grid .member .member_des h3 { font-size: 16px; }
  .team_grid .member .member_des p { font-size: 10px; }

  .our_story { margin: 56px 0; }
  .our_story h1 { font-size: 28px; margin-bottom: 32px; }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline .node { padding-top: 18px; }
  .timeline .node .year { font-size: 28px; }
  .timeline .node h3 { font-size: 16px; }

  .join_container { padding: 56px 0; margin: 0; }
  .join_container h1 { font-size: 28px; margin-bottom: 18px; }
  .join_container > p { font-size: 14px; line-height: 1.8; }
  .recruit > .head { padding: 20px 18px; gap: 12px; flex-wrap: wrap; }
  .recruit h1 { font-size: 17px; }
  .recruit h2 { font-size: 11px; }
  .recruit h3 { font-size: 12px; margin-left: 0; flex: 1 1 100%; }
  .recruit .unfold { width: 16px; height: 16px; margin-left: auto; }
  .recruit .unfold:before, .recruit .unfold:after { width: 16px; }
  .recruit_detail { padding: 0 18px; }
  .recruit_detail h1 { font-size: 14px; }
  .recruit_detail p { font-size: 13px; }

  /* ---------- Cases page ---------- */
  .caselabel_container { padding: 80px 0 14px; }
  .caselabel_container.pc { padding-top: 80px; }
}

/* ============================================================
   Cases page: black logo on white bg, white logo after scroll (PC only)
   ============================================================ */
/* PC: initial white background → black logo */
.menu.cases-page .menu_logo {
  background-image: url("logo_black.png");
  filter: none;
}
/* PC: scrolled dark background → white logo (logo.png) */
.menu.cases-page.scrolled .menu_logo {
  background-image: url("logo.png");
  filter: none;
}
/* Mobile: cases page always white bg → always black logo */
.mobile_menu .topmenu.cases-page .menulogo,
.mobile_menu .topmenu.cases-page.scrolled .menulogo,.mobile_menu .topmenu.dark.detail-page.scrolled .menulogo {
  background-image: url("logo_black.png");
  filter: none;
}
