/* RH98 Lovable Theme — EyouCMS frontend */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@400;500;600;700;800;900&display=swap');

:root {
  --background: #f7f3ed;
  --foreground: #2a1818;
  --primary: #7a1a2e;
  --primary-dark: #5e0a17;
  --primary-light: #b81f31;
  --gold: #c9a961;
  --muted: #6b5c5c;
  --border: #ddd5cc;
  --card: #fdfcfa;
  --hero-red-1: #b81f31;
  --hero-red-2: #8a1322;
  --hero-red-3: #d83a4d;
  --hero-red-4: #5e0a17;
  /* 内容最大宽度 + 响应式左右边距，适配笔记本/大屏 PC */
  --layout-max: 1560px;
  --page-gutter: clamp(16px, 2vw, 32px);
  --max-w: var(--layout-max);
  --header-h: 72px;
}

@media (min-width: 1440px) {
  :root {
    --layout-max: min(96vw, 1680px);
    --page-gutter: clamp(20px, 2.2vw, 36px);
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  :root {
    --page-gutter: clamp(18px, 2.4vw, 28px);
  }
}

@media (max-width: 767px) {
  :root {
    --page-gutter: 16px;
  }
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
}

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

/* 全站内容区：宽屏更满、窄屏留合适边距 */
.container,
.rh-header__inner,
.hero-home__content,
.hero-stats__grid,
.cta-band__inner,
.rh-footer__inner,
.page-hero .container {
  width: 100%;
  max-width: var(--layout-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.container { padding-block: 0; }

/* ========== Header ========== */
.rh-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.rh-header.is-scrolled {
  background: rgba(247, 243, 237, .88);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.rh-header.is-transparent { background: transparent; }
.rh-header.is-transparent.is-scrolled { background: rgba(247, 243, 237, .88); }

.rh-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rh-header__logo img {
  height: 52px;
  width: auto;
  transition: filter .3s;
}
.rh-header.is-transparent:not(.is-scrolled) .rh-header__logo img {
  filter: brightness(0) invert(1);
}

.rh-nav { display: flex; align-items: center; gap: 28px; }
.rh-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
  position: relative;
}
.rh-nav a:hover, .rh-nav a.active { color: var(--primary); }
.rh-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: currentColor;
}
.rh-header.is-transparent:not(.is-scrolled) .rh-nav a { color: rgba(255,255,255,.85); }
.rh-header.is-transparent:not(.is-scrolled) .rh-nav a:hover,
.rh-header.is-transparent:not(.is-scrolled) .rh-nav a.active { color: #fff; }

.rh-header__phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--foreground);
  transition: color .2s, transform .2s;
}
.rh-header__phone:hover { color: var(--primary); transform: scale(1.03); }
.rh-header.is-transparent:not(.is-scrolled) .rh-header__phone { color: #fff; }

.rh-nav-mobile {
  display: none;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px var(--page-gutter);
  border-top: 1px solid rgba(255,255,255,.15);
}
.rh-nav-mobile a {
  font-size: 15px;
  font-weight: 500;
  color: inherit;
}
.rh-header.is-scrolled .rh-nav-mobile { border-top-color: var(--border); }

@media (min-width: 768px) {
  .rh-header__phone { display: inline-flex; }
  .rh-nav-mobile { display: none !important; }
}
@media (max-width: 767px) {
  .rh-nav { display: none; }
  .rh-header__phone { display: none; }
  /* 单行横向滑动导航，避免多行换行压住页面内容 */
  .rh-nav-mobile {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-block: 10px;
    gap: 8px 18px;
  }
  .rh-nav-mobile::-webkit-scrollbar { display: none; }
  .rh-nav-mobile a,
  .rh-nav-mobile__label { flex: none; }
}

/* ========== Hero ========== */
@keyframes hero-flow-a {
  0%, 100% { transform: translate3d(-32%, -28%, 0) scale(1); opacity: .5; }
  50% { transform: translate3d(48%, 38%, 0) scale(1.7); opacity: 1; }
}
@keyframes hero-flow-b {
  0%, 100% { transform: translate3d(48%, 42%, 0) scale(1.5); opacity: .45; }
  50% { transform: translate3d(-45%, -28%, 0) scale(1.08); opacity: .96; }
}
@keyframes hero-shimmer {
  0%, 100% { background-position: 0% 50%; opacity: .38; }
  50% { background-position: 100% 50%; opacity: .72; }
}

.hero-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(120% 80% at 80% 0%, var(--hero-red-3) 0%, var(--hero-red-1) 35%, var(--hero-red-2) 70%, var(--hero-red-4) 100%);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(100% 90% at 50% 0%, transparent 30%, rgba(40,5,12,.55) 100%);
  pointer-events: none; z-index: 0;
}
.hero-blob {
  position: absolute; border-radius: 9999px;
  filter: blur(72px); pointer-events: none;
  mix-blend-mode: screen;
}
.hero-blob-a {
  width: 46vw; height: 46vw; left: -10vw; top: -12vw;
  background: radial-gradient(circle, rgba(255,170,180,.58), rgba(210,80,100,.3) 45%, transparent 72%);
  animation: hero-flow-a 4s ease-in-out infinite;
}
.hero-blob-b {
  width: 42vw; height: 42vw; right: -8vw; bottom: -12vw;
  background: radial-gradient(circle, rgba(235,120,140,.58), rgba(180,55,75,.32) 45%, transparent 72%);
  animation: hero-flow-b 5s ease-in-out infinite;
}
.hero-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,215,220,.24) 50%, transparent 80%);
  background-size: 180% 180%;
  animation: hero-shimmer 3s ease-in-out infinite;
  pointer-events: none; mix-blend-mode: overlay;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; opacity: .05; pointer-events: none;
  background-image: linear-gradient(to right, #fff 1px, transparent 1px), linear-gradient(to bottom, #fff 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  padding-bottom: 0;
}
.hero-home__content {
  position: relative; z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 80px 48px;
}
/* 固定舞台高度，避免切换时文字区域跳动 */
.hero-home__stage {
  position: relative;
  min-height: 420px;
  width: 100%;
}
@media (min-width: 768px) {
  .hero-home__stage { min-height: 460px; }
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s ease, visibility .45s ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* 三张图统一垂直居中，水平对齐各异 */
.hero-slide__inner {
  width: 100%;
  max-width: 820px;
}
.hero-slide--center {
  justify-content: center;
}
.hero-slide--center .hero-slide__inner {
  text-align: center;
  margin: 0 auto;
}
.hero-slide--center .hero-home__desc {
  margin-left: auto;
  margin-right: auto;
}
.hero-slide--center .hero-home__actions {
  justify-content: center;
}
.hero-slide--center .hero-home__title-nowrap {
  white-space: nowrap;
  font-size: clamp(2rem, 5.4vw, 4.25rem);
}
@media (max-width: 900px) {
  .hero-slide--center .hero-home__title-nowrap {
    white-space: normal;
    font-size: clamp(1.85rem, 7vw, 2.75rem);
  }
}

.hero-slide--left {
  justify-content: flex-start;
}
.hero-slide--left .hero-slide__inner {
  text-align: left;
  margin: 0;
  max-width: 720px;
}
.hero-slide--left .hero-home__desc {
  margin-left: 0;
  margin-right: auto;
}
.hero-slide--left .hero-home__actions {
  justify-content: flex-start;
}

.hero-slide--right {
  justify-content: flex-end;
}
.hero-slide--right .hero-slide__inner {
  text-align: right;
  margin-left: auto;
  margin-right: 0;
  max-width: 720px;
}
.hero-slide--right .hero-home__desc {
  margin-left: auto;
  margin-right: 0;
}
.hero-slide--right .hero-home__actions {
  justify-content: flex-end;
}
@media (max-width: 767px) {
  .hero-slide--left,
  .hero-slide--right {
    justify-content: center;
  }
  .hero-slide--left .hero-slide__inner,
  .hero-slide--right .hero-slide__inner {
    text-align: center;
    margin: 0 auto;
  }
  .hero-slide--left .hero-home__desc,
  .hero-slide--right .hero-home__desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-slide--left .hero-home__actions,
  .hero-slide--right .hero-home__actions {
    justify-content: center;
  }
}
.hero-home__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 11px; letter-spacing: .25em;
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(24px);
}
.hero-slide.is-active .hero-home__eyebrow {
  animation: heroTextIn .7s cubic-bezier(.22, 1, .36, 1) .08s forwards;
}
.hero-home__eyebrow span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
.hero-slide h1 {
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  font-weight: 900; line-height: 1.15;
  letter-spacing: -.02em;
  opacity: 0;
  transform: translateY(24px);
}
.hero-slide.is-active h1 {
  animation: heroTextIn .7s cubic-bezier(.22, 1, .36, 1) .2s forwards;
}
.hero-home__desc {
  margin: 40px auto 0;
  max-width: 640px;
  font-size: 17px; line-height: 1.75;
  color: rgba(255,255,255,.85);
  opacity: 0;
  transform: translateY(24px);
}
.hero-slide.is-active .hero-home__desc {
  animation: heroTextIn .7s cubic-bezier(.22, 1, .36, 1) .34s forwards;
}
.hero-home__actions {
  margin-top: 48px;
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center;
  opacity: 0;
  transform: translateY(24px);
}
.hero-slide.is-active .hero-home__actions {
  animation: heroTextIn .7s cubic-bezier(.22, 1, .36, 1) .48s forwards;
}
@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-dots {
  margin-top: 48px;
  display: flex; justify-content: center; gap: 12px;
  position: relative; z-index: 11;
}
.hero-dots button {
  width: 56px; height: 4px;
  border: none; border-radius: 999px;
  background: transparent;
  cursor: pointer; padding: 0;
  flex-shrink: 0;
}
.hero-dots__track {
  display: block;
  width: 100%; height: 100%;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  overflow: hidden;
}
.hero-dots__progress {
  display: block;
  width: 0%; height: 100%;
  border-radius: inherit;
  background: #fff;
  transition: none;
}
.hero-dots.is-locked .hero-dots__progress {
  transition: width .25s ease;
}
.hero-dots button.is-active .hero-dots__progress {
  background: #fff;
}
.hero-dots button:not(.is-active) .hero-dots__progress {
  width: 0 !important;
}

