/* ==========================================================================
   国曜琴岛（东营）律师事务所 · 门户网站样式表
   设计基调：庄重 / 克制 / 历史厚度（始于 1956）+ 现代动效
   配色源自官方画册与集团官网：国曜红 #A40000 · 暗金 #D4A853 · 米白 #F7F5F2
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --red: #a40000;
  --red-bright: #c81f1f;
  --red-deep: #6d0000;
  --red-ink: #2a0b09;
  --gold: #d4a853;
  --gold-lt: #e8ce93;
  --gold-dk: #a87f34;

  --ink: #14100f;
  --ink-2: #333333;
  --ink-3: #6b6b6b;
  --ink-4: #9a9a9a;

  --paper: #ffffff;
  --cream: #f7f5f2;
  --cream-2: #efeae4;
  --night: #120d0c;
  --night-2: #1d1614;

  --line: rgba(20, 16, 15, 0.09);
  --line-gold: rgba(212, 168, 83, 0.34);
  --line-light: rgba(255, 255, 255, 0.12);

  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong",
    "SimSun", "Times New Roman", serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
    "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  --latin: "Cormorant Garamond", "Didot", Georgia, "Times New Roman", serif;

  --wrap: 1280px;
  --gut: clamp(20px, 5vw, 56px);
  --sect: clamp(72px, 9vw, 132px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 84px;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--red);
  color: #fff;
}

/* 功能开关隐藏（data-feature 关闭时由脚本加 hidden） */
[hidden] {
  display: none !important;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--cream-2);
}
::-webkit-scrollbar-thumb {
  background: var(--red);
}

/* ---------- 3. 排版 ---------- */
.h-serif {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--latin);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-dk);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--light {
  color: var(--gold-lt);
}

.sec-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.32;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.sec-title em {
  font-style: normal;
  color: var(--red);
}

.sec-sub {
  font-family: var(--latin);
  font-size: 14px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-top: 8px;
}

.sec-desc {
  max-width: 62ch;
  color: var(--ink-3);
  font-size: 15.5px;
}

.lead {
  font-size: 17px;
  line-height: 2.05;
  color: #4a4340;
}

/* ---------- 4. 布局 ---------- */
.wrap {
  width: min(var(--wrap), 100% - var(--gut) * 2);
  margin-inline: auto;
}

.sect {
  padding-block: var(--sect);
  position: relative;
}

/* 锚点定位时避开吸顶导航 */
[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.sect--cream {
  background: var(--cream);
}

.sect--dark {
  background: var(--night);
  color: rgba(255, 255, 255, 0.74);
}

.sect--dark .sec-title {
  color: #fff;
}

.sect-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 52px;
}

.rule-gold {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 20px 0 24px;
}

/* ---------- 5. 顶部工具条 ---------- */
.topbar {
  background: var(--night);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  height: 38px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 60;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar a {
  transition: color 0.3s;
}

.topbar a:hover {
  color: var(--gold-lt);
}

.topbar .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
}

.topbar .tag {
  color: var(--gold-lt);
  letter-spacing: 0.14em;
}

/* ---------- 6. 导航头 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: height 0.45s var(--ease), background 0.4s, box-shadow 0.4s;
}

.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
  transition: height 0.45s var(--ease);
}

.header.is-stuck {
  box-shadow: 0 14px 40px -22px rgba(20, 16, 15, 0.4);
}

.header.is-stuck .header__in {
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand__mark {
  height: 46px;
  width: auto;
  transition: height 0.45s var(--ease);
}

.header.is-stuck .brand__mark {
  height: 38px;
}

.brand__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand__cn {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink);
  white-space: nowrap;
}

.brand__en {
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--ink-4);
  text-transform: uppercase;
  white-space: nowrap;
}

.brand__en:empty {
  display: none;
}

/* 主导航 */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 30px);
}

.nav__link {
  position: relative;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  padding: 8px 0;
  white-space: nowrap;
  transition: color 0.3s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.nav__link:hover,
.nav__link.is-on {
  color: var(--red);
}

.nav__link:hover::after,
.nav__link.is-on::after {
  transform: scaleX(1);
}

.nav__num {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gold-dk);
  margin-right: 6px;
  vertical-align: 2px;
  opacity: 0.85;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  white-space: nowrap;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.1em;
  padding: 12px 24px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  box-shadow: 0 10px 26px -14px rgba(164, 0, 0, 0.85);
}

.header__cta span {
  position: relative;
  z-index: 1;
}

.header__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--red-deep), var(--ink));
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}

.header__cta:hover::before {
  transform: translateY(0);
}

.header__cta:hover {
  transform: translateY(-2px);
}

/* 汉堡按钮 */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.burger i {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: 0.4s var(--ease);
}

.burger i:nth-child(1) {
  top: 16px;
}
.burger i:nth-child(2) {
  top: 21.5px;
}
.burger i:nth-child(3) {
  top: 27px;
}

.burger.is-open i:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.burger.is-open i:nth-child(2) {
  opacity: 0;
}
.burger.is-open i:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* 移动端抽屉 */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--night);
  color: #fff;
  padding: 28px var(--gut);
  transform: translateX(101%);
  transition: transform 0.62s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-light);
}

