:root {
  --ink: #16201d;
  --muted: #5d6965;
  --line: #d9e2dc;
  --paper: #fbfaf6;
  --white: #ffffff;
  --mint: #dff0e7;
  --green: #1e6f55;
  --green-dark: #124838;
  --coral: #d96c4a;
  --amber: #f1b85f;
  --blue: #47708f;
  --pink: #f6a5bb;
  --pink-deep: #dd668d;
  --shadow: 0 24px 60px rgba(22, 32, 29, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(217, 226, 220, 0.8);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--green);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32), 0 8px 18px rgba(22, 32, 29, 0.14);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.logo-bg {
  fill: var(--green);
}

.logo-face,
.logo-ear {
  fill: var(--pink);
}

.logo-ear.right {
  fill: var(--pink-deep);
}

.logo-muzzle {
  fill: #ffe8ee;
}

.logo-eye,
.logo-nose {
  fill: var(--ink);
}

.logo-smile {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.7;
  stroke-linecap: round;
}

.logo-spark {
  fill: var(--amber);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #31413c;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  padding: 8px 0;
}

.nav-cta {
  padding: 10px 16px !important;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 31, 27, 0.86), rgba(15, 31, 27, 0.48) 48%, rgba(15, 31, 27, 0.22)),
    url("assets/hero-zhejiang-factory.jpg") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0 54px;
  color: var(--white);
}

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

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--coral);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin: 52px 0 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.22);
}

.hero-stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.13);
}

.hero-stats dt {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  padding: 18px;
  text-align: center;
  background: var(--white);
  color: #2b3b36;
  font-weight: 800;
  font-size: 14px;
}

.section,
.capability-band,
.contact-section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(22, 32, 29, 0.06);
}

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

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

.product-card p {
  min-height: 102px;
  margin: 12px 0 18px;
}

.product-card a {
  color: var(--green);
  font-weight: 900;
}

.capability-band {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - var(--max)) / 2));
  background: var(--mint);
}

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

.capability-grid article {
  padding: 24px;
  border: 1px solid rgba(30, 111, 85, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.quality {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}

.quality-image img {
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #31413c;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: inset 0 0 0 4px var(--paper);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.timeline article {
  min-height: 238px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.timeline article:last-child {
  border-right: 0;
}

.timeline strong {
  display: block;
  color: var(--blue);
  font-size: 38px;
  line-height: 1;
}

.buyer-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  padding: 46px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-dark);
}

.buyer-panel p,
.buyer-panel .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.buyer-panel h2 {
  color: var(--white);
}

.buyer-grid {
  display: grid;
  gap: 12px;
}

.buyer-grid p {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.buyer-grid strong {
  color: var(--white);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: start;
}

.contact-methods a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--green);
  font-weight: 800;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #31413c;
  font-weight: 800;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfdad4;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffefa;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 12px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 4vw, 52px);
  color: rgba(255, 255, 255, 0.74);
  background: var(--ink);
}

.footer p {
  margin: 0;
  color: inherit;
}

.footer a {
  color: var(--amber);
  font-weight: 800;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .intro,
  .quality,
  .buyer-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

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

  .timeline article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 780px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(15, 31, 27, 0.44), rgba(15, 31, 27, 0.9) 56%, rgba(15, 31, 27, 0.96)),
      url("assets/hero-zhejiang-factory.jpg") center / cover;
  }

  .hero-content {
    padding-bottom: 28px;
  }

  .hero-stats,
  .trust-strip,
  .product-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .capability-band,
  .contact-section {
    padding-block: 58px;
  }

  .product-card p {
    min-height: 0;
  }

  .quality-image img {
    height: 360px;
  }

  .buyer-panel,
  .quote-form {
    padding: 22px;
  }

  .footer {
    flex-direction: column;
  }
}