.hero-stats {
  position: relative; z-index: 10;
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(4px);
}
.hero-stats__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .hero-stats__grid { grid-template-columns: repeat(4, 1fr); } }
.hero-stats__item {
  padding: 28px 24px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  opacity: 0;
  transform: translateY(20px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-stats.is-visible .hero-stats__item {
  animation: heroStatIn .65s cubic-bezier(.22, 1, .36, 1) forwards;
}
.hero-stats.is-visible .hero-stats__item:nth-child(1) { animation-delay: .05s; }
.hero-stats.is-visible .hero-stats__item:nth-child(2) { animation-delay: .15s; }
.hero-stats.is-visible .hero-stats__item:nth-child(3) { animation-delay: .25s; }
.hero-stats.is-visible .hero-stats__item:nth-child(4) { animation-delay: .35s; }
@keyframes heroStatIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 768px) {
  .hero-stats__item { border-bottom: none; }
  .hero-stats__item + .hero-stats__item { border-left: 1px solid rgba(255,255,255,.1); }
}
.hero-stats__value { font-size: 2.5rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.hero-stats__label {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.65);
  text-align: center;
  line-height: 1.5;
}

/* 隐藏 Lovable 平台注入的角标（如有） */
#lovable-badge,
[data-lovable-badge],
a[href*="lovable.dev"][target="_blank"][style*="fixed"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Page hero (inner pages) */
.page-hero {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.page-hero .container { position: relative; z-index: 10; }
.page-hero__eyebrow { font-size: 11px; letter-spacing: .3em; color: var(--gold); }
.page-hero h1 {
  margin-top: 24px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1.05;
}
.page-hero__desc {
  margin-top: 32px; max-width: 640px;
  font-size: 17px; color: rgba(255,255,255,.8);
}

/* CTAs */
.pill-cta,
button.pill-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--primary);
  padding: 16px 32px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.35);
  transition: transform .2s, box-shadow .2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.pill-cta:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -18px rgba(0,0,0,.45); }
.pill-cta-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  padding: 16px 32px; border-radius: 999px;
  font-weight: 500; font-size: 15px;
  transition: background .2s;
}
.pill-cta-outline:hover { background: rgba(255,255,255,.08); }

/* ========== Sections ========== */
.section { padding: 112px 0; }
.section--muted { background: rgba(0,0,0,.02); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* 光斑式区块背景（无线性渐变） */
.section--spot {
  position: relative;
  overflow: hidden;
}
.section--spot > .container {
  position: relative;
  z-index: 1;
}
.section--spot::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.section-spot-accent {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.section--case {
  background-color: #f2e8e4;
  border-top: 1px solid rgba(122,26,46,.12);
  border-bottom: 1px solid rgba(122,26,46,.1);
}
.section--case::before {
  background:
    radial-gradient(circle 180px at 8% 12%, rgba(122,26,46,.07) 0%, transparent 72%),
    radial-gradient(circle 160px at 92% 88%, rgba(196,75,98,.06) 0%, transparent 70%);
}

.section--news {
  background-color: #ffffff;
  border-top: 1px solid rgba(0,0,0,.07);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.section--news::before {
  background:
    radial-gradient(circle 170px at 14% 18%, rgba(122,26,46,.06) 0%, transparent 70%),
    radial-gradient(circle 155px at 88% 78%, rgba(196,75,98,.05) 0%, transparent 68%);
}

.section--partners {
  background-color: #f8f4f2;
  border-top: 1px solid rgba(122,26,46,.1);
  border-bottom: 1px solid rgba(122,26,46,.08);
}
.section--partners::before {
  background:
    radial-gradient(circle 175px at 82% 15%, rgba(122,26,46,.06) 0%, transparent 70%),
    radial-gradient(circle 150px at 12% 85%, rgba(196,75,98,.05) 0%, transparent 68%);
}
.section--partners .section-header { margin-bottom: 48px; }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (min-width: 992px) {
  .partners-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
}
.partners-grid .partner-logo {
  opacity: 0;
}
.partners-grid.is-visible .partner-logo {
  animation: partnerLogoIn .55s cubic-bezier(.22, 1, .36, 1) forwards;
}
.partners-grid.is-visible .partner-logo:nth-child(1) { animation-delay: .03s; }
.partners-grid.is-visible .partner-logo:nth-child(2) { animation-delay: .06s; }
.partners-grid.is-visible .partner-logo:nth-child(3) { animation-delay: .09s; }
.partners-grid.is-visible .partner-logo:nth-child(4) { animation-delay: .12s; }
.partners-grid.is-visible .partner-logo:nth-child(5) { animation-delay: .15s; }
.partners-grid.is-visible .partner-logo:nth-child(6) { animation-delay: .18s; }
.partners-grid.is-visible .partner-logo:nth-child(7) { animation-delay: .21s; }
.partners-grid.is-visible .partner-logo:nth-child(8) { animation-delay: .24s; }
.partners-grid.is-visible .partner-logo:nth-child(9) { animation-delay: .27s; }
.partners-grid.is-visible .partner-logo:nth-child(10) { animation-delay: .3s; }
.partners-grid.is-visible .partner-logo:nth-child(11) { animation-delay: .33s; }
.partners-grid.is-visible .partner-logo:nth-child(12) { animation-delay: .36s; }
.partners-grid.is-visible .partner-logo:nth-child(13) { animation-delay: .39s; }
.partners-grid.is-visible .partner-logo:nth-child(14) { animation-delay: .42s; }
.partners-grid.is-visible .partner-logo:nth-child(15) { animation-delay: .45s; }
@keyframes partnerLogoIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.partner-logo {
  --partner-x: 0;
  position: relative;
  aspect-ratio: 23 / 15;
  perspective: 900px;
}
.partner-logo__inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .32s ease;
}
.partner-logo:hover .partner-logo__inner {
  transform: rotateY(180deg) translateY(-4px);
}
.partner-logo__face {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid rgba(122,26,46,.08);
  background-color: #fff;
  background-image: url(../images/clients.png);
  background-repeat: no-repeat;
  background-size: 1500% 200%;
  background-position: calc(var(--partner-x) * 100% / 14) 100%;
}
.partner-logo__face--back {
  transform: rotateY(180deg);
  background-color: #fdf8f8;
  border-color: rgba(122,26,46,.16);
}
.partner-logo:hover .partner-logo__face--front {
  box-shadow: 0 18px 36px -22px rgba(122,26,46,.32);
}
.partner-logo:hover .partner-logo__face--back {
  box-shadow: 0 18px 36px -22px rgba(122,26,46,.32);
}
.partner-logo--cctv { --partner-x: 0; }
.partner-logo--unicom { --partner-x: 1; }
.partner-logo--tsinghua { --partner-x: 2; }
.partner-logo--cas { --partner-x: 3; }
.partner-logo--sipo { --partner-x: 4; }
.partner-logo--apple { --partner-x: 5; }
.partner-logo--das { --partner-x: 6; }
.partner-logo--hunantv { --partner-x: 7; }
.partner-logo--sino { --partner-x: 8; }
.partner-logo--report { --partner-x: 9; }
.partner-logo--gedu { --partner-x: 10; }
.partner-logo--bgg { --partner-x: 11; }
.partner-logo--bsec { --partner-x: 12; }
.partner-logo--huadan { --partner-x: 13; }
.partner-logo--zd { --partner-x: 14; }

/* 核心服务区块 */
.section--services {
  padding: 144px 0 168px;
  background-color: #fbf7f5;
  border-top: 1px solid rgba(122,26,46,.1);
  border-bottom: 1px solid rgba(122,26,46,.08);
}
.section--services::before {
  background:
    radial-gradient(circle 200px at 88% 10%, rgba(122,26,46,.07) 0%, transparent 72%),
    radial-gradient(circle 170px at 10% 90%, rgba(196,75,98,.06) 0%, transparent 70%);
}
.section--services::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  bottom: -80px;
  left: -60px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
  z-index: 0;
  background: radial-gradient(circle, rgba(196,75,98,.06) 0%, transparent 70%);
}

.section--process {
  padding: 128px 0 140px;
  background-color: #eee8e5;
  border-top: 1px solid rgba(122,26,46,.12);
  border-bottom: 1px solid rgba(122,26,46,.1);
}
.section--process::before {
  background:
    radial-gradient(circle 180px at 18% 22%, rgba(122,26,46,.07) 0%, transparent 72%),
    radial-gradient(circle 160px at 84% 72%, rgba(196,75,98,.06) 0%, transparent 70%);
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0 28px;
}
.filter-tabs button {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: background .22s, color .22s, border-color .22s, transform .22s;
  max-width: 100%;
  line-height: 1.35;
}
.filter-tabs button:hover {
  border-color: rgba(122,26,46,.25);
  color: var(--primary);
}
.filter-tabs button.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -16px rgba(122,26,46,.55);
}

