:root {
  --navy-950: #071526;
  --navy-900: #0b1f35;
  --navy-800: #122f4f;
  --blue-600: #1f6fd1;
  --blue-100: #eaf2ff;
  --gold-600: #b98a35;
  --gold-500: #d8ae5d;
  --white: #ffffff;
  --paper: #f7f8fb;
  --ink: #162334;
  --muted: #657386;
  --line: #dce4ef;
  --green: #2f7d5b;
  --red: #b9332d;
  --shadow: 0 20px 60px rgba(7, 21, 38, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 999;
  padding: 0.7rem 1rem;
  background: var(--gold-500);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: calc(100% - 40px);
  max-width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(7, 21, 38, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 40px);
  max-width: var(--container);
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.brand img {
  width: 42px;
  height: 42px;
}

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

.brand strong {
  font-weight: 900;
}

.brand small {
  margin-top: 0.18rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  gap: 1.35rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-500);
}

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

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.2s ease;
}

.hero {
  position: relative;
  min-height: 82vh;
  padding: 8.5rem 0 5rem;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 21, 38, 0.98), rgba(7, 21, 38, 0.86), rgba(7, 21, 38, 0.5)),
    url("assets/hero-supply-chain.png") center / cover;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 3rem;
}

.hero-logo-panel {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(216, 174, 93, 0.4);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy,
.detail-copy,
.detail-media {
  min-width: 0;
}

.hero-logo-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--gold-500);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero h1 {
  margin: 0;
  font-size: 4rem;
  line-height: 1.08;
  font-weight: 900;
}

.hero-lead {
  margin: 1rem 0 0;
  font-size: 1.5rem;
  font-weight: 900;
}

.hero-copy p:not(.eyebrow):not(.hero-lead) {
  max-width: 680px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.2;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--navy-950);
  background: var(--gold-500);
}

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

.btn-full {
  width: 100%;
}

.intro-strip {
  color: var(--white);
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.intro-grid div {
  display: grid;
  gap: 0.25rem;
  padding: 1.3rem 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.intro-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.intro-grid span {
  color: var(--gold-500);
  font-size: 0.82rem;
  font-weight: 900;
}

.intro-grid strong {
  font-size: 1.04rem;
}

.intro-grid small {
  color: rgba(255, 255, 255, 0.62);
}

.section {
  padding: 5rem 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.section-heading h2,
.detail-copy h2,
.contact-section h2,
.advantage-layout h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: 2.35rem;
  line-height: 1.18;
}

.section-heading p,
.detail-copy p,
.advantage-layout p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.poster-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  padding: 0;
  color: var(--white);
  text-align: left;
  background: var(--navy-900);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(7, 21, 38, 0.11);
}

.poster-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.28s ease;
}

.poster-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 21, 38, 0.18), rgba(7, 21, 38, 0.88)),
    linear-gradient(90deg, rgba(7, 21, 38, 0.76), rgba(7, 21, 38, 0.15));
}

.poster-card span,
.poster-card strong,
.poster-card small {
  position: relative;
  z-index: 1;
  display: block;
}

.poster-card span {
  margin: 1.25rem 1.25rem 0;
  color: var(--gold-500);
  font-size: 2rem;
  font-weight: 900;
}

.poster-card strong {
  margin: auto 1.25rem 0.2rem;
  padding-top: 13rem;
  font-size: 1.55rem;
  line-height: 1.25;
}

