/* ===================================================================
   QINGHONG FURNITURE — DESIGN SYSTEM v3
   Direction: industrial trust — heavy, practical, factory-strength.
   Signature: spec-plate / export-stencil treatment for data & numerals.
   =================================================================== */

/* -------------------------------------------------------------------
   0. RESET
   ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--qh-amber); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* -------------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------------- */
:root {
  /* Color: named per the brief — industrial / factory-strength */
  --qh-graphite: #1B1D1F;       /* Iron Graphite — primary dark */
  --qh-graphite-soft: #262A2D;  /* raised dark surface */
  --qh-steel: #3C4A52;          /* Warm Steel — secondary structural */
  --qh-steel-line: #4C5A61;
  --qh-amber: #C8731E;          /* Forge Amber — single accent, used sparingly */
  --qh-amber-deep: #A85E15;
  --qh-concrete: #EDEAE2;       /* warm light neutral — "soft" section bg */
  --qh-paper: #FAF8F4;          /* lightest bg / card surface */
  --qh-white: #FFFFFF;
  --qh-ink: #1B1D1F;            /* body copy on light */
  --qh-ink-soft: #565F62;       /* secondary text on light */
  --qh-line: #DBD5C8;           /* hairline borders on light/paper */
  --qh-line-dark: #3A3D3F;      /* hairline borders on dark */
  --qh-on-dark: #F2F0EA;
  --qh-on-dark-soft: #ACB0AC;

  /* Type */
  --qh-font-display: "Oswald", "Noto Sans SC", "PingFang SC", Arial, sans-serif;
  --qh-font-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --qh-font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  /* Spacing scale */
  --qh-space-1: 4px;
  --qh-space-2: 8px;
  --qh-space-3: 12px;
  --qh-space-4: 16px;
  --qh-space-5: 24px;
  --qh-space-6: 32px;
  --qh-space-7: 48px;
  --qh-space-8: 64px;
  --qh-space-9: 96px;

  --qh-radius: 2px;             /* near-square — industrial, not soft */
  --qh-shell-width: 1280px;
  --qh-header-h: 116px;
  --qh-header-h-mobile: 64px;
}

/* -------------------------------------------------------------------
   2. BASE TYPOGRAPHY
   ------------------------------------------------------------------- */
body {
  font-family: var(--qh-font-body);
  color: var(--qh-ink);
  background: var(--qh-paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--qh-font-display); font-weight: 600; letter-spacing: 0.002em; color: var(--qh-graphite); line-height: 1.12; }
.qh-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* -------------------------------------------------------------------
   3. SHARED TEXT TREATMENTS — eyebrow / kicker (stamped-label signature)
   ------------------------------------------------------------------- */
.qh-eyebrow, .qh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--qh-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qh-amber-deep);
  margin-bottom: 14px;
}
.qh-eyebrow::before, .qh-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--qh-amber);
  display: inline-block;
}
.qh-hero-content .qh-eyebrow { color: var(--qh-on-dark); }
.qh-hero-content .qh-eyebrow::before { background: var(--qh-amber); }

/* -------------------------------------------------------------------
   4. LAYOUT SHELL / SECTIONS
   ------------------------------------------------------------------- */
.qh-shell { width: min(var(--qh-shell-width), calc(100% - 48px)); margin: 0 auto; }
.qh-main { min-height: 50vh; }
.qh-section { padding: var(--qh-space-9) 0; }
.qh-section-soft { background: var(--qh-concrete); }
.qh-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--qh-space-6);
  margin-bottom: var(--qh-space-7);
}
.qh-section-heading.center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.qh-section-heading h2 { font-size: clamp(28px, 3.2vw, 42px); }
.qh-section-heading p { max-width: 520px; color: var(--qh-ink-soft); font-size: 16px; line-height: 1.6; margin: 0; }
.qh-text-link {
  font-family: var(--qh-font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 2px solid var(--qh-graphite);
  padding-bottom: 4px;
}

/* -------------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------------- */
.qh-button-row { display: flex; gap: var(--qh-space-3); flex-wrap: wrap; }
.qh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border: 1.5px solid var(--qh-graphite);
  border-radius: var(--qh-radius);
  font-family: var(--qh-font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: transparent;
  color: var(--qh-graphite);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.qh-btn:hover { transform: translateY(-1px); }
.qh-btn-dark { background: var(--qh-graphite); color: var(--qh-white); border-color: var(--qh-graphite); }
.qh-btn-dark:hover { background: var(--qh-amber-deep); border-color: var(--qh-amber-deep); }
.qh-btn-light { background: var(--qh-white); color: var(--qh-graphite); border-color: var(--qh-white); }
.qh-btn-light:hover { background: var(--qh-amber); border-color: var(--qh-amber); color: var(--qh-white); }
.qh-btn-outline { background: transparent; color: var(--qh-graphite); border-color: var(--qh-graphite); }
.qh-btn-outline:hover { background: var(--qh-graphite); color: var(--qh-white); }
.qh-btn-outline-light { background: transparent; color: var(--qh-on-dark); border-color: rgba(242,240,234,0.55); }
.qh-btn-outline-light:hover { background: var(--qh-on-dark); color: var(--qh-graphite); border-color: var(--qh-on-dark); }

/* -------------------------------------------------------------------
   6. TOPBAR
   ------------------------------------------------------------------- */
.qh-topbar { background: var(--qh-graphite); color: var(--qh-on-dark-soft); font-family: var(--qh-font-mono); font-size: 12px; letter-spacing: 0.02em; }
.qh-topbar-inner { height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.qh-topbar-links { display: flex; gap: 26px; }
.qh-topbar a { display: inline-flex; align-items: center; gap: 7px; color: var(--qh-on-dark-soft); }
.qh-topbar a:hover { color: var(--qh-amber); }
.qh-topbar a svg { width: 14px; height: 14px; }
.qh-topbar > .qh-shell > span { color: var(--qh-on-dark-soft); }

/* -------------------------------------------------------------------
   7. HEADER / NAV / MEGA MENU / LANGUAGE / SEARCH ICON
   ------------------------------------------------------------------- */
.qh-header { position: sticky; top: 0; z-index: 40; background: rgba(250,248,244,0.97); border-bottom: 1px solid var(--qh-line); backdrop-filter: blur(10px); }
.qh-header-inner { height: 78px; display: flex; align-items: center; gap: 28px; }
.qh-brand { display: flex; align-items: center; min-width: 0; flex: 0 0 auto; }
.qh-brand img { height: 40px; width: auto; }

.qh-nav { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: center; }
.qh-nav > a, .qh-nav-group > a {
  font-family: var(--qh-font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--qh-graphite);
  padding: 27px 14px;
  border-bottom: 2px solid transparent;
  display: inline-block;
}
.qh-nav > a:hover, .qh-nav-group:hover > a { color: var(--qh-amber-deep); }
.qh-nav > a.is-active, .qh-nav-group.is-active > a { border-color: var(--qh-amber); color: var(--qh-graphite); }
.qh-nav-group { position: relative; display: flex; align-items: center; }
.qh-nav-group > button {
  border: 0; background: transparent; cursor: pointer; color: var(--qh-ink-soft);
  width: 22px; height: 22px; display: grid; place-items: center; font-size: 16px; margin-left: -8px;
}
.qh-mega-menu {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  width: 640px; max-width: 92vw;
  background: var(--qh-white);
  border: 1px solid var(--qh-line);
  box-shadow: 0 28px 60px rgba(27,29,31,0.16);
  padding: 30px;
  display: grid; grid-template-columns: 220px 1fr; gap: 30px;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
}
.qh-nav-group:hover .qh-mega-menu, .qh-nav-group.is-open .qh-mega-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.qh-mega-menu > div:first-child strong { font-family: var(--qh-font-display); font-size: 19px; display: block; margin-bottom: 8px; }
.qh-mega-menu > div:first-child p { color: var(--qh-ink-soft); font-size: 14px; margin-bottom: 14px; }
.qh-mega-links { display: grid; gap: 8px; }
.qh-mega-links a { padding: 12px 14px; border: 1px solid var(--qh-line); background: var(--qh-paper); border-radius: var(--qh-radius); }
.qh-mega-links a:hover { border-color: var(--qh-amber); background: var(--qh-white); }
.qh-mega-links span { display: block; font-weight: 700; font-size: 14.5px; }
.qh-mega-links small { display: block; color: var(--qh-ink-soft); margin-top: 3px; font-size: 12.5px; }

.qh-header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.qh-lang { position: relative; }
.qh-lang > button {
  height: 42px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--qh-line);
  background: var(--qh-white); padding: 0 12px; font-weight: 600; font-size: 13px; cursor: pointer; border-radius: var(--qh-radius);
}
.qh-lang > button svg { width: 16px; height: 16px; color: var(--qh-ink-soft); }
.qh-lang-menu {
  position: absolute; top: 48px; right: 0; width: 190px; max-height: 320px; overflow-y: auto;
  background: var(--qh-white); border: 1px solid var(--qh-line); box-shadow: 0 18px 40px rgba(27,29,31,0.14);
  padding: 6px; display: none; z-index: 50;
}
.qh-lang.is-open .qh-lang-menu { display: block; }
.qh-lang-menu button { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 0; background: transparent; text-align: left; padding: 10px 10px; cursor: pointer; border-radius: var(--qh-radius); font-size: 13.5px; }
.qh-lang-menu button:hover { background: var(--qh-concrete); }
.qh-lang-menu small { color: var(--qh-ink-soft); font-family: var(--qh-font-mono); }
.qh-icon-search { height: 42px; width: 42px; display: grid; place-items: center; border: 1px solid var(--qh-line); background: var(--qh-white); cursor: pointer; border-radius: var(--qh-radius); }
.qh-icon-search svg { width: 17px; height: 17px; }
.qh-menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--qh-line); background: var(--qh-white); cursor: pointer; border-radius: var(--qh-radius); }
.qh-menu-toggle span { display: block; width: 18px; height: 2px; background: var(--qh-graphite); margin: 4px auto; }

/* -------------------------------------------------------------------
   8. HERO
   ------------------------------------------------------------------- */
.qh-hero { position: relative; min-height: calc(100vh - var(--qh-header-h)); max-height: 860px; overflow: hidden; background: var(--qh-graphite); }
.qh-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,16,17,.82) 0%, rgba(15,16,17,.55) 32%, rgba(15,16,17,.18) 58%, rgba(15,16,17,.32) 100%);
}
.qh-hero-slides, .qh-hero-slide { position: absolute; inset: 0; }
.qh-hero-slide { opacity: 0; transition: opacity 1.1s ease; }
.qh-hero-slide.is-active { opacity: 1; }
.qh-hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.qh-hero-content { position: relative; z-index: 2; min-height: calc(100vh - var(--qh-header-h)); max-height: 860px; display: flex; align-items: center; color: var(--qh-on-dark); padding: var(--qh-space-8) 0; }
.qh-hero-content > div { width: min(640px, 100%); }
.qh-hero-content p { font-family: var(--qh-font-display); font-size: clamp(30px, 4vw, 50px); line-height: 1.14; font-weight: 600; margin: 0 0 32px; max-width: 640px; }
.qh-hero-dots { position: absolute; z-index: 3; right: var(--qh-space-6); bottom: var(--qh-space-6); display: flex; gap: 8px; }
.qh-hero-dots button { width: 30px; height: 3px; border: 0; background: rgba(242,240,234,0.38); padding: 0; cursor: pointer; }
.qh-hero-dots button.is-active { background: var(--qh-amber); }

/* -------------------------------------------------------------------
   9. PROOF STRIP (stat band under hero)
   ------------------------------------------------------------------- */
.qh-proof-strip { background: var(--qh-graphite); border-top: 1px solid var(--qh-line-dark); }
.qh-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.qh-proof-grid article { padding: 26px 30px; border-right: 1px solid var(--qh-line-dark); }
.qh-proof-grid article:last-child { border-right: 0; }
.qh-proof-grid strong { display: block; font-family: var(--qh-font-mono); font-size: 22px; color: var(--qh-on-dark); letter-spacing: 0.01em; }
.qh-proof-grid span { display: block; color: var(--qh-on-dark-soft); margin-top: 6px; font-size: 13px; }

/* -------------------------------------------------------------------
   10. CATEGORY GRID (home series cards)
   ------------------------------------------------------------------- */