.tab-panels .tab-panel { display: none; }
.tab-panels .tab-panel.is-active {
  display: block;
  animation: tabPanelIn .35s ease;
}
@keyframes tabPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-header {
  display: flex; flex-direction: column; gap: 24px;
  margin-bottom: 64px;
}
@media (min-width: 768px) {
  .section-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.section-eyebrow { font-size: 11px; letter-spacing: .3em; color: var(--primary); text-transform: uppercase; }
.section-title {
  margin-top: 16px;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800; line-height: 1.1;
}
.section-title em { font-style: normal; color: var(--primary); }
.section-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--primary);
}
.section-link:hover { text-decoration: underline; }

/* Service grid */
.service-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
.service-grid .service-card {
  opacity: 0;
  transform: translateY(28px);
}
.service-grid.is-visible .service-card {
  animation: serviceCardIn .65s cubic-bezier(.22, 1, .36, 1) forwards;
}
.service-grid.is-visible .service-card:nth-child(1) { animation-delay: .04s; }
.service-grid.is-visible .service-card:nth-child(2) { animation-delay: .1s; }
.service-grid.is-visible .service-card:nth-child(3) { animation-delay: .16s; }
.service-grid.is-visible .service-card:nth-child(4) { animation-delay: .22s; }
.service-grid.is-visible .service-card:nth-child(5) { animation-delay: .28s; }
.service-grid.is-visible .service-card:nth-child(6) { animation-delay: .34s; }
@keyframes serviceCardIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.service-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background-color: #ffffff;
  background-image: radial-gradient(circle 140px at 100% 0%, rgba(122,26,46,.045) 0%, transparent 72%);
  border: 1px solid rgba(122,26,46,.07);
  border-radius: 18px;
  padding: 36px 28px;
  min-height: 240px;
  overflow: hidden;
  box-shadow: 0 10px 28px -18px rgba(122,26,46,.12);
  transition: background-color .32s ease, background-image .32s ease, color .32s ease, transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(circle at 0% 0%, rgba(122,26,46,.18), transparent 58%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .32s ease;
  pointer-events: none;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.35) 50%, transparent 58%);
  transform: translateX(-130%);
  transition: transform .75s ease;
  pointer-events: none;
}
.service-card.is-active,
.service-card:not(.is-active):hover {
  background-color: #8f2438;
  background-image:
    radial-gradient(circle 180px at var(--card-spot-x, 92%) var(--card-spot-y, 8%), rgba(255,255,255,.14) 0%, transparent 72%),
    radial-gradient(circle 160px at var(--card-spot-x2, 6%) var(--card-spot-y2, 94%), rgba(255,255,255,.07) 0%, transparent 70%),
    radial-gradient(circle 220px at 38% 35%, rgba(196,75,98,.32) 0%, transparent 68%);
  color: #fff;
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 16px 40px -20px rgba(122,26,46,.38);
  transform: translateY(-6px);
  z-index: 1;
}
.service-card.is-active::before,
.service-card:not(.is-active):hover::before {
  opacity: .48;
  background: radial-gradient(circle at 0% 0%, rgba(255,255,255,.18), transparent 58%);
}
.service-card:not(.is-active):hover::after {
  transform: translateX(130%);
}
.service-card.is-active h3,
.service-card:not(.is-active):hover h3 {
  color: #fff;
}
.service-card.is-active .service-card__desc,
.service-card:not(.is-active):hover .service-card__desc {
  color: rgba(255,255,255,.86);
}
.service-card__light {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.service-card__light::after {
  content: '';
  position: absolute;
  top: -45%;
  left: -55%;
  width: 42%;
  height: 190%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255,255,255,.06) 32%,
    rgba(255,255,255,.52) 50%,
    rgba(255,255,255,.06) 68%,
    transparent 100%
  );
  transform: skewX(-20deg) translateX(-130%);
  opacity: 0;
}
.service-grid.is-visible .service-card--featured.is-active .service-card__light::after {
  animation: featuredLightSweep 1.15s cubic-bezier(.22, 1, .36, 1) .42s forwards;
}
@keyframes featuredLightSweep {
  0% { transform: skewX(-20deg) translateX(-130%); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: skewX(-20deg) translateX(340%); opacity: 0; }
}
.service-card.is-active .service-card__icon-wrap,
.service-card.is-active .service-card__body,
.service-card.is-active .service-card__arrow,
.service-card--featured .service-card__icon-wrap,
.service-card--featured .service-card__body,
.service-card--featured .service-card__arrow {
  position: relative;
  z-index: 2;
}
.service-card__icon-wrap {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(122,26,46,.07);
  color: var(--primary);
  transition: transform .32s ease, background .32s ease, color .32s ease, box-shadow .32s ease;
}
.service-card--featured.is-active .service-card__icon-wrap {
  animation: serviceIconFloat 3s ease-in-out infinite;
}
@keyframes serviceIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.service-card__icon-wrap svg {
  width: 28px;
  height: 28px;
}
.service-card.is-active .service-card__icon-wrap,
.service-card:not(.is-active):hover .service-card__icon-wrap {
  background: rgba(255,255,255,.16);
  color: #fff;
  box-shadow: 0 8px 20px -12px rgba(0,0,0,.25);
  transform: scale(1.05);
}
.service-card__body {
  flex: 1;
  min-width: 0;
  padding-right: 28px;
}
.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}
.service-card__desc {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.service-card__arrow {
  position: absolute;
  top: 38px;
  right: 28px;
  font-size: 22px;
  line-height: 1;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .25s ease, transform .25s ease;
  color: rgba(255,255,255,.92);
}
.service-card.is-active .service-card__arrow,
.service-card:not(.is-active):hover .service-card__arrow {
  opacity: .9;
  color: rgba(255,255,255,.92);
  transform: translateX(0);
}
@media (max-width: 767px) {
  .service-card { padding: 28px 22px; gap: 18px; min-height: 0; }
  .service-card__icon-wrap { width: 56px; height: 56px; border-radius: 14px; }
  .service-card__icon-wrap svg { width: 26px; height: 26px; }
  .service-card h3 { font-size: 19px; }
  .service-card__desc { font-size: 14px; margin-top: 10px; }
  .service-card__body { padding-right: 0; }
  .service-card__arrow { display: none; }
}

/* Card grid */
.card-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
@media (min-width: 768px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.content-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  background: var(--card);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.content-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 24px 48px -24px rgba(122,26,46,.25);
}
.content-card__img { overflow: hidden; aspect-ratio: 16/9; background: #eee; }
.content-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.content-card:hover .content-card__img img { transform: scale(1.05); }
.content-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.content-card__meta {
  font-size: 10px; letter-spacing: .2em; color: var(--muted);
  display: flex; gap: 12px; align-items: center;
}
.content-card__meta .cat { color: var(--primary); }
.content-card h3 { margin-top: 16px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.content-card--case h3 {
  margin-top: 0;
  font-size: 15px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.content-card--case .content-card__body {
  padding: 16px 14px 18px;
}
.content-card--case,
.content-card--case.content-card {
  border-radius: 6px;
}
.content-card--case .content-card__img {
  aspect-ratio: 4/3;
  border-radius: 6px 6px 0 0;
}
.content-card p { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; }
.content-card__more { margin-top: 20px; font-size: 12px; color: var(--primary); }

/* Text-only news cards */
.news-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
.news-card {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.news-card:hover {
  border-color: rgba(122,26,46,.28);
  box-shadow: 0 16px 36px -26px rgba(122,26,46,.35);
  transform: translateY(-2px);
}
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.news-card__meta .cat {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: .06em;
}
.news-card h3 {
  margin-top: 12px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  transition: color .2s;
}
.news-card:hover h3 { color: var(--primary); }
.news-card p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__more {
  margin-top: 14px;
  font-size: 12px;
  color: var(--primary);
}

/* Process flow */
.process-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}
.process-flow .process-item,
.process-flow .process-connector {
  opacity: 0;
  transform: translateY(18px);
}
.process-flow.is-visible .process-item,
.process-flow.is-visible .process-connector {
  animation: processStepIn .6s cubic-bezier(.22, 1, .36, 1) forwards;
}
.process-flow.is-visible .process-item:nth-child(1) { animation-delay: .05s; }
.process-flow.is-visible .process-connector:nth-child(2) { animation-delay: .12s; }
.process-flow.is-visible .process-item:nth-child(3) { animation-delay: .19s; }
.process-flow.is-visible .process-connector:nth-child(4) { animation-delay: .26s; }
.process-flow.is-visible .process-item:nth-child(5) { animation-delay: .33s; }
.process-flow.is-visible .process-connector:nth-child(6) { animation-delay: .4s; }
.process-flow.is-visible .process-item:nth-child(7) { animation-delay: .47s; }
@keyframes processStepIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.process-flow.is-visible .process-item.is-active {
  transform: translateY(-6px);
}
@media (min-width: 992px) {
  .process-flow {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }
}
.process-item {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  min-height: 220px;
  transition: background .4s ease, transform .4s ease, box-shadow .4s ease, border-color .4s ease;
  position: relative;
}
.process-item.is-active {
  background: linear-gradient(180deg, rgba(122,26,46,.08) 0%, rgba(255,255,255,.95) 100%);
  border-color: rgba(122,26,46,.22);
  box-shadow: 0 20px 40px -28px rgba(122,26,46,.28);
  transform: translateY(-6px);
  z-index: 1;
}
.process-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px 0;
  color: rgba(122,26,46,.22);
  position: relative;
}
@media (min-width: 992px) {
  .process-connector {
    width: 72px;
    padding: 0 6px;
    align-self: center;
  }
}
.process-connector::before {
  content: '';
  position: absolute;
  background: linear-gradient(90deg, rgba(122,26,46,.12), rgba(122,26,46,.28));
  transition: background .4s ease, opacity .4s ease;
}
@media (min-width: 992px) {
  .process-connector::before {
    left: 0;
    right: 18px;
    top: 50%;
    height: 2px;
    transform: translateY(-50%);
  }
}
@media (max-width: 991px) {
  .process-connector::before {
    left: 50%;
    top: 0;
    bottom: 18px;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(122,26,46,.12), rgba(122,26,46,.28));
  }
}
.process-connector.is-lit::before {
  background: linear-gradient(90deg, rgba(122,26,46,.35), var(--primary));
  animation: processLineFlow 1.4s ease infinite;
}
@media (max-width: 991px) {
  .process-connector.is-lit::before {
    background: linear-gradient(180deg, rgba(122,26,46,.35), var(--primary));
    animation: processLineFlowDown 1.4s ease infinite;
  }
}
@keyframes processLineFlow {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
@keyframes processLineFlowDown {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
@media (min-width: 992px) {
  .process-connector__arrow {
    transform: rotate(0deg);
  }
}
.process-connector__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 16px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: color .35s ease, border-color .35s ease, background .35s ease, transform .35s ease, box-shadow .35s ease;
}
.process-connector.is-lit .process-connector__arrow {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 20px -10px rgba(122,26,46,.55);
  animation: processArrowPulse 1.4s ease infinite;
}
@keyframes processArrowPulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}
@media (max-width: 991px) {
  .process-connector__arrow {
    transform: rotate(90deg);
  }
  .process-connector.is-lit .process-connector__arrow {
    animation: processArrowPulseDown 1.4s ease infinite;
  }
  @keyframes processArrowPulseDown {
    0%, 100% { transform: rotate(90deg) translateX(0); }
    50% { transform: rotate(90deg) translateX(4px); }
  }
}
.process-item__num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  transition: transform .35s ease, color .35s ease;
}
.process-item.is-active .process-item__num {
  transform: scale(1.08);
  color: var(--primary);
}
.process-item h3 {
  margin-top: 32px;
  font-size: 20px;
  font-weight: 700;
  transition: color .35s ease;
}
.process-item.is-active h3 { color: var(--primary); }
.process-item p { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.process-item__pulse {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  transform: scale(.6);
}
.process-item.is-active .process-item__pulse {
  animation: processPulse 1.8s ease infinite;
}
@keyframes processPulse {
  0%, 100% { opacity: 0; transform: scale(.6); }
  50% { opacity: .85; transform: scale(1); box-shadow: 0 0 0 8px rgba(122,26,46,.12); }
}

/* CTA band */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--primary); color: #fff;
}
.cta-band__grid {
  position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: linear-gradient(to right, #fff 1px, transparent 1px), linear-gradient(to bottom, #fff 1px, transparent 1px);
  background-size: 64px 64px;
}
.cta-band__inner {
  position: relative;
  display: flex; flex-direction: column; gap: 32px;
  padding-block: 80px;
}
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cta-band h3 {
  font-size: clamp(1rem, 2.4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}
.cta-band p { margin-top: 16px; font-size: 15px; opacity: .8; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ========== Footer ========== */
.rh-footer {
  background: #2a1818;
  color: rgba(255,255,255,.8);
  border-top: 1px solid rgba(255,255,255,.08);
}
.rh-footer__inner { padding-block: 80px; }
.rh-footer__grid {
  display: grid; gap: 48px;
}
@media (min-width: 768px) { .rh-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.rh-footer__logo-wrap {
  display: inline-block;
}
.rh-footer__logo-wrap img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .92;
}
.rh-footer__desc { margin-top: 24px; max-width: 480px; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.7); }
.rh-footer h4 { font-size: 11px; letter-spacing: .25em; font-weight: 700; }
.rh-footer__links { margin-top: 20px; }
.rh-footer__links li { margin-bottom: 12px; }
.rh-footer__links a { font-size: 14px; color: rgba(255,255,255,.65); transition: color .2s; }
.rh-footer__links a:hover { color: #fff; }
.rh-footer__bottom {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,.45);
}
@media (min-width: 768px) {
  .rh-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ========== List / detail pages ========== */
.page-main { padding: 64px 0 112px; }
.subnav {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 48px;
}
.subnav a {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  transition: all .2s;
}
.subnav a:hover, .subnav a.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

.news-list li {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.news-list a {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline;
  font-size: 16px; transition: color .2s;
}
.news-list a:hover { color: var(--primary); }
.news-list .date { font-size: 13px; color: var(--muted); min-width: 100px; }

.article-wrap {
  max-width: 800px; margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
}
.article-wrap h1 { font-size: 2rem; font-weight: 800; line-height: 1.3; }
.article-meta {
  margin-top: 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
}
.article-content { margin-top: 32px; font-size: 16px; line-height: 1.9; }
.article-content img { margin: 24px auto; border-radius: 8px; }
.article-nav { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; }
.article-nav a:hover { color: var(--primary); }

.contact-form table { width: 100%; border-collapse: collapse; }
.contact-form td { padding: 12px 8px; vertical-align: middle; font-size: 14px; }
.contact-form input[type=text],
.contact-form textarea {
  width: 100%; max-width: 360px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit; font-size: 14px;
}
.contact-form textarea { max-width: 100%; min-height: 120px; }
.contact-form .btn-submit {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 999px;
  padding: 14px 32px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background .2s;
}
.contact-form .btn-submit:hover { background: var(--primary-dark); }

.pagination { margin-top: 48px; text-align: center; }
.pagination__list {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pagination__list li { display: inline-flex; }
.pagination a, .pagination span, .pagination__list a, .pagination__list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.2;
  background: var(--card);
}
.pagination a:hover, .pagination__list a:hover { background: rgba(122,26,46,.08); border-color: rgba(122,26,46,.25); color: var(--primary); }
.pagination .current, .pagination li.active a, .pagination__current a, .pagination__list li.active a {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  pointer-events: none;
}
.pagination strong { color: var(--primary); font-weight: 700; }

/* Spacer for fixed header on inner pages */
body.has-page-hero { padding-top: 0; }
body:not(.home) .page-main { padding-top: calc(var(--header-h) + 32px); }

/* ========== Contact modal ========== */
.rh-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.rh-modal.is-open {
  opacity: 1; visibility: visible;
}
.rh-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(4px);
}
.rh-modal__dialog {
  position: relative; z-index: 1;
  width: min(560px, 100%);
  max-height: min(90vh, 720px);
  overflow-y: auto;
  background: var(--card, #fff);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 32px 28px;
  box-shadow: 0 24px 64px -24px rgba(0,0,0,.35);
  transform: translateY(16px) scale(.98);
  transition: transform .25s;
}
.rh-modal.is-open .rh-modal__dialog {
  transform: translateY(0) scale(1);
}
.rh-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border: none; border-radius: 999px;
  background: rgba(0,0,0,.04);
  color: var(--muted);
  font-size: 24px; line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.rh-modal__close:hover { background: rgba(0,0,0,.08); color: var(--foreground); }
.rh-modal__title {
  font-size: 1.35rem; font-weight: 800; line-height: 1.3;
  padding-right: 40px;
}
.rh-modal__desc {
  margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.6;
}
.contact-form--modal { margin-top: 24px; }
.contact-form--modal .contact-form__field {
  display: flex; flex-direction: column; gap: 6px;
}
.contact-form--modal .contact-form__field span {
  font-size: 13px; font-weight: 600; color: var(--foreground);
}
.contact-form--modal .contact-form__field--full + .contact-form__field--full { margin-top: 16px; }
.contact-form--modal .contact-form__field--full:first-child { margin-top: 0; }
.contact-form--modal input[type=text],
.contact-form--modal textarea {
  width: 100%; max-width: none;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit; font-size: 14px;
}
.contact-form--modal textarea { min-height: 96px; resize: vertical; }
.contact-form--modal .btn-submit { margin-top: 20px; width: 100%; justify-content: center; }
body.modal-open { overflow: hidden; }

.rh-nav__dropdown { position: relative; }
.rh-nav__drop-toggle::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
  opacity: .7;
}
.rh-nav__drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  padding: 8px;
  background: rgba(255,255,255,.98);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px -20px rgba(15,23,42,.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 120;
}
.rh-nav__drop-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--foreground) !important;
}
.rh-nav__drop-menu a:hover {
  background: rgba(122,26,46,.08);
  color: var(--primary) !important;
}
.rh-nav__dropdown:hover .rh-nav__drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.rh-nav-mobile__label {
  display: block;
  padding: 12px 0 4px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.rh-nav-mobile__sub { padding-left: 12px !important; font-size: 14px !important; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb strong, .breadcrumb span:last-child { color: var(--foreground); font-weight: 600; }

.subnav--services { margin-bottom: 40px; }
.subnav--case { max-height: 120px; overflow-y: auto; }

/* Service hub & detail */
.service-hub-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) {
  .service-hub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .service-hub-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-hub-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(122,26,46,.18);
  box-shadow: 0 20px 40px -24px rgba(122,26,46,.22);
}
.service-hub-card__img { aspect-ratio: 16/10; overflow: hidden; background: #eee; }
.service-hub-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.service-hub-card:hover .service-hub-card__img img { transform: scale(1.05); }
.service-hub-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.service-hub-card__body h3 { font-size: 18px; font-weight: 700; }
.service-hub-card__body p { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; }
.service-hub-card__more { margin-top: 16px; font-size: 13px; color: var(--primary); font-weight: 600; }

.service-detail { margin-bottom: 48px; }
.service-detail__hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 21/9;
  min-height: 220px;
  margin-bottom: 32px;
}
.service-detail__hero img { width: 100%; height: 100%; object-fit: cover; }
.service-detail__hero-cap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: linear-gradient(180deg, transparent 20%, rgba(15,23,42,.72) 100%);
  color: #fff;
}
.service-detail__tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 8px;
}
.service-detail__hero-cap h2 { font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 800; line-height: 1.3; max-width: 720px; }
.service-detail__intro { margin-bottom: 36px; }
.service-detail__lead { font-size: 17px; line-height: 1.85; color: var(--muted); max-width: 860px; }

