/* 盈润科技官网：在参考站视觉体系上补首页横幅、联系页和法务页 */
:root {
  --font: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  --display: "Segoe UI", "Microsoft YaHei", sans-serif;
}

.btn-primary {
  background: #1f7ec8;
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 20px rgba(3, 32, 72, 0.22);
}
.btn-primary:hover {
  background: #186eaf;
  border-color: #fff;
  box-shadow: 0 10px 24px rgba(3, 32, 72, 0.28);
}
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]::after { left: 0; right: 0; }
.site-nav a {
  font-size: 17px;
  font-weight: 700;
}
html.lang-en .site-nav a {
  font-size: 15px;
  font-weight: 700;
}

.hero-upgrade {
  min-height: 0;
  padding: 64px 0 48px;
  background: linear-gradient(90deg, #f8fbff 0%, #eef5fe 52%, #eaf4fe 100%);
  border-bottom-color: rgba(21, 104, 176, 0.12);
}
.hero.hero-upgrade::before { opacity: 0.35; }
.hero-upgrade h1 {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #0e4f8c;
  color: #0e4f8c;
}
.hero-upgrade .lead { color: #2a4560; }
.hero-upgrade-grid { grid-template-columns: 1fr; justify-items: center; }
.hero-copy { width: min(1120px, 100%); text-align: center; }
.hero-copy h1 {
  font-size: clamp(22px, 2.35vw, 40px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
}
html.lang-en .banner-slide h1,
html.lang-en .banner-slide .lead {
  width: 100%;
  max-width: 100%;
  white-space: normal;
}
html.lang-en .hero-copy h1 {
  white-space: pre-line;
}
.banner-slide h1,
.banner-slide .lead {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.banner-slide .lead { margin-top: 16px; }
.hero-meter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.hero-meter div {
  padding: 16px 8px 14px;
  border-radius: 18px;
  border: 1px solid rgba(174, 220, 255, 0.28);
  background: linear-gradient(155deg, rgba(42, 146, 216, 0.92), rgba(22, 112, 186, 0.88));
  box-shadow: inset 0 1px 0 rgba(220, 243, 255, 0.2), 0 18px 42px rgba(2, 35, 80, 0.2);
}
.hero-meter strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  color: #fff;
}
.hero-meter span { color: rgba(232, 243, 255, 0.86); font-size: 13px; }
.hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.hero-pills a {
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  color: #1568b0;
  border: 1px solid rgba(21, 104, 176, 0.4);
  background: rgba(255, 255, 255, 0.72);
}
.hero-pills a:hover { background: #fff; }
.banner-stage { position: relative; padding: 0 64px; }
.banner-slide {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease;
}
.banner-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}
.text-carousel { position: relative; }
.banner-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(220, 244, 255, .7);
  background: rgba(3, 47, 101, .45);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, background .2s ease;
}
.banner-prev { left: 0; top: 50%; transform: translateY(-50%); }
.banner-next { right: 0; top: 50%; transform: translateY(-50%); }
.banner-btn:hover { background: rgba(28, 123, 201, .82); }
.text-carousel:hover .banner-btn {
  opacity: 1;
  pointer-events: auto;
}

.card h2 {
  margin: 10px 0 8px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.home-card h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 12px;
  background: #8ec0e8;
}
.page-cta h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.45;
  font-weight: 600;
}
.route-node { white-space: nowrap; }

.legal-names {
  margin-top: 18px !important;
  color: var(--ink) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.scene-line { margin-top: 8px; color: var(--muted); font-size: 14px; }
.section-actions { display: flex; justify-content: center; margin-top: 26px; }

.product-card ul { margin-top: 16px; }
.page-cta { margin-top: 8px; }
.page-cta .btn { flex: none; }

.info-list { margin-top: 8px; }
.info-list div {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(186, 220, 255, 0.18);
}
.info-list div:last-child { border-bottom: 0; }
.info-list dt { color: var(--accent); }
.info-list dd { margin: 0; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--accent); }
.contact-card h2 { font-size: clamp(22px, 2vw, 28px); line-height: 1.35; }
html.lang-en .contact-card .en-name { display: none; }
.contact-card .en-name {
  margin-top: 6px;
  color: var(--accent);
  font-family: var(--display);
  letter-spacing: 0.04em;
}
.subhead {
  margin: 22px 0 4px;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-family: var(--display);
}

.form h2 { font-size: 28px; letter-spacing: -0.03em; }
.form-hint { color: var(--ink-soft); margin: 8px 0 18px; }
.form .btn { margin-top: 6px; }
.form .success {
  margin-top: 14px;
  background: #e5f6ec;
  border: 1px solid #1a9d55;
  color: #046b38;
  -webkit-text-fill-color: #046b38;
  font-weight: 700;
}

.prose { max-width: 760px; }
.prose p { color: var(--ink-soft); font-size: 17px; }
.prose .hero-actions { margin-top: 28px; }

.empty-page {
  min-height: 46vh;
  display: grid;
  align-content: center;
  text-align: center;
  padding: 48px 0 72px;
}
.empty-page h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.35;
}
.empty-page .hero-actions { justify-content: center; }

