/* =========================================================
   CLASSIF — Natural Woven Storage Baskets (Trading & Sourcing Partner)
   Foreign Trade B2B Independent Site
   ========================================================= */

:root {
  --brand: #C2410C;        /* burnt orange */
  --brand-light: #EA580C;
  --brand-dark: #9A3412;
  --accent: #F59E0B;       /* amber */
  --ink: #1F2937;          /* gray-800 */
  --ink-soft: #52606D;
  --ink-mute: #8A94A6;
  --bg: #FFFFFF;
  --bg-soft: #FAF7F2;      /* warm off-white */
  --bg-dark: #1C1917;      /* warm charcoal */
  --line: #ECE7DF;
  --line-dark: #2C2722;
  --shadow: 0 10px 30px rgba(28, 25, 23, .08);
  --shadow-lg: 0 20px 50px rgba(28, 25, 23, .14);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --header-h: 72px;
  font-synthesis: none;
}

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--ink); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-dark { background: var(--bg-dark); color: #F5EFE6; }
.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--ink-soft); max-width: 720px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 2px solid transparent; transition: .22s ease; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-soft); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; letter-spacing: .02em; }
.brand .logo-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 6px 16px rgba(194,65,12,.28);
}
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-mute); letter-spacing: .12em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink); position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--brand); transition: .22s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.lang { font-size: 14px; font-weight: 600; color: var(--ink-soft); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; }
.lang:hover { border-color: var(--brand); color: var(--brand); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 42px; height: 42px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 620px; display: flex; align-items: center;
  background: url("../../assets/img/hero.png") center/cover no-repeat;
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(45,38,30,.18) 0%, rgba(45,38,30,.06) 45%, rgba(45,38,30,0) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  filter: brightness(1.08);
  z-index: -1;
  background: inherit;
}
.hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); max-width: 760px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero p { font-size: 18px; max-width: 560px; margin: 20px 0 32px; color: rgba(255,255,255,.92); text-shadow: 0 1px 8px rgba(0,0,0,.22); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 44px; }
.hero-badges div { display: flex; align-items: center; gap: 9px; font-size: 14px; color: rgba(255,255,255,.88); text-shadow: 0 1px 6px rgba(0,0,0,.2); }
.hero-badges .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Trust bar / stats ---------- */
.stats { background: var(--bg-soft); color: var(--ink); }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .num { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--accent); }
.stat .lbl { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .ic {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(194,65,12,.10); color: var(--brand); margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Featured products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: .25s ease; display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prod-thumb { aspect-ratio: 4/3; background: var(--bg-soft); position: relative; overflow: hidden; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.prod-card:hover .prod-thumb img { transform: scale(1.06); }
.prod-thumb .tag { position: absolute; top: 12px; left: 12px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.prod-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.prod-body h3 { font-size: 18px; margin-bottom: 8px; }
.prod-body .model { font-size: 13px; color: var(--brand); font-weight: 700; letter-spacing: .04em; }
.prod-body p { color: var(--ink-soft); font-size: 14.5px; margin: 10px 0 18px; flex: 1; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; }
.prod-foot .more { font-weight: 700; color: var(--brand); font-size: 14px; }
.prod-foot .more:hover { text-decoration: underline; }

/* ---------- Split / about intro ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.checklist li { display: flex; gap: 12px; margin-bottom: 13px; align-items: flex-start; }
.checklist .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(194,65,12,.12); color: var(--brand); display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 2px; }
.checklist span { color: var(--ink-soft); }

/* ---------- Certifications ---------- */
.certs { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 40px; }
.cert {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 26px; font-weight: 700; display: flex; align-items: center; gap: 10px; color: var(--ink);
}
.cert .ic { color: var(--brand); }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-top: 48px; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item::before { content: ""; position: absolute; left: -29px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--line); }
.tl-item .yr { font-weight: 800; color: var(--brand); font-size: 15px; }
.tl-item h4 { font-size: 17px; margin: 4px 0 6px; }
.tl-item p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Products page filter ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 30px 0 44px; }
.filter {
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s;
}
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.prod-grid-page { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* ---------- Spec table ---------- */
.spec { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec td:first-child { color: var(--ink-soft); font-weight: 600; width: 42%; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.info-card { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-card:last-child { border: none; }
.info-card .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(194,65,12,.10); color: var(--brand); display: grid; place-items: center; }
.info-card h4 { font-size: 15px; margin-bottom: 3px; }
.info-card p { color: var(--ink-soft); font-size: 15px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--ink); background: var(--bg-soft); transition: .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--ink-mute); margin-top: 6px; }
.alert { padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; display: none; }
.alert.ok { display: block; background: #ECFDF3; color: #027A48; border: 1px solid #ABEFC6; }
.alert.err { display: block; background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand), var(--brand-dark)); color: #fff; border-radius: var(--radius); padding: 54px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 620px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: rgba(255,255,255,.78); padding: 60px 0 28px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: .04em; }
.footer a { color: rgba(255,255,255,.72); font-size: 14.5px; display: block; margin-bottom: 11px; }
.footer a:hover { color: var(--accent); }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand small { color: rgba(255,255,255,.5); }
.footer p { font-size: 14.5px; color: rgba(255,255,255,.7); }
.footer .social { display: flex; gap: 12px; margin-top: 16px; }
.footer .social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; margin: 0; color: #fff; }
.footer .social a i { font-size: 18px; }
.footer .social a:hover { background: var(--brand); color: #fff; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: rgba(255,255,255,.55); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  background: #25D366; color: #fff; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.4); transition: .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--bg-soft); padding: 18px 0; font-size: 14px; color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.pd-gallery .pd-main { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; }
.pd-gallery .pd-main img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.pd-info { position: sticky; top: 90px; }
.pd-title { font-size: clamp(24px, 3vw, 34px); margin: 6px 0 14px; }
.pd-price { font-size: 26px; font-weight: 800; color: var(--brand); margin-bottom: 16px; }
.pd-cny { font-size: 15px; font-weight: 600; color: var(--ink-mute); margin-left: 8px; }
.pd-short { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 22px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 26px; }
.pd-meta li { font-size: 14.5px; color: var(--ink-soft); }
.pd-meta li span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); font-weight: 700; margin-bottom: 3px; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards, .prod-grid, .prod-grid-page { grid-template-columns: repeat(2, 1fr); }
  .stats .grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .lang { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 18px 22px; gap: 18px; box-shadow: var(--shadow);
  }
  .section { padding: 60px 0; }
  .cards, .prod-grid, .prod-grid-page, .stats .grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 22px; }
  .footer .cols { grid-template-columns: 1fr; }
}

/* WhatsApp / phone links inherit footer text color */
.wa-link, .tel-link { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }
.wa-link:hover, .tel-link:hover { opacity: .78; }