.feature-grid { display: grid; gap: 20px; margin-bottom: 40px; }
.feature-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .feature-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.feature-card__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(122,26,46,.08);
  color: var(--primary);
  font-size: 13px; font-weight: 800;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; }
.feature-card p { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.75; }

.service-detail__split {
  display: grid;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}
@media (min-width: 900px) {
  .service-detail__split { grid-template-columns: 1fr 1fr; }
}
.service-detail__split-img { border-radius: 16px; overflow: hidden; }
.service-detail__split-img img { width: 100%; display: block; }
.check-list { list-style: none; margin-top: 16px; }
.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.process-steps { margin-bottom: 24px; }
.process-steps__title { font-size: 1.25rem; font-weight: 800; margin-bottom: 20px; }
.process-steps__grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .process-steps__grid { grid-template-columns: repeat(4, 1fr); } }
.process-steps__item {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
}
.process-steps__item span {
  display: inline-flex;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 13px; font-weight: 700;
  margin-bottom: 10px;
}
.process-steps__item strong { display: block; font-size: 15px; }
.process-steps__item p { margin-top: 6px; font-size: 13px; color: var(--muted); }

.stat-band, .trust-band {
  display: grid;
  gap: 20px;
  padding: 32px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(122,26,46,.06), rgba(196,75,98,.04));
  border: 1px solid rgba(122,26,46,.1);
}
.stat-band { grid-template-columns: repeat(3, 1fr); text-align: center; }
.stat-band__item strong, .trust-band__grid strong { display: block; font-size: 1.75rem; color: var(--primary); }
.stat-band__item span, .trust-band__grid span { font-size: 13px; color: var(--muted); margin-top: 4px; }
.price-hint {
  padding: 18px 22px;
  border-radius: 12px;
  background: rgba(122,26,46,.06);
  font-size: 14px;
  color: var(--muted);
}
.service-detail__cta {
  text-align: center;
  padding: 40px 24px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
}
.service-detail__cta p { margin-bottom: 20px; color: var(--muted); }

