/* ============================================================
   Kinghua Machine — static preview stylesheet
   Scope: every rule lives under .kh-page so it cannot clash with
   Astra / Elementor output. Paste this ONCE (Astra → Customizer →
   Additional CSS, or WPCode CSS snippet). Never per-page.
   ============================================================ */

.kh-page {
  --kh-ink: #0e1726;
  --kh-body: #46536b;
  --kh-muted: #6c7a93;
  --kh-line: #e3e8f0;
  --kh-line-soft: #eef1f6;
  --kh-bg: #ffffff;
  --kh-bg-alt: #f6f8fb;
  --kh-navy: #0d1b2f;
  --kh-blue: #1b4f98;
  --kh-blue-dark: #143c75;
  --kh-blue-light: #eaf1fb;
  --kh-green: #1f9d55;
  --kh-radius: 14px;
  --kh-radius-lg: 20px;
  --kh-shadow: 0 1px 2px rgba(13, 27, 47, .04), 0 10px 30px -18px rgba(13, 27, 47, .22);
  --kh-shadow-hover: 0 2px 4px rgba(13, 27, 47, .06), 0 22px 44px -20px rgba(13, 27, 47, .3);
  --kh-max: 1200px;
  --kh-pad: 20px;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--kh-body);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background: var(--kh-bg);
  overflow-x: clip;
}

.kh-page *,
.kh-page *::before,
.kh-page *::after { box-sizing: border-box; }

/* author rules such as .kh-pcard{display:flex} would beat the UA [hidden] rule,
   so filtering and the prefill chip must opt out explicitly */
.kh-page [hidden] { display: none !important; }

.kh-page h1,
.kh-page h2,
.kh-page h3,
.kh-page h4,
.kh-page p,
.kh-page ul,
.kh-page ol,
.kh-page figure,
.kh-page table { margin: 0; padding: 0; }

.kh-page ul,
.kh-page ol { list-style: none; }

.kh-page img { display: block; max-width: 100%; height: auto; }

.kh-page a { color: var(--kh-blue); text-decoration: none; }
.kh-page a:hover { text-decoration: underline; }

.kh-page strong { color: var(--kh-ink); }

/* ---------- typography (single source of truth, avoids size drift) ---------- */
.kh-page h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.14;
  letter-spacing: -.022em;
  font-weight: 800;
  color: var(--kh-ink);
  margin: 0 0 18px;
}
.kh-page h2 {
  font-size: clamp(23px, 2.9vw, 33px);
  line-height: 1.24;
  letter-spacing: -.015em;
  font-weight: 750;
  color: var(--kh-ink);
  margin: 0 0 14px;
}
.kh-page h3 {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.35;
  font-weight: 700;
  color: var(--kh-ink);
  margin: 0 0 8px;
}
.kh-page p { margin: 0 0 14px; }
.kh-page p:last-child { margin-bottom: 0; }

.kh-lead {
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.72;
  color: var(--kh-body);
  max-width: 62ch;
}

.kh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--kh-blue);
  margin: 0 0 14px;
}
.kh-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--kh-blue);
  display: inline-block;
}

/* ---------- layout ---------- */
.kh-wrap {
  width: 100%;
  max-width: var(--kh-max);
  margin: 0 auto;
  padding-left: var(--kh-pad);
  padding-right: var(--kh-pad);
}
.kh-section { padding: clamp(52px, 6vw, 88px) 0; }
.kh-section--alt { background: var(--kh-bg-alt); }
.kh-section--tight { padding: clamp(36px, 4vw, 56px) 0; }

.kh-head { max-width: 760px; margin: 0 0 clamp(28px, 3.4vw, 44px); }
.kh-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.kh-head--center .kh-lead { margin-left: auto; margin-right: auto; }

.kh-grid { display: grid; gap: 22px; }
.kh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kh-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kh-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- buttons ---------- */
.kh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 15.5px;
  font-weight: 650;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
  white-space: nowrap;
}
.kh-btn svg { width: 17px; height: 17px; flex: none; }
.kh-btn--primary { background: var(--kh-blue); color: #fff !important; box-shadow: 0 10px 22px -12px rgba(27, 79, 152, .75); }
.kh-btn--primary:hover { background: var(--kh-blue-dark); transform: translateY(-1px); }
.kh-btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff !important; }
.kh-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.kh-btn--outline { border-color: var(--kh-line); color: var(--kh-ink) !important; background: #fff; }
.kh-btn--outline:hover { border-color: var(--kh-blue); color: var(--kh-blue) !important; transform: translateY(-1px); }
.kh-btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.kh-btn--block { width: 100%; }

.kh-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- header ---------- */
.kh-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--kh-line-soft);
}
.kh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}
.kh-brand { display: flex; align-items: center; gap: 11px; text-decoration: none !important; min-width: 0; }
.kh-brand__logo { display: block; height: 40px; width: auto; max-width: 200px; }
/* the global `.kh-page img { height: auto }` reset is (0,1,1) and would beat a
   single-class rule, so every component that sizes an <img> is scoped explicitly */