.drawer__head img {
  height: 40px;
}

.drawer__close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-light);
  background: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  border-radius: 2px;
}

.drawer__nav {
  margin-top: 22px;
  flex: 1;
}

.drawer__nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 0.08em;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-light);
  color: #fff;
}

.drawer__nav a i {
  font-family: var(--latin);
  font-size: 12px;
  font-style: normal;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.drawer__foot {
  padding-top: 26px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 2;
}

.drawer__foot b {
  color: var(--gold-lt);
  font-weight: 500;
}

/* ---------- 7. 滚动进度条 ---------- */
.scroll-prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--red), var(--gold));
  z-index: 200;
  transition: width 0.12s linear;
}

/* ---------- 8. 开场幕布 ---------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #0f0e0d; /* 中性深墨，避免红色染满整屏 */
  display: grid;
  place-items: center;
  transition: opacity 0.7s var(--ease) 0.35s, visibility 0.7s 0.35s;
}

.curtain__box {
  text-align: center;
}

.curtain__box img {
  height: 74px;
  margin: 0 auto 20px;
  opacity: 0;
  animation: curtainIn 0.9s var(--ease) 0.1s forwards;
}

.curtain__en {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.42em;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0;
  animation: curtainIn 0.9s var(--ease) 0.3s forwards;
}

.curtain__bar {
  width: 120px;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin: 26px auto 0;
  overflow: hidden;
}

.curtain__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  animation: curtainBar 1.05s var(--ease-in-out) forwards;
}

body.is-ready .curtain {
  opacity: 0;
  visibility: hidden;
}

@keyframes curtainIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes curtainBar {
  to {
    width: 100%;
  }
}

/* ---------- 8.5 语言幕布 / 语言切换 ---------- */
.curtain__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 46% at 50% 40%, rgba(232, 206, 147, 0.15), transparent 70%),
    radial-gradient(85% 62% at 50% 112%, rgba(212, 168, 83, 0.1), transparent 72%);
  animation: curtainGlow 3.6s var(--ease-in-out) infinite alternate;
  pointer-events: none;
}

.curtain__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  color: #fff;
  letter-spacing: 0.16em;
  margin-top: 30px;
  opacity: 0;
  animation: curtainIn 0.9s var(--ease) 0.42s forwards;
}

.curtain__sub {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 12px;
  opacity: 0;
  animation: curtainIn 0.9s var(--ease) 0.54s forwards;
}

.curtain__opts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.langopt {
  position: relative;
  min-width: 168px;
  padding: 20px 26px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 168, 83, 0.28);
  color: #fff;
  cursor: pointer;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  animation: curtainIn 0.85s var(--ease) var(--d, 0.6s) forwards;
  transition: border-color 0.4s, background 0.4s, transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.langopt b {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.langopt span {
  display: block;
  font-family: var(--latin);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 8px;
}

.langopt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(168, 127, 52, 0.92), var(--gold-dk));
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}

.langopt:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(212, 168, 83, 0.7);
}

.langopt:hover::before {
  transform: translateY(0);
}

.langopt:hover span {
  color: var(--gold-lt);
}

.curtain__skip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  padding: 8px 4px;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  cursor: pointer;
  opacity: 0;
  animation: curtainIn 0.9s var(--ease) 0.95s forwards;
  transition: color 0.3s;
}

.curtain__skip i {
  font-style: normal;
  transition: transform 0.4s var(--ease);
}

.curtain__skip:hover {
  color: var(--gold-lt);
}

.curtain__skip:hover i {
  transform: translateX(5px);
}

/* 选中后的收起动作 */
.curtain.is-picking .curtain__box {
  animation: curtainPick 0.32s var(--ease) forwards;
}

@keyframes curtainGlow {
  from {
    opacity: 0.55;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes curtainPick {
  to {
    opacity: 0;
    transform: translateY(-14px) scale(0.97);
  }
}

/* 顶栏语言切换器 */
.langpick {
  position: relative;
}

.langpick__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  padding: 4px 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.3s;
}

.langpick__btn svg {
  width: 15px;
  height: 15px;
}

.langpick__btn:hover,
.langpick.is-open .langpick__btn {
  color: var(--gold-lt);
}

.langpick__caret {
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.35s var(--ease);
}

.langpick.is-open .langpick__caret {
  transform: rotate(180deg);
}

.langpick__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  min-width: 178px;
  background: var(--night-2);
  border: 1px solid var(--line-light);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85);
  padding: 6px;
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s;
}

.langpick.is-open .langpick__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.langpick__opt {
  display: flex;
  width: 100%;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.3s, color 0.3s;
}

.langpick__opt i {
  font-family: var(--latin);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
}

.langpick__opt:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.langpick__opt.is-on {
  color: var(--gold-lt);
  background: rgba(212, 168, 83, 0.1);
}

.langpick__opt.is-on i {
  color: var(--gold-dk);
}