/* Advantages */
.advantage-intro { margin-bottom: 48px; max-width: 820px; }
.advantage-intro__lead { font-size: 18px; line-height: 1.85; color: var(--muted); }
.advantage-grid { display: grid; gap: 32px; }
.advantage-card {
  display: grid;
  gap: 24px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
@media (min-width: 900px) {
  .advantage-card { grid-template-columns: 1fr 1fr; }
  .advantage-card--reverse .advantage-card__img { order: 2; }
}
.advantage-card__img { aspect-ratio: 4/3; overflow: hidden; }
.advantage-card__img img { width: 100%; height: 100%; object-fit: cover; }
.advantage-card__body { padding: 28px 32px; }
.advantage-card__num { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--primary); }
.advantage-card__body h3 { margin-top: 8px; font-size: 1.35rem; font-weight: 800; }
.advantage-card__body p { margin-top: 12px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.trust-band { margin-top: 48px; }
.trust-band h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.trust-band__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: center; }
@media (min-width: 640px) { .trust-band__grid { grid-template-columns: repeat(4, 1fr); } }

/* About page */
.about-page__hero {
  display: grid;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}
@media (min-width: 900px) { .about-page__hero { grid-template-columns: 1.1fr .9fr; } }
.about-page__hero-text h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; }
.about-page__hero-text p { font-size: 15px; line-height: 1.85; color: var(--muted); margin-bottom: 14px; }
.about-page__hero-img { border-radius: 18px; overflow: hidden; }
.about-page__hero-img img { width: 100%; display: block; }
.about-page__blocks {
  display: grid;
  gap: 24px;
  margin-bottom: 40px;
}
@media (min-width: 900px) { .about-page__blocks { grid-template-columns: 1fr 1fr; } }
.about-block {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.about-block h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 12px; }
.about-block--img { padding: 0; overflow: hidden; }
.about-block--img img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.about-values {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}
@media (min-width: 768px) { .about-values { grid-template-columns: repeat(3, 1fr); } }
.about-values__item {
  padding: 24px;
  border-radius: 14px;
  background: rgba(122,26,46,.05);
  border: 1px solid rgba(122,26,46,.08);
}
.about-values__item strong { display: block; color: var(--primary); font-size: 15px; margin-bottom: 8px; }
.about-values__item p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.about-page__extra { max-width: none; margin-top: 32px; }