.kh-page .kh-brand__logo { height: 40px; width: auto; max-width: 200px; }
.kh-page .kh-footer__mark { height: 34px; width: auto; max-width: 40px; }
.kh-brand__mark {
  width: 38px; height: 38px; flex: none;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--kh-blue), #2a6fc4);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .02em;
  display: flex; align-items: center; justify-content: center;
}
.kh-brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.kh-brand__name {
  font-size: 17px; font-weight: 800; color: var(--kh-ink); letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kh-brand__tag { font-size: 11.5px; color: var(--kh-muted); letter-spacing: .04em; }

.kh-nav { display: flex; align-items: center; gap: 26px; }
.kh-nav__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--kh-ink) !important;
  text-decoration: none !important;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.kh-nav__link:hover { color: var(--kh-blue) !important; }
.kh-nav__link[aria-current="page"] { color: var(--kh-blue) !important; border-bottom-color: var(--kh-blue); }

/* ---------- Products dropdown ---------- */
.kh-nav__item { position: relative; display: flex; align-items: center; gap: 2px; }
.kh-nav__trigger {
  display: inline-flex; align-items: center;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.kh-nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  padding: 0; margin-left: -2px;
  background: none; border: 0; border-radius: 6px;
  color: var(--kh-ink); cursor: pointer;
}
.kh-nav__toggle:hover { background: var(--kh-bg-alt); }
.kh-nav__toggle[aria-expanded="true"] { background: var(--kh-light, #eaf1fb); }
.kh-nav__chev { width: 14px; height: 14px; opacity: .7; transition: transform .18s ease; }
.kh-nav__toggle[aria-expanded="true"] .kh-nav__chev { transform: rotate(180deg); }
.kh-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -14px;
  z-index: 70;
  width: 318px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--kh-line);
  box-shadow: 0 26px 54px -30px rgba(13, 27, 47, .55);
  display: grid;
  gap: 2px;
}
/* invisible bridge across the 12px gap — without it the pointer leaves the
   wrapper while travelling from the trigger to the panel, and the menu closes */
.kh-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.kh-menu__item { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none !important; }
.kh-menu__item:hover { background: var(--kh-bg-alt); }
.kh-menu__t { display: block; font-size: 14.6px; font-weight: 650; color: var(--kh-ink); }
.kh-menu__d { display: block; font-size: 12.8px; color: var(--kh-muted); margin-top: 2px; }
.kh-menu__all {
  display: block; margin-top: 4px; padding: 11px 12px;
  border-top: 1px solid var(--kh-line-soft);
  font-size: 14px; font-weight: 700; color: var(--kh-blue) !important; text-decoration: none !important;
}
.kh-mobile__sub {
  display: grid; gap: 0; margin: 2px 0 4px; padding-left: 12px;
  border-left: 2px solid var(--kh-line-soft);
}
.kh-mobile__sub a {
  font-size: 14.4px; font-weight: 500; color: var(--kh-muted) !important;
  padding: 9px 2px; border-bottom: 0 !important;
}

/* ---------- insights: listing cards + article page ---------- */
.kh-icard {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #fff;
  border: 1px solid var(--kh-line);
  border-radius: var(--kh-radius-lg);
  padding: 24px 24px 20px;
  box-shadow: var(--kh-shadow);
  text-decoration: none !important;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.kh-icard:hover { box-shadow: var(--kh-shadow-hover); transform: translateY(-3px); border-color: #cfdaeb; }
.kh-icard__cat {
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--kh-blue); margin: 0 0 10px;
}
.kh-icard h2, .kh-icard h3 {
  font-size: 18px; line-height: 1.35; margin: 0 0 10px; color: var(--kh-ink);
}
.kh-icard p { font-size: 14.6px; line-height: 1.65; color: var(--kh-body); margin: 0 0 18px; }
.kh-icard__meta {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; font-size: 13px; color: var(--kh-muted);
}
.kh-icard__go { font-weight: 700; color: var(--kh-blue); }

.kh-post { max-width: 780px; margin: 0 auto; }
.kh-post h1 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 12px; }
.kh-post__meta { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--kh-muted); margin: 0 0 18px; }
.kh-post__lead { font-size: 18.5px; line-height: 1.65; color: #31405c; margin: 0 0 8px; }
.kh-post__body { margin-top: 26px; }
.kh-post__body p { font-size: 16.5px; line-height: 1.8; color: var(--kh-body); margin: 0 0 18px; }
.kh-post__note {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--kh-line);
  font-size: 14px !important; color: var(--kh-muted) !important;
}
.kh-filterbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-bottom: 26px; }
.kh-filterbar__field { display: grid; gap: 6px; min-width: 220px; }
.kh-filterbar__field > span {
  font-size: 12.2px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--kh-muted);
}
.kh-filterbar__count { margin-left: auto; font-size: 13.5px; color: var(--kh-muted); padding-bottom: 14px; }

