/* ============================================================
   传奇影视 LEGEND TVC — Site Styles
   Domain: legendtvc.cn
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  /* Brand red — primary CTA / seal emphasis */
  --red: #F00000;
  --red-hover: #E00000;
  --red-deep: #A00000;
  --brand: var(--red);
  --brand-hover: var(--red-hover);
  --brand-deep: var(--red-deep);
  /* Gold accents — eyebrows, section-en, borders, ghost buttons (not large fills) */
  --gold: #D4AF37;
  --gold-bright: #C9A227;
  --gold-light: #F5E6A3;
  --gold-muted: #A8966A;
  --border: rgba(212, 175, 55, 0.22);
  --border-strong: rgba(212, 175, 55, 0.45);
  --border-red: rgba(240, 0, 0, 0.35);
  --text: #FFFFFF;
  --text-muted: #C8C8C8;
  --text-dim: #888888;
  --accent-blue: #1a1410;
  --white: #ffffff;
  --danger-placeholder: #C9A227;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  --font-sans: "Legend PuHuiTi", "Legend PuHuiTi Ext", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-serif: "Legend PuHuiTi", "Legend PuHuiTi Ext", "Noto Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --header-h: 72px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--gold-light);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(0, 0, 0, 0.92);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo svg,
.logo-img {
  height: 44px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
}
.logo-img-footer {
  height: 40px;
  max-width: 200px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-muted);
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.nav a:hover,
.nav a.is-active {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-muted);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown > button:hover,
.nav-dropdown:focus-within > button,
.nav-dropdown.is-open > button {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
}

.nav-dropdown > button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.7;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.2s var(--ease);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.dropdown-menu a:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25);
}

.header-cta:hover {
  filter: brightness(1.08);
  color: #ffffff !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--gold);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: 0.25s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #ffffff !important;
  border: 1px solid transparent;
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--red-hover), var(--red-deep));
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--gold-light) !important;
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
  color: #fff !important;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  overflow: hidden;
}

.hero-bg,
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

.hero-video,
.hero-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.78) 38%, rgba(0, 0, 0, 0.35) 62%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 32%, rgba(0, 0, 0, 0.72) 100%),
    radial-gradient(ellipse 50% 40% at 18% 78%, rgba(240, 0, 0, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 30% at 85% 28%, rgba(212, 175, 55, 0.08), transparent 55%);
  pointer-events: none;
}

.hero-still,
.hero-video {
  object-position: right center;
}

.hero-content-panel {
  max-width: min(560px, 100%);
  padding: 28px 28px 32px;
  margin-left: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.22));
  border: 1px solid rgba(212, 175, 55, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 0.28em;
  max-width: 12em !important;
}

.hero-headline .hero-line {
  display: block;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

@media (max-width: 720px) {
  .hero-content-panel {
    max-width: 100%;
    padding: 20px 18px 24px;
  }
  .hero-still,
  .hero-video {
    object-position: 70% center;
  }
}

.hero-cinematic {
  min-height: min(100vh, 920px);
  padding: calc(var(--header-h) + 56px) 0 88px;
}

.hero-content,
.hero .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  max-width: 16em;
  margin-bottom: 20px;
}

.hero h1 .gold,
.hero h1 .accent {
  color: #FFFFFF;
  background: linear-gradient(90deg, #FFFFFF, #F5E6A3, #D4AF37);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 36em;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-meta-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
}
.hero-meta-item strong:not(.subtitle-metal) {
  color: var(--gold-light);
}

.hero-meta-item span {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(18, 18, 24, 0.6), rgba(11, 11, 15, 0));
}

.section-head {
  margin-bottom: 48px;
  max-width: 640px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-en {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 10px;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: 0.3s var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(240, 0, 0, 0.08), transparent 50%);
  opacity: 0;
  transition: 0.3s;
}

.service-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  position: relative;
}

.service-card .num {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold-muted);
  margin-bottom: 8px;
  position: relative;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 10px;
  position: relative;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
  position: relative;
}

.service-card .link {
  margin-top: 20px;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card .link::after {
  content: "→";
  transition: transform 0.25s;
}

.service-card:hover .link::after {
  transform: translateX(4px);
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--gold-light);
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Cases / clients ---------- */
.client-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.client-chip {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-muted);
  background: rgba(240, 0, 0, 0.04);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.case-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 140px;
}

.case-visual {
  background:
    linear-gradient(145deg, rgba(26, 42, 68, 0.9), rgba(11, 11, 15, 0.95)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(240, 0, 0, 0.04) 8px,
      rgba(240, 0, 0, 0.04) 9px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
}

.case-body {
  padding: 24px;
}

.case-body .tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.case-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.case-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- About teaser ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-panel {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(240, 0, 0, 0.15), transparent 55%),
    var(--bg-card);
  min-height: 320px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.about-panel .quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--gold-light);
}

.about-panel .quote-en {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.about-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 10px 0 16px;
}

.about-copy p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.about-copy .btn-row {
  margin-top: 24px;
}

/* ---------- Contact strip ---------- */
.contact-strip {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 48px;
  background:
    linear-gradient(120deg, rgba(212, 175, 55, 0.12), transparent 42%),
    linear-gradient(300deg, rgba(240, 0, 0, 0.08), transparent 40%),
    var(--bg-elevated);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}