/* 站内中英文快捷切换（顶栏 / 移动端抽屉 / 页脚） */
.langswitch {
  display: inline-flex;
  align-items: stretch;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.langswitch__b {
  padding: 6px 13px;
  background: none;
  border: 0;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  cursor: pointer;
  transition: color 0.3s, background 0.35s var(--ease);
}

.langswitch__b + .langswitch__b {
  border-left: 1px solid var(--line);
}

.langswitch__b:hover {
  color: var(--ink);
  background: rgba(164, 0, 0, 0.06);
}

.langswitch__b.is-on {
  background: var(--red);
  color: #fff;
}

.langswitch--dark {
  border-color: var(--line-light);
  background: rgba(255, 255, 255, 0.04);
}

.langswitch--dark .langswitch__b {
  color: rgba(255, 255, 255, 0.52);
}

.langswitch--dark .langswitch__b + .langswitch__b {
  border-left-color: var(--line-light);
}

.langswitch--dark .langswitch__b:hover {
  color: #fff;
  background: rgba(212, 168, 83, 0.12);
}

.langswitch--dark .langswitch__b.is-on {
  background: var(--gold);
  color: #21160a;
}

.drawer .langswitch {
  margin-top: 26px;
  align-self: flex-start;
}

@media (max-width: 1240px) {
  .header .langswitch {
    display: none;
  }
}

/* 切换语言时的整屏扫光 */
.langwipe {
  position: fixed;
  inset: 0;
  z-index: 260;
  pointer-events: none;
  visibility: hidden;
}

.langwipe i {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    #1a1917 0%,
    #0f0e0d 52%,
    var(--gold-dk) 100%
  );
  transform: scaleX(0);
  transform-origin: left center;
}

.langwipe b {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: 0.24em;
  color: #fff;
  opacity: 0;
}

.langwipe.is-run {
  visibility: visible;
}

.langwipe.is-run i {
  animation: langWipe 0.9s var(--ease-in-out) forwards;
}

.langwipe.is-run b {
  animation: langWipeTxt 0.9s var(--ease-in-out) forwards;
}

@keyframes langWipe {
  0% {
    transform: scaleX(0);
    transform-origin: left center;
  }
  45% {
    transform: scaleX(1);
    transform-origin: left center;
  }
  55% {
    transform: scaleX(1);
    transform-origin: right center;
  }
  100% {
    transform: scaleX(0);
    transform-origin: right center;
  }
}

@keyframes langWipeTxt {
  0% {
    opacity: 0;
    letter-spacing: 0.5em;
  }
  40% {
    opacity: 1;
    letter-spacing: 0.24em;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    letter-spacing: 0.4em;
  }
}

/* 页面封存提示 */
.sealed {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--night);
  display: grid;
  place-items: center;
  padding: var(--gut);
  text-align: center;
  animation: curtainIn 0.6s var(--ease) forwards;
}

.sealed__box img {
  height: 62px;
  margin: 0 auto 26px;
}

.sealed__t {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  color: #fff;
  letter-spacing: 0.14em;
}

.sealed__d {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14.5px;
  margin-top: 14px;
  max-width: 46ch;
}

.sealed__c {
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-top: 20px;
}

.sealed .btn {
  margin-top: 26px;
}

/* 英文模式下隐藏已有的英文副标题，避免重复 */
html[lang="en"] .pitem__en {
  display: none;
}

@media (max-width: 760px) {
  .topbar-right a[href^="mailto:"] {
    display: none;
  }
}

/* ---------- 9. 首屏 Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--night);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: -6% -4%;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroKen 22s var(--ease-in-out) infinite alternate;
}

@keyframes heroKen {
  to {
    transform: scale(1.15) translate3d(-1.4%, -1.2%, 0);
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      100deg,
      rgba(18, 13, 12, 0.95) 0%,
      rgba(42, 11, 9, 0.86) 34%,
      rgba(18, 13, 12, 0.5) 62%,
      rgba(18, 13, 12, 0.72) 100%
    ),
    radial-gradient(120% 90% at 78% 18%, rgba(212, 168, 83, 0.16), transparent 60%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: radial-gradient(90% 80% at 30% 45%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(90% 80% at 30% 45%, #000 20%, transparent 78%);
}

.hero__in {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-block: clamp(84px, 12vh, 150px);
}

.hero__kicker {
  color: var(--gold-lt);
  font-family: var(--latin);
  font-size: 13px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

/* 首屏文案渐次入场（与标题遮罩上浮配合） */
.hero__kicker,
.hero__lead,
.hero__acts {
  opacity: 0;
  animation: heroFade 1.05s var(--ease) forwards;
}

.hero__kicker {
  animation-delay: 0.24s;
}
.hero__lead {
  animation-delay: 0.66s;
}
.hero__acts {
  animation-delay: 0.8s;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__kicker::before {
  content: "";
  width: 46px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  color: #fff;
  font-size: clamp(34px, 5.6vw, 68px);
  line-height: 1.22;
  letter-spacing: 0.05em;
  margin-bottom: 22px;
  max-width: 17ch;
}

.hero__title .ln {
  display: block;
}

.hero__title em {
  font-style: normal;
  color: var(--gold-lt);
  position: relative;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero__lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 2.1;
  max-width: 54ch;
  margin-bottom: 40px;
}

.hero__lead b {
  color: #fff;
  font-weight: 500;
}

.hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero__side {
  position: absolute;
  right: 34px;
  bottom: 96px;
  z-index: 4;
  writing-mode: vertical-rl;
  font-family: var(--latin);
  font-size: 11.5px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.3em;
}

.hero__scroll i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollHint 2.1s var(--ease-in-out) infinite;
}