.kh-header__cta { display: flex; align-items: center; gap: 10px; }
.kh-header__phone {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 700; color: var(--kh-ink) !important; text-decoration: none !important;
}
.kh-header__phone svg { width: 15px; height: 15px; color: var(--kh-blue); }

.kh-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--kh-line); border-radius: 10px;
  cursor: pointer;
}
.kh-burger span { display: block; width: 18px; height: 2px; background: var(--kh-ink); position: relative; }
.kh-burger span::before, .kh-burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--kh-ink);
}
.kh-burger span::before { top: -6px; }
.kh-burger span::after { top: 6px; }

.kh-mobile {
  display: none;
  border-top: 1px solid var(--kh-line-soft);
  background: #fff;
  padding: 10px 0 18px;
}
.kh-mobile.is-open { display: block; max-height: calc(100vh - 72px); overflow-y: auto; }
html.kh-nav-locked,
html.kh-nav-locked body { overflow: hidden; }
.kh-mobile a {
  display: block;
  padding: 13px 2px;
  font-size: 16px;
  font-weight: 600;
  color: var(--kh-ink) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--kh-line-soft);
}
.kh-mobile .kh-btn { margin-top: 14px; }

/* ---------- hero ---------- */
.kh-hero {
  position: relative;
  color: #fff;
  background: var(--kh-navy);
  overflow: hidden;
}
.kh-hero__media { position: absolute; inset: 0; }
.kh-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.kh-hero__media::after {
  content: "";
  position: absolute; inset: 0;
  /* plan D: photo stays readable on the right, text sits on a dark left edge */
  background: linear-gradient(96deg, rgba(9, 20, 36, .88) 0%, rgba(11, 26, 47, .62) 46%, rgba(13, 32, 58, .22) 100%);
}
.kh-hero__inner {
  position: relative;
  z-index: 2;
  padding: clamp(56px, 7vw, 104px) 0 clamp(48px, 6vw, 88px);
  max-width: 760px;
}
.kh-hero h1 { color: #fff; margin-bottom: 20px; }
.kh-hero .kh-lead { color: rgba(255, 255, 255, .82); font-size: clamp(16px, 1.4vw, 18.5px); }
.kh-hero .kh-eyebrow { color: #8fb8ea; }
.kh-hero .kh-eyebrow::before { background: #8fb8ea; }

.kh-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.kh-stats__item { background: rgba(9, 20, 36, .45); padding: 22px 24px; }
.kh-stats__num { display: block; font-size: 27px; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.kh-stats__label { display: block; font-size: 13px; color: rgba(255, 255, 255, .68); margin-top: 5px; }

/* ---------- cards ---------- */
.kh-card {
  background: #fff;
  border: 1px solid var(--kh-line);
  border-radius: var(--kh-radius-lg);
  padding: 26px;
  box-shadow: var(--kh-shadow);
}
.kh-card h3 { margin-bottom: 8px; }
.kh-card p { font-size: 15.2px; color: var(--kh-body); margin: 0; }

.kh-feature__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--kh-blue-light);
  color: var(--kh-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.kh-feature__icon svg { width: 22px; height: 22px; }

/* product-line cards: a real photo instead of a generic line icon */
.kh-line {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--kh-line);
  border-radius: var(--kh-radius-lg);
  overflow: hidden;
  box-shadow: var(--kh-shadow);
  text-decoration: none !important;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.kh-line:hover { box-shadow: var(--kh-shadow-hover); transform: translateY(-3px); border-color: #cfdaeb; }
.kh-line__media { aspect-ratio: 16 / 9; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.kh-line__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.kh-line__body { padding: 18px 22px 20px; }
.kh-line h3 { font-size: 17.5px; margin-bottom: 8px; }
.kh-line p { font-size: 14.6px; line-height: 1.65; color: var(--kh-body); margin: 0; }
.kh-line__go {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--kh-blue);
}
.kh-line__go svg { width: 14px; height: 14px; transition: transform .16s ease; }
.kh-line:hover .kh-line__go svg { transform: translateX(3px); }

/* product cards */
.kh-pcard {
  display: flex;
  flex-direction: column;
  position: relative;                 /* anchor for the stretched link below */
  background: #fff;
  border: 1px solid var(--kh-line);
  border-radius: var(--kh-radius-lg);
  overflow: hidden;
  box-shadow: var(--kh-shadow);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
/* the whole card is clickable: the "view" link stretches over the card.
   The link itself must NOT be positioned, otherwise the overlay anchors to the
   link instead of the card and nothing gets covered. */
.kh-pcard__more::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--kh-radius-lg);
  z-index: 1;
}
.kh-pcard__title a { position: relative; z-index: 2; }
.kh-pcard:hover { box-shadow: var(--kh-shadow-hover); transform: translateY(-3px); border-color: #cfdaeb; }
.kh-pcard__media { position: relative; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.kh-pcard__media img { width: 100%; height: 100%; object-fit: contain; }
.kh-pcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.kh-pcard__cat {
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--kh-blue); margin-bottom: 8px;
}
.kh-pcard__title { font-size: 17.5px; font-weight: 700; line-height: 1.35; color: var(--kh-ink); margin-bottom: 8px; }
.kh-pcard__title a { color: inherit !important; text-decoration: none !important; }
.kh-pcard__title a:hover { color: var(--kh-blue) !important; }
.kh-pcard__desc { font-size: 14.6px; color: var(--kh-body); margin-bottom: 16px; }
.kh-pcard__more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px; font-weight: 700; color: var(--kh-blue) !important; text-decoration: none !important;
}
.kh-pcard__more svg { width: 15px; height: 15px; transition: transform .16s ease; }
.kh-pcard__more:hover svg { transform: translateX(3px); }

/* category chips */
.kh-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.kh-chip {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex; align-items: center;
  border: 1px solid var(--kh-line);
  border-radius: 999px;
  background: #fff;
  font-size: 14.2px; font-weight: 600;
  color: var(--kh-ink) !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: all .15s ease;
  font-family: inherit;
}
.kh-chip:hover { border-color: #b9c9e2; color: var(--kh-blue) !important; }
.kh-chip.is-active { background: var(--kh-blue); border-color: var(--kh-blue); color: #fff !important; }
.kh-chip__n { opacity: .65; margin-left: 7px; font-size: 13px; }
.kh-hint--top { margin-top: 26px; }
.kh-list--top { margin-top: 14px; }
.kh-wrap--narrow { max-width: 820px; }
.kh-callout--mb { margin-bottom: 26px; }
.kh-footer__addr--mt { margin-top: 14px; }
.kh-footer__time { color: rgba(255, 255, 255, .5); }
/* media placeholder used by the WordPress templates when no photo is attached */
.kh-pd__media--empty {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  background: var(--kh-bg-alt);
  border: 1px dashed #c8d4e6;
  border-radius: var(--kh-radius-lg);
  color: var(--kh-muted);
  font-size: 14px;
  line-height: 1.5;
}
.kh-tbd { color: #b45309; font-weight: 700; margin-left: 4px; font-size: 13px; }

/* ---------- product detail ---------- */
.kh-crumbs { font-size: 13.5px; color: var(--kh-muted); padding: 18px 0 0; }
.kh-crumbs a { color: var(--kh-muted) !important; text-decoration: none !important; }
.kh-crumbs a:hover { color: var(--kh-blue) !important; }
.kh-crumbs span { margin: 0 7px; opacity: .55; }

.kh-pd { padding: 22px 0 clamp(40px, 5vw, 64px); }
.kh-pd__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.kh-pd__media { position: sticky; top: 96px; }
.kh-pd__media img { width: 100%; }

/* product gallery: one large image + a thumbnail row that swaps it */
.kh-gallery__main {
  width: 100%;
  height: auto;                 /* follow the photo's own ratio, never crop it */
  max-height: 68vh;
  object-fit: contain;
  background: #fff;
  border-radius: var(--kh-radius-lg);
  border: 1px solid var(--kh-line);
}
.kh-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.kh-gallery__thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--kh-bg-alt);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: border-color .15s ease, transform .15s ease;
}
.kh-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.kh-gallery__thumb:hover { border-color: #c3d2e6; }
.kh-gallery__thumb.is-active { border-color: var(--kh-blue); }
.kh-gallery__thumb:focus-visible { outline: 2px solid var(--kh-blue); outline-offset: 2px; }
.kh-gallery__main { cursor: zoom-in; }

/* ---------- image viewer: click to enlarge, zoom, step through ---------- */
.kh-lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(9, 16, 28, .94);
  backdrop-filter: blur(2px);
}
.kh-lb.is-open { display: block; }
.kh-lb__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
  touch-action: none;
}
.kh-lb.is-zoomed .kh-lb__stage { cursor: grab; }
.kh-lb__stage.is-dragging { cursor: grabbing; }
.kh-lb__stage img {
  max-width: 92vw;
  max-height: 84vh;
  width: auto;
  height: auto;
  transform-origin: center center;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}
.kh-lb__close,
.kh-lb__nav,
.kh-lb__zoom {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.kh-lb__close:hover,
.kh-lb__nav:hover,
.kh-lb__zoom:hover { background: rgba(255, 255, 255, .22); }
.kh-lb__close {
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
}
.kh-lb__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 72px;
  border-radius: 12px;
  font-size: 30px;
  line-height: 1;
}
.kh-lb__nav--prev { left: 16px; }
.kh-lb__nav--next { right: 16px; }
.kh-lb__nav[hidden] { display: none; }
.kh-lb__bar {
  position: absolute;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(9, 16, 28, .8);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 13.5px;
}
.kh-lb__count { padding: 0 8px; color: rgba(255, 255, 255, .75); }
.kh-lb__level { min-width: 46px; text-align: center; color: rgba(255, 255, 255, .75); }
.kh-lb__zoom {
  position: static;
  width: 38px; height: 34px;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1;
}
.kh-lb__zoom--text { width: auto; padding: 0 12px; }
@media (max-width: 640px) {
  .kh-lb__nav { width: 40px; height: 56px; font-size: 24px; }
  .kh-lb__stage img { max-width: 100vw; max-height: 78vh; }
  .kh-lb__close { top: 10px; right: 10px; }
}
.kh-pd__badge {  display: inline-flex; align-items: center; gap: 7px;
  background: var(--kh-blue-light); color: var(--kh-blue);
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; margin-bottom: 16px;
}
.kh-pd__h1 { font-size: clamp(26px, 3.3vw, 38px); margin-bottom: 14px; }
.kh-pd__summary { font-size: 16.5px; color: var(--kh-body); margin-bottom: 22px; }

.kh-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 12px; margin: 0 0 24px; }
.kh-kpi { background: var(--kh-bg-alt); border: 1px solid var(--kh-line-soft); border-radius: 12px; padding: 14px 15px; }
.kh-kpi__v { display: block; font-size: 18px; font-weight: 800; color: var(--kh-ink); line-height: 1.2; }
.kh-kpi__l { display: block; font-size: 12.2px; color: var(--kh-muted); margin-top: 4px; }

.kh-pd__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.kh-pd__note { font-size: 13.2px; color: var(--kh-muted); }
.kh-pd__dl { margin: 14px 0 0; }
.kh-pd__dl a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.3px; font-weight: 650; color: var(--kh-blue) !important; text-decoration: none !important;
  padding: 9px 14px; border: 1px dashed #c3d2e6; border-radius: 10px; background: #fbfdff;
}
.kh-pd__dl a:hover { border-color: var(--kh-blue); background: #eaf1fb; }
.kh-pd__dl svg { width: 17px; height: 17px; }
.kh-pd__who { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--kh-line); font-size: 14px; }
.kh-pd__who p { margin: 0; }
.kh-pd__who strong { color: var(--kh-ink); }
.kh-pd__who-note { color: var(--kh-muted); font-size: 13px; margin-top: 3px !important; }
.kh-callout--muted { background: #f7f8fb; border-color: #e3e8f0; }
.kh-callout--muted strong { color: #5a6372; }

.kh-block { margin-top: clamp(34px, 4vw, 52px); }
.kh-block > h2 { margin-bottom: 16px; }
/* long-form text should not run the full 1200px width */
.kh-block > p { max-width: 82ch; }
.kh-pd__summary { max-width: 60ch; }

/* spec table */
.kh-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kh-spec { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 420px; }
.kh-spec caption { text-align: left; font-size: 13px; color: var(--kh-muted); padding-bottom: 10px; }
.kh-spec th, .kh-spec td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--kh-line-soft); }
.kh-spec thead th {
  background: var(--kh-blue-light);
  color: var(--kh-ink);
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 1px solid #d4e2f4;
}
.kh-spec tbody tr:nth-child(even) { background: #fafbfd; }
.kh-spec td:first-child { color: var(--kh-muted); font-weight: 600; width: 46%; }
.kh-spec td:last-child { color: var(--kh-ink); font-weight: 650; }
.kh-spec--compare { min-width: 560px; }
.kh-spec--compare td:first-child { width: auto; }

/* bullets / scenarios */
.kh-list { display: grid; gap: 10px; }
.kh-list li { position: relative; padding-left: 26px; font-size: 15.4px; color: var(--kh-body); }
.kh-list li::before {
  content: "";
  position: absolute; left: 2px; top: .55em;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--kh-blue); opacity: .75;
}
.kh-list--check li::before {
  left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%;
  background-color: var(--kh-blue-light);
  box-shadow: inset 0 0 0 1.5px #cfe0f6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.1 2.1 4.7-4.7' fill='none' stroke='%231b4f98' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.kh-list--check li { padding-left: 26px; }

/* FAQ */
.kh-faq { border-top: 1px solid var(--kh-line); }
.kh-faq details { border-bottom: 1px solid var(--kh-line); }
.kh-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 34px 18px 0;
  position: relative;
  font-size: 16px;
  font-weight: 650;
  color: var(--kh-ink);
}
.kh-faq summary::-webkit-details-marker { display: none; }
.kh-faq summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--kh-blue); line-height: 1;
}
.kh-faq details[open] summary::after { content: "\2212"; }
.kh-faq .kh-faq__a { padding: 0 30px 18px 0; font-size: 15.3px; color: var(--kh-body); }