.contact-strip h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.contact-strip p {
  color: var(--text-muted);
}

.contact-info {
  display: grid;
  gap: 14px;
}

.contact-info dt {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold-muted);
  text-transform: uppercase;
}

.contact-info dd {
  color: var(--text);
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.contact-info dd.subtitle-metal,
.contact-info dd a.subtitle-metal {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.contact-info dd a.subtitle-metal { text-decoration: none; }

.placeholder {
  color: var(--danger-placeholder);
  border-bottom: 1px dashed rgba(240, 0, 0, 0.5);
  padding-bottom: 1px;
}

/* ---------- Page hero (inner) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 56px) 0 48px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 80% at 90% 0%, rgba(26, 42, 68, 0.45), transparent 55%),
    var(--bg);
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 40em;
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--gold-muted);
}

.breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}

/* ---------- Service detail ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.detail-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.detail-block h3 {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-block h3::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.detail-block ul {
  display: grid;
  gap: 10px;
}

.detail-block li {
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  font-size: 0.95rem;
}

.detail-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 1px;
  background: var(--gold-muted);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.process-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg-elevated);
  position: relative;
}

.process-item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.process-item h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.process-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- About page ---------- */
.timeline {
  display: grid;
  gap: 0;
  border-left: 1px solid var(--border);
  margin-left: 8px;
  padding-left: 28px;
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(240, 0, 0, 0.15);
}

.timeline-item .year {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 6px;
}

.timeline-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.scope-list li {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  background: var(--bg-card);
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-card h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.form-note {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-top: 16px;
  line-height: 1.6;
}

.map-placeholder {
  min-height: 280px;
  border-radius: var(--radius);
  border: 1px dashed var(--border-strong);
  background:
    radial-gradient(circle at 40% 40%, rgba(240, 0, 0, 0.08), transparent 50%),
    var(--bg-elevated);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  gap: 8px;
}

.map-placeholder strong {
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

/* ---------- Amap embed ---------- */
.amap-block {
  margin-top: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #0a0a0a;
  overflow: hidden;
}
.amap-block--compact {
  margin-top: 24px;
}
.amap-canvas {
  width: 100%;
  height: 260px;
  background: #111;
}
.amap-block--compact .amap-canvas {
  height: 220px;
}
.amap-canvas--fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 24px;
  color: var(--text-muted);
  min-height: 220px;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 40% 40%, rgba(240, 0, 0, 0.08), transparent 50%),
    #111;
}
.amap-canvas--fallback strong {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.amap-canvas--fallback strong:not(.subtitle-metal) {
  color: var(--gold-light);
}
.amap-fallback-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 28em;
  line-height: 1.5;
}
.amap-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.55);
}
.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}


/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  background: #000000;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 28em;
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 5px 0;
}

.footer-col a:hover {
  color: var(--gold-light);
}

