/* Homepage — sections 1–9 */

.home-main {
  margin-top: 0;
}

/* —— Hero carousel (below header) —— */
.home-hero {
  --home-hero-header: 88px;
  position: relative;
  background-color: #0a0f1f;
}

.home-hero-viewport {
  position: relative;
  margin-top: var(--home-hero-header);
  min-height: calc(100vh - var(--home-hero-header));
  min-height: calc(100dvh - var(--home-hero-header));
  height: calc(100vh - var(--home-hero-header));
  height: calc(100dvh - var(--home-hero-header));
}

.home-hero-track {
  position: relative;
  min-height: 100%;
  height: 100%;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
  z-index: 0;
}

.home-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 视频上层半透明黑色遮罩，保证标题/描述文字可读（文字 .home-hero-inner z-index:1 在其上） */
.home-hero-slide.has-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  padding: 0 24px 80px;
  text-align: left;
}

.home-hero-title {
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  max-width: 720px;
  margin-bottom: 24px;
}

.home-hero-desc {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin-bottom: 40px;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(90deg, #f07a20 0%, #ff9a45 100%);
  border-radius: 999px;
  transition: filter 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 24px rgba(240, 122, 32, 0.35);
}

.btn-hero-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #1a202c;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s ease;
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.95);
}

.home-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, color 0.2s ease;
}

.home-hero-arrow.prev {
  left: 20px;
}

.home-hero-arrow.next {
  right: 20px;
}

.home-hero:hover .home-hero-arrow,
.home-hero:focus-within .home-hero-arrow {
  opacity: 1;
  visibility: visible;
}

.home-hero-arrow:hover {
  color: #ffffff;
}

.home-hero-indicators {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-hero-indicators button {
  width: 48px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.home-hero-indicators button.is-active {
  background: #f5c518;
  transform: scaleX(1.05);
}

@media (max-width: 768px) {
  .home-hero {
    --home-hero-header: 72px;
  }

  .home-hero-inner {
    padding: 0 24px 72px;
    text-align: center;
  }

  .home-hero-title,
  .home-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero-actions {
    justify-content: center;
  }

  .home-hero-indicators button {
    width: 36px;
  }
}

/* —— Section 1: Stats + Manufacturing Services —— */
.home-stats {
  padding: 48px 0 32px;
  background: #ffffff;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.home-stat {
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-stat-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #2e3389 0%, #252b7a 100%);
  border-radius: 10px;
}

.home-stat-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.home-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #1a202c;
  line-height: 1.2;
}

.home-stat-label {
  font-size: 13px;
  color: #64748b;
  margin-top: 2px;
}

.home-services {
  padding: 24px 0 80px;
  background: #ffffff;
}

.home-services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.home-services-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  color: #1a202c;
  line-height: 1.2;
}

.home-services-intro p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.75;
  margin-bottom: 16px;
}

.home-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #2e2b7a;
  transition: color 0.2s ease;
}

.home-link-arrow:hover {
  color: #f07a20;
}

.home-link-arrow svg {
  width: 14px;
  height: 14px;
}

.home-mfg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-mfg-card {
  position: relative;
  min-height: 290px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 28px;
  color: #ffffff;
}

.home-mfg-card.is-wide {
  grid-column: span 2;
  min-height: 360px;
}

.home-mfg-card.is-wide p {
  max-width: 520px;
}

.home-mfg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 40, 0) 0%,
    rgba(8, 12, 40, 0.15) 45%,
    rgba(8, 12, 40, 0.72) 78%,
    rgba(8, 12, 40, 0.92) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.home-mfg-card.is-blue-overlay::before {
  background: linear-gradient(
    180deg,
    rgba(8, 12, 40, 0) 0%,
    rgba(46, 43, 122, 0.2) 50%,
    rgba(46, 43, 122, 0.82) 82%,
    rgba(36, 34, 100, 0.95) 100%
  );
}

.home-mfg-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
}

.home-mfg-card:hover .home-mfg-card-bg {
  transform: scale(1.04);
}

.home-mfg-card h3,
.home-mfg-card p {
  position: relative;
  z-index: 2;
}

.home-mfg-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.home-mfg-card p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 420px;
}

/* —— Section 2: Featured Cases —— */
.home-cases {
  padding: 64px 0 80px;
  background: #fafbfc;
}

.home-cases-head {
  text-align: center;
  margin-bottom: 40px;
}

.home-cases-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #2d3766;
  margin-bottom: 10px;
}

.home-cases-head p {
  font-size: 14px;
  color: #9499b3;
  margin-bottom: 0;
}

.home-cases-slider-wrap {
  position: relative;
}

.home-cases-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.home-cases-slider::-webkit-scrollbar {
  display: none;
}

.home-case-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 260px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  background: #f0ebe3;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.3s ease;
}