/* Contact page */
.contact-page {
  display: grid;
  gap: 32px;
}
@media (min-width: 960px) {
  .contact-page { grid-template-columns: .9fr 1.1fr; align-items: start; }
}
.contact-info-card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-bottom: 20px;
}
.contact-info-card--accent {
  background: linear-gradient(145deg, rgba(122,26,46,.07), rgba(196,75,98,.04));
  border-color: rgba(122,26,46,.12);
}
.contact-info-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 16px; }
.contact-info-list { list-style: none; }
.contact-info-list li { margin-bottom: 14px; font-size: 14px; line-height: 1.6; }
.contact-info-list__label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.contact-info-list a { color: var(--primary); font-weight: 600; }
.contact-page__form {
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.contact-page__form h3 { font-size: 1.25rem; font-weight: 800; }
.contact-page__form-desc { margin: 8px 0 24px; font-size: 14px; color: var(--muted); }
.contact-form--page .contact-form__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .contact-form--page .contact-form__grid { grid-template-columns: 1fr 1fr; } }
.contact-form--page .contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form--page .contact-form__field span { font-size: 13px; font-weight: 600; }
.contact-form--page .contact-form__field em { color: var(--primary); font-style: normal; }
.contact-form--page input[type=text],
.contact-form--page textarea {
  width: 100%;
  max-width: none;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
}
.contact-form--page .contact-form__purpose { margin: 20px 0 16px; }
.contact-form--page .contact-form__purpose > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.contact-form--page .contact-form__radios { display: flex; flex-wrap: wrap; gap: 12px 16px; font-size: 14px; }
.contact-form--page .contact-form__field--full { margin-top: 4px; }
.contact-form--page .btn-submit { margin-top: 20px; }

/* Case list enhancements */
.content-card--list .content-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(122,26,46,.55);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: opacity .25s;
}
.content-card--list .content-card__img { position: relative; }
.content-card--list:hover .content-card__overlay { opacity: 1; }
.content-card__views { margin-left: auto; color: var(--muted); font-size: 12px; }
.case-list-grid .content-card__meta { display: flex; align-items: center; gap: 8px; width: 100%; }

