﻿:root {
  --ink: #18211f;
  --muted: #5e6865;
  --line: #dfe5e2;
  --paper: #fbfaf6;
  --soft: #eef3ef;
  --brand: #146c5f;
  --brand-2: #b66d2e;
  --dark: #102521;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(16, 37, 33, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body[dir="rtl"] {
  direction: rtl;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.topbar-inner,
.nav-inner,
.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--brand);
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a[aria-current="page"] {
  color: var(--brand);
  font-weight: 700;
}

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

.language {
  height: 38px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  padding: 0 8px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}

.button.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button.warm {
  border-color: var(--brand-2);
  background: var(--brand-2);
}

.hero {
  min-height: 680px;
  display: grid;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 42px;
  align-items: center;
  padding: 54px 0 44px;
}

.eyebrow {
  color: #b9d5ce;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-top: 14px;
  font-size: clamp(42px, 6vw, 74px);
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.hero-actions,
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.quick-actions a {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.hero-media {
  overflow: hidden;
  min-height: 540px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.proof-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.proof-item {
  min-height: 118px;
  padding: 24px;
  border-left: 1px solid var(--line);
}

.proof-item strong {
  display: block;
  font-size: 25px;
  color: var(--brand);
}

.proof-item span {
  color: var(--muted);
  font-size: 14px;
}

section {
  padding: 76px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.52fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
}

h2 {
  font-size: clamp(31px, 4vw, 48px);
}

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

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

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

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

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

.card-body {
  padding: 22px;
}

.card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.card p,
.muted {
  color: var(--muted);
}

.image {
  aspect-ratio: 4 / 3;
  background: var(--soft);
}

.product-image {
  aspect-ratio: 4 / 3;
  background: #f3f3ef;
}

.product-image img {
  object-fit: cover;
}

.product-carousel {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  aspect-ratio: 4 / 3;
  background: var(--soft);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.carousel-track img.is-active {
  opacity: 1;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(16, 37, 33, 0.72);
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-arrow.prev {
  left: 12px;
}

.carousel-arrow.next {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.carousel-dot.is-active {
  width: 22px;
  background: var(--white);
}

.case-section {
  padding: 64px 0 78px;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.case-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  aspect-ratio: 4 / 3;
}

.case-photo.wide {
  aspect-ratio: 16 / 10;
  grid-column: span 2;
}

.case-photo.tall {
  aspect-ratio: 3 / 4;
}

.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.case-photo:hover img {
  transform: scale(1.025);
}

.empty-image {
  display: block;
  background:
    linear-gradient(135deg, rgba(20, 108, 95, 0.06), rgba(182, 109, 46, 0.04)),
    #f3f3ef;
}

.wide-image {
  aspect-ratio: 16 / 9;
}

.detail-row {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.specs span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
}

.process .card-body::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--brand-2);
  font-weight: 800;
  margin-bottom: 14px;
}

.band {
  background: var(--soft);
}

.scene-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(238, 243, 239, 0.96), rgba(238, 243, 239, 0.82) 55%, rgba(238, 243, 239, 0.34)),
    var(--scene-image, url("products/lingyue.jpg")) center / cover;
}

.scene-band.dark {
  background:
    linear-gradient(90deg, rgba(16, 37, 33, 0.95), rgba(16, 37, 33, 0.78) 56%, rgba(16, 37, 33, 0.5)),
    var(--scene-image, url("products/taidu.jpg")) center / cover;
  color: var(--white);
}

.scene-panel {
  max-width: 720px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(223, 229, 226, 0.8);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.scene-band.dark .scene-panel {
  background: rgba(16, 37, 33, 0.78);
  border-color: rgba(255, 255, 255, 0.16);
}

.dark-band {
  background: var(--dark);
  color: var(--white);
}

.dark-band .muted,
.dark-band p {
  color: rgba(255, 255, 255, 0.74);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: center;
}

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

.list li {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 6px;
}

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

.cert-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff, #f3f8f6);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 37, 33, 0.08);
}

.cert-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--brand);
  font-weight: 800;
}

.cert-card h3 {
  font-size: 18px;
  margin-top: 18px;
}

.cert-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.dark-band .list li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 72px 0;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

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

.form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.form textarea,
.form .full {
  grid-column: 1 / -1;
}

.form textarea {
  min-height: 130px;
}

.site-footer {
  background: #0b1715;
  color: rgba(255, 255, 255, 0.78);
  padding: 46px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 30px;
}

.footer-grid h3,
.footer-grid strong {
  color: var(--white);
}

.footer-grid a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  gap: 8px;
}

.floating-contact a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--brand);
  box-shadow: var(--shadow);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-grid,
  .section-heading,
  .detail-row,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 360px;
  }

  .proof-grid,
  .grid.cols-2,
  .cert-grid,
  .grid.cols-4,
  .grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-photo.wide {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .topbar-inner {
    flex-direction: column;
  }

  .nav-actions,
  .hero-actions {
    width: 100%;
  }

  .button {
    flex: 1;
  }

  .hero {
    min-height: auto;
  }

  .proof-grid,
  .cert-grid,
  .grid.cols-4,
  .grid.cols-3,
  .form,
  .case-gallery {
    grid-template-columns: 1fr;
  }

  .case-photo.wide {
    grid-column: span 1;
  }

  section {
    padding: 54px 0;
  }
}