.home-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(30, 40, 80, 0.12);
  background: linear-gradient(160deg, #2e2b7a 0%, #252061 100%);
}

.home-case-img {
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
  background: #e8e4dc;
}

.home-case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-case-body {
  padding: 22px 20px 24px;
  min-height: 118px;
}

.home-case-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 14px;
  transition: color 0.25s ease;
}

.home-case-divider {
  display: block;
  position: relative;
  width: 76px;
  height: 3px;
  margin-bottom: 16px;
}

.home-case-divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 42%;
  height: 3px;
  background-color: #1a202c;
  border-radius: 1px;
  transition: background-color 0.25s ease;
}

.home-case-divider::after {
  content: "";
  position: absolute;
  left: 42%;
  right: 0;
  top: 1px;
  height: 1px;
  background-color: #c8ccd6;
  transition: background-color 0.25s ease;
}

.home-case-card:hover .home-case-divider::before {
  width: 32px;
  height: 3px;
  background: #f07a20;
}

.home-case-card:hover .home-case-divider::after {
  left: 32px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), transparent);
}

.home-case-desc {
  display: none;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  margin-bottom: 12px;
}

.home-case-card:hover .home-case-desc {
  display: block;
}

.home-case-card:hover h3 {
  color: #ffffff;
}

.home-case-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #2e2b7a;
  transition: color 0.25s ease;
}

.home-case-card:hover .home-case-more {
  color: #ffffff;
}

.home-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s ease, color 0.2s ease;
  z-index: 2;
}

.home-slider-btn:hover {
  border-color: #2e2b7a;
  color: #2e2b7a;
}

.home-slider-btn.prev {
  left: -22px;
}

.home-slider-btn.next {
  right: -22px;
}

/* —— Section 4: Industries —— */
.home-industries {
  padding: 80px 0;
  background: #ffffff;
}

.home-industries-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.home-industries-copy h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 16px;
}

.home-industries-copy p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.75;
  margin-bottom: 28px;
}

.btn-industries {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: #2e2b7a;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}

.btn-industries:hover {
  background: #252061;
}

.home-industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.home-industry-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #f3f4f8;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.home-industry-pill img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.home-industry-pill .pill-arrow {
  margin-left: auto;
  opacity: 0.4;
  font-size: 12px;
}

.home-industry-pill.is-active,
.home-industry-pill:hover {
  background: #2e2b7a;
  color: #ffffff;
}

.home-industry-pill.is-active img,
.home-industry-pill:hover img {
  filter: brightness(0) invert(1);
}

.home-industry-pill.is-active .pill-arrow,
.home-industry-pill:hover .pill-arrow {
  opacity: 1;
}

/* —— Section 5: Capability —— */
.home-capability {
  padding: 80px 0;
  background: #fafbfc;
}

.home-capability-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.home-capability h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 32px;
}

.home-cap-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin-bottom: 32px;
}

.home-cap-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #475569;
  line-height: 1.55;
}

.home-cap-item .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid #4346a8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.home-cap-item .check svg {
  width: 11px;
  height: 11px;
  stroke: #4346a8;
  fill: none;
}

.home-cap-item.is-wide {
  grid-column: 1 / -1;
}

.btn-outline-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  color: #2e2b7a;
  border: 1.5px solid #2e2b7a;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline-brand:hover {
  background: #2e2b7a;
  color: #ffffff;
}

.home-capability-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 20, 40, 0.12);
}

.home-capability-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 11;
}

/* —— Section 6: How We Work —— */
.home-process {
  --home-process-surface: #f5f5f5;
  --home-process-primary: #303387;
  padding: 80px 0;
  background: #ffffff;
  text-align: center;
}

.home-process h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #2e2b7a;
  margin-bottom: 16px;
}

.home-process-lead {
  max-width: 820px;
  margin: 0 auto 48px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.75;
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
  margin-bottom: 40px;
}

.home-step-card {
  position: relative;
  background: var(--home-process-surface);
  border-radius: 12px;
  padding: 48px 22px 24px;
  min-height: 200px;
}

.home-step-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: #ffffff;
  border-radius: 0 12px 0 12px;
}

.home-step-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 12px;
}

.home-step-card p {
  font-size: 12px;
  color: #111111;
  line-height: 1.55;
}

.home-process-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn-process-quote {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: var(--home-process-primary);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-process-quote:hover {
  background: #282d75;
}

.home-process-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  color: #111111;
  background: var(--home-process-surface);
  border-radius: 999px;
}

/* —— Section 7: Testimonials —— */
.home-testimonials {
  padding: 88px 0 72px;
  background: #ffffff;
  text-align: center;
}

.home-testimonials h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  color: #2d3766;
  margin-bottom: 10px;
}

.home-testimonials .sub {
  font-size: 15px;
  color: #9499b3;
  margin-bottom: 48px;
}