.poster-card small {
  margin: 0 1.25rem 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.poster-card:hover img,
.poster-card:focus-visible img,
.poster-card.is-active img {
  transform: scale(1.1);
}

.poster-card.is-active {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

.sector-detail {
  padding: 5rem 0;
  background: var(--white);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 3rem;
}

.detail-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.detail-points {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.detail-points li {
  position: relative;
  padding: 0.95rem 1rem 0.95rem 2.1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-points li::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 1rem;
  width: 8px;
  height: 8px;
  background: var(--blue-600);
  border-radius: 50%;
}

.detail-copy .btn {
  margin-top: 1.5rem;
}

.fresh-order-section {
  background: var(--paper);
}

.order-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.sorting-preview {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sorting-preview span {
  color: var(--muted);
  font-weight: 800;
}

.sorting-preview a {
  padding: 0.52rem 0.78rem;
  color: var(--blue-600);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.order-tools {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.search-box,
.order-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.search-box input,
.order-form input,
.order-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.category-tabs button {
  min-height: 42px;
  padding: 0.6rem 0.85rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.category-tabs button.is-active {
  color: var(--white);
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.ordering-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.2rem;
  align-items: start;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(7, 21, 38, 0.06);
}

.product-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1.15 / 1;
  background: #f3f6fa;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--navy-900);
  background:
    linear-gradient(145deg, rgba(31, 111, 209, 0.12), rgba(216, 174, 93, 0.16)),
    #f5f7fb;
  font-size: 1.55rem;
  font-weight: 900;
}

.product-body {
  padding: 0.95rem;
}

.product-body h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.05rem;
  line-height: 1.25;
}

.product-body small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
}

.product-meta {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin: 0.75rem 0;
}

.product-meta span {
  padding: 0.22rem 0.45rem;
  color: var(--blue-600);
  background: var(--blue-100);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
}

.qty-control {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 0.35rem;
}

.qty-control button,
.qty-control input {
  min-height: 40px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.qty-control button {
  color: var(--navy-950);
  font-size: 1.2rem;
  font-weight: 900;
}

.cart-panel {
  position: sticky;
  top: 86px;
  padding: 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cart-panel h3 {
  margin: 0 0 1rem;
  color: var(--navy-950);
  font-size: 1.25rem;
}

.cart-items {
  display: grid;
  gap: 0.65rem;
  max-height: 260px;
  overflow: auto;
  padding-right: 0.3rem;
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  padding: 0.7rem;
  background: var(--paper);
  border-radius: var(--radius);
}

.cart-line strong {
  display: block;
  color: var(--navy-950);
  line-height: 1.25;
}

.cart-line small {
  color: var(--muted);
}

.cart-line button {
  align-self: start;
  width: 28px;
  height: 28px;
  color: var(--red);
  background: transparent;
  border: 0;
  font-weight: 900;
}

.empty-cart {
  margin: 0;
  color: var(--muted);
}

.order-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.website-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status.is-ok {
  color: var(--green);
}

.form-status.is-error {
  color: var(--red);
}

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

.advantage-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 3rem;
  align-items: start;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.advantage-grid article {
  min-height: 170px;
  padding: 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.advantage-grid span {
  color: var(--blue-600);
  font-size: 1.4rem;
  font-weight: 900;
}

.advantage-grid h3 {
  margin: 0.65rem 0 0;
  color: var(--navy-950);
}

.contact-section {
  padding: 5rem 0;
  color: var(--white);
  background: var(--navy-950);
}

.contact-section h2 {
  color: var(--white);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.4rem 0 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
}

.contact-list dt {
  color: var(--gold-500);
  font-weight: 900;
}

.contact-list dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  overflow-wrap: anywhere;
}

.qr-card {
  display: grid;
  justify-items: center;
  padding: 1.3rem;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
}

.qr-card img {
  width: min(260px, 100%);
  border-radius: var(--radius);
}

.qr-card strong {
  margin-top: 0.8rem;
  color: var(--navy-950);
}

.qr-card span {
  color: var(--muted);
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #04101d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--gold-500);
  font-weight: 900;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: 44px;
  height: 44px;
  color: var(--navy-950);
  background: var(--gold-500);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1060px) {
  .hero-inner,
  .detail-layout,
  .advantage-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 3rem;
  }

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

  .ordering-layout {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 28px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.65rem;
    background: var(--navy-950);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.85rem;
  }

  .hero {
    min-height: auto;
    padding: 6.5rem 0 3.5rem;
  }

  .hero-inner {
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: 1.88rem;
    overflow-wrap: anywhere;
  }

  .hero-lead {
    font-size: 0.98rem;
    word-break: break-all;
  }

  .hero-copy p:not(.eyebrow):not(.hero-lead),
  .eyebrow {
    word-break: break-all;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .intro-grid,
  .poster-grid,
  .product-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .sector-detail,
  .contact-section {
    padding: 3.5rem 0;
  }

  .section-heading h2,
  .detail-copy h2,
  .contact-section h2,
  .advantage-layout h2 {
    font-size: 1.9rem;
  }

  .order-heading,
  .order-tools {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sorting-preview {
    justify-content: start;
  }

  .poster-card {
    min-height: 280px;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .footer-inner {
    display: grid;
  }
}