/* Case & article detail */
.case-detail, .article-detail {
  max-width: 920px;
  margin: 0 auto;
}
.case-detail__cover, .article-detail__cover {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 24px;
}
.case-detail__cover img, .article-detail__cover img { width: 100%; display: block; }
.case-detail__meta, .article-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.case-detail__content, .article-detail__content { font-size: 16px; line-height: 1.9; }
.case-detail__tags {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.case-detail__tags a {
  display: inline-block;
  margin: 4px 8px 4px 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(122,26,46,.06);
  color: var(--primary);
  font-size: 12px;
}
.article-detail__summary {
  padding: 18px 22px;
  margin-bottom: 28px;
  border-radius: 12px;
  background: rgba(122,26,46,.06);
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.article-nav--split {
  display: grid;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .article-nav--split { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .article-nav--split .text-right { text-align: right; }
}
.article-nav__back {
  justify-self: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
}
.article-nav__back:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.muted { color: var(--muted); }

.prose img { max-width: 100%; height: auto; border-radius: 10px; margin: 20px 0; }
.prose p { margin-bottom: 1em; line-height: 1.85; }
.prose h2, .prose h3 { margin: 1.6em 0 .6em; font-weight: 800; }

/* News cards */
.news-list--cards { display: grid; gap: 20px; }
@media (min-width: 768px) { .news-list--cards { grid-template-columns: repeat(2, 1fr); } }
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .22s, box-shadow .22s;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -20px rgba(122,26,46,.18);
}
.news-card__img { aspect-ratio: 16/9; overflow: hidden; background: #eee; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.news-card:hover .news-card__img img { transform: scale(1.04); }
.news-card__body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.news-card__date { font-size: 12px; color: var(--muted); }
.news-card__body h3 { margin-top: 10px; font-size: 17px; font-weight: 700; line-height: 1.45; }
.news-card__body p { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; }
.news-card__more { margin-top: 14px; font-size: 13px; color: var(--primary); font-weight: 600; }

@media (max-width: 640px) {
  .rh-modal { padding: 16px; }
  .rh-modal__dialog { padding: 24px 20px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-blob, .hero-shimmer { animation: none; }
  .section--services::before { animation: none; }
  .section--services::after { animation: none; }
  .service-grid .service-card { opacity: 1; transform: none; animation: none; }
  .partners-grid .partner-logo { opacity: 1; animation: none; }
  .partner-logo:hover .partner-logo__inner { transform: none; }
  .service-card--featured .service-card__icon-wrap { animation: none; }
  .service-card--featured .service-card__light::after { animation: none; opacity: 0; }
  .process-flow .process-item,
  .process-flow .process-connector { opacity: 1; transform: none; animation: none; }
  .process-connector.is-lit::before { animation: none; }
  .process-connector.is-lit .process-connector__arrow { animation: none; }
  .hero-slide { transition: none; }
  .hero-slide .hero-home__eyebrow,
  .hero-slide h1,
  .hero-slide .hero-home__desc,
  .hero-slide .hero-home__actions {
    opacity: 1; transform: none; animation: none;
  }
  .hero-stats__item { opacity: 1; transform: none; animation: none; }
}

/* ===== Website hub ===== */
.page-website-hub .page-main,
.page-website-hub .breadcrumb,
.page-website-hub .subnav,
.page-svc-hub .page-main,
.page-svc-hub .breadcrumb,
.page-svc-hub .subnav { display: none; }
.page-website-hub .web-hub,
.page-svc-hub .web-hub { overflow-x: hidden; }

.page-hero--website .page-hero__actions,
.page-hero--service .page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* 附件2 米色纹理（建站类型 + 交替 cream 区块） */
.web-hub-surface,
.web-hub-section--cream {
  position: relative;
  background: #f5f3ed;
}
.web-hub-surface__bg,
.web-hub-section--cream::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/web-hub/types-bg.png');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
.web-hub-surface .container,
.web-hub-section--cream .container { position: relative; z-index: 1; }

/* 类型图标区 */
.web-hub-types {
  padding: 56px 0;
  border-bottom: 1px solid rgba(122,26,46,.08);
}
.web-hub-types__head {
  text-align: center;
  color: var(--text);
  margin-bottom: 32px;
}
.web-hub-types__head h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 800; }
.web-hub-types__head p { margin-top: 8px; font-size: 14px; color: var(--muted); }

.web-hub-nav { position: relative; }
.web-hub-nav ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 640px) { .web-hub-nav ul { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .web-hub-nav ul { grid-template-columns: repeat(6, 1fr); gap: 16px; } }
.web-hub-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.web-hub-nav a:hover { transform: translateY(-6px) scale(1.03); }
.web-hub-nav__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.15);
  transition: box-shadow .3s;
}
.web-hub-nav a:hover .web-hub-nav__icon { box-shadow: 0 16px 40px rgba(0,0,0,.22); }
.web-hub-nav__icon img { width: 38px; height: 38px; object-fit: contain; }

/* 侧边锚点 */
.web-hub-anchor {
  position: fixed;
  right: 0;
  top: 58%;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
  width: 5.2em;
  padding: 8px 0;
  border-radius: 10px 0 0 10px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  box-shadow: -4px 8px 24px rgba(0,0,0,.08);
}
@media (min-width: 1200px) { .web-hub-anchor { display: block; } }
.web-hub-anchor ul { list-style: none; padding: 0; margin: 0; }
.web-hub-anchor a {
  display: block;
  padding: 8px 2px;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  color: var(--muted);
  border-right: 2px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
}
.web-hub-anchor a.current,
.web-hub-anchor a:hover {
  color: var(--primary);
  border-right-color: var(--primary);
  background: rgba(122,26,46,.08);
}

.rh-backtop {
  position: fixed;
  right: 16px;
  bottom: 28px;
  z-index: 80;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  background: #92183d;
  box-shadow: 0 8px 24px rgba(146,24,61,.32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.rh-backtop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.rh-backtop:hover { background: #7a1232; }

/* 内容区块 — 交替：白底 / 米色 / 彩色 */
.web-hub-section {
  position: relative;
  padding: 80px 0;
  scroll-margin-top: 88px;
}
.web-hub-section--light { background: var(--bg); }
.web-hub-section--last { padding-bottom: 48px; }

.web-hub-section--theme {
  color: #fff;
}
.web-hub-section--theme .container { position: relative; z-index: 2; }
.web-hub-section__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
  pointer-events: none;
}
.web-hub-section--purple { background: linear-gradient(135deg, #6b5ce7 0%, #8b6cf0 50%, #5a4fcf 100%); }
.web-hub-section--teal { background: linear-gradient(135deg, #0ea5a0 0%, #14b8a6 50%, #0d9488 100%); }
.web-hub-section--red { background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #b91c1c 100%); }
.web-hub-section--cyan { background: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #0284c7 100%); }
.web-hub-section--gold { background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #b45309 100%); }

.web-hub-section--theme .web-hub-section__en { color: rgba(255,255,255,.5); }
.web-hub-section--theme p { color: rgba(255,255,255,.88); }
.web-hub-section--theme .web-hub-section__note { color: rgba(255,255,255,.75); }

.web-hub-section__head { margin-bottom: 18px; }
.web-hub-section__head h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.web-hub-section__en {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.web-hub-section__note { margin-top: 12px; font-size: 14px; opacity: .85; }
.web-hub-section__grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .web-hub-section__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .web-hub-section__grid--img-right .web-hub-section__media { order: 2; }
}
.web-hub-section__media {
  position: relative;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.web-hub-section__media.is-visible { animation: webHubFloat 4s ease-in-out infinite; }
@keyframes webHubFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.web-hub-section__media img {
  width: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.18));
}
.web-hub-section--theme .web-hub-section__media img {
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.35));
}
.web-hub-section__body p { font-size: 15px; line-height: 1.85; }

.web-hub-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.web-hub-logos li {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(122,26,46,.06);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.web-hub-logos img { width: 36px; height: 36px; object-fit: contain; }
.web-hub-logos--light li { background: rgba(255,255,255,.15); }

.web-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  position: relative;
  z-index: 3;
}
.web-hub-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s;
  text-decoration: none;
}
.web-hub-banner__btn:hover { transform: translateY(-2px); }
.web-hub-banner__btn--phone {
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(122,26,46,.18);
  box-shadow: 0 8px 24px rgba(122,26,46,.1);
}
.web-hub-banner__btn--phone:hover { box-shadow: 0 12px 32px rgba(122,26,46,.16); }
.web-hub-banner__btn--wechat {
  background: #07c160;
  color: #fff;
  box-shadow: 0 8px 24px rgba(7,193,96,.28);
}
.web-hub-banner__btn--wechat:hover { background: #06ad56; }
.web-hub-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid rgba(122,26,46,.25);
  background: transparent;
  transition: background .2s, color .2s, transform .2s;
}
.web-hub-link-btn:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.web-hub-section--theme .web-hub-link-btn {
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.web-hub-section--theme .web-hub-link-btn:hover { background: #fff; color: var(--primary); }

.web-hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.web-hub-btn:hover { transform: translateY(-1px); }
.web-hub-btn--phone {
  background: rgba(122,26,46,.08);
  color: var(--primary);
  border: 1px solid rgba(122,26,46,.18);
}
.web-hub-btn--phone:hover { background: var(--primary); color: #fff; }
.web-hub-btn--wechat {
  background: #07c160;
  color: #fff;
  box-shadow: 0 6px 20px rgba(7,193,96,.3);
}
.web-hub-btn--wechat:hover { background: #06ad56; }
.web-hub-section--theme .web-hub-btn--phone {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.web-hub-section--theme .web-hub-btn--phone:hover { background: #fff; color: var(--primary); }

/* 底部 CTA */
.web-hub-cta-band {
  padding: 32px 0 72px;
  background: var(--bg);
}
.web-hub-cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 36px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(122,26,46,.06), rgba(196,75,98,.04));
  border: 1px solid rgba(122,26,46,.1);
}
@media (min-width: 768px) {
  .web-hub-cta-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.web-hub-cta-band__inner h3 { font-size: 1.25rem; font-weight: 800; }
.web-hub-cta-band__inner p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.web-hub-cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.web-hub-cta-band .pill-cta-outline,
.web-hub-cta-band__case {
  color: #92183d;
  border: 1px solid #92183d;
  background: #fff;
}
.web-hub-cta-band .pill-cta-outline:hover,
.web-hub-cta-band__case:hover {
  background: #92183d;
  color: #fff;
}
.pill-cta--ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(122,26,46,.3);
}

.web-hub-guestbook {
  padding: 0 0 80px;
  background: var(--bg);
}
.web-hub-guestbook__box {
  display: grid;
  gap: 32px;
  padding: 36px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(146,24,61,.12);
  box-shadow: 0 12px 40px rgba(0,0,0,.05);
}
@media (min-width: 900px) {
  .web-hub-guestbook__box {
    grid-template-columns: minmax(260px, .9fr) 1.2fr;
    gap: 48px;
    align-items: stretch;
  }
}
.web-hub-guestbook__aside h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800;
  line-height: 1.35;
}
.web-hub-guestbook__aside > p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.web-hub-guestbook__points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.web-hub-guestbook__points li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid rgba(146,24,61,.08);
}
.web-hub-guestbook__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #92183d;
}
.web-hub-guestbook__contact {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.web-hub-guestbook__contact a {
  font-size: 1.35rem;
  font-weight: 800;
  color: #92183d;
  letter-spacing: .02em;
}
.web-hub-guestbook__contact span {
  font-size: 13px;
  color: var(--muted);
}
.contact-form--hub h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.web-hub-guestbook__grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .web-hub-guestbook__grid { grid-template-columns: 1fr 1fr; }
}
.contact-form--hub .contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form--hub .contact-form__field span { font-size: 13px; font-weight: 600; }
.contact-form--hub .contact-form__field--full { margin-top: 16px; }
.contact-form--hub input[type=text],
.contact-form--hub textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  background: #faf8f6;
  font-family: inherit;
  font-size: 14px;
}
.contact-form--hub textarea { min-height: 110px; resize: vertical; }
.contact-form--hub .btn-submit {
  margin-top: 20px;
  background: #92183d;
}
.contact-form--hub .btn-submit:hover { background: #7a1232; }

/* 微信弹窗 */
.rh-modal__dialog--wechat { max-width: 380px; text-align: center; }
.web-hub-wechat-qr img {
  display: block;
  margin: 16px auto;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.web-hub-wechat-qr p { font-size: 14px; color: var(--muted); }
.web-hub-wechat-qr a { color: var(--primary); font-weight: 700; }

/* 滚动入场动画 */
.web-hub [data-reveal] {
  opacity: 0;
  transition: opacity .75s ease, transform .75s cubic-bezier(.22,1,.36,1);
}
.web-hub [data-reveal="up"] { transform: translateY(40px); }
.web-hub [data-reveal="left"] { transform: translateX(-48px); }
.web-hub [data-reveal="right"] { transform: translateX(48px); }
.web-hub [data-reveal].is-visible { opacity: 1; transform: none; }
.web-hub [data-reveal-delay="1"] { transition-delay: .06s; }
.web-hub [data-reveal-delay="2"] { transition-delay: .12s; }
.web-hub [data-reveal-delay="3"] { transition-delay: .18s; }
.web-hub [data-reveal-delay="4"] { transition-delay: .24s; }
.web-hub [data-reveal-delay="5"] { transition-delay: .3s; }
.web-hub [data-reveal-delay="6"] { transition-delay: .36s; }

@media (max-width: 1199px) {
  .web-hub-anchor { display: none !important; }
}
@media (max-width: 767px) {
  .web-hub-types { padding: 40px 0; }
  .web-hub-section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .web-hub-section__media.is-visible { animation: none; }
  .web-hub [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* 服务页：痛点 / 流程 / 问答（参考营销型落地页结构） */
.svc-extra { padding: 72px 0; }
.svc-extra--muted { background: #f5f3ed; }
.svc-extra--dark {
  background: linear-gradient(135deg, #92183d 0%, #6b102c 100%);
  color: #fff;
}
.svc-extra__head { text-align: center; margin-bottom: 40px; }
.svc-extra__head h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 800; }
.svc-extra__head p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.svc-extra--dark .svc-extra__head p { color: rgba(255,255,255,.78); }
.svc-pain {
  display: grid;
  gap: 18px;
}
@media (min-width: 800px) { .svc-pain { grid-template-columns: repeat(3, 1fr); } }
.svc-pain article {
  padding: 28px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(146,24,61,.1);
}
.svc-extra--dark .svc-pain article {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.18);
}
.svc-pain em {
  display: block;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #92183d;
  margin-bottom: 10px;
}
.svc-extra--dark .svc-pain em { color: #ffd4e0; }
.svc-pain h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.svc-pain p { font-size: 14px; line-height: 1.75; color: var(--muted); }
.svc-extra--dark .svc-pain p { color: rgba(255,255,255,.82); }
.svc-steps {
  display: grid;
  gap: 16px;
}
@media (min-width: 800px) { .svc-steps { grid-template-columns: repeat(4, 1fr); } }
.svc-steps li {
  list-style: none;
  padding: 24px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(146,24,61,.1);
  text-align: center;
}
.svc-steps strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #92183d;
  margin-bottom: 8px;
}
.svc-steps h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.svc-steps p { font-size: 13px; line-height: 1.7; color: var(--muted); }
.svc-faq { max-width: 820px; margin: 0 auto; }
.svc-faq details {
  border-bottom: 1px solid rgba(146,24,61,.12);
  padding: 16px 0;
}
.svc-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
}
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after {
  content: '+';
  float: right;
  color: #92183d;
  font-weight: 600;
}
.svc-faq details[open] summary::after { content: '−'; }
.svc-faq details p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* 其他核心服务：独立落地页（不用建站 web-hub 图标导航 / 右侧锚点） */
.page-svc-hub .svc-page { overflow-x: hidden; }
.svc-page__band { padding: 72px 0; background: #fff; }
.svc-page__band--tint { background: #f7f4ef; }
.svc-page__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #92183d;
  margin-bottom: 10px;
}
.svc-page__title,
.svc-page__band h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  line-height: 1.35;
}
.svc-page__lead {
  margin: 12px 0 28px;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}
.svc-page__triples,
.svc-page__benefits {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 800px) {
  .svc-page__triples { grid-template-columns: repeat(3, 1fr); }
  .svc-page__benefits { grid-template-columns: repeat(3, 1fr); }
}
.svc-page__triples article,
.svc-page__benefits article {
  padding: 26px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(146,24,61,.1);
  box-shadow: 0 10px 28px rgba(40,16,24,.04);
}
.svc-page__band--tint .svc-page__triples article { background: #fff; }
.svc-page__triples span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #92183d;
  margin-bottom: 10px;
}
.svc-page__triples h3,
.svc-page__benefits h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.svc-page__triples p,
.svc-page__benefits p { font-size: 14px; line-height: 1.75; color: var(--muted); }
.svc-page__split {
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .svc-page__split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .svc-page__split--rev { direction: rtl; }
  .svc-page__split--rev > * { direction: ltr; }
}
.svc-page__split figure { margin: 0; }
.svc-page__split img {
  width: 100%;
  display: block;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(40,16,24,.12);
}
.svc-page__list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.svc-page__list li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text, #2a1a20);
  border-bottom: 1px solid rgba(146,24,61,.08);
}
.svc-page__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #92183d;
}
.svc-page__timeline {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
}
@media (min-width: 800px) { .svc-page__timeline { grid-template-columns: repeat(4, 1fr); } }
.svc-page__timeline li {
  list-style: none;
  padding: 22px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(146,24,61,.1);
}
.svc-page__band:not(.svc-page__band--tint) .svc-page__timeline li { background: #f7f4ef; }
.svc-page__timeline strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #92183d;
  margin-bottom: 6px;
}
.svc-page__timeline h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.svc-page__timeline p { font-size: 13px; line-height: 1.7; color: var(--muted); }

.svc-page__bento {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
@media (min-width: 800px) {
  .svc-page__bento { grid-template-columns: repeat(3, 1fr); }
  .svc-page__bento .is-wide { grid-column: span 2; }
}
.svc-page__bento article {
  padding: 24px 22px;
  border-radius: 18px;
  background: #f7f4ef;
  border: 1px solid rgba(146,24,61,.08);
}
.svc-page__bento .is-wide { background: #fff; border-color: rgba(146,24,61,.16); }
.svc-page__bento span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #92183d;
}
.svc-page__bento h3 { margin: 8px 0; font-size: 18px; font-weight: 800; }
.svc-page__bento p { font-size: 14px; line-height: 1.75; color: var(--muted); }

.svc-page__platforms {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 800px) { .svc-page__platforms { grid-template-columns: repeat(3, 1fr); } }
.svc-page__platforms article {
  padding: 32px 24px;
  border-radius: 20px;
  background: #fff;
  border-top: 4px solid #92183d;
  box-shadow: 0 14px 36px rgba(40,16,24,.06);
}
.svc-page__platforms h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.svc-page__platforms p { font-size: 14px; line-height: 1.8; color: var(--muted); }

.svc-page__mosaic {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.svc-page__mosaic a {
  display: block;
  padding: 28px 24px;
  border-radius: 18px;
  background: #f7f4ef;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(146,24,61,.08);
  min-height: 140px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc-page__mosaic a:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(40,16,24,.1);
}
.svc-page__mosaic .is-lg {
  background: #92183d;
  color: #fff;
  border-color: transparent;
  min-height: 220px;
}
.svc-page__mosaic .is-lg p { color: rgba(255,255,255,.82); }
.svc-page__mosaic span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
  opacity: .7;
}
.svc-page__mosaic h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.svc-page__mosaic p { font-size: 14px; line-height: 1.7; color: var(--muted); }
@media (min-width: 900px) {
  .svc-page__mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
      "lg lg mall card"
      "lg lg shop food"
      "fx fx fx fx";
  }
  .svc-page__mosaic a:nth-child(1) { grid-area: lg; }
  .svc-page__mosaic a:nth-child(2) { grid-area: mall; }
  .svc-page__mosaic a:nth-child(3) { grid-area: card; }
  .svc-page__mosaic a:nth-child(4) { grid-area: shop; }
  .svc-page__mosaic a:nth-child(5) { grid-area: food; }
  .svc-page__mosaic a:nth-child(6) { grid-area: fx; min-height: 110px; }
}
#mini-biz, #mini-mall, #mini-card, #mini-shop, #mini-food, #mini-fx {
  scroll-margin-top: 88px;
}

@media (max-width: 799px) {
  .svc-page__band { padding: 48px 0; }
}

/* =========================================================================
   二级页头部等高 —— 与「建站知识」一级页头部对齐
   桌面 604px / 移动 547px（与 .pgs-hero 自然高度一致）
   ========================================================================= */
@media (min-width: 768px) {
  .page-hero--article,
  .page-hero--case,
  .pg-case .pgs-hero,
  .pg-pay .pgs-hero {
    min-height: 604px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
@media (max-width: 767px) {
  .page-hero--article,
  .page-hero--case,
  .pg-case .pgs-hero,
  .pg-pay .pgs-hero {
    min-height: 547px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* 下拉菜单二级项：不用横线标记选中，仅文字变色 */
.rh-nav__drop-menu a.active {
  color: var(--primary) !important;
  font-weight: 600;
}
.rh-nav__drop-menu a.active::after { display: none; }

/* 备案信息 */
.rh-footer__beian {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}
.rh-footer__beian a {
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.rh-footer__beian a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}