/* 2026-11-13 页脚联系方式列：微信行、地址与电话/邮箱链接同色（var(--text-muted)，后台「页脚普通文字」颜色设置会统一覆盖） */
.footer-col .footer-contact-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 5px 0;
}
.footer-col .footer-address {
  font-size: 0.85rem;
  margin-top: 8px;
  line-height: 1.6;
  padding: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- Mobile nav ---------- */
@media (max-width: 960px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid,
  .process,
  .footer-grid,
  .about-split,
  .contact-strip,
  .contact-layout,
  .detail-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card {
    grid-template-columns: 100px 1fr;
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 24px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s var(--ease);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a,
  .nav-dropdown > button {
    width: 100%;
    justify-content: space-between;
    border-radius: 8px;
    padding: 12px 14px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 12px;
    margin-top: 4px;
  }

  .nav-dropdown.is-open .dropdown-menu {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-bottom: 56px;
  }

  .section {
    padding: 64px 0;
  }

  .service-grid,
  .process,
  .scope-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-strip {
    padding: 28px;
  }

  .case-card {
    grid-template-columns: 1fr;
  }

  .case-visual {
    min-height: 100px;
  }
}



/* ---------- Founder ---------- */
.founder-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.founder-block-lg {
  gap: 48px;
}
.founder-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  min-width: 0;
}
.founder-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.founder-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.founder-copy { min-width: 0; overflow-wrap: anywhere; }
.founder-stamp {
  position: static;
  display: block;
  width: fit-content;
  max-width: calc(100% - 28px);
  margin: 10px 14px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(240, 0, 0, 0.55);
  color: #fff;
  font-family: var(--font-serif);
  font-size: .95rem;
  line-height: 1.5;
  letter-spacing: 0.12em;
  overflow-wrap: anywhere;
}
.founder-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin: 8px 0 10px;
}
.founder-title {
  color: var(--brand);
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.founder-bio {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

/* ---------- Social platforms ---------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.social-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: 0.25s var(--ease);
}
.social-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  color: #fff;
}
.social-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}
.social-name {
  font-size: 1.1rem;
  font-weight: 600;
}
.social-cta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}
.social-note {
  margin-top: 16px;
  font-size: 0.92rem;
}
.social-note a { color: var(--brand); }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}
.footer-social a:hover {
  color: #fff;
  border-color: var(--brand);
}

/* ---------- Embed player ---------- */
.pinned-player {
  margin-top: 36px;
}
.embed-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.pinned-player > video {
  display: block;
  width: 100%;
  max-height: 560px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #000;
}
.embed-frame-sm {
  padding-top: 56.25%;
}
.about-panel-brand {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(240, 0, 0, 0.22), transparent 55%),
    var(--bg-card);
}

@media (max-width: 960px) {
  .founder-block,
  .founder-block-lg {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-cinematic {
    min-height: min(88vh, 760px);
  }
  .logo-img {
    height: 36px;
  }
}


/* ---------- Gilded metal sheen (鎏金滚光) ---------- */
@keyframes metal-face-shift {
  /* 高光带从左扫到右，再无缝循环 */
  0% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gold-roll-move {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes gold-beam-sweep {
  0% { transform: translateX(-130%) skewX(-18deg); opacity: 0; }
  8% { opacity: 1; }
  42% { opacity: 0.9; }
  58% { transform: translateX(130%) skewX(-18deg); opacity: 0; }
  100% { transform: translateX(130%) skewX(-18deg); opacity: 0; }
}

@keyframes gold-sheen-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes metal-shine-sweep {
  0% { transform: translateX(-140%) skewX(-18deg); opacity: 0; }
  12% { opacity: 0.85; }
  40% { opacity: 0.55; }
  55% { transform: translateX(160%) skewX(-18deg); opacity: 0; }
  100% { transform: translateX(160%) skewX(-18deg); opacity: 0; }
}

.gold-sheen,
.eyebrow,
.section-en,
.hero h1 .accent,
.hero h1 .gold,
.founder-stamp,
.about-panel .quote,
.hero-meta-item strong.subtitle-metal {
  /* Unified with subtitle-metal: left-to-right metal sweep */
  color: #d7b96f !important;
  text-shadow: none;
}
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
  .gold-sheen,
  .eyebrow,
  .section-en,
  .hero h1 .accent,
  .hero h1 .gold,
  .founder-stamp,
  .about-panel .quote,
  .hero-meta-item strong.subtitle-metal {
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    background-image:
      linear-gradient(90deg,rgba(255,246,211,0) 46%,rgba(255,246,211,.15) 48%,rgba(255,244,201,.96) 50%,rgba(255,246,211,.15) 52%,rgba(255,246,211,0) 54%),
      linear-gradient(108deg,#b7944e 0%,#e2c67d 28%,#c7a457 49%,#edcf86 73%,#bc994f 100%);
    background-size: 200% 100%, 100% 100%;
    background-repeat: no-repeat;
    background-position: 150% 0, 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    animation: subtitle-metal-sweep 6s linear infinite;
  }
}

/* Eyebrow line stays solid gold (pseudo ::before is a bar, not text) */
.eyebrow::before {
  background: linear-gradient(90deg, #8a7020, #F5E6A3, #D4AF37);
  background-size: 200% 100%;
  animation: gold-sheen-shift 4.5s linear infinite;
}

.metal-shine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.metal-shine::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 42%;
  height: 140%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 248, 220, 0.08) 35%,
    rgba(245, 230, 163, 0.45) 50%,
    rgba(255, 255, 255, 0.22) 55%,
    transparent 100%
  );
  pointer-events: none;
  animation: metal-shine-sweep 4.8s ease-in-out infinite;
  z-index: 2;
}

.btn-ghost.metal-shine,
.header-cta.metal-shine,
.social-card.metal-shine {
  /* keep text readable — shine is overlay only */
}

.btn-ghost.metal-shine {
  border-color: rgba(212, 175, 55, 0.55);
}

.btn-ghost.metal-shine:hover {
  box-shadow: 0 0 0 1px rgba(245, 230, 163, 0.35), 0 8px 28px rgba(212, 175, 55, 0.12);
}

/* Stronger sheen for hero accent + founder stamp */
.hero h1 .accent,
.hero h1 .gold,
.founder-stamp.gold-sheen,
.founder-stamp {
  background-size: 260% 100%;
  animation-duration: 4.2s;
}

.founder-stamp {
  /* stamp is on dark panel — restore readable solid if clip fails; keep sheen */
  border-color: rgba(212, 175, 55, 0.55);
}

.gold-divider {
  height: 1px;
  border: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #8a7020 15%,
    #F5E6A3 50%,
    #8a7020 85%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: gold-sheen-shift 6s linear infinite;
}


/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .gold-sheen,
  .eyebrow,
  .section-en,
  .hero h1 .accent,
  .hero h1 .gold,
  .founder-stamp,
  .about-panel .quote,
  .eyebrow::before,
  .gold-divider {
    animation: none !important;
    background-image: none !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    color: var(--gold-light) !important;
    -webkit-text-fill-color: var(--gold-light) !important;
  }

  .metal-shine::after {
    display: none !important;
  }
}


/* ---------- Hero slogan-first (text before banners) ---------- */
.hero-slogan-first {
  min-height: auto;
  padding: calc(var(--header-h) + 72px) 0 64px;
  text-align: center;
  background: #050505;
}

.hero-media-plain {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(240, 0, 0, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 35% at 80% 80%, rgba(212, 175, 55, 0.06), transparent 50%),
    linear-gradient(180deg, #0a0a0c 0%, #050505 100%);
}

.hero-shade-plain {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
}

.hero-media-optional .hero-still,
.hero-media-optional .hero-video {
  opacity: 0.28;
  object-position: center;
  filter: saturate(0.85);
}

.hero-media-optional .hero-shade {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.75) 0%, rgba(5, 5, 5, 0.88) 55%, rgba(5, 5, 5, 0.95) 100%);
}