.footer-address { margin-top: 6px; }
.legal a { display: inline; margin: 0; }
.legal a:hover { color: var(--accent); }

@media (max-width: 980px) {
  .hero-copy h1 { white-space: normal; font-size: clamp(28px, 7vw, 36px); }
  .banner-stage { padding: 0 52px; }
  .info-list div { grid-template-columns: 1fr; gap: 4px; }
  .page-cta { align-items: flex-start; }
  body .footer-logo {
    position: static;
    transform: none;
    width: min(126px, 48%);
    margin: 0 auto 16px;
  }
  body .footer-brand-copy,
  body .footer-brand-copy > p,
  body .footer-meta,
  body .footer-meta .footer-address { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .banner-slide,
  .banner-btn { transition: none; }
  body .client-marquee-track { animation: none; }
  body .client-marquee-track ul[aria-hidden="true"] { display: none; }
  .form-mask-spin { animation: none; }
}

body {
  background: linear-gradient(90deg, #f8fbff 0%, #eef5fe 52%, #eaf4fe 100%);
  color: #2a4560;
}
body::before { opacity: 0; }
body .band {
  background: linear-gradient(90deg, #f8fbff 0%, #eef5fe 52%, #eaf4fe 100%);
  border-color: rgba(21, 104, 176, 0.12);
}
body .site-footer {
  background: linear-gradient(180deg, #1a679f 0%, #124e7c 100%);
  border-top: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  padding: 40px 0 20px;
}
body .footer-slim > p {
  margin: 14px auto 0;
  max-width: 640px;
  line-height: 1.7;
}
body .footer-slim > p:first-child { margin-top: 0; }
body .footer-brand {
  position: relative;
  text-align: center;
}
body .footer-logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(126px, calc(50% - 320px));
  line-height: 0;
}
body .footer-logo img { width: 100%; height: auto; display: block; }
body .footer-brand-copy > p {
  margin: 0 auto;
  max-width: 640px;
  line-height: 1.7;
  text-align: center;
}
html.lang-en body .footer-brand-copy {
  padding-left: 150px;
}
html.lang-en body .footer-brand-copy > p {
  max-width: none;
  white-space: nowrap;
}
@media (max-width: 980px) {
  html.lang-en body .footer-brand-copy { padding-left: 0; }
  html.lang-en body .footer-brand-copy > p {
    max-width: 640px;
    white-space: normal;
  }
}
body .footer-meta {
  display: inline-block;
  margin-top: 8px;
  text-align: left;
}
body .footer-meta .footer-address {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
}
body .footer-meta .footer-address + .footer-address { margin-top: 2px; }
body .footer-address a { display: inline; margin: 0; color: inherit !important; }
body .footer-facts { margin-top: 16px; }
body .footer-links { margin-top: 14px; }
body .footer-links a { margin: 0; }
body .about-layout h2,
body .center-copy h2 {
  color: #0e4f8c;
  -webkit-text-fill-color: #0e4f8c;
}
body .about-layout h2::after,
body .center-copy h2::after {
  background: #1f7ec8;
  box-shadow: none;
}
.center-copy {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.center-copy > p,
.center-copy > p:not(.kicker) {
  max-width: min(720px, 100%);
  white-space: normal;
  word-break: normal;
  line-break: auto;
  overflow-wrap: break-word;
  text-wrap: wrap;
}
body .about-layout p,
body .center-copy p,
body .legal-names,
body .page-title p,
body .prose p,
body .empty-page p,
body .form-hint {
  color: #2a4560 !important;
}
body .site-footer a,
body .site-footer p {
  color: rgba(236, 246, 255, 0.92) !important;
}
body .site-footer a:hover { color: #ffffff !important; }
body .site-footer .legal {
  color: rgba(236, 246, 255, 0.86) !important;
  border-top-color: rgba(255, 255, 255, 0.16);
  margin-top: 18px;
  padding-top: 14px;
}
body .site-footer .legal a { color: rgba(236, 246, 255, 0.86) !important; }
body .site-footer .legal a:hover { color: #ffffff !important; }
body .btn-primary,
body .btn-line {
  background: #ffffff;
  color: #0e4f8c;
  border-color: rgba(21, 104, 176, 0.38);
  box-shadow: 0 8px 20px rgba(40, 100, 160, 0.08);
}
body .btn-primary:hover,
body .btn-line:hover {
  background: #f4f9fd;
  color: #0c5a9e;
  border-color: #7eb4e2;
  box-shadow: 0 10px 24px rgba(40, 100, 160, 0.12);
}
body .hero-meter div,
body .card,
body .contact-block {
  background: #ffffff;
  border-color: rgba(150, 190, 225, 0.55);
  box-shadow: 0 12px 32px rgba(40, 100, 160, 0.08);
  color: #1a4d78;
}
body .card:hover {
  border-color: rgba(21, 104, 176, 0.45);
  box-shadow: 0 16px 36px rgba(40, 100, 160, 0.12);
}
body .hero-meter strong,
body .card h2,
body .card h3,
body .about-stats strong,
body .contact-row strong,
body .cta h2,
body .form h2 {
  color: #0e4f8c;
}
body .hero-meter span,
body .card p,
body .card li,
body .about-stats span,
body .contact-row span,
body .contact-row .contact-label,
body .scene-line {
  color: #3a5670;
}
body .link-more,
body .contact-row i { color: #1a7ec4; }
body .home-card h3::after {
  background: #8ec0e8;
}
body .card-icon,
body .ability-no,
body .contact-icon {
  background: #e7f3fc;
  color: #1568b0;
  border-color: rgba(21, 104, 176, 0.22);
  box-shadow: none;
}
body .contact-row .contact-icon {
  color: #0c4f8c;
  background: #d4e8f8;
  border-color: rgba(12, 79, 140, 0.35);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
body .tags span {
  background: #e8f3fc;
  color: #1568b0;
  border-color: rgba(21, 104, 176, 0.22);
}
body .contact-row { border-bottom-color: rgba(150, 190, 225, 0.45); }
body .contact-row:hover { background: #f4f9fd; }
body .contact-row:hover strong { color: #0e4f8c; }
body .footer-facts span {
  color: #f4f9fd;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.page-hero {
  background: linear-gradient(90deg, #f8fbff 0%, #eef5fe 52%, #eaf4fe 100%);
  border-bottom: 1px solid rgba(21, 104, 176, 0.12);
}
.page-title h1,
.empty-page h1 {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #0e4f8c;
  color: #0e4f8c;
}
.kicker { color: #1a7ec4; text-shadow: none; }
.card .index { color: #1a7ec4; }
.card li::before { background: #1a7ec4; box-shadow: none; }
.subhead,
.en-name,
.info-list dt { color: #1a7ec4; }
.info-list dd,
.info-list a { color: #2a4560; }
.info-list div { border-bottom-color: rgba(21, 104, 176, 0.16); }
.form {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(150, 190, 225, 0.55);
  box-shadow: 0 12px 32px rgba(40, 100, 160, 0.08);
  color: #2a4560;
}
.form-mask {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  background: rgba(247, 251, 255, 0.96);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
}
.form.is-sending .form-mask { display: flex; }
.form-mask p {
  margin: 0;
  color: #0e4f8c;
  -webkit-text-fill-color: #0e4f8c;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}
.form-mask-spin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(21, 104, 176, 0.18);
  border-top-color: #1568b0;
  animation: form-mask-spin 0.8s linear infinite;
}
@keyframes form-mask-spin {
  to { transform: rotate(360deg); }
}
.field span { color: #3a5670; }
.field input,
.field textarea,
.field select {
  background: #f7fbff;
  color: #1a3348;
  border-color: rgba(21, 104, 176, 0.28);
}
.cta,
.page-cta {
  background: #ffffff;
  color: #0e4f8c;
  border: 1px solid rgba(150, 190, 225, 0.55);
  box-shadow: 0 12px 32px rgba(40, 100, 160, 0.08);
}
.cta .btn-ghost {
  background: #ffffff;
  color: #0e4f8c;
  border-color: rgba(21, 104, 176, 0.38);
}

body .client-marquee {
  margin-top: 28px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
body .client-marquee-track {
  display: flex;
  width: max-content;
  animation: client-marquee 36s linear infinite;
}
body .client-marquee-track:hover { animation-play-state: paused; }
body .client-marquee-track ul {
  display: flex;
  align-items: center;
  gap: 48px;
  margin: 0;
  padding: 0 48px 0 0;
  list-style: none;
}
body .client-marquee-track li {
  width: auto;
  height: auto;
  flex: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
body .client-marquee-track img {
  display: block;
  width: auto;
  height: 64px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center center;
}
@keyframes client-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 980px) {
  body .client-marquee-track ul { gap: 32px; padding-right: 32px; }
  body .client-marquee-track li { width: auto; height: auto; padding: 0; }
  body .client-marquee-track img { height: 52px; }
}

body .form #form-success.success {
  background: #e5f6ec;
  border: 1px solid #1a9d55;
  color: #046b38;
  -webkit-text-fill-color: #046b38;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.6;
}
