/* ============================================
   JUNHUA LIGHTING — Foreign Trade Website
   Design: warm minimal, editorial, premium
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f4ef;
  --bg-dark: #171512;
  --ink: #1c1a17;
  --ink-soft: #6d675e;
  --line: #e7e2d9;
  --accent: #a5794a;
  --accent-deep: #8a6238;
  --accent-soft: #f1e8dc;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(28, 26, 23, 0.06);
  --shadow-md: 0 12px 34px rgba(28, 26, 23, 0.1);
  --shadow-lg: 0 24px 60px rgba(28, 26, 23, 0.16);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

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

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 22px; font-size: 14px; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--bg-dark);
  color: #cfc9bf;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 8px 16px;
}
.topbar strong { color: var(--white); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-text { line-height: 1; }
.logo-text .name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.logo-text .name span { color: var(--accent); }
.logo-text .tag {
  font-size: 9.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--accent-deep); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: all 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 12px 4%;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero-living.jpg") center / cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 12s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 17, 12, 0.72) 0%, rgba(20, 17, 12, 0.38) 52%, rgba(20, 17, 12, 0.1) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 110px 0; }
.hero .eyebrow { color: #e8cba4; }
.hero .eyebrow::before { background: #e8cba4; }
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  max-width: 640px;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: #e8cba4; }
.hero p {
  max-width: 500px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-strip {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(23, 21, 18, 0.55);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-strip-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
}
.hero-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.04em;
}
.hero-strip-item svg { width: 18px; height: 18px; flex: none; }

/* ---------- Trustbar ---------- */
.trustbar { border-bottom: 1px solid var(--line); background: var(--white); }
.trustbar-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 26px 0;
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.trust-item b { display: block; font-size: 15px; }
.trust-item small { color: var(--ink-soft); font-size: 13px; }

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 3.6;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 17, 12, 0.68) 0%, transparent 55%);
}
.cat-card-label {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: var(--white);
}
.cat-card-label h3 { font-size: 21px; margin-bottom: 2px; }
.cat-card-label small { color: rgba(255, 255, 255, 0.75); letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; }

/* ---------- Products ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent-deep); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.prod-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prod-card.hidden { display: none; }
.prod-media { position: relative; aspect-ratio: 1 / 0.92; overflow: hidden; background: #efece7; }
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.prod-card:hover .prod-media img { transform: scale(1.05); }
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.badge.dark { background: var(--bg-dark); }
.prod-body { padding: 20px 22px 24px; }
.prod-sku { font-size: 11.5px; letter-spacing: 0.16em; color: var(--accent-deep); text-transform: uppercase; }
.prod-body h3 { font-size: 19px; margin: 6px 0 6px; font-family: var(--font-body); font-weight: 600; }
.prod-body p { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.prod-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.prod-meta span {
  font-size: 11.5px;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(23, 21, 18, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: 18px;
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: modalIn 0.35s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px); } }
.modal-media { background: #efece7; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 38px 36px; position: relative; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 16px;
  color: var(--ink-soft);
  transition: all 0.25s;
}
.modal-close:hover { background: var(--ink); color: var(--white); }
.modal-body .prod-sku { margin-bottom: 6px; display: block; }
.modal-body h3 { font-size: 26px; margin-bottom: 12px; }
.modal-body .desc { color: var(--ink-soft); font-size: 15px; margin-bottom: 22px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.spec-table td { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table td:first-child { color: var(--ink-soft); width: 42%; }
.spec-table td:last-child { font-weight: 500; }

/* ---------- Features / why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; }
.feature p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Split (factory) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.split-media .float-card {
  position: absolute;
  right: -18px;
  bottom: -22px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px 28px;
  text-align: center;
}
.float-card .num { font-family: var(--font-display); font-size: 34px; color: var(--accent-deep); font-weight: 600; }
.float-card small { color: var(--ink-soft); font-size: 12.5px; letter-spacing: 0.06em; }
.split-content h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 16px; }
.split-content > p { color: var(--ink-soft); margin-bottom: 26px; }
.check-list { margin-bottom: 30px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 15px;
}
.check-list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }

/* ---------- Stats ---------- */
.stats-band { background: var(--bg-dark); color: var(--white); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  padding: 66px 0;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 600;
  color: #e8cba4;
}
.stat small { display: block; margin-top: 6px; color: rgba(255, 255, 255, 0.65); letter-spacing: 0.1em; text-transform: uppercase; font-size: 12px; }

