:root {
  --ink: #111318;
  --ink-2: #20252d;
  --paper: #f7f7f3;
  --white: #ffffff;
  --muted: #6b706f;
  --line: rgba(17, 19, 24, 0.12);
  --gold: #c49a52;
  --gold-strong: #d5ad64;
  --teal: #0e6c63;
  --wine: #803746;
  --shadow-1: 0 16px 44px rgba(17, 19, 24, 0.12);
  --shadow-2: 0 28px 80px rgba(17, 19, 24, 0.22);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Noto Sans SC",
    "Microsoft YaHei",
    "PingFang SC",
    system-ui,
    -apple-system,
    sans-serif;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 40px;
  color: var(--white);
  background: rgba(17, 19, 24, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px);
}

.site-header.is-solid {
  background: rgba(17, 19, 24, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  padding: 4px;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.desktop-nav a {
  position: relative;
  padding: 25px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--white);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.header-cta {
  color: var(--ink);
  background: var(--gold-strong);
}

.button.primary {
  color: var(--ink);
  background: var(--gold-strong);
  box-shadow: 0 14px 32px rgba(196, 154, 82, 0.25);
}

.button.primary.teal {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 32px rgba(14, 108, 99, 0.24);
}

.button.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.button.ghost.dark {
  color: var(--ink);
  border-color: rgba(17, 19, 24, 0.28);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}

.lucide {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.mobile-nav {
  position: fixed;
  top: 72px;
  right: 16px;
  left: 16px;
  z-index: 45;
  display: none;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 16px;
  color: var(--white);
  background: rgba(17, 19, 24, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a {
  padding: 12px 14px;
  border-radius: var(--radius);
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  margin-top: -72px;
  padding-top: 72px;
  background: var(--ink);
}

.hero-slider {
  position: relative;
  height: calc(100svh - 112px);
  min-height: 560px;
  max-height: 860px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 620ms ease,
    visibility 620ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 19, 24, 0.96) 0%, rgba(17, 19, 24, 0.7) 44%, rgba(17, 19, 24, 0.26) 100%),
    linear-gradient(0deg, rgba(17, 19, 24, 0.72), rgba(17, 19, 24, 0));
}

.hero-overlay.light {
  background:
    linear-gradient(90deg, rgba(247, 247, 243, 0.96) 0%, rgba(247, 247, 243, 0.74) 45%, rgba(247, 247, 243, 0.12) 100%),
    linear-gradient(0deg, rgba(247, 247, 243, 0.7), rgba(247, 247, 243, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
  color: var(--white);
}

.hero-content.dark-copy {
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dark-copy .eyebrow {
  color: var(--teal);
}

.hero h1,
.hero h2 {
  max-width: 720px;
  margin: 0;
  font-family:
    "Noto Serif SC",
    "Songti SC",
    "SimSun",
    serif;
  font-size: 72px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h2 {
  max-width: 800px;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
}

.dark-copy .hero-copy {
  color: rgba(17, 19, 24, 0.74);
}

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

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: translateY(-50%);
  backdrop-filter: blur(14px);
}

.carousel-control:hover {
  background: rgba(255, 255, 255, 0.2);
}

.carousel-control.prev {
  left: 24px;
}

.carousel-control.next {
  right: 24px;
}

.carousel-dots {
  position: absolute;
  right: 0;
  bottom: 78px;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dots button {
  width: 36px;
  height: 4px;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.46);
  border: 0;
  border-radius: 99px;
}

.carousel-dots button.is-active {
  background: var(--gold-strong);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(var(--container), calc(100% - 48px));
  margin: -36px auto 0;
  isolation: isolate;
  position: relative;
  z-index: 6;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

.metric {
  min-height: 126px;
  padding: 26px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(17, 19, 24, 0.94), rgba(32, 37, 45, 0.92));
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  color: var(--gold-strong);
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1;
}

.metric span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.section {
  padding: 104px 0;
}

.section-heading,
.about-section,
.knowledge-section > .section-heading,
.product-grid,
.case-layout,
.channel-grid,
.contact-section {
  width: min(var(--container), calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 420px) minmax(280px, 1fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 40px;
}

.section-heading .eyebrow,
.section-heading h2 {
  grid-column: 1;
}

.section-heading p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

.section-heading.narrow {
  display: block;
  max-width: 760px;
  text-align: center;
}

.section-heading.narrow .eyebrow,
.section-heading.narrow h2,
.section-heading.narrow p:not(.eyebrow) {
  grid-column: auto;
  grid-row: auto;
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  margin: 0;
  font-family:
    "Noto Serif SC",
    "Songti SC",
    "SimSun",
    serif;
  font-size: 44px;
  line-height: 1.16;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.about-copy p,
.tone-panel p,
.knowledge-section p,
.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto 26px;
}

.filter-button {
  min-width: 86px;
  min-height: 40px;
  padding: 0 16px;
  color: var(--ink-2);
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
}

.filter-button.is-active,
.filter-button:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

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

.product-card {
  display: grid;
  min-height: 430px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(17, 19, 24, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-1);
}

.product-card[hidden] {
  display: none;
}

.product-card img {
  width: 100%;
  height: 286px;
  padding: 10px;
  object-fit: contain;
  object-position: center;
  background: #f3f1ec;
}

.product-card div {
  padding: 22px;
}

.product-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.product-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.32;
}

.product-card p {
  min-height: 54px;
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.product-card a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink);
  background: #eef2ef;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
}

.product-card.featured {
  background: linear-gradient(145deg, #15171c, #26302d);
  border-color: rgba(255, 255, 255, 0.12);
}

.product-card.featured h3,
.product-card.featured a {
  color: var(--white);
}

.product-card.featured p {
  color: rgba(255, 255, 255, 0.7);
}

.product-card.featured a {
  background: rgba(255, 255, 255, 0.12);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(300px, 0.95fr);
  gap: 40px;
  align-items: stretch;
}

.about-copy {
  padding: 56px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 19, 24, 0.94), rgba(14, 108, 99, 0.84)),
    url("./assets/hero-electric.png") center / cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

.about-copy p {
  max-width: 650px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.72);
}

.tone-panel {
  display: flex;
  min-height: 420px;
  padding: 44px;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(17, 19, 24, 0.16), rgba(17, 19, 24, 0.84)),
    url("./assets/hero-cf260.png") center / cover;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.tone-panel span {
  color: var(--gold-strong);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tone-panel strong {
  margin-top: 14px;
  font-family:
    "Noto Serif SC",
    "Songti SC",
    "SimSun",
    serif;
  font-size: 34px;
  line-height: 1.22;
}

.tone-panel p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.74);
}

.knowledge-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at top left, rgba(196, 154, 82, 0.18), transparent 30%);
}

.care-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(980px, calc(100% - 48px));
  margin: 44px auto 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.care-flow article {
  min-height: 240px;
  padding: 34px;
  background: var(--white);
}

.care-flow span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 28px;
}