@keyframes scrollHint {
  0%,
  100% {
    opacity: 0.25;
    transform: scaleY(0.5);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* hero 金色描线 */
.hero__lines {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: min(760px, 62%);
  opacity: 0.5;
  pointer-events: none;
}

.hero__lines path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: drawLine 3.4s var(--ease) 0.7s forwards;
}

.hero__lines path:nth-child(2) {
  animation-delay: 1.1s;
  opacity: 0.6;
}

.hero__lines path:nth-child(3) {
  animation-delay: 1.5s;
  opacity: 0.35;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* 内页 hero */
.phero {
  position: relative;
  min-height: min(58vh, 520px);
  display: flex;
  align-items: flex-end;
  background: var(--night);
  overflow: hidden;
}

.phero__bg {
  position: absolute;
  inset: 0;
}

.phero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transform: scale(1.05);
}

.phero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 13, 12, 0.86) 0%,
    rgba(42, 11, 9, 0.6) 45%,
    rgba(18, 13, 12, 0.94) 100%
  );
}

.phero__in {
  position: relative;
  z-index: 2;
  padding-block: 60px 62px;
}

.phero__title {
  font-family: var(--serif);
  color: #fff;
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 54px);
  letter-spacing: 0.07em;
  line-height: 1.3;
  margin-top: 16px;
}

.phero__en {
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 12px;
}

.phero__desc {
  color: rgba(255, 255, 255, 0.66);
  max-width: 60ch;
  margin-top: 16px;
  font-size: 15.5px;
}

/* 面包屑 */
.crumb {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.08em;
  margin-top: 22px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.crumb a:hover {
  color: var(--gold-lt);
}

.crumb span {
  opacity: 0.5;
}

/* ---------- 10. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 15px 32px;
  font-size: 14.5px;
  letter-spacing: 0.12em;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), color 0.4s, border-color 0.4s;
}

.btn > span {
  position: relative;
  z-index: 1;
}

.btn i {
  position: relative;
  z-index: 1;
  font-style: normal;
  transition: transform 0.45s var(--ease);
}

.btn:hover i {
  transform: translateX(4px);
}

.btn--solid {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 32px -18px rgba(164, 0, 0, 0.9);
}

.btn--solid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.52s var(--ease);
}

.btn--solid:hover::before {
  transform: translateY(0);
}

.btn--solid:hover {
  transform: translateY(-3px);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
}

.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateY(101%);
  transition: transform 0.52s var(--ease);
}

.btn--ghost:hover::before {
  transform: translateY(0);
}

.btn--ghost:hover {
  color: var(--ink);
  border-color: #fff;
}

.btn--line {
  border-color: var(--line);
  color: var(--ink);
}

.btn--line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.52s var(--ease);
}

.btn--line:hover::before {
  transform: translateY(0);
}

.btn--line:hover {
  color: #fff;
  border-color: var(--ink);
}

/* 文字链接 */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--red);
  position: relative;
  padding-bottom: 4px;
}

.tlink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.28);
  transform-origin: left;
  opacity: 0.4;
  transition: transform 0.5s var(--ease), opacity 0.4s;
}

.tlink:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.tlink i {
  font-style: normal;
  transition: transform 0.45s var(--ease);
}

.tlink:hover i {
  transform: translateX(5px);
}

.tlink--light {
  color: var(--gold-lt);
}

/* ---------- 11. 数据条 ---------- */
.stats {
  background: linear-gradient(120deg, var(--red-deep) 0%, var(--red) 52%, #8c1414 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 120% at 88% 20%, rgba(212, 168, 83, 0.22), transparent 65%);
}

.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.stat {
  background: transparent;
  padding: 42px 26px;
  text-align: center;
  position: relative;
  transition: background 0.5s var(--ease);
}

.stat:hover {
  background: rgba(0, 0, 0, 0.14);
}

.stat__num {
  font-family: var(--latin);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
}

.stat__num small {
  font-size: 0.42em;
  margin-left: 4px;
  letter-spacing: 0.08em;
  color: var(--gold-lt);
}

.stat__label {
  font-size: 14px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 14px;
}

.stat__en {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
  margin-top: 6px;
}

/* ---------- 12. 通用图文块 ---------- */
.split {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.split--rev .split__media {
  order: -1;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 横构图（如前台 logo 墙这类宽幅实景） */
.split__media--wide img {
  aspect-ratio: 16 / 9;
}

.frame-off {
  position: relative;
  z-index: 1;
}

.frame-off::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--line-gold);
  z-index: -1;
}

.badge-1956 {
  position: absolute;
  right: -18px;
  bottom: -18px;
  z-index: 2;
  background: var(--red);
  color: #fff;
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 22px 44px -22px rgba(164, 0, 0, 0.85);
}

.badge-1956 b {
  display: block;
  font-family: var(--latin);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.badge-1956 span {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.8);
}

/* 段落小标题 */
.subhead {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.subhead::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--red);
}