.hero-content-center {
  max-width: 920px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-slogan-first .eyebrow {
  justify-content: center;
}

.hero-slogan-first .eyebrow::before {
  display: none;
}

.hero-slogan-first .hero-slogan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.42em;
  margin: 0 auto 28px;
  max-width: none !important;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3.6vw, 2.55rem);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: #fff;
  text-align: center;
}

.hero-slogan .hero-line {
  display: block;
  width: 100%;
  text-align: center;
  text-shadow: none;
  white-space: nowrap;
  color: #fff;
}

.hero-slogan .hero-plain {
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-size: 1em;
  font-weight: 300;
  letter-spacing: 0.06em;
}

/* Live text: a polished gold face with a crisp, shallow dark-gold edge.
   All highlights are glyph-clipped; the wrapper paints no rectangle or glow. */
.hero-slogan .hero-em {
  position: relative;
  display: inline-block;
  font-size: 1.48em;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-left: 0.08em;
  vertical-align: baseline;
  line-height: 1.15;
  color: #d4af37;
  overflow: visible;
  isolation: isolate;
  text-shadow: none;
}

.hero-slogan .hero-em::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  transform: translate(0.8px, 1.4px);
  z-index: 0;
  white-space: nowrap;
  color: #61400e;
  -webkit-text-fill-color: #61400e;
  -webkit-text-stroke: 0.3px #61400e;
  text-shadow: 0.5px 0.5px 0 #291b08;
  pointer-events: none;
  user-select: none;
}

.hero-slogan .hero-em-label {
  position: relative;
  z-index: 1;
  display: inline-block;
  white-space: nowrap;
  /* Soft, continuous, slightly diagonal gold reflection. No high-contrast
     horizon across the middle: definition comes from the shallow hard edge. */
  background-image: linear-gradient(158deg,
    #f4dc93 0%, #e9c76b 22%, #d9ae45 48%,
    #e6bf60 72%, #c99a33 100%);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.3px rgba(255, 228, 157, 0.52);
  animation: none;
  filter: none;
  text-shadow: none;
}

/* The overlay is the SAME text at the SAME origin and dimensions, not a
   moving rectangle. Its gradient moves inside the fixed glyph mask.
   B=2.4W, offset=(W-B)*position: peak x = 1.2W - 1.4W*p.
   p=1.20 => -0.48W; p=-0.20 => 1.48W. Even the outer 44%-56%
   reflection shoulders are fully outside the glyph box at both ends. */
.hero-slogan .hero-em::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: 2;
  white-space: nowrap;
  background-image: linear-gradient(105deg,
    transparent 44%, rgba(255, 241, 181, 0.08) 46%,
    rgba(255, 247, 211, 0.38) 49%, rgba(255, 253, 235, 0.86) 50%,
    rgba(255, 246, 202, 0.42) 51%,
    rgba(255, 232, 156, 0.08) 54%, transparent 56%);
  background-size: 240% 100%;
  background-repeat: no-repeat;
  background-position: 120% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  text-shadow: none;
  filter: none;
  pointer-events: none;
  user-select: none;
  animation: hero-glyph-reflection 5.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes hero-glyph-reflection {
  0%, 8% { background-position: 120% 0; opacity: 0; }
  12% { opacity: 1; }
  70% { background-position: -20% 0; opacity: 1; }
  74%, 100% { background-position: -20% 0; opacity: 0; }
}

.hero-slogan-first .hero-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 40em;
}

.hero-btns {
  justify-content: center;
}

.hero-meta-center {
  justify-content: center;
  border-top-color: rgba(212, 175, 55, 0.22);
  width: min(100%, 720px);
}

