/* ============================================================
   YO-PACK Packaging — Cosmetic Packaging Manufacturer
   Global stylesheet
   ============================================================ */

:root {
  --bg: #f5fafa;
  --surface: #ffffff;
  --ink: #12312e;
  --ink-2: #1c3d39;
  --muted: #56716d;
  --line: #dcebe8;
  --accent: #0c8577;
  --accent-soft: #e0f3f0;
  --ocean: #07423f;
  --teal: #14a390;
  --grad: linear-gradient(135deg, #05343a 0%, #0a5f5e 48%, #12968a 100%);
  --bronze: #0d9488;
  --bronze-soft: #dcf2ef;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(10, 45, 42, 0.12);
  --shadow-sm: 0 4px 16px rgba(10, 45, 42, 0.08);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", "Manrope", -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--bronze);
  border-radius: 2px;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); margin: 14px 0 12px; }
.section-sub { color: var(--muted); max-width: 620px; font-size: 17px; }
.section { padding: 88px 0; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: var(--font-body);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #0a6b60; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-ghost { border-color: rgba(24, 35, 44, 0.25); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: rgba(24, 35, 44, 0.04); }
.btn-ghost-light { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  padding: 7px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar a { color: inherit; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar .tb-right { display: flex; gap: 18px; white-space: nowrap; }
.topbar span.dot { color: var(--bronze); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(245, 250, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--ink) 0%, #2c4152 100%);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.logo-img { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.05em; }
.logo-text small { font-size: 10.5px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }

.main-nav ul { display: flex; gap: 6px; align-items: center; }
.main-nav a {
  display: block;
  padding: 9px 15px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-2);
  transition: all 0.18s ease;
}
.main-nav a:hover { background: rgba(24, 35, 44, 0.06); }
.main-nav a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 10px 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  width: 42px; height: 42px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: all 0.25s ease;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-close { display: none; }

/* ---------- Hero (homepage, product-forward) ---------- */
.hero {
  position: relative;
  padding: 56px 0 88px;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf7f5 0%, #f5fafa 72%);
}
.hero::before {
  content: "";
  position: absolute;
  right: -150px; top: -170px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 163, 144, 0.16), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: -90px; bottom: -140px;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1.5px solid rgba(12, 133, 119, 0.16);
  pointer-events: none;
}
.hero .geo-grid {
  position: absolute;
  right: 40px; bottom: 22px;
  width: 200px; height: 140px;
  background-image: radial-gradient(rgba(12, 133, 119, 0.3) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.55;
  pointer-events: none;
}
.hero .geo-ring {
  position: absolute;
  left: 44%; top: -80px;
  width: 190px; height: 190px;
  border-radius: 50%;
  border: 1.5px dashed rgba(12, 133, 119, 0.2);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 54px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.3vw, 52px);
  margin: 16px 0 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub { color: var(--muted); font-size: 17.5px; max-width: 510px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  max-width: 470px;
}
.hero-stats .stat { border-right: 0; margin: 0; padding: 0; }
.hero-stats .stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--ink); }
.hero-stats small { color: var(--muted); font-size: 13px; }

/* product collage */
.hero-visual { position: relative; padding: 0 0 46px 46px; }
.hero-visual .hero-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.hero-visual .hero-sub-img {
  position: absolute;
  left: 0; bottom: 0;
  width: 47%;
  height: 210px;
  object-fit: cover;
  border-radius: 16px;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}
.float-card {
  position: absolute;
  right: 0; top: 26px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  z-index: 2;
}
.float-card .fc-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
}
.float-card b { display: block; font-size: 14px; color: var(--ink); }
.float-card small { color: var(--muted); font-size: 12px; }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; background: #fff; }
.trust-inner { display: flex; align-items: center; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.trust p { font-size: 13px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.trust-marks { display: flex; gap: 38px; flex-wrap: wrap; align-items: center; }
.trust-marks span {
  font-family: var(--font-display);
  font-size: 19px;
  color: #a8b0b6;
  letter-spacing: 0.12em;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.trust-marks span:hover { color: var(--ink); }

/* ---------- Product wall ---------- */
.wall-section { padding: 76px 0 68px; }
.wall-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.wall-head .section-title { margin-bottom: 8px; }
.wall-head .section-sub { margin: 0; }
.wall-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 196px;
  gap: 14px;
}
.wall-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #e4f0ee;
  display: block;
}
.wall-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.wall-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 45, 42, 0) 42%, rgba(4, 45, 42, 0.62) 100%);
  transition: opacity 0.25s ease;
}
.wall-item:hover img { transform: scale(1.07); }
.wall-tag {
  position: absolute;
  left: 15px; bottom: 14px;
  z-index: 1;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.wall-big { grid-column: span 2; grid-row: span 2; }
.wall-wide { grid-column: span 2; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s ease;
  display: block;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card .cat-img { height: 210px; overflow: hidden; background: #e4f0ee; }
.cat-card .cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-card:hover .cat-img img { transform: scale(1.05); }
.cat-body { padding: 18px 20px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cat-body b { font-size: 16.5px; font-family: var(--font-display); font-weight: 600; }
.cat-body small { display: block; color: var(--muted); font-size: 13px; }
.cat-body .go {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink);
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.cat-card:hover .go { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.p-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.p-card .p-img { height: 220px; overflow: hidden; background: #e4f0ee; position: relative; }
.p-card .p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.p-card:hover .p-img img { transform: scale(1.06); }
.p-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.05);
}
.p-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-body h3 { font-size: 16.5px; font-weight: 600; line-height: 1.35; }
.p-spec { color: var(--muted); font-size: 13.5px; }
.p-moq {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px dashed var(--line);
}
.p-moq b { color: var(--accent); font-weight: 600; }

/* ---------- Capabilities ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img { position: relative; }
.split-img img { border-radius: 20px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.split-img .badge-img {
  position: absolute;
  right: -18px; bottom: -24px;
  width: 190px;
  border-radius: 14px;
  border: 5px solid var(--bg);
  box-shadow: var(--shadow);
}
.check-list { margin: 26px 0 30px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; }
.check-list .ck {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0; margin-top: 2px;
}
.check-list b { display: block; font-size: 15.5px; }
.check-list p { color: var(--muted); font-size: 14px; }

.numbers-band {
  margin-top: 72px;
  background: var(--grad);
  border-radius: 20px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.numbers-band::before {
  content: "";
  position: absolute;
  right: -70px; bottom: -90px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}
.numbers-band b { font-family: var(--font-display); font-size: 34px; display: block; position: relative; }
.numbers-band b span { color: #5eead4; }
.numbers-band small { color: rgba(255,255,255,0.7); font-size: 13.5px; position: relative; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
  margin-top: 52px;
}
.process-step { position: relative; padding: 26px 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--bronze);
  display: block;
  margin-bottom: 10px;
}
.process-step::after {
  content: "";
  position: absolute;
  top: 34px; right: -14px;
  width: 10px; height: 10px;
  border-top: 2px solid var(--bronze);
  border-right: 2px solid var(--bronze);
  transform: rotate(45deg);
}
.process-step:last-child::after { display: none; }
.process-step b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.process-step p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--bronze);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }

/* ---------- Category count pill ---------- */
.cat-img { position: relative; }
.cat-count {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ocean);
}

/* ---------- Value props ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  transition: all 0.25s ease;
}
.value-card::after {
  content: "";
  position: absolute;
  right: -46px; top: -46px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 163, 144, 0.15), transparent 65%);
  pointer-events: none;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.value-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.value-card b { display: block; font-family: var(--font-display); font-size: 17.5px; margin-bottom: 8px; line-height: 1.3; }
.value-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---------- Factory video ---------- */
.video-band {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #eaf9f6 0%, #f7fbfa 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
}
.video-band .check-list { margin: 22px 0 0; }
.video-band .check-list p { color: var(--ink-2); font-size: 14.5px; }
.video-frame { position: relative; }
.video-frame video {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  background: #0b2b28;
  box-shadow: var(--shadow);
}

/* ---------- Certifications ---------- */
.cert-band { padding: 0 0 88px; }
.cert-inner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cert-inner h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 10px 0 8px; }
.cert-inner p { color: var(--muted); font-size: 15px; max-width: 430px; }
.cert-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.cert-badge {
  background: #f2fbf9;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  min-width: 132px;
}
.cert-badge b {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ocean);
  letter-spacing: 0.02em;
}
.cert-badge small { color: var(--muted); font-size: 12px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 88px; }
.cta-inner {
  background: var(--grad);
  border-radius: 24px;
  padding: 64px 60px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute;
  left: -60px; bottom: -110px;
  width: 260px; height: 260px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.3) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}
