/* ============================================================
   FTAWANG — Industrial B2B Factory Website
   Palette: gray / dark blue / industrial orange
   ============================================================ */
:root {
  --blue: #16243f;
  --blue-2: #1f3a63;
  --blue-3: #2c4f82;
  --orange: #ff6a13;
  --orange-dark: #e2570a;
  --gray-50: #f5f6f8;
  --gray-100: #eceef2;
  --gray-200: #d9dde4;
  --gray-300: #b9bfca;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --ink: #1b2230;
  --text: #3a4252;
  --text-muted: #6b7280;
  --bg-light: #f5f6f8;
  --border: #e1e4ea;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 10px rgba(22, 36, 63, 0.06);
  --shadow-lg: 0 12px 34px rgba(22, 36, 63, 0.14);
  --maxw: 1200px;
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-3); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 14px; font-weight: 700; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 20px; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 76px 0; }
.section.bg { background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 10px; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 720px; margin: 0 auto 44px; font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius); font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: .2s; line-height: 1;
}
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: #fff; color: var(--blue); }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: var(--blue);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header .container { display: flex; align-items: center; height: var(--header-h); gap: 22px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.05rem; letter-spacing: .3px; }
.logo:hover { color: #fff; }
.logo-icon { background: var(--orange); color: #fff; width: 34px; height: 34px; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: 1rem; }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { color: #c7d0de; padding: 10px 14px; border-radius: 6px; font-weight: 500; font-size: .92rem; }
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: linear-gradient(120deg, var(--blue) 0%, var(--blue-2) 60%, #0f1b30 100%);
  color: #fff; padding: 96px 0 104px; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -80px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255,106,19,.18), transparent 70%); border-radius: 50%;
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow { display: inline-block; color: var(--orange); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: .8rem; margin-bottom: 16px; }
.hero-title { color: #fff; font-size: 2.7rem; max-width: 820px; margin-bottom: 18px; }
.hero-desc { color: #c4cede; font-size: 1.1rem; max-width: 640px; margin-bottom: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 36px; }
.hero-meta div { border-left: 2px solid var(--orange); padding-left: 14px; }
.hero-meta b { display: block; color: #fff; font-size: 1.5rem; }
.hero-meta span { color: #aebbcf; font-size: .85rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Section heads & grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---------- Category cards ---------- */
.cat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px; transition: .25s; display: flex; flex-direction: column; height: 100%;
}
.cat-card:hover { border-color: var(--orange); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cat-num { color: var(--orange); font-weight: 800; font-size: .9rem; letter-spacing: 1px; }
.cat-card h3 { margin: 8px 0 12px; font-size: 1.18rem; }
.cat-card p { color: var(--text-muted); font-size: .92rem; flex: 1; }
.cat-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.cat-tags span { font-size: .76rem; background: var(--gray-100); color: var(--gray-700); padding: 4px 10px; border-radius: 20px; }
.cat-link { margin-top: 16px; font-weight: 600; color: var(--blue-3); font-size: .9rem; }

/* ---------- Feature / advantage boxes ---------- */
.feature-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.feature-box:hover { box-shadow: var(--shadow); }
.feature-icon { width: 46px; height: 46px; border-radius: 10px; background: var(--gray-100); color: var(--blue); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 14px; }
.feature-box h3 { font-size: 1.08rem; }
.feature-box p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.stat-card { background: var(--blue); color: #fff; border-radius: var(--radius); padding: 22px 14px; text-align: center; }
.stat-number { font-size: 1.7rem; font-weight: 800; color: var(--orange); }
.stat-label { font-size: .8rem; color: #b9c4d6; margin-top: 4px; }

/* ---------- Process steps ---------- */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.process-step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 18px; position: relative; }
.process-step::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: 18px; width: 30px; height: 30px; background: var(--orange); color: #fff; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.process-step h4 { margin: 14px 0 8px; font-size: 1rem; }
.process-step p { color: var(--text-muted); font-size: .85rem; margin: 0; }

/* ---------- Tables ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.spec-table th { background: var(--gray-50); color: var(--ink); font-weight: 600; width: 36%; }
.spec-table tr:hover td { background: var(--gray-50); }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--border); }
.product-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.product-detail-gallery .main { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-50); }
.product-detail-gallery .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.product-detail-gallery .thumbs img { border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
.product-detail-title { font-size: 1.5rem; margin-bottom: 6px; }
.product-detail-subtitle { color: var(--text-muted); margin-bottom: 18px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.product-tag { font-size: .78rem; background: var(--gray-100); color: var(--gray-700); padding: 5px 12px; border-radius: 20px; }

/* ---------- Workshop cards ---------- */
.work-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-overlay { position: relative; z-index: 2; background: linear-gradient(transparent, rgba(15,23,42,.88)); color: #fff; padding: 26px 22px 20px; width: 100%; }
.work-overlay h3 { color: #fff; margin: 0 0 6px; font-size: 1.2rem; }
.work-overlay p { color: #cfd8e6; font-size: .88rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--gray-50); }
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px; background: linear-gradient(transparent, rgba(15,28,53,.85)); color: #fff; font-size: .88rem; font-weight: 600; letter-spacing: .2px; }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-q { padding: 16px 20px; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 14px; }
.faq-q::after { content: "+"; color: var(--orange); font-size: 1.3rem; line-height: 1; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { padding: 0 20px 18px; color: var(--text-muted); font-size: .92rem; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item summary { padding: 16px 20px; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 14px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--orange); font-size: 1.3rem; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item > p { padding: 0 20px 18px; color: var(--text-muted); font-size: .92rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 14px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; }
.info-list b { color: var(--ink); min-width: 120px; }
.contact-form-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; }

/* ---------- Forms ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 7px; font-size: .92rem; font-family: inherit; color: var(--text); background: #fff;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--blue-3); }
.form-note { font-size: .8rem; color: var(--text-muted); margin-top: 10px; }
.form-success { display: none; background: #e9f7ef; color: #1a7f43; border: 1px solid #b7e4c7; padding: 14px 16px; border-radius: 8px; margin-bottom: 14px; }
.form-error { display: none; background: #fdecec; color: #b42318; border: 1px solid #f5c2c2; padding: 14px 16px; border-radius: 8px; margin-bottom: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--blue); color: #c4cede; padding: 54px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer h4 { color: #fff; font-size: .98rem; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a, .footer-brand p { color: #aebbcf; font-size: .9rem; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 18px; text-align: center; color: #8a99b0; font-size: .84rem; }
.social-links { display: flex; gap: 10px; }
.social-link { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; font-weight: 700; }
.social-link.facebook:hover { background: #1877f2; }
.social-link.whatsapp:hover { background: #25d366; }

/* ---------- Float buttons ---------- */
.float-actions { position: fixed; right: 22px; bottom: 26px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; box-shadow: var(--shadow-lg); }
.float-btn.whatsapp { background: #25d366; }
.float-btn.facebook { background: #1877f2; }

/* ---------- Modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.62); z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop.active { display: flex; }
.modal { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; box-shadow: var(--shadow-lg); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.modal-header h3 { margin: 0; }
.modal-close { background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--gray-500); line-height: 1; }
.modal-body { padding: 22px 24px; }

/* ---------- Utility ---------- */
.text-muted { color: var(--text-muted); }
.lead { font-size: 1.08rem; color: var(--text-muted); }
.divider { height: 1px; background: var(--border); margin: 0; border: 0; }
.breadcrumb { font-size: .82rem; color: var(--text-muted); padding: 16px 0 0; }
.breadcrumb a { color: var(--blue-3); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  h1 { font-size: 1.9rem; } .hero-title { font-size: 2rem; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--blue); flex-direction: column; padding: 10px; }
  .nav.open { display: flex; }
  .menu-toggle { display: block; margin-left: auto; }
  .header .container { position: relative; }
  .grid-2, .grid-3, .grid-4, .product-detail, .contact-layout { grid-template-columns: 1fr; }
  .stats-grid, .process-steps { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
}

/* ---------- Nav dropdown ---------- */
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 4px; }
.caret { font-size: .68rem; line-height: 1; transform: translateY(1px); transition: transform .2s; opacity: .85; }
.nav-dropdown {
  position: absolute; top: calc(100% - 4px); left: 0; min-width: 264px;
  margin: 0; padding: 8px 0; list-style: none;
  background: #fff; border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease; z-index: 60;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item:hover .caret { transform: translateY(1px) rotate(180deg); }
.nav-dropdown li a {
  display: block; color: var(--text); padding: 10px 18px; font-size: .9rem; font-weight: 500;
  border-radius: 0; background: none;
}
.nav-dropdown li a:hover { background: var(--bg-light); color: var(--orange); }
.nav-dropdown a.active { color: var(--orange); background: var(--bg-light); }

/* Mobile dropdown: stacked submenu */
@media (max-width: 760px) {
  .nav-item { width: 100%; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: rgba(255,255,255,.05); border-radius: 0;
    min-width: 0; padding: 0 0 8px 8px;
  }
  .nav-dropdown li a { color: #c7d0de; padding: 9px 16px; }
  .nav-dropdown li a:hover { color: #fff; background: rgba(255,255,255,.08); }
  .nav-dropdown a.active { color: var(--orange); background: rgba(255,255,255,.08); }
}

/* ---------- Product cards (B2B industrial: image + title only) ---------- */
.pcard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* whole card is an <a> → image + text both clickable */
.pcard {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border, #ececec);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(22, 36, 63, 0.12);
}
.pcard__media {
  position: relative;
  width: 100%;
  padding-bottom: 75%; /* 4:3 aspect ratio fallback */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--gray-100, #eceef2);
  flex-shrink: 0;
}
.pcard__img,
.pcard__img--ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.pcard__img--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.pcard__title {
  display: block;
  margin: 0;
  padding: 12px 14px 16px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink, #1b2230);
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
/* tablet: 3 columns (WorkBuddy-spec: PC 4 / tablet 3 / mobile 2) */
@media (max-width: 992px) {
  .pcard-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .pcard-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .pcard__title {
    font-size: 14px;
    padding: 10px 10px 12px;
  }
}
@media (max-width: 380px) {
  .pcard-grid { gap: 12px; }
}

/* ---------- Product No. (SKU) line on detail pages ---------- */
.product-no {
  margin: 6px 0 14px;
  font-size: 14px;
  color: var(--muted, #5b6472);
  letter-spacing: 0.2px;
}
.product-no strong {
  color: var(--ink, #1b2230);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  background: var(--gray-100, #eceef2);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* ---------- image placeholder (no photo uploaded yet) ---------- */
.product-img-placeholder,
.pcard__img--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gray-100, #eceef2);
  color: var(--muted, #8a93a3);
  font-size: 13px;
  line-height: 1.5;
  border: 1px dashed #c9cfdb;
  border-radius: 4px;
}
.pcard__img--ph {
  aspect-ratio: 4 / 3;
}
.product-img-placeholder {
  aspect-ratio: 4 / 3;
  min-height: 280px;
  margin-bottom: 16px;
}

/* ---------- category product-list pagination ---------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin: 36px 0 4px;
}
.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e3e6ec;
  border-radius: 4px;
  font-size: 14px;
  color: #1b2230;
  text-decoration: none;
  background: #fff;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.pagination a:hover {
  border-color: #16243f;
  color: #16243f;
}
.pagination .pg-current {
  background: #16243f;
  color: #fff;
  border-color: #16243f;
  font-weight: 600;
  cursor: default;
}
.pagination .disabled {
  color: #b8bcc6;
  border-color: #eceef2;
  cursor: default;
}
@media (max-width: 480px) {
  .pagination a,
  .pagination span { min-width: 34px; height: 34px; padding: 0 9px; font-size: 13px; }
}

/* ============================================================
   Final spec — new components
   ============================================================ */

/* ---------- Industry entry cards (home) ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.industry-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; display:flex; flex-direction:column; transition:.25s; height:100%; }
.industry-card:hover { border-color: var(--orange); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.industry-icon { font-size: 2rem; line-height:1; }
.industry-card h3 { font-size: 1.16rem; margin: 14px 0 10px; }
.industry-card p { color: var(--text-muted); font-size:.9rem; flex:1; }
.industry-card .cat-link { margin-top: 16px; }

/* ---------- Capability bar (every page bottom) ---------- */
.capability-bar { background: var(--blue); color:#fff; padding: 30px 0; }
.capability-slogan { text-align:center; font-weight:700; font-size:1.05rem; color:#fff; margin-bottom: 18px; }
.capability-slogan .hl { color: var(--orange); }
.capability-steps { display:grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.capability-step { text-align:center; color:#dfe6f0; font-size:.84rem; position:relative; padding-top: 6px; }
.capability-step .step-ico { font-size: 1.5rem; display:block; margin-bottom:6px; }
.capability-step:not(:last-child)::after { content:"→"; position:absolute; right:-9px; top: 16px; color: var(--orange); font-weight:700; }

/* ---------- Product card (detailed, per industry page) ---------- */
.product-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.product-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); overflow:hidden; display:flex; flex-direction:column; }
.product-card .pc-media { aspect-ratio: 4/3; background: var(--gray-100); position:relative; overflow:hidden; }
.product-card .pc-media img { width:100%; height:100%; object-fit:cover; }
.product-card .pc-media .ph { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; text-align:center; background: linear-gradient(135deg,#e9edf3,#dde3ec); color:var(--gray-500); font-size:.92rem; font-weight:600; padding:22px; line-height:1.5; }
.product-card .pc-body { padding: 22px 22px 24px; display:flex; flex-direction:column; flex:1; }
.product-card h3 { font-size:1.12rem; margin:0 0 4px; }
.product-card .pc-en { color: var(--text-muted); font-size:.82rem; margin-bottom: 14px; }
.product-card ul.pc-bullets { margin:0 0 14px; padding-left: 18px; }
.product-card ul.pc-bullets li { font-size:.88rem; color: var(--text); margin-bottom:6px; }
.product-card .pc-meta { font-size:.82rem; color: var(--text-muted); margin-bottom: 7px; }
.product-card .pc-meta b { color: var(--ink); }
.product-card .pc-cta { margin-top:auto; display:flex; gap:10px; flex-wrap:wrap; }
.product-card .pc-gallery { display:grid; grid-template-columns: repeat(2,1fr); gap:6px; padding: 8px 14px 0; }
.product-card .pc-gallery img { width:100%; height:118px; object-fit:cover; border-radius:6px; border:1px solid var(--border); background:var(--gray-100); }

/* ---------- NDA placeholder card / block ---------- */
.nda-card { background: var(--gray-50); border:1px dashed #c4ccd9; border-radius: var(--radius-lg); padding: 22px; display:flex; gap:16px; align-items:center; }
.nda-card .nda-thumb { flex:0 0 96px; aspect-ratio:4/3; border-radius:8px; overflow:hidden; position:relative; background:var(--gray-200); }
.nda-card .nda-thumb img { width:100%; height:100%; object-fit:cover; filter: blur(2px) brightness(.92); }
.nda-card .nda-thumb .lock { position:absolute; right:5px; bottom:5px; font-size:1rem; }
.nda-card h4 { margin:0 0 6px; font-size:1rem; }
.nda-card p { color: var(--text-muted); font-size:.84rem; margin:0; }

.nda-block { background: var(--gray-50); border:1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display:flex; gap:24px; align-items:center; }
.nda-block .nda-img { flex: 0 0 220px; aspect-ratio:4/3; border-radius: var(--radius); overflow:hidden; position:relative; }
.nda-block .nda-img img { width:100%; height:100%; object-fit:cover; filter: blur(2px) brightness(.9); }
.nda-block .nda-img .lock { position:absolute; right:10px; bottom:10px; font-size:1.3rem; }
.nda-block h3 { margin:0 0 8px; }
.nda-block p { color: var(--text-muted); font-size:.92rem; margin:0; }

/* ---------- WhatsApp CTA ---------- */
.cta-wa { display:inline-flex; align-items:center; gap:10px; background:#25d366; color:#fff; padding:14px 26px; border-radius: var(--radius); font-weight:700; font-size:1rem; transition:.2s; }
.cta-wa:hover { background:#1ebe5b; color:#fff; }
.cta-wa.btn-sm { padding:10px 18px; font-size:.9rem; }

/* ---------- Single-line trust note above footer ---------- */
.trust-line { text-align:center; color: var(--text-muted); font-size:.86rem; font-style:italic; padding: 30px 0 0; }

/* ============================================================
   Livestock-conveyor restructure v9 — new components
   ============================================================ */

/* Kit / complete-set conversion banner */
.kit-banner { padding: 54px 0; }
.kit-inner {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 34px; display: flex; gap: 26px; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow);
}
.kit-inner h3 { margin: 0 0 8px; font-size: 1.25rem; }
.kit-inner p { margin: 0; color: var(--text-muted); max-width: 640px; }

/* Product card extras (related + kit note) */
.pc-related { font-size: .82rem; color: var(--text-muted); margin: 2px 0 10px; }
.pc-related a { font-weight: 600; margin-right: 10px; }
.pc-kit {
  background: var(--gray-50); border-left: 3px solid var(--orange);
  padding: 10px 13px; border-radius: 0 6px 6px 0;
  font-size: .82rem; color: var(--gray-700); margin-bottom: 14px;
}

/* Solution package landing page */
.solution-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.solution-intro h2.section-title { margin-bottom: 14px; }
.solution-intro ul { padding-left: 18px; color: var(--text); }
.solution-intro li { margin-bottom: 10px; }
.solution-hero-img { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.solution-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; transition: .2s; }
.blog-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.blog-card h3 { font-size: 1.15rem; margin: 0 0 12px; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--orange); }
.blog-card p { color: var(--text-muted); font-size: .92rem; flex: 1; margin-bottom: 18px; }
.blog-meta { font-size: .75rem; color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 10px; }
.blog-article { max-width: 820px; margin: 0 auto; font-size: 1.02rem; }
.blog-article h2 { font-size: 1.45rem; margin-top: 34px; }
.blog-article ul { color: var(--text); }
.blog-article li { margin-bottom: 8px; }
.blog-cta { background: var(--gray-50); border-radius: var(--radius-lg); padding: 22px 24px; margin-top: 34px; text-align: center; }
.blog-cta p { margin-bottom: 14px; }

/* Legal / archive text pages */
.legal-page { max-width: 820px; margin: 0 auto; }
.legal-page h2 { font-size: 1.25rem; margin-top: 32px; }
.legal-page p, .legal-page ul { color: var(--text); }

/* Archived category notice */
.archive-notice { background: #fff7ed; border-bottom: 1px solid #ffedd5; color: #9a3412; padding: 12px 0; font-size: .9rem; }
.archive-notice a { color: #c2410c; text-decoration: underline; }
.archive-notice b { font-weight: 700; }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-steps { grid-template-columns: repeat(3, 1fr); }
  .solution-intro { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .kit-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .product-grid, .industry-grid { grid-template-columns: 1fr; }
  .capability-steps { grid-template-columns: 1fr; }
  .capability-step:not(:last-child)::after { display:none; }
  .nda-block, .nda-card { flex-direction:column; align-items:flex-start; }
}