/* ---------- 13. 业务卡片 ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* 三大板块 + 商务翻译配套服务 */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cards-4 .bcard {
  padding: 34px 26px 30px;
}

.cards-4 .bcard__title {
  font-size: 22px;
}

.cards-4 .bcard__desc {
  font-size: 13.8px;
  min-height: 108px;
}

.cards-4 .bcard__list li {
  font-size: 13px;
}

.bcard {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px 34px 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: box-shadow 0.55s var(--ease), border-color 0.5s, transform 0.5s var(--ease);
}

.bcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--red-deep), var(--night) 70%);
  transform: translateY(101%);
  transition: transform 0.66s var(--ease);
  z-index: 0;
}

.bcard > * {
  position: relative;
  z-index: 1;
}

.bcard__no {
  font-family: var(--latin);
  font-size: 46px;
  line-height: 1;
  color: var(--cream-2);
  letter-spacing: 0.02em;
  transition: color 0.5s;
}

.bcard__kicker {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-top: 22px;
  transition: color 0.5s;
}

.bcard__title {
  font-family: var(--serif);
  font-size: 25px;
  color: var(--ink);
  margin-top: 10px;
  letter-spacing: 0.06em;
  transition: color 0.5s;
}

.bcard__desc {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.95;
  margin-top: 14px;
  min-height: 84px;
  transition: color 0.5s;
}

.bcard__list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  transition: border-color 0.5s;
}

.bcard__list li {
  font-size: 13.5px;
  color: var(--ink-3);
  padding: 5px 0;
  display: flex;
  gap: 9px;
  align-items: baseline;
  transition: color 0.5s;
}

.bcard__list li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gold);
  flex-shrink: 0;
  transform: translateY(-3px) rotate(45deg);
}

.bcard__more {
  margin-top: auto;
  padding-top: 24px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.5s;
}

.bcard:hover {
  border-color: transparent;
  box-shadow: 0 34px 70px -34px rgba(42, 11, 9, 0.6);
}

.bcard:hover::before {
  transform: translateY(0);
}

.bcard:hover .bcard__no {
  color: rgba(212, 168, 83, 0.42);
}

.bcard:hover .bcard__title {
  color: #fff;
}

.bcard:hover .bcard__desc,
.bcard:hover .bcard__list li {
  color: rgba(255, 255, 255, 0.66);
}

.bcard:hover .bcard__list {
  border-color: var(--line-light);
}

.bcard:hover .bcard__kicker,
.bcard:hover .bcard__more {
  color: var(--gold-lt);
}

/* ---------- 13.1 商务翻译服务 ---------- */
.tr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--paper);
}

.tr-item {
  position: relative;
  padding: 32px 26px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.5s var(--ease);
}

.tr-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.tr-item:hover {
  background: #fffdf8;
}

.tr-item:hover::before {
  transform: scaleX(1);
}

.tr-item__no {
  font-family: var(--latin);
  font-size: 26px;
  line-height: 1;
  color: var(--gold-dk);
  letter-spacing: 0.06em;
}

.tr-item__t {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  margin-top: 12px;
  letter-spacing: 0.04em;
}

.tr-item__d {
  font-size: 13.8px;
  line-height: 1.95;
  color: var(--ink-3);
  margin-top: 12px;
}

.tr-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 24px;
  background: var(--line);
  border: 1px solid var(--line);
}

.tr-strip__cell {
  background: var(--cream);
  padding: 22px 26px;
}

.tr-strip__cell b {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--gold-dk);
}

.tr-strip__cell span {
  display: block;
  margin-top: 7px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-3);
}

.tr-cta {
  margin-top: 34px;
}

/* ---------- 14. 深耕东营 ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 20px 0;
  background: var(--paper);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track span {
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 46px;
  white-space: nowrap;
}

.marquee__track span::after {
  content: "";
  width: 1px;
  height: 16px;
  background: var(--line);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* 产业标签 */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  border: 1px solid var(--line);
  padding: 9px 18px;
  font-size: 13.5px;
  color: var(--ink-3);
  border-radius: 40px;
  background: var(--paper);
  transition: 0.42s var(--ease);
}

.tag:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -14px rgba(164, 0, 0, 0.4);
}

/* 全宽图带 */
.bandimg {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background: var(--night);
  overflow: hidden;
}

.bandimg__bg {
  position: absolute;
  inset: -12% 0;
}

.bandimg__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  will-change: transform;
}

.bandimg__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 13, 12, 0.94), rgba(18, 13, 12, 0.5) 60%, rgba(18, 13, 12, 0.8));
}

.bandimg__in {
  position: relative;
  z-index: 2;
  padding-block: 88px;
  color: #fff;
}

/* ---------- 15. 荣誉 ---------- */
.honor-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.honor {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
  transition: 0.5s var(--ease);
}

.honor::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--red);
  transition: height 0.55s var(--ease);
}