.cta-inner::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.3), transparent 65%);
}
.cta-inner h2 { font-size: clamp(26px, 3vw, 36px); max-width: 560px; }
.cta-inner p { color: rgba(255,255,255,0.72); margin-top: 10px; max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 12px; }
.page-hero p { color: var(--muted); max-width: 640px; margin-top: 12px; font-size: 16.5px; }
.breadcrumb { font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Products page toolbar ---------- */
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink-2);
  transition: all 0.18s ease;
  font-family: var(--font-body);
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  min-width: 240px;
}
.search-box input { border: 0; outline: 0; background: transparent; font-size: 14.5px; width: 100%; font-family: var(--font-body); color: var(--ink); }
.search-box svg { color: var(--muted); flex-shrink: 0; }

.empty-state {
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
  display: none;
}
.empty-state b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--ink); margin-bottom: 6px; }

/* ---------- Product detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; margin-top: 40px; }
.detail-gallery img { border-radius: 20px; width: 100%; object-fit: cover; box-shadow: var(--shadow); background: #e4f0ee; }
.detail-info h1 { font-size: clamp(26px, 3vw, 36px); margin: 10px 0 8px; }
.detail-info .p-sku { color: var(--muted); font-size: 14px; letter-spacing: 0.06em; }
.detail-info .p-desc { color: var(--muted); margin: 16px 0 24px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 26px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table td { padding: 11px 0; font-size: 14.5px; }
.spec-table td:first-child { color: var(--muted); width: 42%; }
.spec-table td:last-child { font-weight: 500; }
.deco-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.deco-chips span {
  background: var(--bronze-soft);
  color: #8a6a35;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
}
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.inquiry-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}
.inquiry-card h3 { font-size: 21px; margin-bottom: 4px; }
.inquiry-card > p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 14px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field label i { color: var(--bronze); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.form-success {
  display: none;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 14px;
}
.form-success.show { display: block; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 44px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-card .cc-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-card b { display: block; font-size: 15px; margin-bottom: 2px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 14px; }
.contact-card a:hover { color: var(--accent); }

/* ---------- About page ---------- */
.about-story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-story img { border-radius: 20px; box-shadow: var(--shadow); object-fit: cover; }
.timeline { margin-top: 56px; position: relative; padding-left: 26px; border-left: 2px solid var(--line); display: grid; gap: 30px; max-width: 680px; }
.timeline .tl-item { position: relative; }
.timeline .tl-item::before {
  content: "";
  position: absolute;
  left: -33px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bronze);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1.5px var(--bronze);
}
.timeline b { font-family: var(--font-display); font-size: 17px; color: var(--accent); }
.timeline p { color: var(--muted); font-size: 14.5px; margin-top: 3px; }

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: all 0.22s ease;
}
.cap-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.cap-card .cap-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.cap-card b { font-size: 16px; display: block; margin-bottom: 6px; }
.cap-card p { color: var(--muted); font-size: 14px; }

