:root {
  --green: #268f2b;
  --green-dark: #11641c;
  --green-soft: #eaf6eb;
  --ink: #17211b;
  --muted: #66746a;
  --line: #dce6df;
  --bg: #f7faf7;
  --white: #ffffff;
  --accent: #f3b33d;
  --shadow: 0 18px 45px rgba(22, 54, 30, 0.1);
  --charcoal: #101713;
  --mist: #f3f6f4;
  --glass: rgba(255, 255, 255, 0.78);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#booklet,
#business-contact {
  scroll-margin-top: 96px;
  padding-top: 64px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  background: var(--white);
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 230, 223, 0.8);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 190px;
}

.brand img {
  width: 150px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  font-size: 24px;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  color: #26332a;
}

.main-nav a,
.nav-parent {
  padding: 26px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active,
.nav-parent:hover,
.nav-parent.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.nav-item {
  position: relative;
}

.has-dropdown::after {
  content: '';
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 18px;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 30;
  min-width: 190px;
  padding: 10px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(16, 23, 19, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.nav-dropdown a {
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  white-space: nowrap;
}

.nav-dropdown a:hover {
  border: 0;
  background: var(--mist);
  color: var(--green-dark);
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown,
.has-dropdown.open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
}

.main-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-bottom: 0;
  color: var(--white);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta.active {
  color: var(--white);
  background: var(--green-dark);
  border-bottom: 0;
  transform: translateY(-1px);
}

.hero {
  min-height: 680px;
  background:
    linear-gradient(
      90deg,
      rgba(246, 248, 247, 0.94),
      rgba(255, 255, 255, 0.78) 46%,
      rgba(255, 255, 255, 0.14)
    ),
    url('./images/products/appliances.png') right center / auto 82% no-repeat,
    #f6f8f7;
  color: var(--ink);
  display: flex;
  align-items: center;
}

.hero-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 78px 0 112px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 14px;
}

.hero h1 {
  margin: 0;
  max-width: 650px;
  font-size: 58px;
  line-height: 1.14;
  font-weight: 800;
}

.hero p {
  max-width: 620px;
  margin: 26px 0 34px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions,
.section-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(18, 56, 26, 0.16);
}

.btn span,
.slide-link::after {
  transition: transform 0.25s ease;
}

.btn:hover span {
  transform: translateX(3px);
}

.btn.primary {
  background: var(--accent);
  color: #251a07;
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.btn.green {
  background: var(--green);
  color: var(--white);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.modern-section {
  background:
    radial-gradient(circle at 8% 0%, rgba(16, 23, 19, 0.05), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8faf8 100%);
}

.cx-hero {
  min-height: calc(100vh - 76px);
  padding: 54px 24px 70px;
  background:
    radial-gradient(circle at 78% 12%, rgba(16, 23, 19, 0.06), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f6f8f7 48%, #f1f3f2 100%);
}

.hero-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 38px;
  align-items: center;
}

.hero-copy {
  padding: 24px 0;
}

.hero-copy h1 {
  margin: 0;
  max-width: 590px;
  font-size: 54px;
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--charcoal);
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 32px;
  color: #56645b;
  font-size: 18px;
}

.business-carousel {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border: 1px solid rgba(197, 214, 202, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 30px 80px rgba(22, 54, 30, 0.13);
  backdrop-filter: blur(18px);
}

.business-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: center;
  padding: 44px;
  opacity: 0;
  transform: translateX(34px);
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.business-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.slide-text span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
}

.slide-text h2 {
  font-size: 25px;
  color: var(--charcoal);
}

.slide-text p {
  margin: 16px 0 24px;
  color: var(--muted);
}

.slide-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 800;
}

.slide-link::after {
  content: '→';
}

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

.slide-media {
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(16, 23, 19, 0.05), rgba(255, 255, 255, 0.48)),
    #f7faf8;
}

.slide-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slide-media.scene img {
  object-fit: cover;
}

.slide-media.phone img,
.slide-media.ai img {
  width: auto;
  max-width: 86%;
}

.carousel-controls {
  position: absolute;
  left: 44px;
  right: 44px;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.carousel-controls button,
.book-nav button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(38, 143, 43, 0.2);
  border-radius: 999px;
  background: var(--white);
  color: var(--green-dark);
  font-size: 24px;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.carousel-controls button:hover,
.book-nav button:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  box-shadow: 0 10px 22px rgba(22, 54, 30, 0.13);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots button,
.book-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: #bccbc0;
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.active,
.book-dots button.active {
  width: 28px;
  background: var(--green);
}

.business-grid,
.solution-entry-grid {
  display: grid;
  gap: 18px;
}

.business-grid {
  grid-template-columns: repeat(4, 1fr);
}

.solution-entry-grid {
  grid-template-columns: repeat(3, 1fr);
}

.modern-card,
.solution-entry-grid a,
.detail-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(20, 51, 27, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.modern-card {
  min-height: 220px;
  padding: 28px;
}

.modern-card:hover,
.solution-entry-grid a:hover,
.detail-card:hover,
.product-card:hover,
.solution-card:hover,
.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(38, 143, 43, 0.42);
  box-shadow: 0 20px 48px rgba(20, 51, 27, 0.1);
}

.modern-card span {
  color: var(--green);
  font-weight: 900;
}

.modern-card h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.modern-card p {
  color: var(--muted);
  margin: 0;
}

.solution-entry-grid a {
  min-height: 92px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--charcoal);
  font-weight: 800;
}

.solution-entry-grid a::after {
  content: '→';
  color: var(--green);
}

.proof-modern {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: center;
}

.about-teaser {
  padding-top: 20px;
}

.about-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px;
  border-radius: 18px;
  color: var(--ink);
  background: linear-gradient(135deg, #ffffff, #f2f5f3), #ffffff;
  border: 1px solid var(--line);
}

.about-panel h2,
.about-panel p {
  color: var(--ink);
}

.about-panel p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
}