.qh-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--qh-space-5); }
.qh-category-card { background: var(--qh-white); border: 1px solid var(--qh-line); transition: box-shadow .2s ease, transform .2s ease; }
.qh-category-card:hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(27,29,31,0.12); }
.qh-category-card a { display: flex; flex-direction: column; height: 100%; }
.qh-category-card img { height: 230px; width: 100%; object-fit: cover; }
.qh-category-card div { padding: var(--qh-space-4) var(--qh-space-4) var(--qh-space-5); }
.qh-category-card span { font-family: var(--qh-font-mono); font-weight: 700; color: var(--qh-amber-deep); font-size: 13px; }
.qh-category-card h3 { font-size: 19px; margin: 10px 0 14px; line-height: 1.25; }
.qh-category-card strong { font-family: var(--qh-font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

/* -------------------------------------------------------------------
   11. PROCESS SECTION — "How We Work" (fix: was completely unstyled)
   ------------------------------------------------------------------- */
.qh-process { background: var(--qh-paper); }
.qh-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--qh-line); border: 1px solid var(--qh-line); }
.qh-process-card { background: var(--qh-white); padding: var(--qh-space-6) var(--qh-space-5); position: relative; }
.qh-process-no {
  display: block; font-family: var(--qh-font-mono); font-size: 13px; font-weight: 700; color: var(--qh-on-dark);
  background: var(--qh-graphite); width: 34px; height: 34px; line-height: 34px; text-align: center; margin-bottom: var(--qh-space-5);
}
.qh-process-card:nth-child(odd) .qh-process-no { background: var(--qh-amber-deep); }
.qh-process-icon { display: block; width: 26px; height: 26px; color: var(--qh-amber-deep); margin-bottom: var(--qh-space-3); }
.qh-process-card h3 { font-size: 18px; margin-bottom: 8px; }
.qh-process-card p { color: var(--qh-ink-soft); font-size: 14.5px; line-height: 1.55; margin: 0; }

/* -------------------------------------------------------------------
   12. CERT / PROCESS-CHECKS SECTION (fix: was completely unstyled)
   ------------------------------------------------------------------- */
.qh-cert { background: var(--qh-graphite); }
.qh-cert .qh-eyebrow, .qh-cert .qh-kicker { color: var(--qh-amber); }
.qh-cert .qh-section-heading h2 { color: var(--qh-on-dark); }
.qh-cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--qh-line-dark); border: 1px solid var(--qh-line-dark); }
.qh-cert-item { background: var(--qh-graphite-soft); display: flex; align-items: center; gap: 14px; padding: 22px 24px; }
.qh-cert-item svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--qh-amber); }
.qh-cert-item span { color: var(--qh-on-dark); font-size: 15px; font-weight: 500; }

/* -------------------------------------------------------------------
   13. PRODUCT GRID / CARDS (fix: actions row was clipped by overflow)
   ------------------------------------------------------------------- */
.qh-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--qh-space-5); align-items: stretch; }
.qh-product-card {
  background: var(--qh-white); border: 1px solid var(--qh-line);
  display: flex; flex-direction: column; height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
  /* NOTE: no overflow:hidden / fixed height here — that was clipping the
     action buttons off earlier versions of this card. Height is intrinsic. */
}
.qh-product-card:hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(27,29,31,0.12); }
.qh-product-media { background: var(--qh-concrete); display: block; }
.qh-product-media img { width: 100%; height: 220px; object-fit: contain; padding: var(--qh-space-3); }
.qh-product-card-body { padding: var(--qh-space-4) var(--qh-space-4) var(--qh-space-4); display: flex; flex-direction: column; flex: 1; }
.qh-product-category { font-family: var(--qh-font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--qh-amber-deep); }
.qh-product-card-body h3 { font-size: 17px; margin: 8px 0 8px; line-height: 1.28; }
.qh-product-card-body p { color: var(--qh-ink-soft); font-size: 14px; line-height: 1.55; margin: 0 0 14px; flex: 1; }
.qh-product-card-body small { display: block; color: var(--qh-amber-deep); font-size: 12px; margin-bottom: 10px; }
.qh-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; font-family: var(--qh-font-mono); }
.qh-card-actions a {
  display: grid; place-items: center; min-height: 42px; border: 1px solid var(--qh-graphite);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; text-align: center; padding: 0 4px;
}
.qh-card-actions a:last-child { background: var(--qh-graphite); color: var(--qh-white); }
.qh-card-actions a:first-child:hover { background: var(--qh-concrete); }
.qh-card-actions a:last-child:hover { background: var(--qh-amber-deep); border-color: var(--qh-amber-deep); }
.qh-empty-state { grid-column: 1 / -1; text-align: center; color: var(--qh-ink-soft); padding: var(--qh-space-7) 0; }

/* -------------------------------------------------------------------
   14. CASE GRID / CARDS  +  ARTICLE GRID / CARDS
   ------------------------------------------------------------------- */
.qh-case-grid, .qh-article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--qh-space-5); }
.qh-case-grid-large { grid-template-columns: repeat(3, 1fr); }
.qh-case-card, .qh-article-card { background: var(--qh-white); border: 1px solid var(--qh-line); transition: box-shadow .2s ease, transform .2s ease; }
.qh-case-card:hover, .qh-article-card:hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(27,29,31,0.12); }
.qh-case-card a, .qh-article-card a { display: flex; flex-direction: column; height: 100%; }
.qh-case-card img, .qh-article-card img { height: 230px; width: 100%; object-fit: cover; }
.qh-case-card div, .qh-article-card div { padding: var(--qh-space-4) var(--qh-space-4) var(--qh-space-5); display: flex; flex-direction: column; flex: 1; }
.qh-case-card span, .qh-article-card span { font-family: var(--qh-font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--qh-amber-deep); }
.qh-case-card h3, .qh-article-card h3 { font-size: 18px; margin: 9px 0 10px; line-height: 1.28; }
.qh-case-card p, .qh-article-card p { color: var(--qh-ink-soft); font-size: 14px; line-height: 1.55; margin: 0 0 14px; flex: 1; }
.qh-case-card strong, .qh-article-card strong { font-family: var(--qh-font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }

/* -------------------------------------------------------------------
   15. CTA BAND
   ------------------------------------------------------------------- */
.qh-cta-band { background: var(--qh-graphite); color: var(--qh-on-dark); padding: var(--qh-space-7) 0; border-top: 4px solid var(--qh-amber); }
.qh-cta-band .qh-shell { display: flex; justify-content: space-between; align-items: center; gap: var(--qh-space-6); flex-wrap: wrap; }
.qh-cta-band h2 { font-size: clamp(24px, 2.6vw, 32px); color: var(--qh-on-dark); margin: 0; }
.qh-cta-band .qh-kicker { color: var(--qh-amber); margin-bottom: 8px; }

/* -------------------------------------------------------------------
   16. FOOTER
   ------------------------------------------------------------------- */
.qh-footer { background: var(--qh-graphite); color: var(--qh-on-dark-soft); padding: var(--qh-space-8) 0 var(--qh-space-5); }
.qh-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: var(--qh-space-6); }
/* Footer logo: brand lockup is blue-on-transparent. On the dark footer it was
   placed on a white box (looked like a sticker). Whiten the artwork with a
   filter so it reads cleanly on the graphite footer — no background plate. */
.qh-footer-logo { width: 168px; height: auto; margin-bottom: var(--qh-space-4); filter: brightness(0) invert(1); opacity: 0.92; }
.qh-footer-brand p { font-size: 14px; line-height: 1.6; max-width: 320px; margin: 0 0 var(--qh-space-4); }
.qh-footer-social { display: flex; gap: 10px; }
.qh-footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--qh-line-dark); }
.qh-footer-social a:hover { border-color: var(--qh-amber); color: var(--qh-amber); }
.qh-footer-social svg, .qh-footer-social img { width: 16px; height: 16px; }
.qh-footer h3 { color: var(--qh-on-dark); font-family: var(--qh-font-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 var(--qh-space-4); }
.qh-footer a { display: flex; align-items: center; gap: 8px; color: var(--qh-on-dark-soft); margin: 0 0 12px; font-size: 14.5px; }
.qh-footer a:hover { color: var(--qh-amber); }
.qh-footer a svg { width: 15px; height: 15px; flex: 0 0 auto; }
.qh-footer-inquiry { display: inline-flex; border: 1px solid var(--qh-line-dark); padding: 10px 16px; margin-top: 6px; color: var(--qh-on-dark) !important; }
.qh-footer-inquiry:hover { border-color: var(--qh-amber); }
.qh-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--qh-line-dark); margin-top: var(--qh-space-7); padding-top: var(--qh-space-4); color: var(--qh-on-dark-soft); font-size: 12.5px; font-family: var(--qh-font-mono); }

/* -------------------------------------------------------------------
   17. FLOATING CONTACT RAIL + MOBILE ACTION BAR
   ------------------------------------------------------------------- */
.qh-floating-actions {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 35;
  background: var(--qh-graphite); display: flex; flex-direction: column; box-shadow: -6px 0 24px rgba(0,0,0,0.18);
}
.qh-floating-actions a, .qh-floating-actions button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 76px; min-height: 64px; border: 0; border-bottom: 1px solid var(--qh-line-dark);
  background: transparent; color: var(--qh-on-dark-soft); font-size: 11px; font-weight: 600; cursor: pointer; text-align: center;
}
.qh-floating-actions a svg, .qh-floating-actions button svg { width: 18px; height: 18px; }
.qh-floating-actions a:hover, .qh-floating-actions button:hover { background: var(--qh-amber-deep); color: var(--qh-white); }
.qh-mobile-actions { display: none; }

/* -------------------------------------------------------------------
   18. SEARCH DRAWER + TOAST + LIGHTBOX
   ------------------------------------------------------------------- */
.qh-search-drawer { position: fixed; inset: 0; background: rgba(27,29,31,0.5); z-index: 80; display: none; justify-content: center; align-items: flex-start; padding-top: 110px; }
.qh-search-drawer.is-open { display: flex; }
.qh-search-box { width: min(640px, calc(100% - 32px)); background: var(--qh-white); padding: var(--qh-space-5); box-shadow: 0 30px 80px rgba(0,0,0,0.3); }
.qh-search-box > div:first-child { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.qh-search-box > div:first-child strong { display: flex; align-items: center; gap: 8px; }
.qh-search-box button[data-search-close] { border: 0; background: var(--qh-concrete); padding: 8px 14px; cursor: pointer; font-family: var(--qh-font-mono); font-size: 12px; text-transform: uppercase; }
.qh-search-box input { width: 100%; height: 52px; border: 0; border-bottom: 2px solid var(--qh-graphite); margin: var(--qh-space-4) 0; padding: 0; font-size: 18px; }
.qh-search-box input:focus { outline: none; border-color: var(--qh-amber); }
.qh-search-results { max-height: 320px; overflow-y: auto; }
.qh-search-results a { display: grid; grid-template-columns: 86px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--qh-line); }
.qh-search-results img { width: 86px; height: 64px; object-fit: cover; }
.qh-search-results strong { font-size: 14.5px; }
.qh-search-results small { display: block; color: var(--qh-ink-soft); margin-top: 3px; }
.qh-toast { position: fixed; right: 24px; bottom: 24px; background: var(--qh-graphite); color: var(--qh-white); padding: 16px 22px; z-index: 100; opacity: 0; transform: translateY(10px); transition: .22s; font-size: 14px; }
.qh-toast.is-visible { opacity: 1; transform: none; }
.qh-toast.is-error { background: #7A2A1F; }
.qh-lightbox { position: fixed; inset: 0; background: rgba(10,10,10,0.92); z-index: 90; display: none; align-items: center; justify-content: center; padding: 40px; }
.qh-lightbox.is-open { display: flex; }
.qh-lightbox figure { margin: 0; max-width: 1100px; max-height: 88vh; }
.qh-lightbox img { max-height: 80vh; width: auto; margin: 0 auto; }
.qh-lightbox figcaption { color: var(--qh-on-dark-soft); text-align: center; margin-top: 14px; font-size: 14px; }
.qh-lightbox button { position: absolute; top: 24px; right: 32px; background: transparent; border: 1px solid var(--qh-line-dark); color: var(--qh-on-dark); padding: 10px 16px; cursor: pointer; font-family: var(--qh-font-mono); text-transform: uppercase; font-size: 12px; }
body.qh-lock-scroll,
body.qh-menu-open { overflow: hidden; }

/* -------------------------------------------------------------------
   19. PAGE HERO (category/about/contact/cases/knowledge/download banner)
   ------------------------------------------------------------------- */
.qh-page-hero { padding: var(--qh-space-8) 0 var(--qh-space-7); background: var(--qh-graphite); color: var(--qh-on-dark); }
.qh-page-hero .qh-shell { display: grid; grid-template-columns: 1fr 420px; gap: var(--qh-space-6); align-items: end; }
.qh-page-hero h1 { font-size: clamp(34px, 4.4vw, 54px); margin: 0; color: var(--qh-on-dark); line-height: 1.06; }
.qh-page-hero p { color: var(--qh-on-dark-soft); font-size: 17px; line-height: 1.6; margin: 0; }
.qh-page-hero .qh-kicker { color: var(--qh-amber); }

/* -------------------------------------------------------------------
   20. PRODUCTS LISTING PAGE (sidebar filters + results)
   ------------------------------------------------------------------- */
.qh-products-section { padding-top: var(--qh-space-7); }
.qh-products-layout { display: grid; grid-template-columns: 270px 1fr; gap: var(--qh-space-6); align-items: start; }
.qh-product-sidebar { position: sticky; top: calc(var(--qh-header-h) + 16px); align-self: start; background: var(--qh-white); border: 1px solid var(--qh-line); padding: var(--qh-space-4); }
.qh-product-search-wrap input { width: 100%; height: 46px; border: 1px solid var(--qh-line); padding: 0 14px; margin-bottom: var(--qh-space-4); font-size: 14px; }
.qh-product-search-wrap input:focus { outline: none; border-color: var(--qh-amber); }
.qh-filter-list { display: grid; gap: 6px; }
.qh-filter-list button { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--qh-line); background: var(--qh-white); text-align: left; padding: 13px 14px; cursor: pointer; font-weight: 600; font-size: 14px; }
.qh-filter-list button:hover { border-color: var(--qh-amber-deep); }
.qh-filter-list button.is-active { background: var(--qh-graphite); color: var(--qh-white); border-color: var(--qh-graphite); }
.qh-filter-list button small { font-family: var(--qh-font-mono); color: inherit; opacity: .65; }
.qh-product-results-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--qh-space-4); margin-bottom: var(--qh-space-5); flex-wrap: wrap; }
.qh-product-results-head strong { font-family: var(--qh-font-mono); font-size: 15px; }
.qh-product-results-head span { color: var(--qh-ink-soft); font-size: 13.5px; }
.qh-pagination { display: flex; gap: 8px; justify-content: center; margin-top: var(--qh-space-6); font-family: var(--qh-font-mono); }
.qh-pagination button { width: 38px; height: 38px; border: 1px solid var(--qh-line); background: var(--qh-white); cursor: pointer; }
.qh-pagination button.is-active { background: var(--qh-graphite); color: var(--qh-white); border-color: var(--qh-graphite); }

