/* C.YOU Bag Manufacture — shared stylesheet */
:root {
  --ink: #1f1b16;
  --muted: #6f675c;
  --sand: #f4efe8;
  --sand-2: #ece4d8;
  --line: #e2d9cb;
  --accent: #8a6d3b;
  --white: #fffdf9;
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand { font-size: 1.5rem; font-weight: 800; letter-spacing: .14em; color: var(--ink); }
.brand small { display: block; font-size: .62rem; letter-spacing: .32em; color: var(--muted); font-weight: 600; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  color: var(--ink); font-size: .92rem; font-weight: 600;
  padding: 8px 12px; border-radius: 6px;
}
.main-nav a:hover { background: var(--sand); text-decoration: none; }
.main-nav a.active { background: var(--sand-2); }
.nav-cta {
  background: var(--ink); color: #fff !important; padding: 9px 16px; border-radius: 999px;
  font-size: .9rem; font-weight: 700; white-space: nowrap;
}
.nav-cta:hover { background: #000; text-decoration: none; }

/* Layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.hero {
  background: var(--sand);
  padding: 72px 20px 64px; text-align: center;
}
.hero .eyebrow, .eyebrow {
  font-size: .78rem; letter-spacing: .28em; font-weight: 700; color: var(--accent);
  text-transform: uppercase; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; letter-spacing: -.01em; }
.hero p.lead { max-width: 640px; margin: 18px auto 0; color: var(--muted); font-size: 1.08rem; }
.hero .btn-row { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  background: var(--ink); color: #fff;
}
.btn:hover { background: #000; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--sand-2); }

section { padding: 64px 0; }
section.tinted { background: var(--sand); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.25; margin-bottom: 12px; }
h3 { font-size: 1.18rem; margin-bottom: 6px; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--muted); }
.center { text-align: center; }
.center .section-head { margin-left: auto; margin-right: auto; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.stat {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 26px 18px; text-align: center;
}
.stat strong { display: block; font-size: 2rem; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }
.caveat { font-size: .85rem; color: var(--muted); margin-top: 16px; }

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white);
}
.card img { width: 100%; height: 260px; object-fit: cover; }
.card-body { padding: 20px; }
.card-body .num { font-size: .8rem; letter-spacing: .2em; color: var(--accent); font-weight: 700; }
.card-body h3 { margin: 6px 0 4px; }
.card-body p { color: var(--muted); font-size: .95rem; }
.card a.card-link { color: var(--ink); }
.card a.card-link:hover { text-decoration: none; }
.card a.card-link h3:hover { color: var(--accent); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { border-top: 3px solid var(--accent); padding-top: 16px; }
.step .step-no { font-size: 2rem; font-weight: 800; color: var(--sand-2); line-height: 1; }
.step h3 { margin-top: 8px; }
.step p { color: var(--muted); font-size: .95rem; }
.steps-6 { grid-template-columns: repeat(3, 1fr); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { border-radius: 12px; overflow: hidden; }
.gallery img { width: 100%; height: 240px; object-fit: cover; }
.gallery figcaption { padding: 10px 2px; font-size: .9rem; color: var(--muted); }
figure.hero-img { border-radius: 14px; overflow: hidden; margin-bottom: 20px; }
figure.hero-img img { width: 100%; max-height: 460px; object-fit: cover; }
figure.hero-img figcaption { padding: 10px 2px; font-size: .9rem; color: var(--muted); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: 14px; width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

/* Product */
.product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
.product-gallery img { border-radius: 14px; margin-bottom: 14px; }
.product-gallery .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.product-gallery .thumbs img { margin-bottom: 0; border-radius: 10px; }
.product-info h1 { font-size: 1.9rem; line-height: 1.25; margin-bottom: 12px; }
.product-info p { color: var(--muted); margin-bottom: 18px; }
.product-info .btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.back-link { display: inline-block; margin-bottom: 24px; font-size: .92rem; font-weight: 600; }
.note-box {
  background: var(--sand); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; margin-top: 28px; font-size: .95rem;
}
.note-box strong { display: block; margin-bottom: 4px; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 28px 22px; background: var(--white);
}
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.contact-card .big { font-size: 1.05rem; font-weight: 700; color: var(--ink); word-break: break-all; }
.checklist { list-style: none; }
.checklist li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; text-align: center; padding: 72px 20px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfc6b8; max-width: 560px; margin: 0 auto 26px; }
.cta-band .btn { background: #fff; color: var(--ink); }
.cta-band .btn:hover { background: var(--sand-2); }
.cta-band .btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.cta-band .btn.ghost:hover { background: rgba(255,255,255,.12); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; background: var(--sand); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; font-size: .95rem; }
.footer-grid a { color: var(--ink); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .gallery, .steps-6 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .product-layout, .footer-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
@media (max-width: 560px) {
  .grid-3, .gallery, .steps, .steps-6, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .header-inner { justify-content: center; text-align: center; }
  .main-nav { justify-content: center; }
}