.detail-hero {
  padding: 56px 24px 70px;
  background:
    radial-gradient(circle at 78% 4%, rgba(16, 23, 19, 0.06), transparent 30%),
    linear-gradient(135deg, #ffffff, #f4f6f5);
}

.detail-back {
  width: min(1200px, 100%);
  margin: 0 auto 24px;
}

.b-detail-hero-grid .detail-back {
  align-self: start;
  margin: 0 0 8px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.back-link:hover {
  color: var(--green-dark);
  border-color: rgba(38, 143, 43, 0.28);
  background: var(--white);
  transform: translateX(-2px);
}

.detail-hero-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.7fr 1.55fr;
  gap: 42px;
  align-items: center;
}
.b-detail-hero {
  /* width: 100vw; */
  box-sizing: border-box;
  overflow: hidden;
  background-size: 100% 100%;
  aspect-ratio: 2;
  display: flex;
  align-items: center;
}
.b-detail-hero-grid {
  width: min(1200px, 100%);
  padding-left: 20px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
  align-items: center;
  align-content: center;
}

.detail-hero h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.16;
}

.detail-hero p {
  color: var(--muted);
  font-size: 18px;
}

.about-hero-clean {
  padding: 118px 24px 104px;
}

.about-hero-clean .container {
  max-width: 980px;
}

.about-hero-clean h1 {
  max-width: 760px;
}

.about-hero-clean p:not(.eyebrow) {
  max-width: 720px;
}

.detail-media {
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-media.cover img {
  object-fit: cover;
}

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

.detail-card {
  padding: 26px;
}

.detail-card h3 {
  margin: 0 0 10px;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
}

.intro-image-stack {
  display: grid;
  gap: 18px;
}

.intro-image-stack img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.process-step {
  padding: 22px;
  border-radius: 14px;
  background: var(--green-soft);
}

.process-step span {
  color: var(--green);
  font-weight: 900;
}

.process-step strong {
  display: block;
  margin-top: 10px;
}

.book-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(16, 23, 19, 0.05), transparent 30%),
    #f7f8f7;
}

.book-viewer {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 30px;
  align-items: center;
}

.book-stage {
  perspective: 1200px;
}

.book-page {
  min-height: 430px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(22, 54, 30, 0.16);
  transform-style: preserve-3d;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  cursor: zoom-in;
}

.book-page.turning {
  transform: rotateY(-8deg) translateY(-2px);
}

.book-page img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.book-side {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.book-side h3 {
  margin: 0 0 10px;
}

.book-side p {
  color: var(--muted);
}

.book-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
}

.book-count {
  color: var(--muted);
  font-weight: 700;
}

.book-dots {
  display: flex;
  /* flex-wrap: wrap; */
  gap: 8px;
}