/* -------------------------------------------------------------------
   21. PRODUCT DETAIL PAGE
   ------------------------------------------------------------------- */
.qh-detail-wrap { padding-top: var(--qh-space-6); }
.qh-breadcrumb { font-family: var(--qh-font-mono); font-size: 12.5px; color: var(--qh-ink-soft); margin-bottom: var(--qh-space-5); }
.qh-breadcrumb a:hover { color: var(--qh-amber-deep); }
.qh-detail-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--qh-space-7); align-items: start; }
.qh-detail-main { background: var(--qh-concrete); border: 1px solid var(--qh-line); padding: 0; width: 100%; cursor: zoom-in; }
.qh-detail-main img { width: 100%; height: 540px; object-fit: contain; padding: var(--qh-space-4); }
.qh-detail-copy h1 { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 var(--qh-space-3); }
.qh-detail-copy > p { color: var(--qh-ink-soft); font-size: 17px; line-height: 1.6; margin-bottom: var(--qh-space-5); }
.qh-detail-copy dl { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--qh-line); border-left: 1px solid var(--qh-line); margin-bottom: var(--qh-space-5); }
.qh-detail-copy dl > div { padding: 14px 16px; border-right: 1px solid var(--qh-line); border-bottom: 1px solid var(--qh-line); }
.qh-detail-copy dt { font-family: var(--qh-font-mono); font-size: 11px; color: var(--qh-ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.qh-detail-copy dd { margin: 5px 0 0; font-weight: 600; font-size: 14.5px; }
.qh-review-box { background: #FBF1E2; border: 1px solid #E9C994; color: #7A4E14; padding: 14px 16px; margin-bottom: var(--qh-space-5); font-size: 13.5px; }
.qh-detail-section { margin-top: var(--qh-space-7); border-top: 1px solid var(--qh-line); padding-top: var(--qh-space-6); }
.qh-detail-section h2 { font-size: 26px; margin-bottom: var(--qh-space-4); }
.qh-feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--qh-space-3); list-style: none; }
.qh-feature-list li { border: 1px solid var(--qh-line); padding: 16px 18px; background: var(--qh-white); font-size: 14.5px; }

/* -------------------------------------------------------------------
   22. ABOUT / COMPANY PROFILE PAGE
   ------------------------------------------------------------------- */
.qh-about-intro { padding: var(--qh-space-8) 0; background: var(--qh-paper); }
.qh-about-intro-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: var(--qh-space-7); align-items: center; }
.qh-about-intro-grid h1 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: var(--qh-space-4); }
.qh-about-intro-grid p { color: var(--qh-ink-soft); font-size: 16.5px; line-height: 1.65; margin-bottom: 14px; }
.qh-about-intro-grid figure { margin: 0; }
.qh-about-intro-grid figure img { width: 100%; height: 420px; object-fit: cover; }
.qh-fact-band { background: var(--qh-graphite); }
.qh-fact-band .qh-shell { display: grid; grid-template-columns: repeat(4, 1fr); }
.qh-fact-band article { padding: var(--qh-space-6) var(--qh-space-5); border-right: 1px solid var(--qh-line-dark); text-align: center; }
.qh-fact-band article:last-child { border-right: 0; }
.qh-fact-band strong { display: block; font-family: var(--qh-font-mono); font-size: 30px; color: var(--qh-amber); }
.qh-fact-band span { display: block; color: var(--qh-on-dark-soft); margin-top: 8px; font-size: 13.5px; letter-spacing: 0.02em; }
.qh-about-image-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--qh-space-4); }
.qh-about-image-grid figure { margin: 0; background: var(--qh-white); border: 1px solid var(--qh-line); }
.qh-about-image-grid img { width: 100%; height: 230px; object-fit: cover; }
.qh-about-image-grid figcaption { padding: var(--qh-space-3) var(--qh-space-4) var(--qh-space-4); }
.qh-about-image-grid figcaption strong { display: block; font-size: 15px; }
.qh-about-image-grid figcaption span { display: block; color: var(--qh-ink-soft); font-size: 13px; margin-top: 4px; }
.qh-copy-grid { display: grid; grid-template-columns: 380px 1fr; gap: var(--qh-space-7); }
.qh-copy-grid h2 { font-size: clamp(24px, 3vw, 36px); margin: 0; }
.qh-copy-grid p { font-size: 17px; color: var(--qh-ink-soft); line-height: 1.65; margin: 0; }

/* -------------------------------------------------------------------
   22b. HOME / ABOUT — FACTORY STRENGTH · PRODUCTION FLOW · SHOWROOMS ·
        CUSTOMERS · EXPORT ASSURANCE · ROADMAP
   ------------------------------------------------------------------- */
.qh-fact-band-inline { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 var(--qh-space-6); border: 1px solid var(--qh-line-dark); }
.qh-factory-strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--qh-space-4); }
.qh-factory-strength-grid figure { margin: 0; background: var(--qh-white); border: 1px solid var(--qh-line); }
.qh-factory-strength-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.qh-factory-strength-grid figcaption { padding: 11px 16px; font-size: 13px; color: var(--qh-ink-soft); font-family: var(--qh-font-mono); }

.qh-prodflow-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--qh-line); border: 1px solid var(--qh-line); }
.qh-prodflow-step { background: var(--qh-white); display: flex; flex-direction: column; }
.qh-prodflow-media { position: relative; }
.qh-prodflow-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.qh-prodflow-no { position: absolute; top: 0; left: 0; background: var(--qh-amber-deep); color: var(--qh-white); font-family: var(--qh-font-mono); font-weight: 700; font-size: 12px; padding: 4px 9px; }
.qh-prodflow-step h3 { font-size: 13.5px; line-height: 1.3; margin: 0; padding: 11px 12px 15px; }

.qh-showroom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--qh-space-5); }
.qh-showroom-card { margin: 0; background: var(--qh-white); border: 1px solid var(--qh-line); }
.qh-showroom-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.qh-showroom-card figcaption { padding: var(--qh-space-4) var(--qh-space-5); }
.qh-showroom-card strong { display: block; font-size: 18px; }
.qh-showroom-card span { display: block; color: var(--qh-ink-soft); font-size: 14px; margin-top: 6px; }

.qh-customer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--qh-space-4); }
.qh-customer-card { display: flex; align-items: center; gap: 12px; background: var(--qh-white); border: 1px solid var(--qh-line); padding: var(--qh-space-4) var(--qh-space-5); font-size: 15px; font-weight: 600; }
.qh-customer-card svg { width: 22px; height: 22px; color: var(--qh-amber-deep); flex: 0 0 auto; }

.qh-assurance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--qh-space-4); }
.qh-assurance-card { background: var(--qh-white); border: 1px solid var(--qh-line); padding: var(--qh-space-5) var(--qh-space-6); }
.qh-assurance-card svg { width: 26px; height: 26px; color: var(--qh-amber-deep); margin-bottom: 12px; }
.qh-assurance-card h3 { font-size: 17px; margin: 0 0 8px; }
.qh-assurance-card p { color: var(--qh-ink-soft); font-size: 14.5px; line-height: 1.6; margin: 0; }

.qh-future-panel { background: var(--qh-graphite); color: var(--qh-on-dark); padding: var(--qh-space-7); border-left: 4px solid var(--qh-amber); }
.qh-future-panel .qh-kicker { color: var(--qh-amber); }
.qh-future-panel h2 { color: var(--qh-on-dark); font-size: clamp(22px, 2.6vw, 30px); margin: 8px 0 14px; }
.qh-future-panel p { color: var(--qh-on-dark-soft); font-size: 16px; line-height: 1.7; margin: 0; max-width: 900px; }

/* -------------------------------------------------------------------
   23. CASE LIST / CASE DETAIL  +  KNOWLEDGE LIST / ARTICLE DETAIL
   ------------------------------------------------------------------- */
.qh-article-hero { max-width: 860px; margin: 0 auto var(--qh-space-6); text-align: center; }
.qh-article-hero h1 { font-size: clamp(28px, 3.6vw, 44px); margin: var(--qh-space-2) 0 var(--qh-space-3); }
.qh-article-hero p { color: var(--qh-ink-soft); font-size: 17px; }
.qh-wide-image { margin: 0 0 var(--qh-space-7); background: var(--qh-concrete); }
.qh-wide-image img { width: 100%; max-height: 520px; object-fit: cover; }
/* Case-detail main image must show the full product/scene, not a cover-crop.
   Contain on the concrete plate keeps the whole image visible (fix crop bug). */
.qh-case-hero-image { display: grid; place-items: center; }
.qh-case-hero-image img { width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.qh-case-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--qh-space-5); margin-bottom: var(--qh-space-7); }
.qh-case-detail-grid section { border: 1px solid var(--qh-line); background: var(--qh-white); padding: var(--qh-space-5); }
.qh-case-detail-grid h2 { font-size: 20px; margin-bottom: 10px; }
.qh-case-detail-grid p { color: var(--qh-ink-soft); font-size: 15px; line-height: 1.6; }
.qh-solution-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--qh-space-3); }
.qh-solution-gallery figure { margin: 0; background: var(--qh-concrete); }
.qh-solution-gallery img { width: 100%; height: 200px; object-fit: cover; }
.qh-prose { max-width: 820px; margin: 0 auto; }
.qh-prose section { margin-bottom: var(--qh-space-6); }
.qh-prose h2 { font-size: 24px; margin-bottom: 12px; }
.qh-prose p { font-size: 17px; color: var(--qh-ink-soft); line-height: 1.75; }
.qh-guide-cta { background: var(--qh-graphite); color: var(--qh-on-dark); padding: var(--qh-space-6); margin-top: var(--qh-space-7); border-top: 4px solid var(--qh-amber); }
.qh-guide-cta h2 { color: var(--qh-on-dark); font-size: 24px; margin-bottom: 10px; }
.qh-guide-cta p { color: var(--qh-on-dark-soft); margin-bottom: var(--qh-space-5); font-size: 15.5px; }

/* -------------------------------------------------------------------
   24. DOWNLOAD PAGE
   ------------------------------------------------------------------- */