@media (max-width: 640px) {
  .hero-slogan .hero-line {
    white-space: nowrap;
  }
  .hero-slogan-first .hero-slogan {
    font-size: clamp(1.35rem, 6.2vw, 1.85rem);
    letter-spacing: 0.04em;
  }
  .hero-slogan .hero-em {
    font-size: 1.35em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slogan .hero-em-label {
    animation: none;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
  .hero-slogan .hero-em::before {
    animation: none;
  }
  .hero-slogan .hero-em::after {
    display: none !important;
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slogan .hero-em {
    animation: none;
  }
}

/* ---------- Home banner carousel ---------- */
.home-banners {
  padding: 0 0 8px;
  background: #050505;
}

.banner-carousel {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 640px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow:
    0 0 0 1px rgba(240, 0, 0, 0.08),
    0 28px 80px rgba(0, 0, 0, 0.55);
  background: #111;
}

.banner-track {
  position: absolute;
  inset: 0;
}

.banner-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  z-index: 0;
  will-change: clip-path, opacity;
}

.banner-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
  clip-path: inset(0 0 0 0);
}

.banner-slide.is-leaving {
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  animation: banner-shine-leave 1.1s ease-in-out forwards;
}

.banner-slide.is-entering {
  z-index: 2;
  pointer-events: none;
  opacity: 1;
  animation: banner-shine-enter 1.1s ease-in-out forwards;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.banner-shine-wipe {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    90deg,
    rgba(255,246,211,0) 0%,
    rgba(255,246,211,0) 42%,
    rgba(255,244,201,0.15) 46%,
    rgba(255,255,255,0.85) 50%,
    rgba(237,207,134,0.35) 54%,
    rgba(183,148,78,0.12) 58%,
    rgba(255,246,211,0) 64%,
    rgba(255,246,211,0) 100%
  );
  background-size: 220% 100%;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  filter: blur(0.5px);
}

.banner-shine-wipe.is-on {
  animation: banner-shine-beam 1.1s linear forwards;
}

@keyframes banner-shine-enter {
  0% { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

@keyframes banner-shine-leave {
  0% { clip-path: inset(0 0 0 0); opacity: 1; }
  100% { clip-path: inset(0 0 0 100%); opacity: 0.85; }
}

@keyframes banner-shine-beam {
  0% { opacity: 0; background-position: 120% 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { opacity: 0; background-position: -120% 0; }
}

.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(0, 0, 0, 0.55);
  color: #f5e6a3;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  transition: background 0.2s, border-color 0.2s;
}

.banner-nav:hover {
  background: rgba(240, 0, 0, 0.55);
  border-color: rgba(245, 230, 163, 0.8);
}

.banner-prev { left: 14px; }
.banner-next { right: 14px; }

.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.7);
  background: rgba(0, 0, 0, 0.35);
  padding: 0;
  cursor: pointer;
}

.banner-dot.is-active {
  background: linear-gradient(135deg, #f5e6a3, #d4af37);
  border-color: #f5e6a3;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .banner-slide,
  .banner-slide.is-leaving,
  .banner-slide.is-entering,
  .banner-shine-wipe.is-on { animation: none !important; clip-path: none !important; }
  .banner-shine-wipe { display: none; }
}

@media (max-width: 768px) {
  .banner-carousel {
    width: calc(100% - 20px);
    aspect-ratio: 16 / 9;
    max-height: none;
    border-radius: 10px;
  }
  .banner-nav {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-slide {
    transition: none;
  }
}

/* Homepage-only left rail cue; kept outside the text/container gutter. */
.page-scroll-hint {
  position: fixed;
  left: 12px;
  top: 52%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 32px;
  padding: 14px 5px 10px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 18px;
  background: rgba(8, 8, 9, 0.92);
  color: #ddc57b;
  box-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
}
.page-scroll-hint[hidden] { display: none; }
.page-scroll-hint-label {
  writing-mode: vertical-rl;
  font: 13px/1.5 var(--font-sans);
  letter-spacing: 0.2em;
}
.page-scroll-hint-arrow { flex: 0 0 auto; }
.page-scroll-hint.is-up .page-scroll-hint-arrow { transform: rotate(180deg); }
.page-scroll-hint:hover { color: #fff1b5; border-color: #d4af37; }
.page-scroll-hint:focus-visible { outline: 2px solid #f0d060; outline-offset: 3px; }
@media (max-width: 768px) {
  .page-scroll-hint {
    left: 0;
    width: 19px;
    padding: 10px 1px 8px;
    gap: 8px;
    border-left: 0;
    border-radius: 0 10px 10px 0;
  }
  .page-scroll-hint-label { font-size: 12px; line-height:1.25; letter-spacing: 0.1em; }
  .page-scroll-hint-arrow { width: 13px; height: 18px; }
  .page-scroll-hint:focus-visible { outline-offset: -3px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-scroll-hint, .page-scroll-hint-arrow { animation: none; transition: none; }
}

.image-cases-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px; }
.image-case { min-width:0;border:1px solid rgba(212,175,55,.22);border-radius:10px;overflow:hidden;background:#101011; }
.image-case-frame { aspect-ratio:4/3;background:#fff;padding:24px;display:flex;align-items:center;justify-content:center; }
.image-case-frame img { width:100%;height:100%;object-fit:contain;display:block; }
.image-case p { padding:12px 14px;margin:0;color:#ddd;text-align:center;overflow-wrap:anywhere; }
.case-pagination {display:flex;flex-wrap:wrap;justify-content:center;gap:24px;margin-top:32px;}
.case-pagination a {color:var(--gold-light);}
.nav-dropdown > a {display:inline-flex;align-items:center;}
@media(max-width:768px){.image-cases-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.image-case-frame{padding:14px;}}

/* Certificates/photos retain their entire frame; original opens in a safe new tab. */
.honors-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;}
.honor-card {min-width:0;border:1px solid rgba(212,175,55,.25);border-radius:12px;overflow:hidden;background:#101011;}
.honor-image-link {display:block;}
.honor-image-frame {aspect-ratio:4/3;background:#F00000;padding:0;display:flex;align-items:center;justify-content:center;}
.honor-image-frame img {display:block;width:100%;height:100%;object-fit:contain;}
.honor-open {display:block;padding:10px 16px;font-size:12px;color:var(--gold-light);border-bottom:1px solid rgba(212,175,55,.15);}
.honor-copy {padding:16px;overflow-wrap:anywhere;}
.honor-copy h2 {font-size:1.1rem;margin:4px 0 10px;}
.honor-category {font-size:12px;color:var(--gold);margin:0;}
.honor-description {white-space:pre-line;font-size:14px;line-height:1.75;color:var(--text-muted);}
@media(max-width:1000px){.honors-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.honors-grid{grid-template-columns:minmax(0,1fr);gap:20px;}}

/* Work captions preserve authored line breaks without accepting HTML. */
.work-description {white-space:pre-line;overflow-wrap:anywhere;}

.page-hero, .article-body, .work-body {overflow-wrap:anywhere;}

.news-article, .breadcrumb {overflow-wrap:anywhere;}

/* Subtitle-only metal: one semantic text node, no duplicate pseudo text or overlay.
   Sweep layer is 2W wide. Its center travels from -0.5W to 1.5W:
   x = W - position*W, so 150% -> -50% moves LEFT to RIGHT.
   Both cycle endpoints are entirely outside the text; final 28% is a quiet hold. */
.subtitle-metal {
  color:#d7b96f !important;
  text-shadow:none;
}
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
  .subtitle-metal {
    color:transparent !important;
    -webkit-text-fill-color:transparent;
    background-image:
      linear-gradient(90deg,rgba(255,246,211,0) 46%,rgba(255,246,211,.15) 48%,rgba(255,244,201,.96) 50%,rgba(255,246,211,.15) 52%,rgba(255,246,211,0) 54%),
      linear-gradient(108deg,#b7944e 0%,#e2c67d 28%,#c7a457 49%,#edcf86 73%,#bc994f 100%);
    background-size:200% 100%,100% 100%;
    background-repeat:no-repeat;
    background-position:150% 0,0 0;
    -webkit-background-clip:text;
    background-clip:text;
    animation:subtitle-metal-sweep 6s linear infinite;
  }
}
@keyframes subtitle-metal-sweep {
  0% {background-position:150% 0,0 0;}
  72%,100% {background-position:-50% 0,0 0;}
}
.subtitle-metal::selection,
.subtitle-metal *::selection {
  color:#fff6d4 !important;
  -webkit-text-fill-color:#fff6d4;
  background:#6b4a20;
}
@media(prefers-reduced-motion:reduce) {
  .subtitle-metal {animation:none;background-position:150% 0,0 0;}
}
@media(forced-colors:active) {
  .subtitle-metal {
    animation:none;background:none;color:CanvasText !important;
    -webkit-text-fill-color:CanvasText;
  }
}


/* Sitewide gold body text → same metal sweep (borders/buttons stay solid gold) */
.honor-category,
.footer-col .wechat-qr-footer-link,
.case-pagination a,
.timeline-year,
.social-cta,
.link-ext {
  color: #d7b96f !important;
}
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
  .honor-category,
  .footer-col .wechat-qr-footer-link,
  .case-pagination a,
  .timeline-year,
  .social-cta,
  .link-ext {
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    background-image:
      linear-gradient(90deg,rgba(255,246,211,0) 46%,rgba(255,246,211,.15) 48%,rgba(255,244,201,.96) 50%,rgba(255,246,211,.15) 52%,rgba(255,246,211,0) 54%),
      linear-gradient(108deg,#b7944e 0%,#e2c67d 28%,#c7a457 49%,#edcf86 73%,#bc994f 100%);
    background-size: 200% 100%, 100% 100%;
    background-repeat: no-repeat;
    background-position: 150% 0, 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    animation: subtitle-metal-sweep 6s linear infinite;
    display: inline-block;
    max-width: 100%;
  }
}

/* Only the requested company footer column; link hit areas/focus remain on a. */
.footer-company .footer-metal-text {display:inline-block;max-width:100%;overflow-wrap:anywhere;vertical-align:baseline;}
.footer-company a:hover .footer-metal-text {filter:brightness(1.12);}

/* T38: one compact dropdown unit, with the arrow no longer consuming a full link gap. */
@media (min-width: 769px) {
  .header-inner { gap: 16px; }
  .nav { gap: 2px; }
  .nav > a, .nav-dropdown > a { padding: 8px 9px; white-space: nowrap; }
  .nav-dropdown { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
  .nav-dropdown > a { padding-right: 3px; }
  .nav-dropdown > button { padding: 8px 6px; min-width: 20px; }
}
@media (max-width: 768px) {
  .nav-dropdown { display: flex; flex-wrap: wrap; align-items: center; }
  .nav-dropdown > a { flex: 1; width: auto; }
  .nav-dropdown > button { width: 44px; flex: 0 0 44px; justify-content: center; }
  .nav-dropdown > .dropdown-menu { flex: 0 0 100%; width: 100%; }
}
.insights-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.insight-card { min-width: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--bg-elevated); }
.insight-cover { display: block; aspect-ratio: 16/9; background: #10100f; }
.insight-cover img { width: 100%; height: 100%; object-fit: contain; }
.insight-card-copy { padding: 24px; overflow-wrap: anywhere; }
.insight-card-copy time { font-size: .8rem; color: var(--text-muted); }
.insight-card h2 { font-size: 1.25rem; line-height: 1.5; margin: 10px 0 12px; }
.insight-card-copy > p { color: var(--text-muted); white-space: pre-line; line-height: 1.85; margin-bottom: 20px; }
.insight-article { padding-top: calc(var(--header-h) + 48px); }
.insight-reading { max-width: 840px; overflow-wrap: anywhere; }
.insight-reading h1 { font-family: var(--font-serif); font-size: clamp(1.8rem,4vw,2.75rem); line-height: 1.45; margin-bottom: 24px; }
.insight-summary { white-space: pre-line; margin-bottom: 32px; line-height: 1.9; }
.insight-detail-cover { width: 100%; height: auto; max-height: 520px; object-fit: contain; border-radius: 10px; margin-bottom: 32px; }
.insight-block { margin: 0 0 32px; }
.insight-block > p, .insight-block > blockquote, .insight-block > h2 { white-space: pre-line; line-height: 1.95; }
.insight-block > p { color: var(--text-muted); }
.insight-block > h2 { font-size: clamp(1.25rem,2.5vw,1.65rem); }
.insight-block > blockquote { border-left: 2px solid var(--gold); margin: 0; padding: 12px 24px; color: var(--gold-light); }
.insight-block figure { margin: 24px 0; }
.insight-block figure a { display: block; }
.insight-block figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 8px; }
.insight-block figcaption { white-space: pre-line; font-size: .9rem; color: var(--text-muted); text-align: center; margin-top: 12px; }
@media (max-width: 900px) { .insights-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .insights-grid { grid-template-columns: 1fr; gap: 18px; } .insight-card-copy { padding: 20px; } .insight-article { padding-top: calc(var(--header-h) + 28px); } }

/* T41: keep business phrases (and their following divider) together; free copy remains editable. */
.footer-company-name, .footer-business-line { display: block; overflow-wrap: anywhere; }
.footer-business-line { white-space: pre-wrap; }
.footer-business-phrase { display: inline-block; white-space: pre; }

/* Contact QR: compact square artwork with quiet zone; never apply metal effects to pixels. */
.wechat-qr { display: grid; grid-template-columns: minmax(0,128px) minmax(0,1fr); align-items: center; gap: 16px; margin: 20px 0; max-width: 100%; }
.wechat-qr-image { display: block; width: 128px; max-width: 100%; aspect-ratio: 1; padding: 6px; background: #fff; align-self: start; border-radius: 4px; }
.wechat-qr-image img { display: block; width: 100%; height: 100%; object-fit: contain; filter: none; transform: none; opacity: 1; mix-blend-mode: normal; border-radius: 0; }
.wechat-qr figcaption { min-width: 0; overflow-wrap: anywhere; }
.wechat-qr-title { display: block; font-size: 1rem; color: var(--gold-light); margin-bottom: 10px; }
.wechat-qr-note, .wechat-qr-help { white-space: pre-line; line-height: 1.7; margin: 8px 0; font-size: .88rem; }
.wechat-qr-help { color: var(--text-dim); }
.wechat-qr-open { display: inline-block; font-size: .88rem; color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.wechat-qr-title.subtitle-metal, .wechat-qr-open.subtitle-metal { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.wechat-qr-open.subtitle-metal { text-decoration-color: rgba(215,185,111,.55); }
.footer-col .wechat-qr-footer-link { display: inline-block; padding: 0; margin-left: 6px; font-size: .85rem; color: var(--gold-light); }
@media(max-width:600px) { .wechat-qr { grid-template-columns: minmax(0,1fr); gap: 12px; justify-items: start; } .wechat-qr-image { width: 120px; } }

.footer-admin-links{margin-top:10px;font-size:0.78rem;opacity:0.55}
.footer-admin-links a{color:inherit;text-decoration:none}
.footer-admin-links a:hover,.footer-admin-links a:focus-visible{opacity:1;text-decoration:underline}
/* 2026-11-13 页脚署名「官网搭建 · 欢迎咨询」：与「后台管理 · 密码找回」同款（同 .footer-admin-links 字号/颜色/悬停），两行右对齐成一组，电脑和手机一致 */
.footer-bottom .footer-side{display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.footer-bottom .footer-side .footer-admin-links{margin:0;line-height:1.5;text-align:right;white-space:nowrap}
.footer-bottom .footer-side.has-credit{margin-top:10px}
/* 2026-11-13 悬停变纯白：半透明从整行 opacity 改为文字颜色本身（视觉不变），这样链接悬停时才能真正变成不透明的 #FFFFFF */
.footer-bottom .footer-side .footer-admin-links{opacity:1;color:rgba(136,136,136,.55)}
.footer-bottom .footer-side .footer-admin-links a{color:inherit;opacity:1;transition:color .2s ease}
.footer-bottom .footer-side .footer-admin-links a:hover,.footer-bottom .footer-side .footer-admin-links a:focus-visible{color:#fff!important;opacity:1}
@media (min-width: 961px){.footer-bottom{align-items:flex-end}.footer-bottom .footer-side.has-credit{margin-top:0}}

/* 2026-11-13 首页联系区精简（后台「11 · 首页联系区」可开关号码行、地址邮箱；隐藏地址邮箱时居中） */
.contact-strip.contact-strip-slim{display:flex;justify-content:center;text-align:center}
.contact-strip-slim>div{max-width:760px;margin:0 auto;display:flex;flex-direction:column;align-items:center}
.contact-strip-slim h2{margin-bottom:6px}
.contact-strip-slim .wechat-qr{display:inline-grid;grid-template-columns:128px minmax(0,300px);text-align:left;margin:22px auto 4px;padding:16px 20px;border:1px solid rgba(212,175,55,.22);border-radius:14px;background:rgba(255,255,255,.02)}
.contact-strip-slim .btn-row{justify-content:center;margin-top:22px!important}
@media(max-width:600px){.contact-strip-slim .wechat-qr{grid-template-columns:110px minmax(0,1fr);padding:14px;width:100%;justify-items:stretch}.contact-strip-slim .wechat-qr-image{width:110px}}

/* 2026-11-13 业务板块 6 个：电脑 3×2，平板 2×3，手机 1 列 */
.service-grid.service-grid-n6{grid-template-columns:repeat(3,1fr)}
.service-grid.service-grid-n6 .service-card{min-height:250px}
.service-grid.service-grid-n5{grid-template-columns:repeat(6,1fr)}
.service-grid.service-grid-n5 .service-card{grid-column:span 2}
.service-grid.service-grid-n5 .service-card:nth-child(n+4){grid-column:span 3}
@media (max-width: 960px){.service-grid.service-grid-n6,.service-grid.service-grid-n5{grid-template-columns:repeat(2,1fr)}.service-grid.service-grid-n5 .service-card{grid-column:auto}.service-grid.service-grid-n5 .service-card:last-child{grid-column:1/-1}}
@media (max-width: 640px){.service-grid.service-grid-n6,.service-grid.service-grid-n5{grid-template-columns:1fr}.service-grid.service-grid-n5 .service-card:last-child{grid-column:auto}}
.service-grid.service-grid-n6,.service-grid.service-grid-n5{grid-auto-rows:1fr}

/* t140: 无白框案例，桌面三列、平板两列、手机一列；原图不改 */
.image-cases-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.image-case{border:0;border-radius:0;background:transparent}
.image-case-frame{aspect-ratio:16/9;background:#050505;padding:0;overflow:hidden}
.image-case-frame img{width:100%;height:100%;object-fit:contain}
.company-text-only{grid-template-columns:minmax(0,1fr)}
.company-visual{margin:0;min-width:0}.company-visual img{width:100%;height:auto;display:block;object-fit:contain}.company-visual figcaption{margin-top:12px;color:var(--text-muted)}
.strategy-copy{max-width:960px}.strategy-copy p{margin-top:20px;line-height:1.9;overflow-wrap:anywhere}
@media(max-width:900px){.image-cases-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:560px){.image-cases-grid{grid-template-columns:1fr;gap:22px}.image-case-frame{padding:0}}


/* t238: start the existing hamburger at 900px so 常见问题 can join the top nav
   without shrinking type or dropping items. Footer column rules stay official
   (2 columns ≤960, 1 column ≤768). This does not change contact or business columns. */
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 24px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s var(--ease);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a, .nav-dropdown > button { width: 100%; justify-content: space-between; border-radius: 8px; padding: 12px 14px; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: none; background: transparent; padding: 0 0 0 12px; margin-top: 4px; }
  .nav-dropdown.is-open .dropdown-menu { display: block; }
  .nav-dropdown { display: flex; flex-wrap: wrap; align-items: center; }
  .nav-dropdown > a { flex: 1; width: auto; }
  .nav-dropdown > button { width: 44px; flex: 0 0 44px; justify-content: center; }
  .nav-dropdown > .dropdown-menu { flex: 0 0 100%; width: 100%; }
}

/* T292: native category links; no homepage case players. */
.case-card-link{display:block;color:inherit;outline-offset:4px}
.case-card-link .image-case-frame{position:relative;transition:box-shadow .2s}
.case-card-hint{position:absolute;left:0;right:0;bottom:0;padding:2px 12px;line-height:20px;text-align:center;background:rgba(240,0,0,.9);color:#fff;font-size:14px;opacity:0;transition:opacity .2s;pointer-events:none}
.case-card-link:hover .image-case-frame,.case-card-link:focus-visible .image-case-frame{box-shadow:inset 0 0 0 2px var(--red),0 0 0 2px var(--red)}
.case-card-link:hover .case-card-hint,.case-card-link:focus-visible .case-card-hint{opacity:1}
.case-card-link:focus-visible{outline:2px solid var(--red)}
@media(hover:none){.case-card-hint{opacity:1}}
@media(prefers-reduced-motion:reduce){.case-card-hint,.case-card-link .image-case-frame{transition:none}}
