:root {
  --brand-blue: #0070bc;
  --brand-blue-deep: #005a96;
  --brand-green: #8cc63f;
  --ink: #1a1a1a;
  --ink-muted: #4d4d4d;
  --surface: #ffffff;
  --surface-alt: #f3f6f9;
  --footer: #14324d;
  --line: #e2e8ef;
  --max: 1120px;
  --header-h: 80px;
  --env-banner-h: 36px;
  --shadow-soft: 0 12px 40px rgba(20, 50, 77, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
}

body > main {
  flex: 1 0 auto;
  width: 100%;
}

body > .site-footer {
  flex-shrink: 0;
  margin-top: auto;
}

.env-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  min-height: var(--env-banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1rem;
  box-sizing: border-box;
  background: #b45309;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
}

.env-watermark {
  position: fixed;
  inset: 0;
  z-index: 75;
  pointer-events: none;
  display: grid;
  place-items: center;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-weight: 700;
  color: rgba(20, 50, 77, 0.06);
  transform: rotate(-18deg);
  white-space: nowrap;
  user-select: none;
}

.site-header {
  position: fixed;
  top: var(--env-banner-h);
  left: 0;
  right: 0;
  z-index: 70;
  min-height: var(--header-h);
  background: #ffffff;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(20, 50, 77, 0.04);
}

.site-header__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand img {
  height: 52px;
  width: auto;
  max-width: min(240px, 52vw);
  object-fit: contain;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.site-nav a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--brand-blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(140, 198, 63, 0.28), transparent 55%),
    linear-gradient(135deg, #0b3a5c 0%, #0070bc 48%, #0f5f8a 100%);
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 35, 56, 0.35) 0%, rgba(10, 35, 56, 0.15) 40%, rgba(10, 35, 56, 0.55) 100%),
    repeating-linear-gradient(
      -12deg,
      transparent 0 18px,
      rgba(255, 255, 255, 0.03) 18px 19px
    );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 3.5rem;
  max-width: 40rem;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
  width: min(100% - 2rem, 40rem);
}

.hero__brand {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.25;
  font-weight: 700;
}

.hero__support {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: 28px;
  height: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}

.hero__chevron {
  display: block;
  width: 16px;
  height: 16px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0;
  animation: chevron-cascade 1.8s ease-in-out infinite;
}

.hero__chevron:nth-child(2) {
  margin-top: -8px;
  animation-delay: 0.35s;
}

@keyframes chevron-cascade {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-6px, -6px);
  }
  35% {
    opacity: 1;
  }
  70% {
    opacity: 0.15;
    transform: rotate(45deg) translate(4px, 4px);
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(6px, 6px);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--brand-blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--brand-blue-deep);
  text-decoration: none;
}

.hero .btn--primary {
  background: #fff;
  color: var(--brand-blue-deep);
}

.hero .btn--primary:hover {
  background: #f3f8fc;
}

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn--ghost:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 5rem 0;
  scroll-margin-top: calc(var(--env-banner-h) + var(--header-h) + 12px);
}

.section--about {
  background: var(--surface);
}

.section--products {
  background: var(--surface-alt);
}

.section--contact {
  background: var(--surface);
}