.home-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 36px;
  text-align: left;
  margin-bottom: 44px;
  align-items: start;
}

.home-testimonial-col {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.home-testimonial-card {
  flex: 1;
  margin: 0;
  background: #f5f5f5;
  border: none;
  border-radius: 12px;
  padding: 36px 32px 40px;
  font-size: 15px;
  font-weight: 400;
  color: #475569;
  line-height: 1.85;
  min-height: 248px;
}

.home-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-left: 4px;
}

.home-testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.home-testimonial-author strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 4px;
}

.home-testimonial-author span {
  font-size: 13px;
  color: #9499b3;
}

.home-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.home-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #2e2b7a;
  background: #2e2b7a;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.home-dots button.is-active {
  background: transparent;
}

/* —— Section 8: Blog —— */
.home-blog {
  padding: 64px 0 80px;
  background: #fafbfc;
}

.home-blog h2 {
  text-align: center;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #2e2b7a;
  margin-bottom: 40px;
}

.home-blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.home-blog-featured h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a202c;
  line-height: 1.35;
  margin-bottom: 16px;
}

.home-blog-featured p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.75;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-blog-date {
  font-size: 13px;
  color: #94a3b8;
}

.home-blog-featured img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.home-blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
}

.home-blog-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1a202c;
  line-height: 1.4;
  margin-bottom: 8px;
}

.home-blog-card p {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* —— Section 9: CTA (uses .cta-section from services.css) —— */
.home-cta.cta-section {
  margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .home-case-card {
    flex: 0 0 calc(33.333% - 14px);
  }

  .home-slider-btn.prev {
    left: 0;
  }

  .home-slider-btn.next {
    right: 0;
  }
}

@media (max-width: 1024px) {
  .home-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-services-head,
  .home-industries-layout,
  .home-capability-layout,
  .home-blog-featured {
    grid-template-columns: 1fr;
  }

  .home-mfg-grid {
    grid-template-columns: 1fr;
  }

  .home-mfg-card.is-wide {
    grid-column: span 1;
    min-height: 290px;
  }

  .home-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .home-stats-grid {
    grid-template-columns: 1fr;
  }

  .home-case-card {
    flex: 0 0 85%;
  }

  .home-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .home-steps {
    grid-template-columns: 1fr;
  }

  .home-cap-list {
    grid-template-columns: 1fr;
  }

  .home-industry-grid {
    grid-template-columns: 1fr;
  }

  .home-blog-grid {
    grid-template-columns: 1fr;
  }

  .home-slider-btn {
    display: none;
  }
}

@media (min-width: 1201px) {
  .home-slider-btn.prev { left: 0; }
  .home-slider-btn.next { right: 0; }
}

@media (max-width: 480px) {
  .home-stats-grid { grid-template-columns: 1fr; }
}

/* 首页深色头部的登录/账户入口：文字必须与右侧导航一致为白色。
   放在文件末尾并提高优先级，避免后续页面内联样式或旧样式把颜色退回深灰。 */
body.home:not(.scrolled) .site-header:not(.is-scrolled) .zy-head-account:not(.is-on),
body.home:not(.scrolled) .zy-site-header:not(.is-scrolled) .head-account:not(.is-on){
  background:rgba(255,255,255,.12) !important;
  border-color:rgba(255,255,255,.28) !important;
  color:#fff !important;
  box-shadow:none !important;
}
body.home:not(.scrolled) .site-header:not(.is-scrolled) .zy-head-account:not(.is-on) span,
body.home:not(.scrolled) .site-header:not(.is-scrolled) .zy-head-account:not(.is-on) svg,
body.home:not(.scrolled) .zy-site-header:not(.is-scrolled) .head-account:not(.is-on) span,
body.home:not(.scrolled) .zy-site-header:not(.is-scrolled) .head-account:not(.is-on) svg{
  color:inherit !important;
}
body.home:not(.scrolled) .site-header:not(.is-scrolled) .zy-head-account:not(.is-on):hover,
body.home:not(.scrolled) .zy-site-header:not(.is-scrolled) .head-account:not(.is-on):hover{
  background:rgba(255,255,255,.22) !important;
  border-color:rgba(255,255,255,.45) !important;
  color:#fff !important;
}

/* 首页滚动后头部变白，登录入口切回深字浅底，保持可读性。 */
body.home.scrolled .site-header .zy-head-account:not(.is-on),
body.home .site-header.is-scrolled .zy-head-account:not(.is-on),
body.home.scrolled .zy-site-header .head-account:not(.is-on),
body.home .zy-site-header.is-scrolled .head-account:not(.is-on){
  background:#fff !important;
  border-color:#dbe3ea !important;
  color:#314c5d !important;
  box-shadow:0 2px 8px rgba(15,35,50,.06) !important;
}