.care-flow h3 {
  margin: 28px 0 10px;
  font-size: 34px;
  line-height: 1;
}

.care-flow p {
  color: var(--muted);
}

.cases-section {
  color: var(--white);
  background: #111318;
}

.cases-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(300px, 520px) minmax(280px, 420px);
  gap: 22px;
  align-items: start;
  justify-content: center;
}

.case-layout figure {
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.case-large img {
  width: 100%;
  height: auto;
  object-fit: initial;
  background: transparent;
}

.case-layout figcaption {
  display: grid;
  gap: 6px;
  padding: 22px;
}

.case-layout figcaption span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.case-stack {
  display: grid;
  gap: 22px;
}

.case-stack img {
  width: 100%;
  height: auto;
  object-fit: initial;
  background: transparent;
}

.channels-section {
  background: var(--white);
}

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

.channel-card {
  display: grid;
  min-height: 190px;
  padding: 26px;
  align-content: space-between;
  background: #f4f6f3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.channel-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-1);
  transform: translateY(-4px);
}

.channel-card img {
  max-width: 112px;
  max-height: 46px;
  object-fit: contain;
}

.channel-card span {
  margin-top: 34px;
  font-size: 20px;
  font-weight: 800;
}

.channel-card .lucide {
  justify-self: end;
  color: var(--teal);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 64px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 19, 24, 0.95), rgba(128, 55, 70, 0.82)),
    url("./assets/hero-cf260.png") center / cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

.contact-section p {
  max-width: 600px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 24px;
  color: rgba(255, 255, 255, 0.66);
  background: #0d0f13;
  font-size: 13px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1020px) {
  .site-header {
    padding: 0 22px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .hero-slider {
    min-height: 560px;
  }

  .hero h1,
  .hero h2 {
    max-width: 640px;
    font-size: 56px;
  }

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

  .section-heading,
  .about-section,
  .case-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 18px;
  }

  .section-heading .eyebrow,
  .section-heading h2,
  .section-heading p:not(.eyebrow) {
    grid-column: auto;
    grid-row: auto;
  }

}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
  }

  .brand {
    min-width: auto;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    padding: 3px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    display: none;
  }

  .mobile-nav {
    top: 64px;
  }

  .hero {
    margin-top: -64px;
    padding-top: 64px;
  }

  .hero-slider {
    height: calc(100svh - 104px);
    min-height: 540px;
  }

  .hero-slide img {
    object-position: 58% center;
  }

  .hero-content {
    width: min(100% - 40px, var(--container));
  }

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

  .hero-copy {
    font-size: 17px;
  }

  .carousel-control {
    display: none;
  }

  .metrics,
  .product-grid,
  .care-flow,
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 112px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading,
  .about-section,
  .knowledge-section > .section-heading,
  .product-grid,
  .case-layout,
  .channel-grid,
  .contact-section {
    width: min(100% - 32px, var(--container));
  }

  .section-heading h2,
  .about-copy h2,
  .contact-section h2 {
    font-size: 34px;
  }

  .filter-bar {
    width: min(100% - 32px, var(--container));
  }

  .product-card {
    min-height: auto;
  }

  .product-card img {
    height: 260px;
  }

  .about-copy,
  .tone-panel,
  .contact-section {
    padding: 30px;
  }

  .tone-panel strong {
    font-size: 28px;
  }

  .contact-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