.book-preview {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(11, 16, 13, 0.82);
}

.book-preview.open {
  display: flex;
}

.book-preview-panel {
  position: relative;
  width: min(1120px, 100%);
  height: 92vh;
  border-radius: 14px;
  background: #111812;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

.book-preview-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}

.book-preview img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: var(--white);
  transition: transform 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
}

.book-preview img.zoomed {
  transform: scale(2);
  cursor: grab;
}

.book-preview img.zoomed.dragging {
  cursor: grabbing;
}

.book-preview img.zoomed-smooth {
  transition: transform 0.25s ease;
}

.book-preview-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 102;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    background 0.2s ease;
}

.book-preview:hover .book-preview-nav {
  opacity: 1;
}

.book-preview-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.book-preview-nav.prev {
  left: 20px;
}

.book-preview-nav.next {
  right: 20px;
}

.book-preview-close {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 101;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.book-preview-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.book-preview-caption {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}

.section {
  padding: 88px 24px;
}

.section.alt {
  background: var(--bg);
}

.section.dark {
  color: var(--ink);
  background: #f3f5f4;
}

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-kicker {
  /* color: var(--green); */
  color: var(--muted);
  font-weight: 800;
  margin: 0 0 8px;
}

.section.dark .section-kicker {
  color: var(--green);
}

h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.25;
}

.section-lead {
  margin: 12px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}
.a-section-lead {
  max-width: 100%;
}

.section.dark .section-lead {
  color: var(--muted);
}

.capability-grid,
.product-grid,
.solution-grid,
.news-grid,
.value-grid {
  display: grid;
  gap: 22px;
}

.capability-grid {
  grid-template-columns: repeat(5, 1fr);
}

.product-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.value-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(31, 61, 38, 0.05);
}

.dark .card {
  background: var(--white);
  border-color: var(--line);
}

.capability-card {
  min-height: 178px;
}

.capability-num {
  color: var(--green);
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 20px;
}

.capability-card h3,
.product-card h3,
.solution-card h3,
.news-card h3,
.value-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.35;
}
.product-card p {
  height: 50px;
}
.card p {
  margin: 0;
  color: var(--muted);
}

.product-card {
  min-height: 310px;
}

.product-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-bottom: 22px;
}

.tag-list {
  display: flex;
  /* flex-wrap: wrap; */
  gap: 9px;
  margin-top: 20px;
}

.tag {
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.feature-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 44px;
}