.qh-download-panel { display: flex; justify-content: space-between; align-items: center; gap: var(--qh-space-6); background: var(--qh-concrete); border: 1px solid var(--qh-line); padding: var(--qh-space-6); margin-bottom: var(--qh-space-7); flex-wrap: wrap; }
.qh-download-panel h2 { font-size: 24px; margin: 6px 0 10px; }
.qh-download-panel p { color: var(--qh-ink-soft); font-size: 15px; max-width: 540px; }
.qh-download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--qh-space-5); }
.qh-download-card { background: var(--qh-white); border: 1px solid var(--qh-line); padding: var(--qh-space-5); }
.qh-download-card h3 { font-size: 18px; margin-bottom: 8px; }
.qh-download-card p { color: var(--qh-ink-soft); font-size: 14.5px; margin-bottom: var(--qh-space-4); }

/* -------------------------------------------------------------------
   25. CONTACT PAGE
   ------------------------------------------------------------------- */
/* Photo is 16:9. It used to sit in a 1:1 cell forced to 480px tall, so cover
   cropped the table ends off (desktop crop bug). Give the photo a wider column
   and a 16:10 aspect box so almost the whole meeting room stays visible. */
.qh-contact-showcase { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: stretch; }
.qh-contact-image { margin: 0; background: var(--qh-concrete); }
.qh-contact-image img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; display: block; }
.qh-contact-side { background: var(--qh-graphite); color: var(--qh-on-dark); padding: var(--qh-space-7) var(--qh-space-7); display: flex; flex-direction: column; justify-content: center; }
.qh-contact-side h1 { color: var(--qh-on-dark); font-size: clamp(28px, 3.4vw, 42px); margin-bottom: var(--qh-space-4); }
.qh-contact-side > p { color: var(--qh-on-dark-soft); font-size: 16.5px; line-height: 1.65; margin-bottom: var(--qh-space-6); }
.qh-contact-methods { display: flex; gap: var(--qh-space-5); flex-wrap: wrap; }
.qh-contact-methods article { display: flex; gap: 12px; }
.qh-contact-methods svg { width: 22px; height: 22px; color: var(--qh-amber); flex: 0 0 auto; margin-top: 2px; }
.qh-contact-methods strong { display: block; color: var(--qh-on-dark); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; font-family: var(--qh-font-mono); margin-bottom: 6px; }
.qh-contact-methods a { display: block; color: var(--qh-on-dark-soft); margin-bottom: 4px; font-size: 14.5px; }
.qh-contact-methods a:hover { color: var(--qh-amber); }
.qh-contact-main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--qh-space-7); align-items: start; }
.qh-contact-brand-note h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: var(--qh-space-4); }
.qh-contact-brand-note p { color: var(--qh-ink-soft); font-size: 16px; line-height: 1.65; margin-bottom: var(--qh-space-5); }
.qh-contact-checklist { list-style: none; display: grid; gap: 10px; }
.qh-contact-checklist li { padding-left: 26px; position: relative; font-size: 15px; color: var(--qh-ink); }
.qh-contact-checklist li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; background: var(--qh-amber); }
.qh-inquiry-form { background: var(--qh-white); border: 1px solid var(--qh-line); padding: var(--qh-space-6); box-shadow: 0 26px 70px rgba(27,29,31,0.08); }
.qh-inquiry-form h2 { font-size: 22px; margin-bottom: var(--qh-space-5); }
.qh-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qh-inquiry-form label { display: block; margin-bottom: var(--qh-space-4); }
.qh-inquiry-form label > span { display: block; font-family: var(--qh-font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; color: var(--qh-ink-soft); margin-bottom: 7px; }
.qh-inquiry-form input, .qh-inquiry-form select, .qh-inquiry-form textarea { width: 100%; border: 0; border-bottom: 1.5px solid var(--qh-line); padding: 11px 2px; background: transparent; font-size: 15px; }
.qh-inquiry-form input:focus, .qh-inquiry-form select:focus, .qh-inquiry-form textarea:focus { outline: none; border-color: var(--qh-amber); }
.qh-inquiry-form button { width: 100%; margin-top: 6px; }

/* -------------------------------------------------------------------
   26. THANK-YOU PAGE
   ------------------------------------------------------------------- */
.qh-thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: var(--qh-space-8) 0; background: var(--qh-paper); }
.qh-thanks img { width: min(560px, 100%); height: 280px; object-fit: cover; margin: 0 auto var(--qh-space-6); }
.qh-thanks h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: var(--qh-space-3); }
.qh-thanks p { color: var(--qh-ink-soft); font-size: 16.5px; max-width: 520px; margin: 0 auto var(--qh-space-6); }

/* -------------------------------------------------------------------
   27. RTL (Arabic) OVERRIDES
   ------------------------------------------------------------------- */
[dir="rtl"] .qh-mega-menu { left: 50%; }
[dir="rtl"] .qh-topbar-links { flex-direction: row-reverse; }
[dir="rtl"] .qh-lang-menu { right: auto; left: 0; }
[dir="rtl"] .qh-floating-actions { right: auto; left: 0; box-shadow: 6px 0 24px rgba(0,0,0,0.18); }
[dir="rtl"] .qh-process-no { margin-left: 0; }
[dir="rtl"] .qh-contact-checklist li { padding-left: 0; padding-right: 26px; }
[dir="rtl"] .qh-contact-checklist li::before { left: auto; right: 0; }
[dir="rtl"] .qh-eyebrow::before, [dir="rtl"] .qh-kicker::before { order: 2; }

/* -------------------------------------------------------------------
   28. RESPONSIVE — TABLET (≤1080px)
   ------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .qh-nav { display: none; }
  .qh-nav.is-open {
    display: flex; position: fixed; top: var(--qh-header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; justify-content: flex-start; align-items: stretch;
    background: var(--qh-paper); padding: var(--qh-space-5); gap: 0; z-index: 39; overflow-y: auto;
  }
  .qh-nav.is-open > a, .qh-nav.is-open .qh-nav-group { border-bottom: 1px solid var(--qh-line); }
  .qh-nav.is-open > a, .qh-nav.is-open .qh-nav-group > a { padding: 18px 4px; width: 100%; }
  .qh-nav.is-open .qh-nav-group { flex-direction: column; align-items: stretch; }
  .qh-nav.is-open .qh-nav-group > button { display: none; }
  .qh-nav.is-open .qh-mega-menu { position: static; transform: none; opacity: 1; visibility: visible; width: 100%; max-width: none; box-shadow: none; border: 0; padding: 0 0 12px; display: block; }
  .qh-nav.is-open .qh-mega-menu > div:first-child { display: none; }
  .qh-menu-toggle { display: block; }
  .qh-category-grid, .qh-product-grid { grid-template-columns: repeat(2, 1fr); }
  .qh-case-grid, .qh-article-grid, .qh-case-grid-large, .qh-download-grid { grid-template-columns: repeat(2, 1fr); }
  .qh-process-grid { grid-template-columns: repeat(2, 1fr); }
  .qh-cert-grid { grid-template-columns: repeat(2, 1fr); }
  .qh-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .qh-fact-band .qh-shell, .qh-fact-band-inline { grid-template-columns: repeat(2, 1fr); }
  .qh-about-image-grid, .qh-solution-gallery, .qh-feature-list { grid-template-columns: repeat(2, 1fr); }
  .qh-page-hero .qh-shell, .qh-detail-grid, .qh-about-intro-grid, .qh-copy-grid, .qh-contact-main-grid, .qh-form-grid { grid-template-columns: 1fr; }
  .qh-page-hero .qh-shell { align-items: start; }
  .qh-products-layout { grid-template-columns: 1fr; }
  .qh-product-sidebar { position: static; }
  .qh-contact-showcase { grid-template-columns: 1fr; }
  .qh-contact-image img { aspect-ratio: 16 / 9; height: auto; }
  .qh-prodflow-grid { grid-template-columns: repeat(4, 1fr); }
  .qh-customer-grid { grid-template-columns: repeat(2, 1fr); }
  .qh-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* -------------------------------------------------------------------
   29. RESPONSIVE — MOBILE (≤640px)
   ------------------------------------------------------------------- */
@media (max-width: 640px) {
  :root { --qh-header-h: 64px; }
  .qh-shell { width: calc(100% - 32px); }
  /* Topbar: keep email only, drop the long right-hand label so it never wraps */
  .qh-topbar-inner { justify-content: flex-start; }
  .qh-topbar-inner > span { display: none; }
  .qh-topbar-links { gap: 16px; }
  .qh-topbar a { font-size: 11px; }
  .qh-header-inner { height: 64px; gap: 12px; }
  .qh-brand { flex: 1; }
  .qh-brand img { height: 28px; }

  /* Mobile slide-down nav (was hidden with no way to open it) */
  .qh-nav.is-open {
    display: flex; position: fixed; top: var(--qh-header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; justify-content: flex-start; align-items: stretch;
    background: var(--qh-paper); padding: var(--qh-space-4); gap: 0; z-index: 39; overflow-y: auto;
  }
  .qh-nav.is-open > a, .qh-nav.is-open .qh-nav-group { border-bottom: 1px solid var(--qh-line); }
  .qh-nav.is-open > a, .qh-nav.is-open .qh-nav-group > a { padding: 18px 4px; width: 100%; }
  .qh-nav.is-open .qh-nav-group { flex-direction: column; align-items: stretch; }
  .qh-nav.is-open .qh-nav-group > button { display: none; }
  .qh-nav.is-open .qh-mega-menu { position: static; transform: none; opacity: 1; visibility: visible; width: 100%; max-width: none; box-shadow: none; border: 0; padding: 0 0 12px; display: block; }
  .qh-nav.is-open .qh-mega-menu > div:first-child { display: none; }
  .qh-nav.is-open .qh-mega-links { gap: 6px; }
  .qh-section { padding: var(--qh-space-7) 0; }
  .qh-section-heading { flex-direction: column; align-items: flex-start; gap: var(--qh-space-3); }
  .qh-hero { min-height: 86vh; }
  .qh-hero-content { min-height: 86vh; padding: var(--qh-space-7) 0 var(--qh-space-8); align-items: flex-start; }
  .qh-hero-content p { font-size: 30px; }
  .qh-category-grid, .qh-product-grid, .qh-case-grid, .qh-article-grid, .qh-case-grid-large, .qh-download-grid,
  .qh-process-grid, .qh-cert-grid, .qh-proof-grid, .qh-about-image-grid, .qh-solution-gallery, .qh-feature-list,
  .qh-factory-strength-grid, .qh-showroom-grid, .qh-assurance-grid, .qh-customer-grid {
    grid-template-columns: 1fr;
  }
  .qh-prodflow-grid { grid-template-columns: repeat(2, 1fr); }
  .qh-fact-band .qh-shell, .qh-fact-band-inline { grid-template-columns: repeat(2, 1fr); }
  .qh-fact-band article { border-bottom: 1px solid var(--qh-line-dark); }
  .qh-proof-grid article { border-right: 0; border-bottom: 1px solid var(--qh-line-dark); }
  .qh-footer-grid { grid-template-columns: 1fr; gap: var(--qh-space-6); }
  .qh-cta-band .qh-shell { flex-direction: column; align-items: flex-start; }
  .qh-floating-actions { display: none; }
  .qh-mobile-actions {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--qh-graphite); border-top: 1px solid var(--qh-line-dark);
  }
  .qh-mobile-actions a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    color: var(--qh-on-dark); padding: 16px 0; font-size: 13px; font-weight: 600;
  }
  .qh-mobile-actions a:first-child { border-right: 1px solid var(--qh-line-dark); }
  .qh-mobile-actions svg { width: 16px; height: 16px; }
  body { padding-bottom: 58px; }
  .qh-detail-grid { gap: var(--qh-space-5); }
  .qh-detail-main img { height: 320px; }
  .qh-case-detail-grid { grid-template-columns: 1fr; }
  .qh-contact-side { padding: var(--qh-space-7) var(--qh-space-4); }
  .qh-inquiry-form { padding: var(--qh-space-5); }
}

/* -------------------------------------------------------------------
   30. APPROVED VISUAL SYSTEM - B2B CONVERSION REFRESH
   ------------------------------------------------------------------- */
:root {
  --qh-graphite: #0d0e0e;
  --qh-graphite-soft: #181919;
  --qh-steel: #474a4c;
  --qh-steel-line: #585b5c;
  --qh-amber: #ef7200;
  --qh-amber-deep: #c95f00;
  --qh-concrete: #ecebe7;
  --qh-paper: #f7f6f2;
  --qh-ink: #101112;
  --qh-ink-soft: #5f6160;
  --qh-line: #deddd7;
  --qh-line-dark: #383a3a;
  --qh-on-dark: #ffffff;
  --qh-on-dark-soft: #c9c9c3;
  --qh-radius: 0;
  --qh-header-h: 76px;
  --qh-shell-width: 1340px;
}

body { background: var(--qh-paper); }
h1, h2, h3 { letter-spacing: 0; }
.qh-topbar { display: none; }