.honor:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 26px 50px -30px rgba(20, 16, 15, 0.5);
}

.honor:hover::before {
  height: 100%;
}

.honor__scope {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dk);
}

.honor__name {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  margin-top: 10px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.honor__org {
  font-size: 12.5px;
  color: var(--ink-4);
  margin-top: 10px;
  line-height: 1.7;
}

/* ---------- 16. 实景画廊 ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gitem {
  position: relative;
  overflow: hidden;
  background: var(--night);
  display: block;
}

.gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), opacity 0.6s;
}

.gitem::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 13, 12, 0.82), transparent 62%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.gitem figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(12px);
  transition: 0.6s var(--ease);
}

.gitem figcaption small {
  display: block;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold-lt);
  text-transform: uppercase;
  margin-top: 4px;
}

.gitem:hover img {
  transform: scale(1.07);
}

.gitem:hover::after,
.gitem:hover figcaption {
  opacity: 1;
  transform: none;
}

.gitem--wide {
  grid-column: span 2;
}

.gallery .gitem {
  min-height: 230px;
}

/* ---------- 17. 表单 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
}

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(26px, 3.4vw, 46px);
  position: relative;
}

.form::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  position: relative;
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 9px;
}

.field label b {
  color: var(--red);
  font-weight: 400;
  margin-left: 3px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 14px 16px;
  font-size: 15px;
  border-radius: 2px;
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.8;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(164, 0, 0, 0.09);
}

.field.is-bad input,
.field.is-bad textarea {
  border-color: var(--red);
  background: rgba(164, 0, 0, 0.04);
}

.field__err {
  font-size: 12px;
  color: var(--red);
  margin-top: 6px;
  display: none;
}

.field.is-bad .field__err {
  display: block;
  animation: shake 0.42s var(--ease);
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  margin-top: 8px;
}

.form__hint {
  font-size: 12.5px;
  color: var(--ink-4);
  line-height: 1.8;
  max-width: 34ch;
}

.form__msg {
  margin-top: 18px;
  font-size: 14px;
  padding: 14px 18px;
  border-radius: 2px;
  display: none;
  border-left: 3px solid var(--gold);
  background: var(--cream);
}

.form__msg.is-show {
  display: block;
  animation: fadeUp 0.5s var(--ease);
  border-left-color: var(--red);
  color: var(--ink-2);
}

/* 提交失败：服务未连接 */
.form__msg.is-err {
  border-left-color: var(--red-bright);
  background: #fdf3f2;
}

.form__msg .msg-actions {
  display: inline-flex;
  gap: 18px;
  margin-top: 8px;
}

.form__msg .msg-link {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--red);
  border-bottom: 1px solid currentColor;
  cursor: pointer;
}

.form__msg .msg-link:hover {
  color: var(--red-bright);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* 联系信息 */
.cinfo {
  display: grid;
  gap: 0;
}

.cinfo__item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  transition: 0.45s var(--ease);
}

.cinfo__item:first-child {
  padding-top: 0;
}

.cinfo__item:hover {
  padding-left: 8px;
}

.cinfo__ico {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 1px solid var(--line-gold);
  display: grid;
  place-items: center;
  color: var(--red);
  transition: 0.45s var(--ease);
}

.cinfo__item:hover .cinfo__ico {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.cinfo__ico svg {
  width: 19px;
  height: 19px;
}

.cinfo__k {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--ink-4);
  text-transform: uppercase;
  font-family: var(--latin);
}

.cinfo__v {
  font-size: 15.5px;
  color: var(--ink);
  margin-top: 5px;
  line-height: 1.8;
}

.cinfo__v a:hover {
  color: var(--red);
}

.mapbox {
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 22px;
  margin-top: 6px;
}

.mapbox img {
  width: 100%;
}

.mapbox__tag {
  position: absolute;
  right: 14px;
  top: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  padding: 6px 12px;
}

/* ---------- 18. 页脚 ---------- */
.footer {
  background: var(--night);
  color: rgba(255, 255, 255, 0.56);
  padding-top: 82px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 12% 0%, rgba(164, 0, 0, 0.28), transparent 62%);
  pointer-events: none;
}

.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 60px;
}

.footer__brand img {
  height: 66px;
  margin-bottom: 22px;
}

.footer__brand p {
  font-size: 14px;
  line-height: 2;
  max-width: 34ch;
}

.footer__title {
  font-family: var(--serif);
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.14em;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-light);
  position: relative;
}

.footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 1px;
  background: var(--gold);
}

.footer__list li {
  margin-bottom: 12px;
  font-size: 14px;
}

.footer__list a {
  transition: 0.35s;
  display: inline-block;
}

.footer__list a:hover {
  color: var(--gold-lt);
  transform: translateX(5px);
}

.footer__contact li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 1.85;
}

.footer__contact b {
  color: var(--gold);
  font-weight: 400;
  flex-shrink: 0;
  font-size: 13px;
}

.footer__qr {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.footer__qr img {
  width: 84px;
  border: 1px solid var(--line-light);
  padding: 5px;
  background: #fff;
}

.footer__qr span {
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.46);
}

