/* ============================================================
   SinoPouch - Flexible Packaging Solutions
   Shared stylesheet | Brand: deep green #21A179 + amber #F2A93B
   ============================================================ */

:root {
  --green: #21A179;
  --green-dark: #168265;
  --green-deep: #0C6148;
  --amber: #F2A93B;
  --amber-dark: #D98E2B;
  --ink: #1f2a26;
  --muted: #5F6B66;
  --line: #e3e9e6;
  --bg-soft: #EAF6F0;
  --white: #ffffff;
  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(12, 97, 72, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; gap: 20px;
}
.brand img { width: 168px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--ink); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-cta {
  background: var(--green); color: #fff !important; padding: 11px 20px;
  border-radius: 8px; font-weight: 600; font-size: 14px;
  transition: background .2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--green-dark); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,169,59,.22), transparent 70%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px;
  align-items: center; padding: 84px 0 88px; position: relative; z-index: 2;
}
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.15; font-weight: 800; letter-spacing: -.5px; }
.hero h1 .accent { color: var(--amber); }
.hero p.lead { font-size: 1.12rem; color: #d7e8e1; margin: 20px 0 30px; max-width: 560px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 9px; font-weight: 700; font-size: 15px;
  transition: transform .15s, background .2s; cursor: pointer; border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: var(--green-deep); }