.feature-media {
  /* background: var(--white); */
  border-radius: 8px;
  overflow: hidden;
  /* box-shadow: var(--shadow); */
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.feature-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.feature-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.feature-item span {
  color: var(--muted);
}

.proof-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.proof-image {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.partner-name {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: #26332a;
  font-weight: 800;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.logo-wall.compact {
  grid-template-columns: repeat(4, 1fr);
}

.logo-card {
  height: 92px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(20, 51, 27, 0.05);
}

.section.dark .logo-card {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.partner-logo {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
}

.news-card {
  min-height: 238px;
  cursor: pointer;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-hero {
  padding: 42px 24px 42px;
  background:
    radial-gradient(circle at 80% 12%, rgba(16, 23, 19, 0.06), transparent 28%),
    linear-gradient(135deg, #ffffff, #f4f6f5);
  color: var(--ink);
}
.n-page-hero {
  padding: 0;
  color: var(--ink);
  display: flex;
  overflow: hidden;
  align-items: center;
  aspect-ratio: 4;
  background-size: 100% 100%;
  backdrop-filter: blur(10px);
  position: relative;
}
.n-page-hero .mask {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom right, white, white, #00000000);
  position: absolute;
  z-index: -1;
}

.h-page-hero {
  /* padding: 42px 24px 42px; */
  padding: 0;
  color: var(--ink);
  display: flex;
  overflow: hidden;
  align-items: center;
  aspect-ratio: 2.5;
  background-size: 100% 100%;
}
.page-hero h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.18;
}

.page-hero p {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-year {
  color: var(--green);
  font-size: 22px;
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
}

.info-list {
  display: grid;
  gap: 18px;
}

.info-row {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.info-row strong {
  display: block;
  margin-bottom: 5px;
}

.qr-box {
  width: 160px;
  border-radius: 6px;
  padding: 0px;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.site-footer {
  background: #101a13;
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 24px 26px;
}

.footer-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 36px;
}

.footer-logo {
  width: 210px;
  margin-bottom: 18px;
  padding: 8px;
  border-radius: 6px;
  filter: sepia(100%) grayscale(100%) brightness(200%);
}

.footer-title {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  width: min(1200px, 100%);
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 13px;
}

@media (max-width: 980px) {
  .cx-hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-shell,
  .detail-hero-grid,
  .proof-modern,
  .book-viewer {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .detail-hero h1 {
    font-size: 42px;
  }

  .business-carousel {
    min-height: 590px;
  }

  .business-slide {
    grid-template-columns: 1fr;
    align-content: start;
    padding: 30px;
  }

  .slide-media {
    height: 280px;
  }

  .business-grid,
  .solution-entry-grid,
  .detail-grid,
  .process-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a,
  .nav-parent {
    padding: 13px 0;
  }

  .nav-item {
    display: grid;
  }

  .has-dropdown::after {
    display: none;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    padding: 0 0 8px 14px;
    gap: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown a {
    padding: 9px 0;
    color: var(--muted);
    background: transparent;
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .hero {
    min-height: 620px;
    background:
      linear-gradient(
        180deg,
        rgba(246, 248, 247, 0.96),
        rgba(255, 255, 255, 0.82)
      ),
      url('./images/products/appliances.png') center bottom / 88% auto no-repeat,
      #f6f8f7;
    align-items: flex-start;
  }

  .hero-inner {
    padding: 66px 0 270px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .capability-grid,
  .product-grid,
  .news-grid,
  .value-grid,
  .partner-strip,
  .logo-wall,
  .logo-wall.compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-grid,
  .feature-band,
  .proof-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* ===== b-detail-hero 移动适配 ===== */
  .b-detail-hero {
    background-image:
      var(--hero-bg), linear-gradient(to bottom, #fff 25%, transparent 65%) !important;
    aspect-ratio: auto;
    min-height: 420px;
    background-size: cover;
    background-position: center;
  }
  .b-detail-hero-grid {
    width: 100%;
    padding: 32px 24px;
  }

  /* ===== n-page-hero 移动适配 ===== */
  .n-page-hero {
    aspect-ratio: auto;
    min-height: 360px;
    background-size: cover;
    background-position: center;
  }
  .n-page-hero .mask {
    background-image: linear-gradient(to bottom, #fff 25%, transparent 70%);
  }
  .n-page-hero .container {
    padding: 0 24px;
  }
}

@media (max-width: 620px) {
  .cx-hero {
    padding: 26px 16px 42px;
  }

  .hero-copy {
    padding: 4px 0 10px;
  }

  .hero-copy h1,
  .detail-hero h1 {
    font-size: 34px;
  }

  .hero-copy p:not(.eyebrow),
  .detail-hero p {
    font-size: 16px;
  }

  .business-carousel {
    min-height: 610px;
    border-radius: 14px;
  }

  .business-slide {
    padding: 24px 20px 86px;
  }

  .slide-text h2 {
    font-size: 25px;
  }

  .slide-media {
    height: 230px;
    border-radius: 12px;
  }

  .carousel-controls {
    left: 20px;
    right: 20px;
    bottom: 22px;
  }

  .solution-entry-grid,
  .detail-grid,
  .process-row {
    grid-template-columns: 1fr;
  }

  .solution-entry-grid a {
    min-height: 76px;
  }

  .about-panel {
    padding: 26px;
    border-radius: 14px;
  }

  .detail-hero {
    padding: 54px 18px;
  }

  .detail-media {
    min-height: 260px;
  }

  .book-page {
    min-height: 240px;
    border-radius: 12px;
  }

  .book-side {
    padding: 20px;
  }

  .book-dots button {
    width: 8px;
    height: 8px;
  }

  .book-preview {
    padding: 18px;
  }

  .book-preview-panel {
    height: 85vh;
  }

  .book-preview-close {
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .book-preview-nav {
    width: 38px;
    height: 38px;
    font-size: 20px;
    opacity: 0.7;
  }

  .book-preview-nav.prev {
    left: 10px;
  }

  .book-preview-nav.next {
    right: 10px;
  }

  .book-preview-caption {
    font-size: 12px;
    white-space: normal;
    bottom: 12px;
  }

  .nav-wrap {
    padding: 0 16px;
  }

  .brand img {
    width: 120px;
  }

  .section,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-inner {
    width: calc(100% - 36px);
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  h2,
  .page-hero h1 {
    font-size: 30px;
  }

  .section-head {
    display: block;
  }

  .capability-grid,
  .product-grid,
  .solution-grid,
  .news-grid,
  .value-grid,
  .partner-strip {
    grid-template-columns: 1fr;
  }
  .logo-wall,
  .logo-wall.compact {
    grid-template-columns: repeat(3, 1fr);
  }

  .logo-card {
    height: 84px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: block;
  }

  /* ===== b-detail-hero 手机端适配 ===== */
  .b-detail-hero {
    min-height: 380px;
  }
  .b-detail-hero-grid {
    padding: 24px 18px;
  }
  .b-detail-hero-grid h1 {
    font-size: 34px;
  }

  /* ===== n-page-hero 手机端适配 ===== */
  .n-page-hero {
    min-height: 300px;
    padding: 0;
  }
  .n-page-hero .mask {
    background-image: linear-gradient(to bottom, #fff 40%, transparent 80%);
  }
  .n-page-hero .container {
    padding: 0 18px;
    transform: translateY(-80px);
  }
}

.solution-card,
.product-card {
  display: flex;
  flex-direction: column;
}

.card-link {
  margin-top: auto;
  padding-top: 22px;
  color: var(--green-dark);
  font-weight: 800;
}

.card-link::after {
  content: ' →';
  color: var(--green);
}

.book-source-list {
  display: none;
}

.landing-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.detail-cta {
  padding: 42px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f3f5f4);
  color: var(--ink);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.detail-cta h2,
.detail-cta p {
  color: var(--ink);
}

.detail-cta p {
  margin: 10px 0 0;
  color: var(--muted);
}

@media (max-width: 620px) {
  .detail-cta {
    padding: 28px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== 右侧悬浮侧边栏 ===== */
.floating-sidebar {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.floating-item {
  width: 72px;
  height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(220, 230, 223, 0.7);
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 0;
  font-family: inherit;
}

.floating-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--green);
  transition: color 0.25s ease;
}

.floating-item:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(38, 143, 43, 0.25);
  transform: scale(1.05);
}

.floating-item:hover svg {
  color: #fff;
}

.floating-item:active {
  transform: scale(0.97);
}

#back-to-top {
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

/* ===== 商务咨询悬浮弹出面板 ===== */
.floating-item-group {
  position: relative;
}

.floating-popup {
  position: absolute;
  right: calc(100% + 16px);
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  padding: 18px 16px 14px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  transform: translateY(-50%) translateX(6px);
}

.floating-item-group:hover .floating-popup {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

/* 小三角箭头 */
.floating-popup::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #fff;
}

.popup-header {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.popup-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.popup-qr-box img {
  width: 100%;
  max-width: 110px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.popup-qr-box .popup-name {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}

.popup-qr-box .popup-name strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

/* ===== 四产品二维码网格 ===== */
.popup-qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.popup-qr-grid .popup-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.popup-qr-grid .popup-qr-box img {
  width: 100%;
  max-width: 90px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.popup-qr-grid .popup-qr-box .popup-name {
  font-size: 11px;
  color: var(--ink);
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .popup-qr-grid .popup-qr-box img {
    max-width: 70px;
  }
}

@media (max-width: 768px) {
  .floating-popup {
    width: 260px;
    right: calc(100% + 10px);
    padding: 14px 12px 10px;
  }
  .popup-qr-box img {
    max-width: 90px;
  }
  .floating-sidebar {
    right: 12px;
  }
  .floating-item {
    width: 60px;
    height: 60px;
    font-size: 10px;
    border-radius: 8px;
  }
  .floating-item svg {
    width: 20px;
    height: 20px;
  }
}

/* ===== 商家入驻按钮与弹出二维码 ===== */
.cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.merchant-entry {
  position: relative;
}

.merchant-btn {
  white-space: nowrap;
}

.merchant-popup {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 220px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  padding: 18px 16px 14px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  z-index: 110;
}

.merchant-popup.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* 下方小三角箭头（指向按钮） */
.merchant-popup::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}

.merchant-popup-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}

.merchant-popup-close {
  position: absolute;
  top: -8px;
  right: -6px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.merchant-popup-close:hover {
  background: var(--green);
  color: #fff;
}

.merchant-popup-header {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  width: 100%;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.merchant-popup-inner img {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.merchant-popup-tip {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* 弹窗遮罩 */
.merchant-overlay {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: transparent;
  display: none;
}

.merchant-overlay.open {
  display: block;
}

@media (max-width: 620px) {
  .cta-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .merchant-popup {
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: 200px;
  }
  .merchant-popup.open {
    transform: translateX(-50%) translateY(0);
  }
  .merchant-popup-inner img {
    width: 120px;
    height: 120px;
  }
}

/* ===== 满屏轮播 Hero Carousel ===== */
.hero-carousel {
  position: relative;
  /* height: calc(100vh - 100px); */
  aspect-ratio: 2.7;
  max-width: 100%;
  /* min-height: 600px; */
  overflow: hidden;
  background: #101713;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  transform: translateX(100%);
  pointer-events: none;
  transition: transform 0.55s ease;
  z-index: 1;
}

.hero-slide.active {
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}

.hero-slide.exit {
  transform: translateX(-100%);
  z-index: 1;
}

/* 后退方向：新 slide 从左侧进入 */
.hero-slide.enter-left {
  transform: translateX(-100%);
  z-index: 1;
}

/* 后退方向：旧 slide 向右侧退出 */
.hero-slide.exit-right {
  transform: translateX(100%);
  z-index: 1;
}

.hero-carousel-nav {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-carousel-nav button {
  width: 44px;
  height: 44px;
  line-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgb(0 0 0 / 28%);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  justify-content: center;
  backdrop-filter: blur(4px);
  padding: 0;
}

.hero-carousel-nav button:hover {
  /* background: rgba(255, 255, 255, 0.22); */
  /* border-color: rgba(255, 255, 255, 0.5); */
  transform: scale(1.06);
}

.hero-carousel-dots {
  display: flex;
  gap: 8px;
}

.hero-carousel-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(51, 51, 51, 0.38);
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}

.hero-carousel-dots button.active {
  width: 34px;
  background: var(--accent);
}

/* ===== 满屏轮播响应式 ===== */
/* @media (max-width: 980px) {
  .hero-carousel {
    min-height: 520px;
  }
} */

@media (max-width: 620px) {
  .hero-carousel-nav {
    bottom: 24px;
    gap: 12px;
  }
  .hero-carousel-nav button {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
  .hero-carousel-dots button {
    width: 8px;
    height: 8px;
  }
  .hero-carousel-dots button.active {
    width: 26px;
  }
  .section-head h2 {
    font-size: 22px;
  }
}

/* ===== 全屏静态背景图 ===== */
.page-banner {
  height: calc(100vh - 76px);
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-banner.full-image-banner {
  background-size: contain;
  background-color: var(--white);
}

@media (max-width: 620px) {
  .page-banner {
    height: auto;
    min-height: unset;
    width: 100%;
    aspect-ratio: 1.8;
  }
  .modern-card {
    min-height: unset;
  }
  .modern-card {
    padding: 12px;
  }
  .modern-card h3 {
    font-size: 18px;
    margin: 10px 0 5px;
  }
  .feature-media img {
    margin: 0 auto !important;
  }
}

/* ===== 产品中心横向子导航（始终显示） ===== */
.nav-dropdown.always-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  display: flex;
  flex-direction: row;
  gap: 2px;
  min-width: auto;
  width: max-content;
  padding: 6px 10px;
  top: calc(100% + 32px);
  box-shadow: 0 8px 24px rgba(16, 23, 19, 0.08);
  border-radius: 8px;
  z-index: 29;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}
.nav-dropdown.always-visible:hover {
  opacity: 1;
}

.nav-dropdown.always-visible a {
  padding: 5px 14px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 14px;
}

.nav-dropdown.always-visible a.active {
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
}

.has-dropdown:hover .nav-dropdown.always-visible,
.has-dropdown:focus-within .nav-dropdown.always-visible,
.has-dropdown.open .nav-dropdown.always-visible {
  opacity: 1;
  pointer-events: auto;
}

/* 移动端适配 */
@media (max-width: 980px) {
  .nav-dropdown.always-visible {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    padding: 4px 0 8px 14px;
    gap: 4px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    transform: none;
  }

  .nav-dropdown.always-visible a {
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
  }

  .nav-dropdown.always-visible a.active {
    border-color: var(--green);
    background: var(--green-soft);
  }
}