.footer__bar {
  position: relative;
  border-top: 1px solid var(--line-light);
  padding: 22px 0;
  font-size: 12.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.4);
}

.footer__bar a:hover {
  color: var(--gold-lt);
}

/* ---------- 19. 动效（滚动揭示） ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-reveal="left"] {
  transform: translateX(-38px);
}

[data-reveal="right"] {
  transform: translateX(38px);
}

[data-reveal="zoom"] {
  transform: scale(0.955);
}

[data-reveal="mask"] {
  clip-path: inset(0 0 100% 0);
  transform: none;
  opacity: 1;
  transition: clip-path 1.15s var(--ease);
  transition-delay: var(--d, 0ms);
}

[data-reveal="mask"].is-in {
  clip-path: inset(0 0 0 0);
}

/* 逐行遮罩上浮（首屏标题） */
.mline {
  display: block;
  overflow: hidden;
}

.mline > span {
  display: block;
  transform: translateY(105%);
  animation: mUp 1.15s var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes mUp {
  to {
    transform: translateY(0);
  }
}

/* 竖线绘制 */
.vline {
  background: var(--line-gold);
  transform-origin: top;
}

[data-reveal="draw"] {
  transform: scaleY(0);
  opacity: 1;
  transition: transform 1.3s var(--ease);
}

[data-reveal="draw"].is-in {
  transform: scaleY(1);
}

/* 数字滚动容器 */
.count {
  font-variant-numeric: tabular-nums;
}

/* 鼠标跟随光斑 */
.spot {
  position: fixed;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.11), transparent 66%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.6s;
  mix-blend-mode: screen;
}

body.has-spot .spot {
  opacity: 1;
}

/* 返回顶部 */
.totop {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 80;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-light);
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: 0.5s var(--ease);
  border-radius: 2px;
}

.totop.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.totop:hover {
  background: var(--ink);
}

/* ---------- 20. 业务领域页 ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 46px;
}

.tab {
  background: none;
  border: 0;
  padding: 18px 30px;
  font-size: 16px;
  letter-spacing: 0.1em;
  cursor: pointer;
  color: var(--ink-3);
  position: relative;
  font-family: var(--serif);
  transition: color 0.4s;
}

.tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}

.tab b {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.14em;
  display: block;
  color: var(--gold-dk);
  font-weight: 600;
  margin-bottom: 3px;
}

.tab:hover {
  color: var(--ink);
}

.tab.is-on {
  color: var(--red);
}

.tab.is-on::after {
  transform: scaleX(1);
}

.panel {
  display: none;
}

.panel.is-on {
  display: block;
  animation: fadeUp 0.65s var(--ease);
}

.plist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

/* 4 项服务（商务翻译）用两列，避免单行落单 */
.plist--2 {
  grid-template-columns: repeat(2, 1fr);
}

.plist__foot {
  margin-top: 26px;
}

.pitem {
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: 0.5s var(--ease);
}

.pitem__no {
  font-family: var(--latin);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gold-dk);
}

.pitem__name {
  font-family: var(--serif);
  font-size: 17.5px;
  color: var(--ink);
  margin-top: 10px;
  line-height: 1.55;
  letter-spacing: 0.03em;
  transition: color 0.45s;
}

.pitem__en {
  font-family: var(--latin);
  font-size: 12px;
  color: var(--ink-4);
  margin-top: 8px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.pitem::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(164, 0, 0, 0.07), transparent);
  transition: width 0.55s var(--ease);
}

.pitem:hover::before {
  width: 100%;
}

.pitem:hover .pitem__name {
  color: var(--red);
}

.pitem > * {
  position: relative;
}

/* 服务流程 */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: f;
}

.flow__step {
  position: relative;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.flow__step::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.9s var(--ease) var(--d, 0ms);
}

.flow.is-in .flow__step::before {
  width: 100%;
}

.flow__no {
  font-family: var(--latin);
  font-size: 40px;
  line-height: 1;
  color: var(--cream-2);
}

.flow__t {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  margin-top: 14px;
  letter-spacing: 0.06em;
}

.flow__d {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 10px;
  line-height: 1.9;
}

/* ---------- 21. 专业人员页 ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: var(--cream);
  margin-bottom: 40px;
}

.filters__label {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  margin-right: 6px;
}

.chip {
  border: 1px solid transparent;
  background: var(--paper);
  padding: 8px 18px;
  font-size: 13.5px;
  cursor: pointer;
  color: var(--ink-3);
  border-radius: 40px;
  transition: 0.4s var(--ease);
}

.chip:hover {
  color: var(--red);
  border-color: var(--line-gold);
}

.chip.is-on {
  background: var(--red);
  color: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tcard {
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  transition: 0.55s var(--ease);
}

.tcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 56px -34px rgba(20, 16, 15, 0.5);
}

.tcard__ph {
  aspect-ratio: 3 / 4;
  background: linear-gradient(150deg, var(--cream) 0%, var(--cream-2) 100%);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.tcard__ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(164, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(164, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}

.tcard__ph svg {
  width: 66px;
  height: 66px;
  color: rgba(164, 0, 0, 0.22);
  position: relative;
  z-index: 1;
}

.tcard__ph span {
  position: absolute;
  bottom: 18px;
  z-index: 1;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-4);
}

.tcard__body {
  padding: 20px 20px 22px;
  border-top: 1px solid var(--line);
}

.tcard__name {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.08em;
}

.tcard__role {
  font-size: 12.5px;
  color: var(--ink-4);
  margin-top: 7px;
  letter-spacing: 0.1em;
}

.tcard__bar {
  height: 8px;
  background: var(--cream-2);
  margin-top: 14px;
  border-radius: 40px;
}

.tcard__bar--s {
  width: 62%;
}

.tempty {
  margin-top: 46px;
  border: 1px dashed var(--line-gold);
  padding: 54px 30px;
  text-align: center;
  background: var(--cream);
}

.tempty h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.06em;
}

.tempty p {
  color: var(--ink-3);
  margin-top: 12px;
  font-size: 14.5px;
}

/* ---------- 22. 关于我们页 ---------- */
.tl {
  position: relative;
  padding-left: 34px;
}