.cert-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.cert-badge {
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
}
.cert-badge svg { color: var(--bronze); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); margin-top: 0; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-main h4 { color: #fff; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.footer-main ul { display: grid; gap: 10px; font-size: 14.5px; }
.footer-main ul a:hover { color: #fff; }
.footer-brand .logo-text b { color: #fff; }
.footer-brand .logo-text small { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 14px; margin: 16px 0 18px; max-width: 300px; color: rgba(255,255,255,0.6); }
.footer-certs { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-certs span {
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
}
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--bronze); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 80;
  box-shadow: var(--shadow-sm);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--accent); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 26px; bottom: 84px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 80;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .wall-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 176px; }
  .video-band { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .video-frame video { height: 300px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .numbers-band { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero { padding: 44px 0 72px; }
  .hero-visual .hero-main { height: 400px; }
  .hero-visual .hero-sub-img { height: 180px; }
  .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .inquiry-card { position: static; }
}

@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .topbar .tb-left { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 84vw);
    height: 100vh;
    background: var(--bg);
    box-shadow: var(--shadow);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 90px 28px 28px;
    z-index: 95;
  }
  body.nav-open .main-nav { transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 13px 16px; font-size: 16px; }
  .header-cta .btn-quote { display: none; }
  .nav-close {
    position: absolute;
    top: 22px; right: 22px;
    background: none; border: 0;
    font-size: 26px;
    cursor: pointer;
    color: var(--ink);
    display: none;
  }
  body.nav-open .nav-close { display: block; }

  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { order: -1; padding: 0 0 34px 0; }
  .hero-visual .hero-main { height: 330px; }
  .hero-visual .hero-sub-img { height: 150px; width: 44%; }
  .float-card { top: 14px; right: 10px; padding: 10px 13px; }
  .hero-stats { gap: 14px 20px; max-width: none; }
  .hero-stats .stat { padding: 0; }

  .split, .about-story, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-img .badge-img { width: 140px; right: 8px; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .wall-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .wall-wide { grid-column: span 1; }

  .cta-inner { padding: 44px 30px; }
  .cert-inner { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 36px; }
  .form-row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .product-grid, .product-grid.cols-3, .cat-grid, .cap-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .wall-grid { grid-auto-rows: 132px; gap: 10px; }
  .wall-head { flex-direction: column; align-items: flex-start; }
  .cert-badge { flex: 1 1 40%; min-width: 0; }
  .hero-visual .hero-sub-img { height: 120px; width: 42%; }
  .numbers-band { grid-template-columns: 1fr 1fr; padding: 34px 26px; }
  .process-grid { grid-template-columns: 1fr; }
  .trust-inner { justify-content: center; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search-box { min-width: 0; }
}

/* ---------- Factory tour (about) ---------- */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.tour-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.tour-item { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.tour-item img, .tour-item video {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.tour-item figcaption {
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .tour-grid { grid-template-columns: 1fr; }
  .tour-videos { grid-template-columns: 1fr; }
  .tour-item img, .tour-item video { height: 260px; }
}

/* ---------- Language switcher ---------- */
.lang-switch {
  display: flex;
  gap: 2px;
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px;
  margin-right: 10px;
  align-self: center;
}
.lang-btn {
  border: 0;
  background: transparent;
  font: 600 11.5px/1 Inter, sans-serif;
  color: var(--muted);
  padding: 6px 9px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: .05em;
  transition: background .15s, color .15s;
}
.lang-btn:hover { color: var(--accent); }
.lang-btn.active { background: var(--ink, #1c2630); color: #fff; }
@media (max-width: 760px) {
  .lang-switch { margin-right: 6px; padding: 2px; }
  .lang-btn { padding: 5px 7px; font-size: 10.5px; }
}