/* callout */
.kh-callout {
  border-left: 3px solid var(--kh-blue);
  background: var(--kh-blue-light);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  font-size: 15px;
  color: #23405f;
}
.kh-callout strong { color: var(--kh-blue-dark); }

/* CTA band */
.kh-band {
  background: linear-gradient(100deg, var(--kh-navy) 0%, #12325c 58%, #1b4f98 100%);
  color: #fff;
  padding: clamp(44px, 5vw, 68px) 0;
  position: relative;
  overflow: hidden;
}
.kh-band::after {
  content: "";
  position: absolute; right: -120px; top: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 184, 234, .22), transparent 62%);
}
.kh-band h2 { color: #fff; }
.kh-band p { color: rgba(255, 255, 255, .8); max-width: 62ch; }
.kh-band__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* contact */
.kh-contact { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(26px, 3.4vw, 48px); align-items: start; }
.kh-contact__card { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--kh-line-soft); }
.kh-contact__card:last-child { border-bottom: 0; }
.kh-contact__icon {
  width: 42px; height: 42px; flex: none; border-radius: 11px;
  background: var(--kh-blue-light); color: var(--kh-blue);
  display: flex; align-items: center; justify-content: center;
}
.kh-contact__icon svg { width: 19px; height: 19px; }
.kh-contact__label { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kh-muted); }
.kh-contact__value { font-size: 16.5px; font-weight: 650; color: var(--kh-ink); margin-top: 3px; word-break: break-word; }
.kh-contact__value a { color: var(--kh-ink) !important; text-decoration: none !important; }
.kh-contact__value a:hover { color: var(--kh-blue) !important; }
.kh-contact__value--addr { font-size: 15.5px; line-height: 1.6; }
.kh-contact__sub { font-size: 14px; font-weight: 500; color: var(--kh-muted); }
.kh-req { color: #c2410c; }

/* form */
.kh-form { background: #fff; border: 1px solid var(--kh-line); border-radius: var(--kh-radius-lg); padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--kh-shadow); }
.kh-form h2 { font-size: 22px; margin-bottom: 6px; }
.kh-form__hint { font-size: 14px; color: var(--kh-muted); margin-bottom: 22px; }
.kh-field { margin-bottom: 16px; }
.kh-field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kh-label { display: block; font-size: 13.5px; font-weight: 650; color: var(--kh-ink); margin-bottom: 7px; }
.kh-label span { color: #c2410c; }
.kh-input, .kh-select, .kh-textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--kh-line);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--kh-ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.kh-textarea { min-height: 130px; resize: vertical; }
.kh-input:focus, .kh-select:focus, .kh-textarea:focus {
  outline: none;
  border-color: var(--kh-blue);
  box-shadow: 0 0 0 3px rgba(27, 79, 152, .12);
}
.kh-hint { font-size: 12.8px; color: var(--kh-muted); margin-top: 6px; }
.kh-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.kh-form__status { font-size: 14px; font-weight: 600; display: none; }
.kh-form__status.is-ok { display: block; color: var(--kh-green); }
.kh-form__status.is-bad { display: block; color: #b42318; }
.kh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* about */
.kh-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kh-fact { border: 1px solid var(--kh-line); border-radius: 12px; padding: 18px; background: #fff; }
.kh-fact__k { font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--kh-muted); font-weight: 700; }
.kh-fact__v { font-size: 15.6px; color: var(--kh-ink); font-weight: 650; margin-top: 6px; }

.kh-steps { counter-reset: kh-step; display: grid; gap: 18px; }
.kh-step { position: relative; padding-left: 56px; }
.kh-step::before {
  counter-increment: kh-step;
  content: counter(kh-step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--kh-blue-light); color: var(--kh-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; letter-spacing: .03em;
}

.kh-quote { border-left: 3px solid var(--kh-blue); padding: 4px 0 4px 22px; font-size: 18px; line-height: 1.65; color: var(--kh-ink); }
.kh-quote cite { display: block; font-size: 14px; font-style: normal; color: var(--kh-muted); margin-top: 12px; }

/* breadcrumb + page head */
.kh-pagehead { padding: clamp(36px, 4.4vw, 60px) 0 clamp(12px, 2vw, 20px); }
.kh-pagehead h1 { margin-bottom: 14px; }

/* footer */
.kh-footer { background: #0b1424; color: rgba(255, 255, 255, .68); padding: clamp(44px, 5vw, 68px) 0 26px; }
.kh-footer a { color: rgba(255, 255, 255, .78) !important; text-decoration: none !important; }
.kh-footer a:hover { color: #fff !important; }
.kh-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
.kh-footer h4 {
  font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; margin: 0 0 16px; font-weight: 700;
}
.kh-footer__links { display: grid; gap: 10px; font-size: 14.6px; }
.kh-footer__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.kh-footer__brand .kh-brand__mark { width: 34px; height: 34px; font-size: 13.5px; }
.kh-footer__brand strong { color: #fff; font-size: 16px; }
.kh-footer__addr { font-size: 14.4px; line-height: 1.75; }
.kh-footer__bottom {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.6px;
}
.kh-footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* floating whatsapp */
.kh-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff !important;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -10px rgba(37, 211, 102, .8);
  text-decoration: none !important;
  transition: transform .16s ease;
}
.kh-fab:hover { transform: scale(1.06); }
.kh-fab svg { width: 27px; height: 27px; }

/* ---------- utilities (keeps inline styles out of the pasted HTML) ---------- */
.kh-grid--gap-lg { gap: clamp(28px, 4vw, 56px); align-items: start; }
.kh-grid--gap-md { gap: clamp(24px, 3vw, 44px); align-items: start; }
.kh-grid--center { align-items: center; }
.kh-card--soft { background: #fbfcfe; }
.kh-figure--mb { margin-bottom: 22px; }
.kh-actions--center { justify-content: center; }
.kh-actions--flush { margin-top: 0; }
.kh-lead--tight { margin-bottom: 28px; }
.kh-figure { border-radius: var(--kh-radius-lg); border: 1px solid var(--kh-line); }
.kh-faq--narrow { max-width: 840px; }
.kh-hero--short .kh-hero__inner { padding-bottom: clamp(40px, 5vw, 72px); }
.kh-callout--top { margin-top: 22px; }
.kh-facts--mt { margin-top: 4px; }

/* ---------- skip link ---------- */
.kh-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--kh-blue);
  color: #fff !important;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
}
.kh-skip:focus { left: 0; outline: 3px solid #fff; outline-offset: -6px; }

/* ---------- video facade (no YouTube JS, no cookies, until the visitor clicks) ---------- */
.kh-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--kh-radius-lg);
  overflow: hidden;
  border: 1px solid var(--kh-line);
  background: #0b1424;
}
.kh-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kh-video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kh-page .kh-video__poster { width: 100%; height: 100%; }
.kh-video__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(9, 20, 36, .3);
  border: 0; padding: 0; cursor: pointer;
}
.kh-video__play > span {
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: var(--kh-blue);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .65);
  transition: transform .15s ease, background .15s ease;
}
.kh-video__play:hover > span { transform: scale(1.06); background: #fff; }
.kh-video__play svg { width: 26px; height: 26px; margin-left: 4px; }
.kh-video__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 18px; color: #fff; font-size: 14.2px; font-weight: 600;
  background: linear-gradient(transparent, rgba(9, 20, 36, .82));
  text-align: left;
}
.kh-video__note { font-size: 13px; color: var(--kh-muted); margin-top: 10px; }
.kh-video--sm .kh-video__play > span { width: 60px; height: 60px; }
.kh-video--narrow { max-width: 860px; }

/* ---------- enquiry prefill chip ---------- */
.kh-form__product {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline;
  background: var(--kh-blue-light); border: 1px solid #d4e2f4; border-radius: 10px;
  padding: 10px 14px; margin-bottom: 16px; font-size: 14.5px;
}
.kh-form__product span { color: var(--kh-muted); }
.kh-form__product strong { color: var(--kh-blue-dark); }

/* light hero — product composite on a pale background, dark blue headline
   (the look the old site had; used when the background is a cut-out photo, not a scene) */
.kh-hero--light { background: #eaf2fb; }
.kh-hero--light .kh-hero__media img { object-position: left center; }
.kh-hero--light .kh-hero__media::after {
  background: linear-gradient(96deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .92) 36%,
              rgba(255, 255, 255, .58) 68%, rgba(255, 255, 255, .18) 100%);
}
.kh-hero--light h1 { color: var(--kh-blue); }
.kh-hero--light .kh-lead { color: #31405c; }
.kh-hero--light .kh-eyebrow { color: var(--kh-blue); }
.kh-hero--light .kh-eyebrow::before { background: var(--kh-blue); }
.kh-hero--light .kh-btn--ghost { border-color: #c3d2e6; color: var(--kh-ink) !important; }
.kh-hero--light .kh-btn--ghost:hover { background: #fff; border-color: var(--kh-blue); color: var(--kh-blue) !important; }
.kh-hero--light .kh-stats { background: #dce8f6; border-top: 1px solid #d3e2f3; }
.kh-hero--light .kh-stats__item { background: #fff; }
.kh-hero--light .kh-stats__num { color: var(--kh-ink); }
.kh-hero--light .kh-stats__label { color: var(--kh-muted); }

/* ---------- mobile action bar (the highest-value mobile element on an export site) ---------- */
.kh-mbar { display: none; }
@media (max-width: 900px) {
  .kh-mbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: flex;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--kh-line);
    box-shadow: 0 -8px 26px -16px rgba(13, 27, 47, .45);
  }
  .kh-mbar .kh-btn { flex: 1 1 0; min-height: 46px; padding: 0 14px; font-size: 15px; }
  .kh-mbar .kh-btn--wa { background: #25d366; color: #fff !important; box-shadow: none; }
  .kh-fab { display: none; }
  .kh-footer { padding-bottom: 96px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .kh-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .kh-pd__grid { grid-template-columns: 1fr; }
  .kh-pd__media { position: static; }
  .kh-contact { grid-template-columns: 1fr; }
  .kh-nav { gap: 18px; }
}

@media (max-width: 900px) {
  .kh-nav, .kh-header__cta .kh-header__phone { display: none; }
  .kh-burger { display: flex; }
  .kh-header__inner { min-height: 66px; }
}

@media (max-width: 820px) {
  .kh-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-stats { grid-template-columns: 1fr; }
  .kh-stats__item { padding: 16px 20px; display: flex; align-items: baseline; gap: 10px; }
  .kh-stats__num { font-size: 20px; }
  .kh-stats__label { margin-top: 0; }
  .kh-kpis { grid-template-columns: 1fr; }
  .kh-facts { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .kh-page { --kh-pad: 16px; font-size: 16px; }
  .kh-header__cta { display: none; }
  .kh-brand__logo { height: 32px; }
  .kh-page .kh-brand__logo { height: 32px; }
  .kh-brand__mark { width: 34px; height: 34px; font-size: 14px; }
  .kh-brand__name { font-size: 15.5px; }
  .kh-section { padding: 44px 0; }
  .kh-grid--2, .kh-grid--3, .kh-grid--4 { grid-template-columns: 1fr; }
  .kh-card { padding: 22px; }
  .kh-hero__inner { padding: 44px 0 40px; }
  .kh-actions .kh-btn, .kh-pd__cta .kh-btn { width: 100%; }
  .kh-field--row { grid-template-columns: 1fr; }
  .kh-footer__grid { grid-template-columns: 1fr; }
  .kh-footer__bottom { flex-direction: column; align-items: flex-start; }
  .kh-band__inner .kh-btn { width: 100%; }
  .kh-spec, .kh-spec--compare { min-width: 480px; }
  .kh-quote { font-size: 16.5px; }
  .kh-brand__tag { display: none; }
}