/* ---------- Certs ---------- */
.certs { display: flex; flex-wrap: wrap; gap: 14px; }
.cert-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}
.cert-chip small { color: var(--ink-soft); font-weight: 400; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.stars { color: #d9a441; letter-spacing: 3px; margin-bottom: 14px; font-size: 15px; }
.testi p { font-size: 15px; color: var(--ink); margin-bottom: 20px; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
}
.testi-who b { display: block; font-size: 14.5px; }
.testi-who small { color: var(--ink-soft); font-size: 12.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.cta-band .bg {
  position: absolute;
  inset: 0;
  background: url("../img/cluster.jpg") center 30% / cover no-repeat;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(20, 17, 12, 0.62); }
.cta-inner { position: relative; z-index: 2; padding: 100px 0; }
.cta-inner h2 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 14px; }
.cta-inner p { color: rgba(255, 255, 255, 0.82); max-width: 520px; margin: 0 auto 34px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.field label em { color: #c0392b; font-style: normal; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(165, 121, 74, 0.15);
}
.field.error input,
.field.error textarea,
.field.error select { border-color: #c0392b; }
.field .err-msg { display: none; color: #c0392b; font-size: 12.5px; margin-top: 5px; }
.field.error .err-msg { display: block; }

.form-success {
  display: none;
  background: #eef7ee;
  border: 1px solid #bfe0bf;
  color: #2c6b2f;
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 15px;
  margin-top: 18px;
}
.form-success.show { display: block; }
.hp-field { display: none !important; }
.form-success.error {
  background: #fdf1ef;
  border-color: #e8c3bb;
  color: #a33b2a;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info-card {
  background: var(--bg-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 38px 34px;
}
.contact-info-card h3 { font-size: 24px; margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255, 255, 255, 0.65); font-size: 14.5px; margin-bottom: 28px; }
.contact-line { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.contact-line svg { width: 20px; height: 20px; color: #e8cba4; flex: none; margin-top: 3px; }
.contact-line b { display: block; font-size: 14px; margin-bottom: 2px; }
.contact-line span { color: rgba(255, 255, 255, 0.72); font-size: 14px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 60px;
}
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 12px; }
.page-hero p { color: var(--ink-soft); font-size: 17px; max-width: 560px; }
.breadcrumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; letter-spacing: 0.04em; }
.breadcrumb a:hover { color: var(--accent-deep); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--accent-soft);
}
.tl-item h4 { font-size: 16.5px; margin-bottom: 4px; }
.tl-item p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  font-size: 16.5px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--ink);
}
.faq-q .plus { font-size: 22px; color: var(--accent); transition: transform 0.3s var(--ease); flex: none; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 4px 22px; color: var(--ink-soft); font-size: 15px; }
.faq-item.open .faq-a { max-height: 300px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #a9a297; font-size: 14.5px; }
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding: 72px 0 52px;
}
.footer-brand .logo-text .name { color: var(--white); }
.footer-brand p { margin: 18px 0 22px; max-width: 300px; font-size: 14px; line-height: 1.7; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  transition: all 0.25s;
}
.social-row a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.social-row svg { width: 17px; height: 17px; }
.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-col li { padding: 6px 0; }
.footer-col a:hover { color: #e8cba4; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #7c766c;
}

/* ---------- Floating buttons ---------- */
.fab-group {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease);
}
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab svg { width: 24px; height: 24px; }
.fab-wa { background: #25d366; }
.fab-mail { background: var(--accent); }
.fab-top {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.fab-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 70px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

/* JUNHUA wordmark is wider than the old one — switch to the hamburger a bit
   earlier so the header never overflows between 720px and 860px */
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .hero { min-height: 560px; }
  .hero-inner { padding: 80px 0 120px; }
  .hero-actions .btn { width: 100%; }
  .prod-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .modal { grid-template-columns: 1fr; }
  .modal-media { aspect-ratio: 16 / 10; }
  .float-card { right: 10px; bottom: -20px; padding: 16px 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding: 52px 0 40px; }
  .trustbar-inner { justify-content: flex-start; }
  .trust-item { width: 100%; }
}