/* Global navigation */
.qh-header { background: rgba(13,14,14,0.97); border-bottom-color: rgba(255,255,255,0.13); backdrop-filter: blur(14px); }
.qh-header-inner { height: var(--qh-header-h); gap: 28px; }
.qh-brand { display: inline-flex; align-items: center; gap: 10px; }
.qh-brand img { width: 31px; height: 31px; object-fit: contain; filter: sepia(1) saturate(12) hue-rotate(345deg) brightness(1.1); }
.qh-brand span { color: var(--qh-on-dark); font-family: var(--qh-font-display); font-size: 25px; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.qh-nav { gap: 20px; }
.qh-nav > a, .qh-nav-group > a { color: var(--qh-on-dark); font-family: var(--qh-font-body); font-size: 13px; font-weight: 600; letter-spacing: 0; padding: 27px 0 25px; }
.qh-nav > a:hover, .qh-nav-group:hover > a, .qh-nav > a.is-active, .qh-nav-group.is-active > a { color: var(--qh-on-dark); border-bottom-color: var(--qh-amber); }
.qh-nav-group > button { color: var(--qh-on-dark); width: 20px; height: 20px; margin-left: -14px; }
.qh-nav-group > button svg { width: 14px; height: 14px; }
.qh-header-actions { gap: 14px; }
.qh-lang > button { height: 32px; padding: 0 0 0 14px; color: var(--qh-on-dark); background: transparent; border: 0; border-left: 1px solid rgba(255,255,255,0.28); border-radius: 0; }
.qh-lang > button svg:first-child { display: none; }
.qh-lang > button span { font-family: var(--qh-font-mono); font-size: 12px; text-transform: uppercase; }
.qh-lang-menu { border-color: var(--qh-line-dark); background: var(--qh-graphite); }
.qh-lang-menu button { color: var(--qh-on-dark-soft); }
.qh-lang-menu button:hover { background: #252626; color: var(--qh-on-dark); }
.qh-icon-search { color: var(--qh-on-dark); border-color: transparent; background: transparent; }
.qh-icon-search:hover { color: var(--qh-amber); background: transparent; }
.qh-mega-menu { border-color: var(--qh-line); box-shadow: 0 24px 64px rgba(0,0,0,.24); }
.qh-mega-links a { border-radius: 0; }

/* Shared actions and typography */
.qh-btn { min-height: 54px; padding: 0 24px; border-radius: 0; font-family: var(--qh-font-body); font-size: 14px; letter-spacing: 0; text-transform: none; }
.qh-btn-dark { background: var(--qh-amber); border-color: var(--qh-amber); color: var(--qh-white); }
.qh-btn-dark:hover { background: var(--qh-amber-deep); border-color: var(--qh-amber-deep); }
.qh-btn-outline:hover { background: var(--qh-graphite); }
.qh-kicker { font-size: 11px; letter-spacing: .11em; }
.qh-section { padding: 82px 0; }
.qh-section-heading h2 { font-size: clamp(32px, 3.1vw, 48px); }

/* Home hero and category entry points */
.qh-hero { min-height: min(820px, calc(100vh - var(--qh-header-h))); max-height: 820px; }
.qh-hero::after { background: linear-gradient(90deg, rgba(5,6,6,.83) 0%, rgba(5,6,6,.64) 34%, rgba(5,6,6,.18) 68%, rgba(5,6,6,.1) 100%); }
.qh-hero-content { min-height: min(820px, calc(100vh - var(--qh-header-h))); max-height: 820px; padding: 88px 0 126px; }
.qh-hero-content > div { width: min(720px, 100%); }
.qh-hero-eyebrow { display: block; color: var(--qh-amber); font-family: var(--qh-font-mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 17px; }
.qh-hero-title { color: var(--qh-on-dark); font-size: clamp(54px, 6vw, 94px); line-height: .99; max-width: 760px; margin: 0 0 24px; }
.qh-hero-content p { max-width: 510px; color: var(--qh-on-dark); font-family: var(--qh-font-body); font-size: clamp(18px, 1.55vw, 24px); font-weight: 400; line-height: 1.42; margin: 0 0 32px; }
.qh-hero .qh-btn-light { background: var(--qh-amber); border-color: var(--qh-amber); color: var(--qh-white); }
.qh-hero .qh-btn-light:hover { background: var(--qh-amber-deep); border-color: var(--qh-amber-deep); }
.qh-hero .qh-btn-outline-light { border-color: rgba(255,255,255,.78); color: var(--qh-on-dark); }
.qh-hero .qh-btn-outline-light:hover { background: var(--qh-on-dark); border-color: var(--qh-on-dark); color: var(--qh-graphite); }
.qh-hero-dots { right: 5vw; bottom: 32px; }
.qh-proof-strip { background: #111212; border-top-color: rgba(255,255,255,.18); }
.qh-proof-grid { width: min(1160px, calc(100% - 48px)); }
.qh-proof-grid article { padding: 21px 30px; }
.qh-proof-grid strong { color: var(--qh-on-dark); font-family: var(--qh-font-body); font-size: 15px; }
.qh-proof-grid span { color: var(--qh-on-dark-soft); font-size: 12px; }
.qh-home-series { padding: 30px 0 34px; background: var(--qh-paper); }
.qh-home-series .qh-section-heading { display: none; }
.qh-category-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.qh-category-card { border: 0; background: transparent; box-shadow: none; }
.qh-category-card:hover { transform: none; box-shadow: none; }
.qh-category-card a { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 16px; min-height: 96px; }
.qh-category-card img { width: 150px; height: 96px; object-fit: cover; }
.qh-category-card div { display: contents; }
.qh-category-card span { display: none; }
.qh-category-card h3 { margin: 0; font-size: 20px; line-height: 1.08; }
.qh-category-card strong { color: var(--qh-amber); font-family: var(--qh-font-body); font-size: 30px; font-weight: 400; }

/* Listings, cards and page headers */
.qh-page-hero { padding: 76px 0 60px; background: var(--qh-paper); color: var(--qh-ink); border-bottom: 1px solid var(--qh-line); }
.qh-page-hero .qh-shell { grid-template-columns: minmax(0, 1.45fr) minmax(260px, .8fr); gap: 48px; }
.qh-page-hero h1 { color: var(--qh-ink); font-size: clamp(46px, 5vw, 76px); line-height: 1; }
.qh-page-hero p { color: var(--qh-ink-soft); font-size: 18px; }
.qh-page-hero .qh-kicker { color: var(--qh-amber-deep); }
.qh-products-hero h1 { font-size: clamp(42px, 4.2vw, 64px); }
.qh-products-section, .qh-cases-section { padding-top: 58px; }
.qh-news-section { padding-top: 58px; }
.qh-news-featured { border: 1px solid var(--qh-line); background: var(--qh-white); }
.qh-news-featured > a { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr); min-height: 430px; }
.qh-news-featured img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.qh-news-featured > a > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 48px; }
.qh-news-featured h2 { font-size: clamp(34px, 3.5vw, 52px); line-height: 1.02; margin: 0 0 18px; }
.qh-news-featured p { color: var(--qh-ink-soft); font-size: 17px; line-height: 1.65; margin: 0 0 30px; }
.qh-news-featured strong { color: var(--qh-amber-deep); font-family: var(--qh-font-mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.qh-news-divider { display: flex; align-items: center; gap: 18px; margin: 62px 0 30px; }
.qh-news-divider::after { content: ""; height: 1px; flex: 1; background: var(--qh-line); }
.qh-news-divider span { font-family: var(--qh-font-display); font-size: 27px; }
.qh-product-sidebar { border-radius: 0; background: var(--qh-white); }
.qh-product-card, .qh-case-card, .qh-article-card { border-radius: 0; box-shadow: none; }
.qh-product-card:hover, .qh-case-card:hover, .qh-article-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.09); }
.qh-product-media { background: #f1f0ed; }
.qh-product-media img { height: 250px; padding: 18px; }
.qh-product-card-body h3, .qh-case-card h3, .qh-article-card h3 { font-size: 22px; }
.qh-case-card img, .qh-article-card img { height: 250px; }
.qh-case-card strong, .qh-article-card strong { color: var(--qh-amber-deep); letter-spacing: 0; }

/* Detail pages, cases and articles */
.qh-detail-wrap { padding-top: 60px; }
.qh-detail-main { border-color: var(--qh-line); background: #eeece7; }
.qh-detail-main img { height: 590px; }
.qh-detail-copy h1 { font-size: clamp(38px, 4vw, 56px); line-height: 1.03; }
.qh-detail-copy dl { border-radius: 0; }
.qh-detail-section { max-width: 940px; }
.qh-article-hero { max-width: 980px; text-align: left; margin: 0 0 38px; }
.qh-article-hero h1 { font-size: clamp(44px, 5vw, 72px); line-height: 1; }
.qh-article-hero p { max-width: 760px; }
.qh-wide-image { margin: 0 0 48px; }
.qh-case-hero-image { display: block; background: #eceae5; }
.qh-case-hero-image img { width: 100%; max-height: 680px; object-fit: cover; }
.qh-case-detail-grid { gap: 18px; margin-bottom: 22px; }
.qh-case-detail-grid section { padding: 32px; border-radius: 0; background: var(--qh-white); }
.qh-case-detail-grid h2 { font-size: 25px; }
.qh-case-inquiry { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px; border: 1px solid var(--qh-amber); margin: 0 0 44px; background: var(--qh-paper); }
.qh-case-inquiry h2 { font-size: clamp(28px, 3vw, 42px); }
.qh-solution-gallery { gap: 14px; }
.qh-solution-gallery img { height: 240px; }
.qh-guide-detail { padding-top: 64px; }
.qh-guide-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 62px; align-items: start; }
.qh-guide-toc { position: sticky; top: calc(var(--qh-header-h) + 28px); border-left: 2px solid var(--qh-amber); padding: 6px 0 6px 18px; }
.qh-guide-toc strong { display: block; font-family: var(--qh-font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.qh-guide-toc ol { list-style: none; display: grid; gap: 11px; }
.qh-guide-toc a { color: var(--qh-ink-soft); font-size: 14px; line-height: 1.35; }
.qh-guide-toc a:hover { color: var(--qh-amber-deep); }
.qh-prose { max-width: 920px; }
.qh-prose h2 { font-size: 29px; }
.qh-guide-cta { border-top: 0; background: #121313; }

/* Factory, contact and conversion surface */
.qh-about-intro { padding: 82px 0; }
.qh-about-intro-grid h1 { font-size: clamp(44px, 4.8vw, 68px); line-height: 1; }
.qh-about-intro-grid figure img { height: 500px; }
.qh-fact-band { background: #111212; }
.qh-fact-band strong { color: var(--qh-amber); }
.qh-contact-page { background: #101111; }
.qh-contact-showcase { width: min(var(--qh-shell-width), 100%); }
.qh-contact-side { background: #101111; }
.qh-contact-side h1 { font-size: clamp(42px, 4.5vw, 64px); line-height: 1; }
.qh-contact-brief { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr); width: min(var(--qh-shell-width), 100%); min-height: 520px; }
.qh-contact-lead { display: flex; flex-direction: column; justify-content: center; padding: 68px 76px 62px 0; color: var(--qh-on-dark); }
.qh-contact-lead h1 { max-width: 760px; margin: 16px 0 22px; color: var(--qh-on-dark); font-size: clamp(56px, 5.5vw, 82px); line-height: .98; }
.qh-contact-lead > p { max-width: 680px; margin: 0 0 30px; color: var(--qh-on-dark-soft); font-size: 18px; line-height: 1.55; }
.qh-contact-lead .qh-button-row { margin-bottom: 38px; }
.qh-contact-lead .qh-btn { gap: 14px; min-width: 190px; }
.qh-contact-lead .qh-contact-methods { padding-top: 28px; border-top: 1px solid var(--qh-line-dark); }
.qh-contact-lead .qh-contact-methods article { min-width: 260px; }
.qh-contact-brief-panel { display: flex; flex-direction: column; justify-content: center; padding: 64px 62px; color: var(--qh-ink); background: #f0efe9; }
.qh-contact-brief-panel .qh-kicker { color: var(--qh-amber-deep); }
.qh-contact-brief-panel h2 { margin: 14px 0 28px; font-size: clamp(34px, 3.2vw, 48px); line-height: 1.02; }
.qh-contact-brief-list { border-bottom: 1px solid #cbc9c1; }
.qh-contact-brief-list article { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: center; min-height: 68px; border-top: 1px solid #cbc9c1; }
.qh-contact-brief-list b { color: var(--qh-amber-deep); font-family: var(--qh-font-mono); font-size: 14px; }
.qh-contact-brief-list span { font-size: 16px; line-height: 1.35; }
.qh-contact-brief-panel > p { margin: 26px 0 0; color: var(--qh-ink-soft); font-size: 14px; line-height: 1.55; }
.qh-contact-body { background: var(--qh-paper); }
.qh-inquiry-form { box-shadow: none; border-top: 3px solid var(--qh-amber); border-radius: 0; }
.qh-contact-reference-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr); gap: 52px; align-items: start; }
.qh-contact-reference-grid .qh-inquiry-form { padding: 30px 0 0; border: 0; background: transparent; }
.qh-contact-reference-grid .qh-inquiry-form > h2 { display: none; }
.qh-contact-reference-grid .qh-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 54px; }
.qh-contact-reference-grid .qh-inquiry-form label > span { font-size: 12px; }
.qh-contact-reference-grid .qh-inquiry-form input,
.qh-contact-reference-grid .qh-inquiry-form select,
.qh-contact-reference-grid .qh-inquiry-form textarea { border: 0; border-bottom: 1px solid #c8c5bd; border-radius: 0; background: transparent; }
.qh-contact-reference-grid .qh-inquiry-form textarea { min-height: 88px; }
.qh-contact-reference-grid .qh-inquiry-form > .qh-btn { display: flex; min-width: 260px; margin: 24px auto 0; }
.qh-contact-next { padding: 18px 0 0 44px; border-left: 1px solid var(--qh-line); }
.qh-contact-next h2 { margin: 0 0 28px; font-size: 30px; }
.qh-contact-next article { display: grid; grid-template-columns: 42px 1fr; gap: 18px; align-items: center; min-height: 74px; }
.qh-contact-next article svg { width: 36px; height: 36px; color: var(--qh-amber-deep); }
.qh-contact-next article span { font-size: 15px; line-height: 1.35; }
.qh-contact-next .qh-btn { width: 100%; gap: 10px; margin-top: 24px; padding: 0 12px; }
.qh-thanks { min-height: 74vh; background: var(--qh-paper); }
.qh-thanks img { width: min(760px, 100%); height: 340px; }
.qh-thanks h1 { font-size: clamp(40px, 4.8vw, 64px); line-height: 1; }

/* Footer and persistent inquiry conversion */
.qh-cta-band { position: relative; overflow: hidden; border: 0; background: #101111; padding: 76px 0; }
.qh-cta-band-photo { background-image: linear-gradient(90deg, rgba(8,9,9,.9) 0%, rgba(8,9,9,.72) 48%, rgba(8,9,9,.4) 100%), url("assets/factory/workshops/factory-panel-processing-line.webp"); background-size: cover; background-position: center; }
.qh-cta-band .qh-shell { position: relative; }
.qh-cta-band h2 { max-width: 690px; color: var(--qh-on-dark); font-size: clamp(42px, 4.5vw, 68px); line-height: 1; }
.qh-cta-band .qh-btn-light { background: var(--qh-amber); border-color: var(--qh-amber); color: var(--qh-white); }
.qh-cta-band .qh-btn-light:hover { background: var(--qh-amber-deep); border-color: var(--qh-amber-deep); }
.qh-footer { background: #0c0d0d; padding: 72px 0 30px; }
.qh-footer-grid { grid-template-columns: 1.35fr 1.1fr 1.1fr 1.2fr; gap: 42px; }
.qh-footer-logo { width: 230px; margin-bottom: 20px; }
.qh-footer-brand p { font-size: 16px; color: var(--qh-on-dark); }
.qh-footer-social { gap: 14px; }
.qh-footer-social a { width: 44px; height: 44px; border-color: #555; border-radius: 50%; }
.qh-footer h3 { font-family: var(--qh-font-display); font-size: 23px; letter-spacing: 0; text-transform: uppercase; margin-bottom: 22px; }
.qh-footer h3::after { content: ""; display: block; width: 42px; height: 2px; background: var(--qh-amber); margin-top: 13px; }
.qh-footer a { font-size: 15px; margin-bottom: 14px; }
.qh-footer-inquiry { background: var(--qh-amber); border-color: var(--qh-amber); color: var(--qh-on-dark) !important; padding: 13px 18px; }
.qh-footer-inquiry:hover { background: var(--qh-amber-deep); border-color: var(--qh-amber-deep); }
.qh-footer-bottom { margin-top: 54px; padding-top: 20px; font-family: var(--qh-font-body); font-size: 13px; }
.qh-floating-actions { background: #101111; }
.qh-floating-actions a, .qh-floating-actions button { border-color: #2d2e2e; }
.qh-search-drawer { background: rgba(0,0,0,.72); padding-top: 86px; }
.qh-search-box { border-top: 3px solid var(--qh-amber); border-radius: 0; }

@media (max-width: 1080px) {
  .qh-nav.is-open { top: var(--qh-header-h); background: #101111; }
  .qh-nav.is-open > a, .qh-nav.is-open .qh-nav-group > a { color: var(--qh-on-dark); }
  .qh-nav.is-open > a, .qh-nav.is-open .qh-nav-group { border-bottom-color: rgba(255,255,255,.15); }
  .qh-nav.is-open .qh-mega-menu { background: transparent; }
  .qh-nav.is-open .qh-mega-links a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: var(--qh-on-dark); }
  .qh-footer-grid { grid-template-columns: 1fr 1fr; }
  .qh-category-card a { grid-template-columns: 124px 1fr auto; }
  .qh-category-card img { width: 124px; }
  .qh-news-featured > a { grid-template-columns: 1fr; }
  .qh-news-featured img { min-height: 320px; height: 320px; }
  .qh-guide-layout { grid-template-columns: 1fr; gap: 30px; }
  .qh-guide-toc { position: static; display: none; }
}

@media (max-width: 640px) {
  :root { --qh-header-h: 82px; }
  .qh-header-inner { height: var(--qh-header-h); }
  .qh-brand img { width: 27px; height: 27px; }
  .qh-brand span { font-size: 21px; }
  .qh-header-actions { gap: 8px; }
  .qh-lang > button { padding-left: 10px; }
  .qh-menu-toggle { order: 3; width: 42px; height: 42px; border-color: transparent; background: transparent; }
  .qh-header-actions { order: 2; }
  .qh-menu-toggle span { background: var(--qh-on-dark); }
  .qh-hero { min-height: 720px; max-height: none; }
  .qh-hero-content { min-height: 720px; max-height: none; padding: 86px 0 70px; align-items: center; }
  .qh-hero-title { font-size: clamp(48px, 14vw, 68px); line-height: .98; margin-bottom: 22px; }
  .qh-hero-content p { font-size: 18px; line-height: 1.45; }
  .qh-hero .qh-button-row { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .qh-hero .qh-btn { min-width: 0; padding: 0 12px; font-size: 13px; }
  .qh-proof-grid { width: 100%; grid-template-columns: repeat(3, 1fr); }
  .qh-proof-grid article { min-height: 98px; padding: 18px 12px; border-bottom: 0; border-right: 1px solid var(--qh-line-dark); }
  .qh-proof-grid article:last-child { border-right: 0; }
  .qh-proof-grid article:nth-child(n+4) { display: none; }
  .qh-proof-grid strong { font-size: 13px; }
  .qh-proof-grid span { font-size: 10px; line-height: 1.35; }
  .qh-home-series { padding: 20px 0 30px; }
  .qh-category-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .qh-category-card a { display: block; min-height: 0; border: 1px solid var(--qh-line); background: var(--qh-white); }
  .qh-category-card img { width: 100%; height: 152px; }
  .qh-category-card div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 14px; }
  .qh-category-card h3 { font-size: 20px; }
  .qh-category-card strong { font-size: 29px; }
  .qh-page-hero { padding: 50px 0 40px; }
  .qh-page-hero h1 { font-size: clamp(42px, 12vw, 58px); }
  .qh-page-hero p { font-size: 16px; }
  .qh-product-media img { height: 194px; }
  .qh-product-card-body { padding: 16px; }
  .qh-product-card-body h3, .qh-case-card h3, .qh-article-card h3 { font-size: 20px; }
  .qh-case-card img, .qh-article-card img { height: 180px; }
  .qh-news-featured img { min-height: 240px; height: 240px; }
  .qh-news-featured > a > div { padding: 26px 22px 30px; }
  .qh-news-featured h2 { font-size: clamp(34px, 10vw, 46px); }
  .qh-news-featured p { font-size: 16px; }
  .qh-news-divider { margin: 46px 0 24px; }
  .qh-detail-wrap, .qh-guide-detail { padding-top: 42px; }
  .qh-detail-main img { height: 330px; }
  .qh-detail-copy h1, .qh-article-hero h1 { font-size: clamp(38px, 11.5vw, 54px); }
  .qh-article-hero { margin-bottom: 28px; }
  .qh-case-hero-image img { max-height: 420px; }
  .qh-case-detail-grid section { padding: 24px; }
  .qh-case-inquiry { display: block; padding: 24px; }
  .qh-case-inquiry .qh-button-row { margin-top: 22px; }
  .qh-case-inquiry .qh-btn { width: 100%; }
  .qh-solution-gallery img { height: 220px; }
  .qh-about-intro, .qh-section { padding: 58px 0; }
  .qh-about-intro-grid h1, .qh-contact-side h1, .qh-thanks h1 { font-size: clamp(40px, 12vw, 54px); }
  .qh-about-intro-grid figure img { height: 330px; }
  .qh-contact-side { padding: 50px 24px; }
  .qh-contact-methods { display: block; }
  .qh-contact-methods article + article { margin-top: 20px; }
  .qh-thanks { min-height: 620px; }
  .qh-thanks img { height: 220px; }
  .qh-cta-band { padding: 56px 0; }
  .qh-cta-band .qh-shell { display: block; }
  .qh-cta-band h2 { font-size: clamp(42px, 12vw, 58px); }
  .qh-cta-band .qh-button-row { display: grid; grid-template-columns: 1fr; margin-top: 28px; }
  .qh-footer { padding: 52px 0 30px; }
  .qh-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .qh-footer-grid > div:not(.qh-footer-brand) h3 { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--qh-line-dark); padding-bottom: 16px; margin-bottom: 15px; }
  .qh-footer-grid > div:not(.qh-footer-brand) h3::after { width: 11px; height: 11px; border-right: 2px solid var(--qh-on-dark); border-bottom: 2px solid var(--qh-on-dark); background: transparent; margin: 0; transform: rotate(45deg) translateY(-3px); }
  .qh-footer h3 { font-size: 22px; }
  .qh-footer-bottom { margin-top: 34px; padding-bottom: 54px; flex-direction: column; }
  .qh-mobile-actions { background: #101111; }
  .qh-mobile-actions a { padding: 17px 0; }
  .qh-search-drawer { padding-top: 98px; }
}

/* High-fidelity layouts approved from the visual reference set */
.qh-footer-grid-reference { grid-template-columns: 1.35fr 1fr 1fr 1.2fr; gap: 58px; }
.qh-footer-brand-lockup { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 24px !important; color: var(--qh-on-dark) !important; }
.qh-footer-brand-lockup img { width: 38px; height: 38px; object-fit: contain; filter: sepia(1) saturate(12) hue-rotate(345deg) brightness(1.08); }
.qh-footer-brand-lockup strong { font-family: var(--qh-font-display); font-size: 28px; font-weight: 700; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.qh-footer-brand p { margin: 0 0 44px; color: var(--qh-on-dark); font-size: 16px; line-height: 1.45; }
.qh-footer-social { display: flex; justify-content: flex-start; align-items: center; gap: 22px; width: auto; }
.qh-footer-social a { display: grid; place-items: center; width: 50px; height: 50px; margin: 0; color: var(--qh-on-dark); border: 1px solid #a5a6a3; border-radius: 50%; }
.qh-footer-social a:hover { color: var(--qh-amber); border-color: var(--qh-amber); }
.qh-footer-social svg { width: 22px; height: 22px; }
.qh-footer-bottom { justify-content: flex-start; align-items: center; gap: 30px; text-align: left; }
.qh-footer-bottom i { width: 1px; height: 24px; background: #555; }

/* Application scenarios */
.qh-cases-reference { background: var(--qh-paper); }
.qh-cases-reference-hero { display: grid; grid-template-columns: minmax(470px, 40%) 1fr; min-height: 410px; }
.qh-cases-reference-copy { display: flex; flex-direction: column; justify-content: center; padding: 56px max(40px, calc((100vw - var(--qh-shell-width)) / 2)); padding-right: 54px; }
.qh-cases-reference-copy .qh-kicker { margin-bottom: 18px; }
.qh-cases-reference-copy h1 { max-width: 570px; margin: 0 0 22px; font-size: clamp(52px, 5vw, 76px); line-height: .98; }
.qh-cases-reference-copy p { max-width: 520px; margin: 0; color: var(--qh-ink-soft); font-size: 18px; line-height: 1.45; }
.qh-cases-reference-hero > img { width: 100%; height: 410px; object-fit: cover; }
.qh-cases-reference-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.qh-cases-reference-grid article { border: 1px solid var(--qh-line); background: var(--qh-white); }
.qh-cases-reference-grid article a { display: block; height: 100%; color: inherit; }
.qh-cases-reference-grid img { width: 100%; height: 190px; object-fit: cover; }
.qh-cases-reference-grid article div { padding: 18px 22px 20px; }
.qh-cases-reference-grid h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.02; }
.qh-cases-reference-grid p { min-height: 64px; margin: 0 0 16px; color: var(--qh-ink-soft); font-size: 15px; line-height: 1.4; }
.qh-cases-reference-grid strong { display: flex; align-items: center; gap: 12px; color: var(--qh-amber-deep); font-size: 14px; }
.qh-cases-reference-grid strong svg { width: 18px; height: 18px; }
.qh-cases-reference-cta { padding: 0 0 28px; }
.qh-cases-reference-cta .qh-shell { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 112px; padding: 22px 44px; color: var(--qh-on-dark); background: #101111 url("assets/factory/workshops/factory-panel-processing-line.webp") center / cover no-repeat; background-blend-mode: multiply; }
.qh-cases-reference-cta .qh-shell > div:first-child { display: flex; align-items: center; gap: 28px; }
.qh-cases-reference-cta .qh-shell > div:first-child > svg { flex: 0 0 auto; width: 54px; height: 54px; color: var(--qh-amber); }
.qh-cases-reference-cta h2 { margin: 0 0 4px; color: var(--qh-on-dark); font-size: 31px; }
.qh-cases-reference-cta p { margin: 0; color: var(--qh-on-dark-soft); font-size: 14px; }
.qh-cases-reference-cta .qh-button-row { flex: 0 0 auto; }

/* Factory */
.qh-factory-reference { background: #101111; color: var(--qh-on-dark); }
.qh-factory-reference-hero { position: relative; min-height: 425px; background: linear-gradient(90deg, rgba(7,8,8,.88) 0%, rgba(7,8,8,.58) 38%, rgba(7,8,8,.14) 72%), url("assets/factory/workshops/factory-panel-processing-line.webp") center / cover no-repeat; }
.qh-factory-reference-hero .qh-shell { display: flex; flex-direction: column; justify-content: center; min-height: 425px; }
.qh-factory-reference-hero h1 { max-width: 780px; margin: 0 0 24px; color: var(--qh-on-dark); font-size: clamp(68px, 7vw, 104px); line-height: .94; }
.qh-factory-reference-hero p { max-width: 560px; margin: 0; color: var(--qh-on-dark); font-size: 23px; line-height: 1.45; }
.qh-factory-reference-facts { border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); background: rgba(12,13,13,.97); }
.qh-factory-reference-facts .qh-shell { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1080px; }
.qh-factory-reference-facts article { padding: 25px 44px; text-align: center; border-right: 1px solid rgba(255,255,255,.24); }
.qh-factory-reference-facts article:last-child { border-right: 0; }
.qh-factory-reference-facts strong { display: block; color: var(--qh-amber); font-family: var(--qh-font-display); font-size: 46px; line-height: 1; }
.qh-factory-reference-facts span { display: block; margin-top: 6px; color: var(--qh-on-dark); font-size: 15px; }
.qh-factory-reference-process { padding: 38px 0 36px; background: #111212; }
.qh-factory-reference-process .qh-shell { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
.qh-factory-reference-process article { position: relative; min-width: 0; }
.qh-factory-reference-process article:not(:last-child)::after { content: "→"; position: absolute; top: 58%; right: -27px; color: var(--qh-amber); font-size: 30px; }
.qh-factory-reference-process article > div { display: flex; align-items: baseline; gap: 16px; min-height: 43px; }
.qh-factory-reference-process b { font-family: var(--qh-font-display); font-size: 32px; }
.qh-factory-reference-process h2 { margin: 0; color: var(--qh-on-dark); font-family: var(--qh-font-body); font-size: 15px; font-weight: 500; }
.qh-factory-reference-process img { width: 100%; height: 184px; object-fit: cover; }
.qh-factory-reference-actions { display: flex; gap: 44px; padding-top: 34px; padding-bottom: 34px; background: var(--qh-paper); }
.qh-factory-reference-actions .qh-btn { min-width: 280px; }

/* News & Knowledge */
.qh-news-reference { background: var(--qh-paper); }
.qh-news-reference-hero { min-height: 200px; color: var(--qh-on-dark); background: linear-gradient(rgba(5,6,6,.62), rgba(5,6,6,.62)), url("assets/factory/workshops/factory-solid-wood-workshop.webp") center 45% / cover no-repeat; }
.qh-news-reference-hero .qh-shell { display: flex; flex-direction: column; justify-content: center; min-height: 200px; }
.qh-news-reference-hero h1 { margin: 0 0 10px; color: var(--qh-on-dark); font-size: clamp(58px, 5.4vw, 82px); line-height: .95; text-transform: uppercase; }
.qh-news-reference-hero p { margin: 0; color: var(--qh-on-dark); font-family: var(--qh-font-mono); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.qh-news-reference-body { position: relative; padding-top: 22px; padding-bottom: 30px; }
.qh-news-search { display: flex; align-items: center; gap: 18px; height: 56px; padding: 0 20px; border: 1px solid var(--qh-ink); background: var(--qh-white); }
.qh-news-search svg { width: 25px; height: 25px; }
.qh-news-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; }
.qh-news-topics { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; margin: 20px 0 28px; }
.qh-news-topics button { display: flex; align-items: center; justify-content: center; gap: 13px; height: 42px; overflow: hidden; border: 1px solid #969894; border-radius: 0; background: transparent; color: var(--qh-ink); font-family: var(--qh-font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
.qh-news-topics button i { flex: 0 0 auto; width: 7px; height: 7px; background: var(--qh-amber); }
.qh-news-topics button.is-active { border-color: #181919; background: #181919; color: var(--qh-on-dark); }
.qh-news-lead-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(400px, .75fr); gap: 36px; }
.qh-news-lead > a { display: grid; grid-template-columns: minmax(310px, .96fr) minmax(0, 1.04fr); height: 355px; color: inherit; }
.qh-news-lead > a > img { width: 100%; height: 355px; object-fit: cover; }
.qh-news-lead > a > div { display: flex; flex-direction: column; justify-content: center; padding: 20px 28px; }
.qh-news-lead span, .qh-news-lead small, .qh-news-compact-list small { color: var(--qh-amber-deep); font-family: var(--qh-font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.qh-news-lead h2 { margin: 14px 0 18px; font-size: 41px; line-height: 1.05; }
.qh-news-lead p { margin: 0 0 22px; color: var(--qh-ink-soft); font-size: 15px; line-height: 1.45; }
.qh-news-compact-list { border-left: 1px solid var(--qh-line); }
.qh-news-compact-list article { height: 71px; border-bottom: 1px solid var(--qh-line); }
.qh-news-compact-list article:first-child { border-top: 1px solid var(--qh-line); }
.qh-news-compact-list a { display: grid; grid-template-columns: 122px 1fr 38px; align-items: center; gap: 14px; height: 100%; padding-right: 4px; color: inherit; }
.qh-news-compact-list img { width: 122px; height: 70px; object-fit: cover; }
.qh-news-compact-list h3 { margin: 4px 0 0; font-family: var(--qh-font-body); font-size: 13px; line-height: 1.18; }
.qh-news-compact-list a > svg { width: 30px; height: 30px; padding: 7px; border: 1px solid #8e908d; }
.qh-news-topic-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 26px; }
.qh-news-topic-tiles a { color: inherit; border: 1px solid var(--qh-line); background: var(--qh-white); }
.qh-news-topic-tiles img { width: 100%; height: 78px; object-fit: cover; }
.qh-news-topic-tiles span { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; font-family: var(--qh-font-display); font-size: 15px; text-transform: uppercase; }
.qh-news-topic-tiles svg { width: 16px; height: 16px; color: var(--qh-amber-deep); }
.qh-news-pagination { display: inline-flex; gap: 10px; margin-top: 24px; }
.qh-news-pagination button { width: 42px; height: 42px; border: 1px solid #8e908d; border-radius: 0; background: transparent; color: var(--qh-ink); }
.qh-news-pagination button.is-active { background: #181919; color: var(--qh-on-dark); }
.qh-news-pagination button:disabled { opacity: 1; }
.qh-news-actions { display: flex; justify-content: flex-end; gap: 20px; margin-top: -42px; }
.qh-news-actions .qh-btn { min-width: 225px; gap: 28px; }
.qh-news-empty { margin: 28px 0 0; padding: 24px; border: 1px solid var(--qh-line); text-align: center; }
[data-news-article][hidden] { display: none !important; }

/* Thank you */
.qh-thanks-reference { background: var(--qh-paper); }
.qh-thanks-reference > figure { width: min(980px, calc(100% - 48px)); margin: 42px auto 0; }
.qh-thanks-reference > figure img { display: block; width: 100%; height: 330px; object-fit: cover; }
.qh-thanks-reference-main { max-width: 920px; padding-top: 28px; padding-bottom: 32px; text-align: center; }
.qh-thanks-rule { display: block; width: 42px; height: 3px; margin: 0 auto 18px; background: var(--qh-amber); }
.qh-thanks-reference-main h1 { margin: 0 0 8px; font-size: 54px; line-height: 1; }
.qh-thanks-reference-main > p { margin: 0 0 16px; color: var(--qh-ink-soft); font-size: 17px; }
.qh-thanks-context { max-width: 560px; margin: 0 auto 20px; padding-top: 16px; border-top: 1px solid var(--qh-line); color: var(--qh-ink-soft); font-size: 14px; }
.qh-thanks-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: center; }
.qh-thanks-actions .qh-btn { justify-content: center; gap: 10px; min-width: 0; }
.qh-btn-dark-alt { background: #151616; border-color: #151616; color: var(--qh-on-dark); }
.qh-thanks-news-link { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: max-content; margin: 0 auto; color: var(--qh-ink); font-size: 17px; font-weight: 700; }
.qh-thanks-news-link svg:last-child { color: var(--qh-amber-deep); }
.qh-thanks-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--qh-line); color: var(--qh-ink-soft); font-size: 12px; }
.qh-thanks-note svg { flex: 0 0 auto; width: 18px; height: 18px; }
.qh-thanks-insights { padding: 28px 0 0; border-top: 1px solid #e5e3de; background: #f2f1ed; }
.qh-thanks-insights > .qh-shell { display: grid; grid-template-columns: 330px 1fr; gap: 36px; align-items: end; }
.qh-thanks-insights h2 { margin: 14px 0 22px; font-size: 30px; line-height: 1.1; }
.qh-thanks-insight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.qh-thanks-insight-grid a { color: inherit; }
.qh-thanks-insight-grid img { width: 100%; height: 90px; object-fit: cover; }
.qh-thanks-insight-grid span { display: block; padding: 7px 0 10px; font-size: 12px; }

@media (max-width: 1080px) {
  .qh-cases-reference-hero { grid-template-columns: 1fr 1fr; }
  .qh-cases-reference-copy { padding-left: 30px; padding-right: 30px; }
  .qh-news-topics { grid-template-columns: repeat(3, 1fr); }
  .qh-news-lead-grid { grid-template-columns: 1fr; }
  .qh-news-lead > a { height: auto; }
  .qh-news-compact-list { border-left: 0; }
  .qh-news-actions { margin-top: 22px; }
  .qh-footer-grid-reference { grid-template-columns: repeat(2, 1fr); }
  .qh-contact-reference-grid { grid-template-columns: 1fr; }
  .qh-contact-next { padding-left: 0; border-left: 0; }
  .qh-contact-brief { grid-template-columns: 1fr; }
  .qh-contact-lead { padding: 64px 32px; }
}

@media (max-width: 640px) {
  .qh-footer-grid-reference { grid-template-columns: 1fr; }
  .qh-footer-brand-lockup strong { font-size: 25px; }
  .qh-footer-brand p { margin-bottom: 28px; }
  .qh-footer-social { gap: 16px; }
  .qh-footer-bottom { align-items: flex-start; gap: 10px; text-align: left; }
  .qh-footer-bottom i { display: none; }
  .qh-cases-reference-hero { display: flex; flex-direction: column; min-height: 0; }
  .qh-cases-reference-copy { order: 1; padding: 34px 20px 24px; }
  .qh-cases-reference-copy .qh-kicker { order: -1; margin-bottom: 20px; }
  .qh-cases-reference-copy h1 { font-size: 52px; }
  .qh-cases-reference-copy p { font-size: 16px; }
  .qh-cases-reference-hero > img { order: 2; height: 330px; }
  .qh-cases-reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; padding: 14px 16px 16px; }
  .qh-cases-reference-grid article:last-child { grid-column: 1 / -1; }
  .qh-cases-reference-grid article:last-child a { display: grid; grid-template-columns: 1fr 1fr; }
  .qh-cases-reference-grid img { height: 158px; }
  .qh-cases-reference-grid article:last-child img { height: 100%; min-height: 200px; }
  .qh-cases-reference-grid article div { padding: 14px; }
  .qh-cases-reference-grid h2 { font-size: 25px; }
  .qh-cases-reference-grid p { min-height: 0; font-size: 14px; }
  .qh-cases-reference-cta { padding-bottom: 0; }
  .qh-cases-reference-cta .qh-shell { display: block; padding: 24px 20px 92px; }
  .qh-cases-reference-cta .qh-shell > div:first-child > svg { display: none; }
  .qh-cases-reference-cta .qh-button-row { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .qh-cases-reference-cta .qh-btn { min-width: 0; padding: 0 10px; }

  .qh-factory-reference-hero, .qh-factory-reference-hero .qh-shell { min-height: 420px; }
  .qh-factory-reference-hero { background-position: 57% center; }
  .qh-factory-reference-hero .qh-shell { justify-content: flex-end; padding-bottom: 42px; }
  .qh-factory-reference-hero h1 { font-size: 58px; }
  .qh-factory-reference-hero p { font-size: 17px; }
  .qh-factory-reference-facts .qh-shell { width: 100%; }
  .qh-factory-reference-facts article { padding: 18px 8px; }
  .qh-factory-reference-facts strong { font-size: 31px; }
  .qh-factory-reference-facts span { font-size: 11px; }
  .qh-factory-reference-process .qh-shell { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .qh-factory-reference-process article::after { display: none; }
  .qh-factory-reference-process img { height: 145px; }
  .qh-factory-reference-process article > div { align-items: flex-start; min-height: 62px; }
  .qh-factory-reference-process h2 { font-size: 13px; }
  .qh-factory-reference-actions { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 18px 16px 82px; }
  .qh-factory-reference-actions .qh-btn { min-width: 0; }

  .qh-contact-brief { width: 100%; min-height: 0; }
  .qh-contact-lead { padding: 44px 20px 38px; }
  .qh-contact-lead h1 { margin-top: 14px; font-size: 49px; }
  .qh-contact-lead > p { font-size: 16px; }
  .qh-contact-lead .qh-button-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 30px; }
  .qh-contact-lead .qh-btn { min-width: 0; padding: 0 10px; font-size: 13px; }
  .qh-contact-lead .qh-contact-methods { display: grid; grid-template-columns: 1fr; gap: 18px; }
  .qh-contact-lead .qh-contact-methods article { min-width: 0; }
  .qh-contact-brief-panel { padding: 40px 20px 44px; }
  .qh-contact-brief-panel h2 { font-size: 36px; }
  .qh-contact-brief-list article { grid-template-columns: 42px 1fr; min-height: 72px; }

  .qh-contact-reference-grid { width: 100%; gap: 32px; }
  .qh-contact-reference-grid .qh-inquiry-form { padding: 0; }
  .qh-contact-reference-grid .qh-form-grid { grid-template-columns: 1fr; gap: 12px; }
  .qh-contact-reference-grid .qh-inquiry-form label > span { display: none; }
  .qh-contact-reference-grid .qh-inquiry-form input,
  .qh-contact-reference-grid .qh-inquiry-form select,
  .qh-contact-reference-grid .qh-inquiry-form textarea { min-height: 58px; padding: 0 16px; border: 1px solid var(--qh-line); background: var(--qh-white); }
  .qh-contact-reference-grid .qh-inquiry-form textarea { padding-top: 16px; }
  .qh-contact-reference-grid .qh-inquiry-form > .qh-btn { width: 100%; margin-top: 12px; }
  .qh-contact-next { padding: 32px 0 14px; border-top: 1px solid var(--qh-line); }
  .qh-contact-next h2 { font-size: 28px; }
  .qh-contact-next article { grid-template-columns: 36px 1fr; }

  .qh-news-reference-hero, .qh-news-reference-hero .qh-shell { min-height: 205px; }
  .qh-news-reference-hero h1 { font-size: 52px; }
  .qh-news-reference-hero p { max-width: 330px; font-size: 11px; line-height: 1.5; }
  .qh-news-reference-body { width: 100%; padding: 24px 14px 82px; }
  .qh-news-search { height: 60px; }
  .qh-news-topics { display: flex; gap: 10px; overflow-x: auto; margin: 18px 0 24px; padding-bottom: 4px; scrollbar-width: none; }
  .qh-news-topics::-webkit-scrollbar { display: none; }
  .qh-news-topics button { flex: 0 0 144px; height: 48px; }
  .qh-news-lead-grid { display: block; }
  .qh-news-lead > a { display: grid; grid-template-columns: 1fr; height: auto; }
  .qh-news-lead > a > img { height: 260px; }
  .qh-news-lead > a > div { padding: 22px 14px 24px; }
  .qh-news-lead h2 { font-size: 38px; }
  .qh-news-lead p { display: none; }
  .qh-news-compact-list { margin-top: 10px; }
  .qh-news-compact-list article { height: 102px; }
  .qh-news-compact-list a { grid-template-columns: 122px 1fr 38px; gap: 12px; }
  .qh-news-compact-list img { width: 122px; height: 101px; }
  .qh-news-compact-list h3 { font-size: 16px; }
  .qh-news-topic-tiles { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .qh-news-topic-tiles a:last-child { display: none; }
  .qh-news-topic-tiles img { height: 102px; }
  .qh-news-pagination { display: flex; justify-content: center; margin-top: 24px; }
  .qh-news-pagination button { width: 48px; height: 48px; }
  .qh-news-pagination button:nth-child(5) { display: none; }
  .qh-news-actions { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; }
  .qh-news-actions .qh-btn { min-width: 0; padding: 0 8px; }

  .qh-thanks-reference > figure { width: 100%; margin: 0; }
  .qh-thanks-reference > figure img { height: 370px; }
  .qh-thanks-reference-main { width: 100%; padding: 34px 26px 48px; }
  .qh-thanks-reference-main h1 { font-size: 54px; }
  .qh-thanks-reference-main > p { font-size: 18px; line-height: 1.5; }
  .qh-thanks-context { margin-top: 28px; padding-top: 28px; font-size: 17px; line-height: 1.5; }
  .qh-thanks-actions { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
  .qh-thanks-actions .qh-btn { min-height: 72px; padding: 0 12px; font-size: 13px; }
  .qh-thanks-news-link { grid-column: auto; width: 100%; min-height: 72px; padding: 0 10px; border: 1px solid var(--qh-ink); font-size: 13px; }
  .qh-thanks-note { display: none; }
  .qh-thanks-insights { padding: 38px 0 70px; }
  .qh-thanks-insights > .qh-shell { display: block; width: 100%; padding: 0 14px; }
  .qh-thanks-insights h2 { font-size: 31px; }
  .qh-thanks-insight-grid { grid-template-columns: repeat(3, minmax(230px, 1fr)); gap: 12px; overflow-x: auto; }
  .qh-thanks-insight-grid img { height: 170px; }
  .qh-thanks-insight-grid span { font-size: 15px; }
}

/* Mobile language, layout and fallback-font hardening. */
.qh-main,
.qh-main > *,
.qh-shell > *,
.qh-products-layout > *,
.qh-product-grid > *,
.qh-category-grid > *,
.qh-contact-brief > *,
.qh-cases-reference-hero > *,
.qh-news-reference-body > * { min-width: 0; }

@media (max-width: 640px) {
  .qh-header-inner { gap: 8px; }
  .qh-brand { flex: 1 1 auto; gap: 8px; overflow: hidden; }
  .qh-brand img { flex: 0 0 auto; width: 25px; height: 25px; }
  .qh-brand span { min-width: 0; font-size: 16px; overflow: hidden; text-overflow: ellipsis; }
  .qh-header-actions { flex: 0 0 auto; gap: 5px; }
  .qh-lang > button { height: 36px; padding-left: 7px; gap: 3px; }
  .qh-lang > button svg:last-child { width: 13px; }
  .qh-lang-menu { width: min(190px, calc(100vw - 32px)); }
  .qh-icon-search { width: 36px; height: 36px; }
  .qh-menu-toggle { flex: 0 0 auto; width: 38px; height: 38px; }

  .qh-page-hero .qh-shell { grid-template-columns: minmax(0, 1fr); gap: 18px; }

  .qh-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qh-category-card,
  .qh-category-card a,
  .qh-category-card div,
  .qh-category-card h3,
  .qh-product-sidebar,
  .qh-product-results,
  .qh-product-card,
  .qh-product-card-body,
  .qh-product-results-head { min-width: 0; max-width: 100%; }
  .qh-category-card h3,
  .qh-product-card h3,
  .qh-product-card p,
  .qh-product-category,
  .qh-product-results-head span { overflow-wrap: anywhere; }
  .qh-pagination { max-width: 100%; flex-wrap: wrap; gap: 6px; }
  .qh-pagination button { flex: 0 0 36px; width: 36px; height: 36px; }

  .qh-contact-lead,
  .qh-contact-brief-panel,
  .qh-cases-reference-copy,
  .qh-news-reference-hero .qh-shell { max-width: 100%; }
  .qh-contact-lead h1,
  .qh-contact-brief-panel h2,
  .qh-cases-reference-copy h1,
  .qh-news-reference-hero h1,
  .qh-page-hero h1,
  .qh-page-hero p,
  .qh-thanks-reference-main h1,
  .qh-thanks-reference-main p { max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
  .qh-contact-lead h1 { font-size: clamp(38px, 12vw, 49px); }
  .qh-cases-reference-copy h1 { font-size: clamp(40px, 13vw, 52px); }
  .qh-news-reference-hero h1 { font-size: clamp(40px, 13vw, 52px); }
  .qh-contact-lead .qh-button-row,
  .qh-thanks-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qh-contact-lead .qh-btn,
  .qh-thanks-actions .qh-btn,
  .qh-thanks-news-link,
  .qh-news-actions .qh-btn { white-space: normal; overflow-wrap: anywhere; text-align: center; }

  .qh-contact-reference-grid .qh-inquiry-form label > span {
    display: block;
    margin: 0 0 6px;
    font-size: 11px;
  }
  .qh-contact-reference-grid .qh-inquiry-form input,
  .qh-contact-reference-grid .qh-inquiry-form select,
  .qh-contact-reference-grid .qh-inquiry-form textarea { width: 100%; min-width: 0; }

  .qh-news-reference,
  .qh-cases-reference,
  .qh-thanks-reference { max-width: 100%; overflow-x: clip; }
  .qh-cta-band-photo { background-image: linear-gradient(90deg, rgba(8,9,9,.9) 0%, rgba(8,9,9,.72) 48%, rgba(8,9,9,.4) 100%), url("assets/factory/workshops/factory-panel-processing-line-960.webp"); }
  .qh-cases-reference-cta .qh-shell { background-image: url("assets/factory/workshops/factory-panel-processing-line-960.webp"); }
  .qh-factory-reference-hero { background-image: linear-gradient(90deg, rgba(7,8,8,.88) 0%, rgba(7,8,8,.58) 38%, rgba(7,8,8,.14) 72%), url("assets/factory/workshops/factory-panel-processing-line-960.webp"); }
  .qh-news-reference-hero { background-image: linear-gradient(rgba(5,6,6,.62), rgba(5,6,6,.62)), url("assets/factory/workshops/factory-solid-wood-workshop-960.webp"); }
  .qh-news-topics,
  .qh-thanks-insight-grid { max-width: 100%; contain: inline-size; }
  .qh-footer-brand-lockup { max-width: 100%; }
  .qh-footer-brand-lockup strong { min-width: 0; font-size: clamp(20px, 7vw, 25px); white-space: normal; overflow-wrap: anywhere; }
  .qh-footer a { max-width: 100%; overflow-wrap: anywhere; }
}

@media (max-width: 360px) {
  .qh-shell { width: calc(100% - 24px); }
  .qh-brand img { display: none; }
  .qh-brand span { font-size: 15px; text-overflow: clip; }
  .qh-lang > button { padding-left: 5px; }
  .qh-icon-search { width: 34px; }
  .qh-menu-toggle { width: 36px; }
  .qh-category-grid { gap: 10px; }
  .qh-category-card div { padding: 11px; }
  .qh-category-card h3 { font-size: 18px; }
}