.btn-primary:hover { background: #F7B74D; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 380px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.25)); }

.trust-strip { background: var(--green-deep); color: #cfe3db; }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 18px 40px; padding: 18px 22px; justify-content: center; font-size: 13.5px; font-weight: 600; }
.trust-strip span::before { content: "✓"; color: var(--amber); font-weight: 800; margin-right: 8px; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 46px; }
.eyebrow { color: var(--amber-dark); font-weight: 800; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 10px 0 14px; color: var(--green-deep); line-height: 1.2; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 38px rgba(12,97,72,.12); }
.card .icon { width: 52px; height: 52px; border-radius: 12px; background: #E9F7F1; color: var(--green);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 24px; }
.card h3 { font-size: 1.12rem; color: var(--green-deep); margin-bottom: 9px; }
.card p { color: var(--muted); font-size: .95rem; }

/* Product cards */
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 38px rgba(12,97,72,.12); }
.product-thumb { height: 190px; background: linear-gradient(135deg, #E9F7F1, #CDEBDC);
  display: flex; align-items: center; justify-content: center; }
.product-thumb svg { width: 150px; height: 150px; }
.product-body { padding: 20px 22px; }
.product-body h3 { color: var(--green-deep); font-size: 1.05rem; margin-bottom: 6px; }
.product-body p { color: var(--muted); font-size: .9rem; }
.tag { display: inline-block; background: #FDF2DF; color: var(--amber-dark); font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.tag.green { background: #E9F7F1; color: var(--green); }

/* Product category cards (enhanced) */
.cat-card { display: flex; flex-direction: column; }
.cat-card .product-thumb { height: 170px; }
.cat-card .product-thumb svg { width: 140px; height: 140px; }
.cat-spec { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.cat-spec b { color: var(--ink); }
.learn { display: inline-block; margin-top: 14px; color: var(--green); font-weight: 700; font-size: .88rem; }
.learn:hover { color: var(--amber-dark); }
.learn::after { content: " →"; }

/* QC process (3 columns) */
.qc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.qc-item { text-align: center; padding: 28px 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); }
.qc-num { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%; background: var(--green);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.qc-item h3 { color: var(--green-deep); font-size: 1.05rem; margin-bottom: 8px; }
.qc-item p { color: var(--muted); font-size: .92rem; }

/* Category banner */
.cat-banner { background: linear-gradient(135deg, var(--green-deep), var(--green)); color: #fff; overflow: hidden; }
.cat-banner-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 64px 0; }
.cat-banner h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.15; margin: 12px 0 14px; }
.cat-banner p { color: #d7e8e1; font-size: 1.08rem; max-width: 620px; margin-bottom: 24px; }
.cat-banner-art { display: flex; justify-content: center; }
.cat-banner-art svg { width: 100%; max-width: 200px; filter: drop-shadow(0 14px 24px rgba(0,0,0,.28)); }

/* Benefits grid */
.benefits-grid { gap: 16px; }
.benefit-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 18px; box-shadow: var(--shadow); }
.benefit-ic { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; }
.benefit-item h4 { color: var(--green-deep); font-size: .98rem; margin-bottom: 3px; }
.benefit-item p { color: var(--muted); font-size: .86rem; }

@media (max-width: 900px) {
  .cat-banner-inner { grid-template-columns: 1fr; }
  .cat-banner-art { order: -1; }
  .cat-banner-art svg { max-width: 150px; }
}

/* Factory shots */
.factory-shot { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.factory-shot svg { width: 100%; height: 170px; display: block; }
.factory-shot span { display: block; padding: 12px 16px; font-size: .92rem; font-weight: 700; color: var(--green-deep); text-align: center; }

/* Why choose us icon grid */
.why-grid { gap: 18px; }
.why-item { text-align: center; padding: 26px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.why-ic { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 25px; font-weight: 700; }
.why-item h4 { color: var(--green-deep); font-size: 1rem; margin-bottom: 7px; }
.why-item p { color: var(--muted); font-size: .88rem; }

/* FAQ list */
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { font-size: 1.02rem; color: var(--green-deep); margin-bottom: 6px; }
.faq-item p { color: var(--muted); font-size: .94rem; }

@media (max-width: 900px) { .qc-grid { grid-template-columns: 1fr; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-art { background: linear-gradient(135deg, var(--green-deep), var(--green)); border-radius: var(--radius);
  padding: 44px; display: flex; justify-content: center; }
.split-art svg { width: 100%; max-width: 340px; }
.feature-list { list-style: none; margin-top: 22px; }
.feature-list li { padding: 10px 0 10px 34px; position: relative; color: var(--muted); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 10px; color: var(--green); font-weight: 800; }
.feature-list li strong { color: var(--ink); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 62px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.step h3 { color: var(--green-deep); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .93rem; }

/* Table */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .94rem; }
table.data th, table.data td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { background: var(--green-deep); color: #fff; font-weight: 600; }
table.data tr:nth-child(even) td { background: #f8faf9; }
table.data td:first-child { font-weight: 700; color: var(--green-deep); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--green), var(--green-deep)); color: #fff; text-align: center; }
.cta-band .container { padding: 66px 22px; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-band p { color: #d6e7e0; margin-bottom: 26px; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; }
.contact-info .info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.info-ic { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 10px; background: #E9F7F1; color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 18px; }
.info-item h4 { color: var(--green-deep); font-size: .98rem; margin-bottom: 2px; }
.info-item p, .info-item a { color: var(--muted); font-size: .94rem; }
.info-item a:hover { color: var(--green); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .87rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 13px; border: 1px solid #d5ded9; border-radius: 8px;
  font-size: .94rem; font-family: inherit; color: var(--ink); background: #fff; transition: border .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); }
.field textarea { resize: vertical; min-height: 108px; }
.note { font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--green-deep), var(--green)); color: #fff; padding: 58px 0; }
.page-hero h1 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 10px; }
.page-hero p { color: #d5e7df; font-size: 1.06rem; max-width: 680px; }
.crumb { font-size: 13px; color: #a9c9bd; margin-bottom: 12px; }
.crumb a { color: #cfe3db; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: #c9ddd5; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-grid .brand img { width: 190px; background: #fff; padding: 8px; border-radius: 8px; }
.footer-grid h4 { color: #fff; margin-bottom: 16px; font-size: .98rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; font-size: .9rem; }
.footer-grid a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; text-align: center;
  font-size: .84rem; color: #9fbcb1; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 58px; height: 58px;
  border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 60px 0; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 260px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 10px 22px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin-top: 12px; text-align: center; }
  .nav-toggle { display: block; }
  .grid-2, .grid-4, .form-row { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
