/* ============================================================
   广州创汇 · 手机版样式（m/m.css）
   仅用于 /m/ 目录下的手机页面，桌面版不受影响
   ============================================================ */

:root {
  --red: #c52127;
  --red-dark: #a01a20;
  --yellow: #ffe733;
  --bg: #101012;
  --bg-2: #1a1a1d;
  --line: rgba(255, 255, 255, .08);
  --text: #e9e9ea;
  --text-dim: #9a9a9e;
  --hd-h: 54px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- 顶部固定栏 ---------- */
.mhd {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--hd-h);
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 60;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .25);
}
.mhd .brand { display: flex; align-items: baseline; gap: 8px; color: #fff; }
.mhd .brand .cn { font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.mhd .brand .en { font-size: 11px; letter-spacing: 2px; opacity: .85; }

.burger {
  width: 42px; height: 42px;
  margin-right: -8px;
  border: 0; background: transparent;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px; cursor: pointer;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 展开菜单 ---------- */
.mnav {
  position: fixed;
  top: var(--hd-h); left: 0; right: 0;
  background: #17171a;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: none;
  z-index: 55;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .55);
}
.mnav.is-open {
  display: block;
  animation: navDrop .22s ease-out both;
}
@keyframes navDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.mnav a {
  display: block;
  padding: 14px 20px;
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.mnav a:last-child { border-bottom: 0; }
.mnav a.is-on { color: var(--yellow); font-weight: 700; }
.mnav a:active { background: rgba(255, 255, 255, .05); }

/* ---------- 主体 ---------- */
main {
  padding-top: var(--hd-h);
  padding-bottom: 8px;
}

.page-hd {
  background: linear-gradient(135deg, var(--red) 0%, #8c161b 100%);
  padding: 20px 20px 18px;
  margin-bottom: 14px;
}
.page-hd h1 { margin: 0; font-size: 21px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.page-hd .sub { margin-top: 4px; font-size: 11px; letter-spacing: 2px; color: rgba(255, 255, 255, .72); text-transform: uppercase; }

.wrap { padding: 0 14px; }

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 16px 6px;
  margin-bottom: 14px;
}
.card p { margin: 0 0 12px; font-size: 15px; line-height: 1.85; color: #dcdcdf; }
.card p:last-child { margin-bottom: 10px; }
.card .mimg { margin: 4px 0 14px; border-radius: 8px; }

.mt-0 { margin-top: 0; }

/* 章节小标题 */
.sec-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--yellow);
}
.sec-hd::before {
  content: "";
  width: 4px; height: 16px;
  background: var(--red);
  border-radius: 2px;
}

/* ---------- 首页入口 ---------- */
.hero {
  background: linear-gradient(160deg, #c52127 0%, #8c161b 55%, #16161a 100%);
  padding: 30px 22px 26px;
}
.hero .logo-cn { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: 2px; }
.hero .logo-en { margin-top: 6px; font-size: 12px; letter-spacing: 4px; color: rgba(255, 255, 255, .78); }
.hero .slogan { margin-top: 16px; font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, .86); }

.entries { padding: 14px 14px 4px; }
.entries a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  padding: 16px 16px;
  margin-bottom: 10px;
}
.entries a:active { background: #232327; }
.entries .t { font-size: 17px; font-weight: 700; }
.entries .e { display: block; margin-top: 2px; font-size: 11px; letter-spacing: 1.5px; color: var(--text-dim); }
.entries .arrow { color: var(--red); font-size: 18px; }

/* ---------- 业务范围 ---------- */
.biz a { display: block; margin-bottom: 14px; }
.biz a:last-child { margin-bottom: 0; }
.biz img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}

/* ---------- 案例画廊 ---------- */
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 14px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chips button {
  flex: 0 0 auto;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--text-dim);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.chips button.is-on {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  font-weight: 700;
}

/* 二级栏目（关于创汇下）用链接形式 */
.chips.subnav { padding-top: 0; }
.chips a {
  flex: 0 0 auto;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--text-dim);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.chips a.is-on {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  font-weight: 700;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0 14px;
}
.grid2 .tile {
  position: relative;
  padding: 0;
  border: 0;
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.grid2 .tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.grid2 .tile:active img { transform: scale(1.04); }
.grid2 .tile .n {
  position: absolute;
  left: 6px; bottom: 6px;
  padding: 1px 6px;
  font-size: 10px;
  color: #fff;
  background: rgba(0, 0, 0, .55);
  border-radius: 4px;
}
.gtip { padding: 10px 15px 4px; font-size: 12px; color: var(--text-dim); }

/* 灯箱 */
.lb {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, .94);
  display: none;
  flex-direction: column;
}
.lb.is-open { display: flex; }
.lb .bar {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 13px;
  color: var(--text-dim);
}
.lb .close {
  border: 0; background: transparent;
  color: #fff; font-size: 26px;
  line-height: 1;
  width: 44px; height: 44px;
  cursor: pointer;
}
.lb .stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 6px;
}
.lb .stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb .ctrl {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 8px;
}
.lb .ctrl button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- 下单 / 联系 ---------- */
.dlbtn {
  display: block;
  margin: 0 0 16px;
  padding: 15px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(197, 33, 39, .35);
}
.dlbtn:active { background: var(--red-dark); }
.dlbtn .small { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; opacity: .85; }

.rows { margin-bottom: 14px; }
.rows .row {
  display: flex;
  gap: 12px;
  padding: 13px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 8px;
}
.rows .k { flex: 0 0 62px; font-size: 13px; color: var(--text-dim); }
.rows .v { flex: 1; font-size: 15px; color: #e6e6e8; word-break: break-all; }
.rows .v a { color: var(--yellow); }

/* ---------- 站点地图 ---------- */
.maplist a {
  display: flex;
  justify-content: space-between;
  padding: 13px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 15px;
}
.maplist a:active { background: #232327; }
.maplist .e { font-size: 11px; color: var(--text-dim); letter-spacing: 1px; }

/* ---------- 页脚 ---------- */
.mft {
  margin-top: 22px;
  padding: 22px 18px calc(26px + env(safe-area-inset-bottom));
  background: #08080a;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}
.mft .tel {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
}
.mft .tel span { color: var(--red); margin-right: 6px; }
.mft .mail { display: block; margin-bottom: 12px; color: #cfcfd4; }
.mft .links { margin-bottom: 12px; }
.mft .links a { color: #b9b9be; padding: 4px 8px; }
.mft .links a:active { color: var(--yellow); }
.mft .cp { font-size: 11px; line-height: 1.9; opacity: .75; }
.mft .ver { margin-top: 10px; }
.mft .ver a {
  display: inline-block;
  padding: 7px 16px;
  font-size: 12px;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ---------- 回到顶部 ---------- */
.totop {
  position: fixed;
  right: 14px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(30, 30, 34, .86);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 40;
}
.totop.is-on { opacity: 1; pointer-events: auto; }