.tl::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), var(--line) 70%, transparent);
}

.tl__item {
  position: relative;
  padding-bottom: 42px;
}

.tl__item:last-child {
  padding-bottom: 0;
}

.tl__item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 8px;
  width: 11px;
  height: 11px;
  background: var(--paper);
  border: 2px solid var(--red);
  border-radius: 50%;
  transition: 0.45s var(--ease);
}

.tl__item:hover::before {
  background: var(--red);
  transform: scale(1.25);
}

.tl__yr {
  font-family: var(--latin);
  font-size: 27px;
  color: var(--red);
  letter-spacing: 0.03em;
  line-height: 1;
}

.tl__t {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  margin-top: 10px;
  letter-spacing: 0.06em;
}

.tl__d {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 8px;
  line-height: 1.9;
}

/* 价值观 */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-light);
}

.value {
  background: var(--night-2);
  padding: 46px 34px;
  transition: background 0.5s var(--ease);
}

.value:hover {
  background: #241a17;
}

.value__cn {
  font-family: var(--serif);
  font-size: 30px;
  color: #fff;
  letter-spacing: 0.2em;
}

.value__pinyin {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 10px;
}

.value__d {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.56);
  margin-top: 18px;
  line-height: 2;
}

/* 通用网格信息 */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fact {
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}

.fact b {
  display: block;
  font-family: var(--latin);
  font-size: 28px;
  color: var(--ink);
  line-height: 1.2;
}

.fact span {
  font-size: 13.5px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

/* 资质清单 */
.qual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 30px;
}

.qual li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  align-items: baseline;
}

.qual li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--red);
  transform: rotate(45deg) translateY(-3px);
  flex-shrink: 0;
}

/* ---------- 23. 响应式 ---------- */
@media (max-width: 1180px) {
  .nav {
    display: none;
  }
  .burger {
    display: block;
  }
  .header__cta {
    display: none;
  }
}

@media (max-width: 1100px) {
  .cards-3,
  .cards-4,
  .tr-grid,
  .honor-rail,
  .team-grid,
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .plist {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
  .values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .split,
  .grid-2,
  .grid-3,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .split--rev .split__media {
    order: 0;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .gitem--wide {
    grid-column: span 2;
  }
  .hero__side {
    display: none;
  }
  .qual {
    grid-template-columns: 1fr;
  }
  .tr-strip {
    grid-template-columns: 1fr;
  }
  .brand__txt {
    display: none;
  }
  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 560px) {
  .cards-3,
  .cards-4,
  .tr-grid,
  .honor-rail,
  .team-grid,
  .flow,
  .plist,
  .stats__grid,
  .gallery {
    grid-template-columns: 1fr;
  }
  .gitem--wide {
    grid-column: span 1;
  }
  .cards-4 .bcard {
    padding: 30px 24px 28px;
  }
  .cards-4 .bcard__desc {
    min-height: 0;
  }
  .tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 0;
    margin-bottom: 34px;
  }
  .tab {
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    letter-spacing: 0.06em;
    text-align: left;
  }
  .tab::after {
    bottom: 0;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .topbar-left {
    display: none;
  }
  .badge-1956 {
    right: 12px;
    bottom: 12px;
  }
  .frame-off::before {
    display: none;
  }
}

/* ---------- 23b. 五栏导航的紧凑适配 ---------- */
@media (max-width: 1360px) and (min-width: 1181px) {
  .header__in {
    gap: 18px;
  }
  .nav {
    gap: clamp(10px, 1.6vw, 24px);
  }
  .nav__num {
    display: none;
  }
  .nav__link {
    font-size: 15px;
    letter-spacing: 0.04em;
  }
  .brand__cn {
    font-size: 17.5px;
  }
  .header__cta {
    padding: 11px 18px;
    font-size: 13.5px;
  }
}

/* ---------- 24. 无障碍 / 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .mline > span {
    transform: none !important;
  }
  .hero__lines path {
    stroke-dashoffset: 0 !important;
  }
}

@media print {
  .header,
  .topbar,
  .curtain,
  .totop,
  .spot {
    display: none !important;
  }
}
