/* ==========================================================================
   Zhuji Leiqing Knitting Co., Ltd. — B2B Inquiry Website
   Global stylesheet. No external dependencies (fonts/icons are local or inline).
   ========================================================================== */

:root {
  --ink:        #10243A;
  --ink-2:      #1D3A57;
  --ink-3:      #2B4F70;
  --cream:      #F7F4EE;
  --cream-2:    #EFEAE1;
  --white:      #FFFFFF;
  --amber:      #C8873B;
  --amber-dk:   #A96E2A;
  --amber-lt:   #F3E4CE;
  --green:      #2F6F5B;
  --line:       #E3DCD1;
  --line-dk:    #D2C8B9;
  --muted:      #6B7A8A;
  --text:       #223140;

  --radius:     10px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 2px rgba(16,36,58,.06), 0 2px 8px rgba(16,36,58,.05);
  --shadow-md:  0 4px 12px rgba(16,36,58,.08), 0 12px 32px rgba(16,36,58,.07);
  --shadow-lg:  0 12px 32px rgba(16,36,58,.12), 0 32px 64px rgba(16,36,58,.10);

  --wrap:       1180px;
  --gap:        24px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--ink-2); text-decoration: none; }
a:hover { color: var(--amber-dk); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.018em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); letter-spacing: -.028em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
h3 { font-size: 1.18rem; }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: #D9E2EC; }
.section--ink h2, .section--ink h3 { color: #FFFFFF; }
.section--ink p { color: #B9C7D6; }
.grid { display: grid; gap: var(--gap); }
.grid > * { min-width: 0; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }

.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--amber-dk); margin-bottom: 14px;
}
.section--ink .eyebrow { color: #E8B87A; }
.lede { font-size: 1.075rem; color: var(--muted); }
.section--ink .lede { color: #A9BACB; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(140deg, var(--ink-2), var(--ink));
  display: grid; place-items: center;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name { font-weight: 800; font-size: .99rem; color: var(--ink); letter-spacing: -.01em; }
.brand-sub { font-size: .63rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.nav a {
  padding: 9px 13px; border-radius: 7px; font-size: .905rem; font-weight: 550;
  color: var(--ink-2); white-space: nowrap;
}
.nav a:hover { background: var(--cream); color: var(--ink); }
.nav a.is-active { color: var(--ink); font-weight: 700; background: var(--cream); }

.header-cta { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line);
  background: var(--white); border-radius: 9px; cursor: pointer; padding: 0;
  place-items: center; color: var(--ink);
}
.burger svg { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; font-size: .93rem; font-weight: 650;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .12s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap; line-height: 1.35;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--amber); color: #fff; box-shadow: 0 2px 10px rgba(200,135,59,.28); }
.btn--primary:hover { background: var(--amber-dk); color: #fff; box-shadow: 0 4px 16px rgba(200,135,59,.34); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-dk); }
.btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--ink-2); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--sm { padding: 9px 16px; font-size: .855rem; }
.btn--block { width: 100%; }

.link-arrow { font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #E7EEF5; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 12% 8%, rgba(200,135,59,.20), transparent 62%),
    radial-gradient(700px 500px at 92% 88%, rgba(47,111,91,.24), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-inner { position: relative; z-index: 2; padding: 96px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #E8B87A; }
.hero-sub { font-size: 1.11rem; color: #B7C6D6; max-width: 37em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .875rem; color: #9FB2C5; }
.hero-badges span { display: inline-flex; align-items: center; gap: 7px; }
.hero-badges svg { width: 15px; height: 15px; color: #6FBF9E; flex-shrink: 0; }

.hero-media { position: relative; }
.hero-photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.14); background: var(--ink-2); aspect-ratio: 4/5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip {
  position: absolute; left: -18px; bottom: 30px; background: #fff; color: var(--ink);
  border-radius: 12px; padding: 15px 19px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 13px; max-width: 254px;
}
.hero-chip .hc-num { font-size: 1.6rem; font-weight: 800; color: var(--amber-dk); line-height: 1; }
.hero-chip .hc-txt { font-size: .795rem; line-height: 1.4; color: var(--muted); font-weight: 550; }

/* ---------- Trust strip ---------- */
.trust { background: var(--cream); border-bottom: 1px solid var(--line); padding: 22px 0; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 42px; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: .885rem; font-weight: 600; color: var(--ink-2); }
.trust-item svg { width: 17px; height: 17px; color: var(--amber-dk); flex-shrink: 0; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card--hover:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line-dk); }
.card h3 { margin-bottom: .45em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-icon {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: var(--amber-lt); color: var(--amber-dk); margin-bottom: 18px;
}
.card-icon svg { width: 23px; height: 23px; }
.card--ink { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.14); }
.card--ink p { color: #B0C1D2; }

/* ---------- Product cards ---------- */
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-shot { aspect-ratio: 4/3; background: var(--cream-2); overflow: hidden; }
.product-shot img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 1.075rem; margin-bottom: .35em; }
.product-body p { font-size: .905rem; color: var(--muted); margin-bottom: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag {
  font-size: .705rem; font-weight: 650; letter-spacing: .045em; text-transform: uppercase;
  background: var(--cream); color: var(--ink-3); border: 1px solid var(--line);
  padding: 4px 9px; border-radius: 99px;
}
.tag--amber { background: var(--amber-lt); color: var(--amber-dk); border-color: #E7CFAC; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { position: relative; padding-left: 66px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 12px;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-size: .95rem; font-weight: 750; letter-spacing: .02em;
}
.step h3 { font-size: 1.04rem; margin-bottom: .3em; }
.step p { font-size: .925rem; color: var(--muted); margin-bottom: .9em; }

/* ---------- Stats ---------- */
.stat { text-align: center; padding: 8px 12px; }
.stat-num { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--amber); letter-spacing: -.03em; line-height: 1.1; }
.stat-label { font-size: .845rem; color: #A9BACB; margin-top: 6px; }
.section:not(.section--ink) .stat-label { color: var(--muted); }
.section:not(.section--ink) .stat-num { color: var(--amber-dk); }

/* ---------- Spec table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: .915rem; min-width: 620px; }
table.spec th, table.spec td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th {
  background: var(--cream); font-size: .72rem; letter-spacing: .11em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 750;
}
table.spec tbody tr:last-child th, table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec tbody th { font-weight: 650; color: var(--ink); width: 220px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 320px at 85% 20%, rgba(200,135,59,.22), transparent 65%);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: .35em; }
.cta-inner p { color: #B7C6D6; margin: 0; max-width: 46em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .855rem; font-weight: 650; color: var(--ink-2); }
.field .req { color: #C0392B; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .945rem; color: var(--text);
  padding: 11px 13px; border: 1.5px solid var(--line-dk); border-radius: 8px;
  background: #fff; width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--amber); outline: none; box-shadow: 0 0 0 3px rgba(200,135,59,.16);
}
.field .hint { font-size: .775rem; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-status { border-radius: 9px; padding: 13px 16px; font-size: .9rem; display: none; margin-top: 4px; }
.form-status.is-ok   { display: block; background: #E8F5EF; color: #1F6B4F; border: 1px solid #BFE2D3; }
.form-status.is-err  { display: block; background: #FDECEA; color: #A32217; border: 1px solid #F3C9C4; }

/* ---------- Info list ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; flex-wrap: wrap; gap: 13px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--line); margin: 0; }
.info-list li:last-child { border-bottom: 0; }
.info-list svg { width: 19px; height: 19px; color: var(--amber-dk); flex-shrink: 0; margin-top: 3px; }
.info-list li > span { min-width: 0; flex: 1 1 auto; }
.info-list .k { font-size: .77rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 650; display: block; }
.info-list .v { color: var(--ink); font-weight: 600; word-break: break-word; }
.info-list a.v:hover { color: var(--amber-dk); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #97A9BC; padding: 66px 0 30px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1.25fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #B9C7D6; }
.site-footer a:hover { color: #E8B87A; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand .brand-mark { background: rgba(255,255,255,.1); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #7E93A8; }
.footer-bottom {
  margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.11);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .845rem;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; font-weight: 700; font-size: .92rem;
  padding: 13px 19px 13px 15px; border-radius: 99px; box-shadow: 0 6px 22px rgba(37,211,102,.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-float:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,211,102,.46); }
.wa-float svg { width: 21px; height: 21px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: #E7EEF5; padding: 66px 0 60px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(660px 340px at 88% 0%, rgba(200,135,59,.20), transparent 64%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: #B7C6D6; max-width: 62em; margin: 0; font-size: 1.05rem; }
.crumbs { font-size: .83rem; color: #8FA5BA; margin-bottom: 16px; }
.crumbs a { color: #A9BACB; }
.crumbs a:hover { color: #E8B87A; }

/* ---------- Prose (about page) ---------- */
.prose { max-width: 46em; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.7em; }
.prose ul li { margin-bottom: .55em; }

/* ---------- Notice / edit-me ---------- */
.notice {
  border-left: 4px solid var(--amber); background: var(--amber-lt);
  padding: 14px 18px; border-radius: 0 8px 8px 0; font-size: .9rem; color: #7A4E16;
  margin-bottom: 22px;
}
.notice strong { color: #6A4412; }
.placeholder-flag {
  display: inline-block; font-size: .68rem; font-weight: 750; letter-spacing: .07em;
  text-transform: uppercase; background: #FFF3D6; color: #8A5A11;
  border: 1px dashed #D8AE62; padding: 2px 7px; border-radius: 5px; margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Reveal on scroll ---------- */
/* Content stays visible unless JS is running: the .js class is set inline in <head> */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { max-width: 460px; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 74px 0 auto; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px 22px;
    gap: 4px; box-shadow: var(--shadow-md); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 14px; font-size: 1rem; }
  .burger { display: grid; }
  .header-cta .btn { display: none; }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .g-form, .g-split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .section { padding: 62px 0; }
  .hero-inner { padding: 66px 0 62px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-chip { position: static; margin-top: 16px; max-width: none; }
  .step { padding-left: 0; padding-top: 58px; }
  .footer-bottom { flex-direction: column; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media print {
  .site-header, .wa-float, .cta-band { display: none; }
}