.section-head {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section-head__more {
  flex-shrink: 0;
  font-weight: 600;
  white-space: nowrap;
}

.section-head h2,
.about-copy h2,
.section--contact h2,
.content-card > h2:first-child {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
}

.section-head p,
.section-lead {
  margin: 0;
  color: var(--ink-muted);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.about-copy p {
  color: var(--ink-muted);
  margin: 0 0 1rem;
}

.about-points {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--ink-muted);
}

.about-points li {
  margin-bottom: 0.4rem;
}

.about-visual__panel {
  background: linear-gradient(160deg, #eef6fc, #f7faf3);
  border: 1px solid var(--line);
  padding: 2rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.about-visual__panel img {
  width: 180px;
  height: auto;
  margin-bottom: 0.5rem;
}

.about-visual__panel p {
  margin: 0;
  color: var(--brand-blue-deep);
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.product-card__media {
  display: block;
  background: #eef2f6;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.03);
}

.product-card__body {
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.product-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.product-card__model {
  margin: 0 0 0.5rem;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.product-card__summary {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.text-link {
  font-weight: 600;
  color: var(--brand-blue);
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  color: var(--ink-muted);
}

.contact-list strong {
  font-weight: 600;
}

.contact-slogans {
  color: var(--brand-blue);
  font-weight: 600;
}

.contact-qr {
  justify-self: end;
  text-align: center;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--surface-alt);
}

.contact-qr p {
  margin: 0.75rem 0 0;
  color: var(--ink-muted);
}

.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0;
  font-size: 0.92rem;
}

.site-footer a {
  color: #fff;
}

.site-footer p {
  margin: 0.35rem 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.site-footer__col h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: #fff;
}

.site-footer__slogan {
  margin: 0 0 0.45rem;
  line-height: 1.6;
  word-break: keep-all;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li {
  margin: 0.35rem 0;
}

.float-contact {
  position: fixed;
  right: 1rem;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.float-contact__toggle {
  border: 0;
  background: var(--brand-blue);
  color: #fff;
  min-width: 48px;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.float-contact__panel {
  width: 150px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.75rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.float-contact.is-collapsed .float-contact__panel {
  display: none;
}

.float-contact__label {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.float-contact__panel img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-inline: auto;
  background: #fff;
}

.contact-qr img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-inline: auto;
  background: #fff;
}

.page-title {
  text-align: center;
  margin: 0.5rem 0 2rem;
}

.page-title h1 {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--ink);
}

.page-title h1::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  background: var(--brand-blue);
  margin: 12px auto 0;
}

.page--products-list {
  background: #f7f8fa;
}

.product-list {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 2rem;
}

.product-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.25rem;
  transition: box-shadow 0.2s ease;
}

.product-row:hover {
  box-shadow: var(--shadow-soft);
}

.product-row__media {
  display: block;
  background: #eef2f6;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-row__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-row__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-row__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.product-row__tag {
  color: var(--brand-blue);
  font-size: 0.9rem;
  font-weight: 600;
}

.product-row__meta time {
  color: #9aa3af;
  font-size: 0.88rem;
}

.product-row__title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  line-height: 1.4;
}

.product-row__title a {
  color: var(--ink);
  text-decoration: none;
}

.product-row__title a:hover {
  color: var(--brand-blue);
}

.product-row__summary {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-row__more {
  align-self: flex-end;
  margin-top: 1rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.product-row__more:hover {
  color: var(--brand-blue);
}

.float-contact__phone {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.page {
  padding: calc(var(--env-banner-h) + var(--header-h) + 2rem) 0 4rem;
  background: var(--surface-alt);
  min-height: 0;
  box-sizing: border-box;
}

.page--contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--env-banner-h) + var(--header-h) + 1.5rem);
  padding-bottom: 2.5rem;
}

.page--contact > .wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--ink-muted);
}

.product-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.product-hero__media {
  background: #eef2f6;
  display: grid;
  place-items: center;
  min-height: 280px;
}

.product-hero__media img {
  max-height: 420px;
  object-fit: contain;
}

.product-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.meta {
  color: var(--ink-muted);
  margin: 0 0 0.5rem;
}

.summary {
  color: var(--ink-muted);
  margin: 0 0 1.25rem;
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.content-card h2 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.15rem;
}

.content-card p {
  margin: 0 0 0.75rem;
  color: var(--ink-muted);
}

.table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1.25rem;
}

.content-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.content-card th,
.content-card td {
  border: 1px solid var(--line);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.content-card th {
  background: #f3f7fb;
  color: var(--ink);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.gallery img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #eef2f6;
  border: 1px solid var(--line);
}

@media (max-width: 960px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid,
  .product-hero,
  .product-row {
    grid-template-columns: 1fr;
  }

  .contact-qr {
    justify-self: stretch;
  }

  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .env-banner {
    font-size: 0.72rem;
    line-height: 1.35;
    --env-banner-h: auto;
    min-height: 40px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    margin-left: 1rem;
  }

  .float-contact.is-mobile-default.float-contact {
    /* collapsed by JS on small screens */
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__scroll,
  .hero__chevron,
  .product-card,
  .product-card__media img {
    animation: none;
    transition: none;
  }

  .hero__chevron {
    opacity: 0.75;
  }
}
