/* ==========================================================================
   Quasi Robotics — Homepage redesign
   All rules are scoped under .qh so the stylesheet can load alongside the
   existing WordPress (Sway + WPBakery) theme without side effects.
   ========================================================================== */

.qh {
  /* Brand (from www.quasi.ai) */
  --qh-accent: #4f62a1;
  --qh-accent-600: #3f4f85;
  --qh-accent-50: #f1f3fa;
  --qh-accent-100: #e4e8f5;
  --qh-accent-light: #bdccff;
  --qh-navy: #2e2f5e;
  --qh-navy-900: #1d1e40;
  --qh-ink: #38364e;
  --qh-ink-strong: #25243a;
  --qh-muted: #5b6075;
  --qh-line: #e3e7ef;
  --qh-soft: #f6f7fb;
  --qh-white: #ffffff;

  /* Shape & depth */
  --qh-r-sm: 10px;
  --qh-r: 16px;
  --qh-r-lg: 24px;
  --qh-shadow: 0 1px 2px rgba(29, 30, 64, 0.05), 0 8px 24px rgba(29, 30, 64, 0.06);
  --qh-shadow-lg: 0 2px 6px rgba(29, 30, 64, 0.06), 0 24px 56px rgba(29, 30, 64, 0.14);

  /* Layout */
  --qh-container: 1200px;
  --qh-gutter: 24px;
  --qh-section: clamp(64px, 7.5vw, 104px);
  --qh-header-h: 76px;

  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--qh-ink);
  background: var(--qh-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.qh-body { margin: 0; background: #fff; }

.qh *, .qh *::before, .qh *::after { box-sizing: border-box; }
.qh h1, .qh h2, .qh h3, .qh h4, .qh p, .qh ul, .qh ol, .qh li, .qh dl, .qh dt, .qh dd,
.qh figure, .qh figcaption, .qh fieldset, .qh legend, .qh address {
  margin: 0; padding: 0; border: 0; font: inherit; font-style: normal;
}
.qh h1, .qh h2, .qh h3, .qh h4 { color: var(--qh-ink-strong); text-transform: none; text-wrap: balance; letter-spacing: -0.015em; }
.qh p { text-wrap: pretty; }
.qh ul, .qh ol { list-style: none; }
.qh img, .qh video { display: block; max-width: 100%; height: auto; }
.qh a { color: var(--qh-accent); text-decoration: none; transition: color .2s ease; }
.qh a:hover { color: var(--qh-accent-600); }
.qh strong { font-weight: 600; color: var(--qh-ink-strong); }
.qh button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.qh :focus-visible { outline: 3px solid var(--qh-accent-light); outline-offset: 2px; border-radius: 6px; }

.qh .qh-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.qh .qh-icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qh .qh-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qh .qh-skip { position: absolute; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 8px; background: var(--qh-navy); color: #fff; font-weight: 600; }
.qh .qh-skip:focus { top: 12px; color: #fff; }

/* ---------- Layout primitives ---------- */
.qh .qh-container { width: 100%; max-width: calc(var(--qh-container) + var(--qh-gutter) * 2); margin-inline: auto; padding-inline: var(--qh-gutter); }
.qh .qh-section { padding-block: var(--qh-section); scroll-margin-top: var(--qh-header-h); }
.qh .qh-section--soft { background: var(--qh-soft); }

.qh .qh-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.qh .qh-head--left { margin-inline: 0; text-align: left; margin-bottom: 32px; }
.qh .qh-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; text-align: left; }
.qh .qh-kicker { display: inline-block; margin-bottom: 14px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--qh-accent); }
.qh .qh-h2 { font-size: clamp(2rem, 1.35rem + 2.3vw, 3rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
.qh .qh-h3 { font-size: 1.25rem; line-height: 1.35; font-weight: 600; }
.qh .qh-h4 { font-size: 1.08rem; line-height: 1.4; font-weight: 600; }
.qh .qh-hl { color: var(--qh-accent); }
.qh .qh-h2 .qh-hl { display: inline-block; } /* keep the highlighted phrase on one line when it fits */
.qh .qh-lead { margin-top: 18px; font-size: clamp(1.06rem, 1rem + 0.25vw, 1.2rem); line-height: 1.65; color: var(--qh-muted); }
.qh .qh-fineprint { margin-top: 20px; font-size: 0.85rem; line-height: 1.6; color: var(--qh-muted); text-align: center; }

.qh .qh-tile { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--qh-accent-100); color: var(--qh-accent); }
.qh .qh-tile .qh-icon { width: 26px; height: 26px; }

/* ---------- Buttons & links ---------- */
.qh .qh-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.qh .qh-actions--center { justify-content: center; margin-top: 40px; }
.qh .qh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border: 1.5px solid transparent; border-radius: var(--qh-r-sm);
  font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-align: center; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.qh .qh-btn .qh-icon { width: 18px; height: 18px; transition: transform .2s ease; }
.qh .qh-btn:hover .qh-icon--arrow { transform: translateX(3px); }
.qh .qh-btn--sm { min-height: 42px; padding: 9px 18px; font-size: 0.94rem; }
.qh .qh-btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1.05rem; }
.qh .qh-btn--primary { background: var(--qh-accent); color: #fff; box-shadow: 0 6px 18px rgba(79, 98, 161, 0.3); }
.qh .qh-btn--primary:hover { background: var(--qh-accent-600); color: #fff; transform: translateY(-1px); }
.qh .qh-btn--outline { background: transparent; color: var(--qh-navy); border-color: rgba(46, 47, 94, 0.35); }
.qh .qh-btn--outline:hover { border-color: var(--qh-navy); background: var(--qh-navy); color: #fff; }
.qh .qh-btn--ghost { color: var(--qh-accent); }
.qh .qh-btn--ghost:hover { background: var(--qh-accent-100); color: var(--qh-accent-600); }
.qh .qh-btn--light { background: #fff; color: var(--qh-navy); }
.qh .qh-btn--light:hover { background: var(--qh-accent-100); color: var(--qh-navy); transform: translateY(-1px); }
.qh .qh-btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.qh .qh-btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); color: #fff; }

.qh .qh-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.qh .qh-link .qh-icon { width: 17px; height: 17px; transition: transform .2s ease; }
.qh .qh-link:hover .qh-icon { transform: translateX(3px); }

/* ==========================================================================
   Header (proposal)
   ========================================================================== */
.qh .qh-announce { background: var(--qh-navy); color: rgba(255, 255, 255, 0.88); font-size: 0.9rem; line-height: 1.45; }
.qh .qh-announce[hidden] { display: none; }
.qh .qh-announce__inner { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding-block: 8px; padding-right: 48px; }
.qh .qh-announce p { text-align: center; }
.qh .qh-announce a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.qh .qh-announce__tag { flex: none; padding: 2px 10px; border-radius: 99px; background: var(--qh-accent-light); color: var(--qh-navy); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.qh .qh-announce__close { position: absolute; right: var(--qh-gutter); top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: rgba(255, 255, 255, 0.75); }
.qh .qh-announce__close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.qh .qh-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.qh .qh-header.is-scrolled { border-color: var(--qh-line); box-shadow: 0 6px 24px rgba(29, 30, 64, 0.06); }
.qh .qh-header__inner { display: flex; align-items: center; gap: 28px; height: var(--qh-header-h); }
.qh .qh-logo { flex: none; display: block; }
.qh .qh-logo img { height: 40px; width: auto; }

.qh .qh-nav { flex: 1; display: flex; align-items: center; }
.qh .qh-nav__list { display: flex; align-items: center; gap: 2px; }
.qh .qh-nav__item { position: relative; }
.qh .qh-nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px;
  font-size: 0.95rem; font-weight: 500; line-height: 1.2; color: var(--qh-ink); white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.qh .qh-nav__link .qh-icon { width: 16px; height: 16px; opacity: .6; transition: transform .2s ease; }
.qh .qh-nav__link:hover, .qh .qh-nav__item.is-open > .qh-nav__link { background: var(--qh-accent-50); color: var(--qh-accent); }
.qh .qh-nav__item.is-open > .qh-nav__link .qh-icon { transform: rotate(180deg); }

.qh .qh-menu {
  position: absolute; top: calc(100% + 10px); left: -12px; z-index: 10;
  min-width: 290px; padding: 10px; border-radius: var(--qh-r); background: #fff;
  border: 1px solid var(--qh-line); box-shadow: var(--qh-shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.qh .qh-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.qh .qh-menu--wide { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; min-width: 580px; }
.qh .qh-menu--wide ul + ul { padding-left: 8px; border-left: 1px solid var(--qh-line); }
.qh .qh-menu a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--qh-ink); }
.qh .qh-menu a:hover { background: var(--qh-accent-50); }
.qh .qh-menu a strong { font-size: 0.95rem; font-weight: 600; line-height: 1.35; color: var(--qh-ink-strong); display: inline-flex; align-items: center; gap: 8px; }
.qh .qh-menu a span { font-size: 0.84rem; line-height: 1.4; color: var(--qh-muted); }
.qh .qh-tag { padding: 1px 8px; border-radius: 99px; background: var(--qh-accent); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; font-style: normal; }
.qh .qh-nav__item.is-open > .qh-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (min-width: 1081px) {
  .qh .qh-nav__item:hover > .qh-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .qh .qh-nav__item:hover > .qh-nav__link { background: var(--qh-accent-50); color: var(--qh-accent); }
}

.qh .qh-nav__mobile-actions { display: none; }
.qh .qh-header__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.qh .qh-header__login { font-size: 0.9rem; font-weight: 500; color: var(--qh-muted); white-space: nowrap; }
.qh .qh-burger { display: none; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: var(--qh-ink-strong); }
.qh .qh-burger .qh-icon { width: 24px; height: 24px; }
.qh .qh-burger__close { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.qh .qh-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 96px);
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(189, 204, 255, 0.5), rgba(189, 204, 255, 0) 70%),
    linear-gradient(180deg, var(--qh-soft) 0%, #fff 78%);
}
.qh .qh-hero__grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.2fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.qh .qh-hero__title { font-weight: 700; font-size: clamp(2.6rem, 1.5rem + 3.9vw, 4.4rem); line-height: 1.03; letter-spacing: -0.035em; }
.qh .qh-hero__eyebrow { display: block; margin-bottom: 18px; font-size: 0.82rem; line-height: 1.4; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--qh-accent); }
.qh .qh-hero__lead { margin-top: 24px; max-width: 34em; font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); line-height: 1.65; color: var(--qh-muted); }
.qh .qh-hero__checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 0.95rem; font-weight: 500; color: var(--qh-ink); }
.qh .qh-hero__checks li { display: inline-flex; align-items: center; gap: 8px; }
.qh .qh-hero__checks .qh-icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--qh-accent); color: #fff; stroke-width: 3; }

.qh .qh-hero__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--qh-r-lg); overflow: hidden; background: #23253f; box-shadow: var(--qh-shadow-lg); }
.qh .qh-hero__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); pointer-events: none; }
.qh .qh-hero__video { width: 100%; height: 100%; object-fit: cover; }
.qh .qh-hero__badge {
  position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.92); color: var(--qh-navy);
  font-size: 0.8rem; font-weight: 600; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.qh .qh-dot { width: 8px; height: 8px; border-radius: 50%; background: #3cbf7a; box-shadow: 0 0 0 0 rgba(60, 191, 122, 0.6); animation: qh-pulse 2s infinite; }
@keyframes qh-pulse { 70% { box-shadow: 0 0 0 8px rgba(60, 191, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 191, 122, 0); } }
.qh .qh-video-toggle {
  position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--qh-navy);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.qh .qh-video-toggle .qh-icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.qh .qh-video-toggle__play { display: none; }
.qh .qh-video-toggle.is-paused .qh-video-toggle__play { display: block; }
.qh .qh-video-toggle.is-paused .qh-video-toggle__pause { display: none; }

.qh .qh-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 6vw, 72px); border-radius: var(--qh-r); background: #fff;
  border: 1px solid var(--qh-line); box-shadow: var(--qh-shadow);
}
.qh .qh-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 26px 28px; }
.qh .qh-stats > div + div { border-left: 1px solid var(--qh-line); }
.qh .qh-stats dt { font-size: 0.92rem; color: var(--qh-muted); }
.qh .qh-stats dd { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; color: var(--qh-ink-strong); }
.qh .qh-stats small { margin-left: 4px; font-size: 0.5em; font-weight: 600; letter-spacing: 0; color: var(--qh-accent); }

/* ==========================================================================
   Why Quasi
   ========================================================================== */
.qh .qh-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.qh .qh-pillar .qh-h3 { margin: 22px 0 10px; }
.qh .qh-pillar p { color: var(--qh-muted); }

/* ==========================================================================
   Line-up + finder
   ========================================================================== */
.qh .qh-finder {
  display: grid; grid-template-columns: auto minmax(220px, 1fr) auto auto; align-items: center; gap: 20px 32px;
  margin-bottom: 28px; padding: 18px 24px; border-radius: var(--qh-r); background: #fff; border: 1px solid var(--qh-line);
}
.qh .qh-finder__title { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--qh-ink-strong); }
.qh .qh-finder__title .qh-icon { color: var(--qh-accent); }
.qh .qh-finder__field label, .qh .qh-finder__field legend { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 4px; font-size: 0.85rem; font-weight: 500; color: var(--qh-muted); }
.qh .qh-finder__field output { font-weight: 700; color: var(--qh-ink-strong); }
.qh .qh-finder__field legend { margin-bottom: 8px; }
.qh .qh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.qh .qh-chips label { position: relative; }
.qh .qh-chips input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.qh .qh-chips span { display: block; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--qh-line); font-size: 0.86rem; font-weight: 500; color: var(--qh-ink); transition: all .15s ease; }
.qh .qh-chips input:hover + span { border-color: var(--qh-accent-light); }
.qh .qh-chips input:checked + span { background: var(--qh-accent); border-color: var(--qh-accent); color: #fff; }
.qh .qh-chips input:focus-visible + span { outline: 3px solid var(--qh-accent-light); outline-offset: 2px; }
.qh .qh-finder__result { justify-self: end; padding: 8px 14px; border-radius: 99px; background: var(--qh-accent-50); color: var(--qh-accent); font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.qh .qh-finder__result a { text-decoration: underline; }

.qh .qh-models { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.qh .qh-model {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--qh-r); background: #fff; border: 1px solid var(--qh-line);
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease, border-color .25s ease;
}
.qh .qh-model:hover { transform: translateY(-4px); box-shadow: var(--qh-shadow-lg); }
.qh .qh-model.is-dim { opacity: 0.38; }
.qh .qh-model.is-dim img { filter: grayscale(1); }
.qh .qh-model.is-match { border-color: var(--qh-accent); box-shadow: 0 0 0 1px var(--qh-accent); }
.qh .qh-model__media { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(75% 70% at 50% 62%, #fff 0%, var(--qh-accent-50) 100%); }
.qh .qh-model__media img { width: 100%; height: 100%; object-fit: contain; padding: 10% 6% 2%; transition: transform .35s ease, filter .25s ease; }
.qh .qh-model:hover .qh-model__media img { transform: scale(1.05); }
.qh .qh-model__badges { position: absolute; left: 10px; top: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 4px; }
.qh .qh-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 99px; background: #fff; color: var(--qh-accent); font-size: 0.7rem; font-weight: 600; line-height: 1.3; box-shadow: 0 2px 6px rgba(29, 30, 64, 0.08); }
.qh .qh-badge .qh-icon { width: 12px; height: 12px; }
.qh .qh-badge--new { background: var(--qh-accent); color: #fff; }
.qh .qh-model__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.qh .qh-model__name { font-size: 1.12rem; font-weight: 700; color: var(--qh-ink-strong); }
.qh .qh-model__tag { font-size: 0.88rem; font-weight: 600; color: var(--qh-accent); }
.qh .qh-model__desc { margin-top: 8px; font-size: 0.9rem; line-height: 1.55; color: var(--qh-muted); }
.qh .qh-model__specs { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding-top: 14px; }
.qh .qh-model__specs li { padding: 3px 10px; border-radius: 6px; background: var(--qh-soft); border: 1px solid var(--qh-line); font-size: 0.8rem; font-weight: 600; color: var(--qh-ink); }
.qh .qh-model__link { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-size: 0.9rem; font-weight: 600; }
.qh .qh-model__link .qh-icon { width: 15px; height: 15px; transition: transform .2s ease; }
.qh .qh-model__link::after { content: ""; position: absolute; inset: 0; }
.qh .qh-model:hover .qh-model__link .qh-icon { transform: translateX(3px); }

.qh .qh-promo {
  display: flex; align-items: center; gap: 18px; margin-top: 40px; padding: 18px 22px;
  border-radius: var(--qh-r); background: linear-gradient(110deg, var(--qh-navy) 0%, var(--qh-accent) 100%); color: rgba(255, 255, 255, 0.86);
  box-shadow: var(--qh-shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.qh .qh-promo:hover { color: rgba(255, 255, 255, 0.86); transform: translateY(-2px); box-shadow: var(--qh-shadow-lg); }
.qh .qh-promo strong { color: #fff; }
.qh .qh-promo__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.14); color: #fff; }
.qh .qh-promo__text { flex: 1; font-size: 0.98rem; line-height: 1.5; }
.qh .qh-promo__cta { display: inline-flex; align-items: center; gap: 6px; flex: none; color: #fff; font-weight: 600; }
.qh .qh-promo__cta .qh-icon { width: 17px; height: 17px; transition: transform .2s ease; }
.qh .qh-promo:hover .qh-promo__cta .qh-icon { transform: translateX(3px); }

/* ==========================================================================
   Deploy (split)
   ========================================================================== */
.qh .qh-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.qh .qh-split__media { position: relative; }
.qh .qh-split__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 30% 50%; border-radius: var(--qh-r-lg); box-shadow: var(--qh-shadow-lg); }
.qh .qh-floatcard {
  position: absolute; right: -20px; bottom: 32px; display: flex; flex-direction: column;
  padding: 18px 22px; border-radius: var(--qh-r); background: #fff; box-shadow: var(--qh-shadow-lg);
}
.qh .qh-floatcard__value { font-size: 2rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: var(--qh-accent); }
.qh .qh-floatcard__label { font-size: 0.88rem; color: var(--qh-muted); }

.qh .qh-steps { display: grid; gap: 4px; counter-reset: qh-step; }
.qh .qh-steps li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding-bottom: 26px; }
.qh .qh-steps li:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 56px; bottom: 4px; width: 2px; background: var(--qh-line); }
.qh .qh-steps__icon { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--qh-accent-100); color: var(--qh-accent); counter-increment: qh-step; }
.qh .qh-steps__icon::after { content: counter(qh-step); position: absolute; right: -4px; top: -4px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--qh-accent); color: #fff; font-size: 0.72rem; font-weight: 700; border: 2px solid #fff; }
.qh .qh-steps__icon .qh-icon { width: 24px; height: 24px; }
.qh .qh-steps .qh-h4 { margin: 4px 0 4px; }
.qh .qh-steps p { color: var(--qh-muted); }
.qh .qh-note { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--qh-r); background: var(--qh-soft); border: 1px solid var(--qh-line); font-size: 0.95rem; line-height: 1.6; }
.qh .qh-note > .qh-icon { margin-top: 2px; color: var(--qh-accent); }
.qh .qh-note a { font-weight: 600; }

/* ==========================================================================
   Software (dark) + tabs
   ========================================================================== */
.qh .qh-section--dark {
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(800px 500px at 100% 0%, rgba(124, 143, 214, 0.32), rgba(124, 143, 214, 0) 70%),
    radial-gradient(700px 500px at 0% 100%, rgba(79, 98, 161, 0.35), rgba(79, 98, 161, 0) 70%),
    var(--qh-navy-900);
}
.qh .qh-section--dark .qh-h2, .qh .qh-section--dark .qh-h3, .qh .qh-section--dark strong { color: #fff; }
.qh .qh-section--dark .qh-hl, .qh .qh-section--dark .qh-kicker { color: var(--qh-accent-light); }
.qh .qh-section--dark .qh-lead { color: rgba(255, 255, 255, 0.72); }
.qh .qh-section--dark .qh-link { color: var(--qh-accent-light); }
.qh .qh-section--dark .qh-link:hover { color: #fff; }

.qh .qh-tabs__list {
  display: flex; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 40px;
  padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto; scrollbar-width: none;
}
.qh .qh-tabs__list::-webkit-scrollbar { display: none; }
.qh .qh-tabs__tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 500; color: rgba(255, 255, 255, 0.75); white-space: nowrap; transition: background-color .2s ease, color .2s ease;
}
.qh .qh-tabs__tab .qh-icon { width: 18px; height: 18px; }
.qh .qh-tabs__tab:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.qh .qh-tabs__tab[aria-selected="true"] { background: #fff; color: var(--qh-navy); }
.qh .qh-tabs__panel { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; animation: qh-fade .35s ease; }
.qh .qh-tabs__panel[hidden] { display: none; }
@media (min-width: 1081px) { .qh .qh-tabs__panel { min-height: 420px; } } /* no page jump when switching tabs */
@keyframes qh-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qh .qh-tabs__copy > p { margin-top: 12px; font-size: 1.05rem; }
.qh .qh-tabs__copy .qh-link { margin-top: 26px; }
.qh .qh-checks { display: grid; gap: 12px; margin-top: 22px; }
.qh .qh-checks li { position: relative; padding-left: 32px; line-height: 1.6; }
.qh .qh-checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--qh-accent-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e2f5e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.qh .qh-tabs__media { overflow: hidden; border-radius: var(--qh-r-lg); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.qh .qh-tabs__media img { width: 100%; }
.qh .qh-tabs__media--photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.qh .qh-tabs__media--light { padding: 24px; background: linear-gradient(180deg, #fff, #e9ecf6); }

/* ==========================================================================
   Industries
   ========================================================================== */
.qh .qh-industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qh .qh-industry {
  position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--qh-r); background: var(--qh-navy);
  transition: transform .25s ease, box-shadow .25s ease;
}
.qh .qh-industry:hover { transform: translateY(-4px); box-shadow: var(--qh-shadow-lg); }
.qh .qh-industry img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.qh .qh-industry__link::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(29, 30, 64, 0) 28%, rgba(29, 30, 64, 0.9) 100%); }
.qh .qh-industry:hover img { transform: scale(1.05); }
.qh .qh-industry__link { position: absolute; inset: 0; z-index: 1; display: block; border-radius: inherit; color: rgba(255, 255, 255, 0.86); }
.qh .qh-industry__link:hover { color: rgba(255, 255, 255, 0.86); }
.qh .qh-industry__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px 22px; }
.qh .qh-industry h3 { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; color: #fff; }
.qh .qh-industry h3 .qh-icon { width: 18px; height: 18px; transition: transform .2s ease; }
.qh .qh-industry:hover h3 .qh-icon { transform: translateX(4px); }
.qh .qh-industry p { margin-top: 4px; font-size: 0.92rem; line-height: 1.5; }

/* ==========================================================================
   ROI calculator
   ========================================================================== */
.qh .qh-roi { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1080px; margin-inline: auto; border-radius: var(--qh-r-lg); overflow: hidden; box-shadow: var(--qh-shadow-lg); }
.qh .qh-roi__inputs { display: grid; align-content: start; gap: 22px; padding: clamp(24px, 4vw, 44px); background: #fff; }
.qh .qh-roi__field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.93rem; font-weight: 500; color: var(--qh-ink); }
.qh .qh-roi__field output { flex: none; min-width: 56px; padding: 2px 10px; border-radius: 8px; background: var(--qh-accent-50); color: var(--qh-accent); font-size: 0.95rem; font-weight: 700; text-align: center; }
.qh .qh-roi__field small { display: block; margin-top: 2px; font-size: 0.8rem; line-height: 1.45; color: var(--qh-muted); }

.qh .qh-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 6px 0 0; background: transparent; cursor: pointer; --qh-pct: 50%; }
.qh .qh-range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--qh-accent) var(--qh-pct), var(--qh-line) var(--qh-pct)); }
.qh .qh-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--qh-accent); box-shadow: 0 2px 8px rgba(29, 30, 64, 0.25); transition: transform .15s ease; }
.qh .qh-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.qh .qh-range::-moz-range-track { height: 6px; border-radius: 99px; background: var(--qh-line); }
.qh .qh-range::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--qh-accent); }
.qh .qh-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--qh-accent); box-shadow: 0 2px 8px rgba(29, 30, 64, 0.25); }
.qh .qh-range:focus-visible { outline: none; }
.qh .qh-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px var(--qh-accent-light); }
.qh .qh-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px var(--qh-accent-light); }

.qh .qh-roi__results {
  display: flex; flex-direction: column; padding: clamp(24px, 4vw, 44px); color: rgba(255, 255, 255, 0.78);
  background: radial-gradient(600px 400px at 100% 0%, rgba(124, 143, 214, 0.4), rgba(124, 143, 214, 0) 70%), var(--qh-navy);
}
.qh .qh-roi__results strong { color: #fff; }
.qh .qh-roi__label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--qh-accent-light); }
.qh .qh-roi__payback { margin-top: 6px; font-size: clamp(2.8rem, 2rem + 2.6vw, 3.8rem); line-height: 1; font-weight: 700; letter-spacing: -0.035em; color: #fff; }
.qh .qh-roi__payback small { font-size: 0.4em; font-weight: 600; letter-spacing: 0; color: rgba(255, 255, 255, 0.8); margin-left: 6px; }
.qh .qh-roi__payback.is-review { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); }
.qh .qh-roi__sub { margin-top: 8px; font-size: 0.9rem; }
.qh .qh-roi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 26px; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, 0.12); }
.qh .qh-roi__grid > div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 14px 16px; background: rgba(29, 30, 64, 0.55); }
.qh .qh-roi__grid .qh-roi__wide { grid-column: 1 / -1; }
.qh .qh-roi__grid dt { font-size: 0.78rem; line-height: 1.4; color: rgba(255, 255, 255, 0.68); }
.qh .qh-roi__grid dd { font-size: 1.15rem; font-weight: 700; color: #fff; white-space: nowrap; }
.qh .qh-roi__grid .qh-roi__wide dd { font-size: 1.5rem; letter-spacing: -0.01em; }
.qh .qh-roi__next { margin-top: 24px; }
.qh .qh-roi__next[hidden] { display: none; }
.qh .qh-roi__next p { font-size: 0.95rem; line-height: 1.6; }
.qh .qh-roi__next .qh-btn { margin-top: 14px; }
.qh .qh-roi__report { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.qh .qh-roi__report summary { display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; font-weight: 600; color: var(--qh-accent-light); }
.qh .qh-roi__report summary::-webkit-details-marker { display: none; }
.qh .qh-roi__report summary:hover { color: #fff; }
.qh .qh-roi__report .qh-form { margin-top: 14px; }

/* Forms — styles plain inputs and Contact Form 7 output alike */
.qh .qh-form form, .qh .qh-form .wpcf7-form { display: grid; gap: 10px; }
.qh .qh-form p { margin: 0; }
.qh .qh-form br { display: none; }
.qh .qh-form input[type="text"], .qh .qh-form input[type="email"], .qh .qh-form input[type="tel"] {
  width: 100%; min-height: 48px; margin: 0; padding: 12px 14px; border-radius: var(--qh-r-sm);
  font: inherit; font-size: 0.95rem; color: var(--qh-ink-strong); background: #fff; border: 1px solid var(--qh-line); box-shadow: none;
}
.qh .qh-form input::placeholder { color: #8a8fa3; }
.qh .qh-form input:focus { outline: 3px solid var(--qh-accent-light); outline-offset: 0; border-color: var(--qh-accent); }
.qh .qh-form input[type="submit"] {
  min-height: 48px; padding: 12px 22px; border: 0; border-radius: var(--qh-r-sm); cursor: pointer;
  font: inherit; font-size: 1rem; font-weight: 600; background: var(--qh-accent); color: #fff; transition: background-color .2s ease;
}
.qh .qh-form input[type="submit"]:hover { background: var(--qh-accent-600); }
.qh .qh-form--dark input[type="text"], .qh .qh-form--dark input[type="email"], .qh .qh-form--dark input[type="tel"] { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.qh .qh-form--dark input::placeholder { color: rgba(255, 255, 255, 0.55); }
.qh .qh-form--dark input[type="submit"] { background: #fff; color: var(--qh-navy); }
.qh .qh-form--dark input[type="submit"]:hover { background: var(--qh-accent-100); }
.qh .qh-form--inline form:not(.wpcf7-form) { grid-template-columns: 1fr auto; }
.qh .qh-form .wpcf7-form-control-wrap { display: block; }
.qh .qh-form input[type="submit"] { width: 100%; }
/* The newsletter's e-mail field and button share one paragraph: keep them apart */
.qh .qh-form--inline .wpcf7-form-control-wrap ~ input[type="submit"] { margin-top: 12px; }
.qh .qh-form--inline form:not(.wpcf7-form) input[type="submit"] { width: auto; }
.qh .qh-form__msg { grid-column: 1 / -1; font-size: 0.88rem; color: inherit; opacity: .85; }
.qh .qh-form .wpcf7-response-output { margin: 4px 0 0; padding: 8px 12px; border-radius: 8px; font-size: 0.88rem; }

/* ==========================================================================
   Ways to buy + compliance
   ========================================================================== */
.qh .qh-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qh .qh-offer { display: flex; flex-direction: column; padding: 32px; border-radius: var(--qh-r); border: 1px solid var(--qh-line); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.qh .qh-offer:hover { transform: translateY(-3px); box-shadow: var(--qh-shadow); border-color: #d2d9ee; }
.qh .qh-offer .qh-h3 { margin: 22px 0 8px; }
.qh .qh-offer p { color: var(--qh-muted); margin-bottom: 22px; }
.qh .qh-offer .qh-link { margin-top: auto; }
.qh .qh-offer--featured { background: var(--qh-accent-50); border-color: var(--qh-accent-100); }

.qh .qh-compliance {
  display: grid; grid-template-columns: minmax(260px, 1.1fr) 1.6fr auto; align-items: center; gap: 20px 32px;
  margin-top: 28px; padding: 22px 26px; border-radius: var(--qh-r); background: var(--qh-soft); border: 1px solid var(--qh-line);
}
.qh .qh-compliance__intro { display: flex; align-items: center; gap: 16px; font-size: 0.95rem; line-height: 1.55; }
.qh .qh-compliance__intro .qh-tile { flex: none; width: 44px; height: 44px; border-radius: 12px; }
.qh .qh-compliance__intro .qh-tile .qh-icon { width: 22px; height: 22px; }
.qh .qh-compliance__list { display: flex; flex-wrap: wrap; gap: 6px; }
.qh .qh-compliance__list li { padding: 4px 10px; border-radius: 6px; background: #fff; border: 1px solid var(--qh-line); font-size: 0.8rem; font-weight: 600; color: var(--qh-ink); white-space: nowrap; }
.qh .qh-compliance .qh-link { white-space: nowrap; font-size: 0.95rem; }

/* ==========================================================================
   News
   ========================================================================== */
.qh .qh-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.qh .qh-post { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--qh-r); background: #fff; border: 1px solid var(--qh-line); transition: transform .25s ease, box-shadow .25s ease; }
.qh .qh-post:hover { transform: translateY(-4px); box-shadow: var(--qh-shadow-lg); }
.qh .qh-post__media { display: block; overflow: hidden; }
.qh .qh-post__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.qh .qh-post:hover .qh-post__media img { transform: scale(1.04); }
.qh .qh-post__body { padding: 22px 24px 26px; }
.qh .qh-post time { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--qh-accent); }
.qh .qh-post__title { margin-top: 8px; font-size: 1.12rem; line-height: 1.4; font-weight: 600; }
.qh .qh-post__title a { color: var(--qh-ink-strong); }
.qh .qh-post__title a::after { content: ""; position: absolute; inset: 0; }
.qh .qh-post:hover .qh-post__title a { color: var(--qh-accent); }
.qh .qh-post p { margin-top: 10px; font-size: 0.93rem; line-height: 1.6; color: var(--qh-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ==========================================================================
   Final CTA + newsletter
   ========================================================================== */
.qh .qh-cta {
  position: relative; overflow: hidden; padding-block: clamp(72px, 9vw, 120px); color: rgba(255, 255, 255, 0.8);
  background:
    linear-gradient(100deg, rgba(29, 30, 64, 0.96) 0%, rgba(46, 47, 94, 0.9) 50%, rgba(79, 98, 161, 0.78) 100%),
    url("https://www.quasi.ai/wp-content/uploads/2026/01/Model-C2-Fleet-2.jpg") center / cover no-repeat;
}
.qh .qh-cta__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.qh .qh-cta .qh-h2 { color: #fff; }
.qh .qh-cta .qh-hl { color: var(--qh-accent-light); }
.qh .qh-cta .qh-lead { color: rgba(255, 255, 255, 0.78); }
.qh .qh-newsletter { padding: 28px; border-radius: var(--qh-r); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.qh .qh-newsletter .qh-h3 { color: #fff; }
.qh .qh-newsletter p { margin: 8px 0 18px; font-size: 0.95rem; line-height: 1.6; }

/* ==========================================================================
   Footer (proposal)
   ========================================================================== */
.qh .qh-footer { padding-block: 64px 32px; background: var(--qh-navy-900); color: rgba(255, 255, 255, 0.7); font-size: 0.93rem; }
.qh .qh-footer a { color: rgba(255, 255, 255, 0.78); }
.qh .qh-footer a:hover { color: #fff; }
.qh .qh-footer__top { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.qh .qh-footer__brand img { height: 38px; width: auto; filter: brightness(0) invert(1); }
.qh .qh-footer__brand p { margin-top: 18px; max-width: 34ch; line-height: 1.65; }
.qh .qh-social { display: flex; gap: 8px; margin-top: 22px; }
.qh .qh-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); }
.qh .qh-social a:hover { background: rgba(255, 255, 255, 0.16); }
.qh .qh-social .qh-icon { width: 17px; height: 17px; }
.qh .qh-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.qh .qh-footer h2 { margin-bottom: 14px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.qh .qh-footer__cols li + li { margin-top: 10px; }
.qh .qh-footer address { line-height: 1.75; }
.qh .qh-footer__contact { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; color: #fff !important; }
.qh .qh-footer__contact .qh-icon { width: 16px; height: 16px; }
.qh .qh-footer__legal { padding-top: 24px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* ==========================================================================
   Scroll reveal (added by JS only to content below the fold)
   ========================================================================== */
.qh .qh-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.qh .qh-reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .qh .qh-header__login { display: none; }
  .qh .qh-models { grid-template-columns: repeat(3, 1fr); }
  .qh .qh-finder { grid-template-columns: 1fr 1fr; }
  .qh .qh-finder__title { grid-column: 1 / -1; }
  .qh .qh-finder__result { grid-column: 1 / -1; justify-self: start; }
  .qh .qh-compliance { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .qh { --qh-header-h: 68px; }
  .qh .qh-burger { display: grid; }
  .qh .qh-header__actions .qh-btn { display: none; }
  .qh .qh-nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--qh-nav-top, var(--qh-header-h));
    display: none; flex-direction: column; align-items: stretch; gap: 24px;
    padding: 16px var(--qh-gutter) 32px; background: #fff; overflow-y: auto; border-top: 1px solid var(--qh-line);
  }
  .qh .qh-header.is-open { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } /* a filter would trap the fixed menu inside the header */
  .qh .qh-header.is-open .qh-nav { display: flex; }
  .qh .qh-header.is-open .qh-burger__open { display: none; }
  .qh .qh-header.is-open .qh-burger__close { display: block; }
  .qh .qh-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .qh .qh-nav__item { border-bottom: 1px solid var(--qh-line); }
  .qh .qh-nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; font-weight: 600; border-radius: 0; }
  .qh .qh-nav__link:hover, .qh .qh-nav__item.is-open > .qh-nav__link { background: none; }
  .qh .qh-menu, .qh .qh-menu--wide {
    position: static; display: none; min-width: 0; padding: 0 0 12px; border: 0; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .qh .qh-menu::before { display: none; }
  .qh .qh-nav__item.is-open > .qh-menu { display: block; }
  .qh .qh-menu--wide ul + ul { padding-left: 0; border-left: 0; }
  .qh .qh-menu a { padding: 10px 12px; }
  .qh .qh-nav__mobile-actions { display: grid; gap: 10px; }
  .qh.qh-nav-open { overflow: hidden; }

  .qh .qh-hero__grid, .qh .qh-split, .qh .qh-cta__grid { grid-template-columns: 1fr; }
  .qh .qh-hero__media { max-width: 720px; aspect-ratio: 16 / 10; }
  .qh .qh-stats { grid-template-columns: repeat(2, 1fr); }
  .qh .qh-stats > div:nth-child(3) { border-left: 0; }
  .qh .qh-stats > div:nth-child(n+3) { border-top: 1px solid var(--qh-line); }
  .qh .qh-split__media { max-width: 640px; }
  .qh .qh-split__media img { aspect-ratio: 16 / 11; }
  .qh .qh-floatcard { right: 16px; bottom: 16px; }
  .qh .qh-tabs__panel { grid-template-columns: 1fr; }
  .qh .qh-tabs__media { order: -1; }
  .qh .qh-roi { grid-template-columns: 1fr; }
  .qh .qh-footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .qh .qh-pillars, .qh .qh-offers, .qh .qh-posts { grid-template-columns: 1fr; }
  .qh .qh-pillars { gap: 36px; }
  .qh .qh-pillar { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; }
  .qh .qh-pillar .qh-tile { grid-row: span 2; }
  .qh .qh-pillar .qh-h3 { margin: 10px 0 6px; }
  .qh .qh-industries { grid-template-columns: 1fr 1fr; }
  .qh .qh-models { grid-template-columns: 1fr 1fr; }
  .qh .qh-footer__cols { grid-template-columns: 1fr 1fr; }
  .qh .qh-posts .qh-post { flex-direction: row; }
  .qh .qh-posts .qh-post__media { flex: 0 0 38%; }
  .qh .qh-posts .qh-post__media img { height: 100%; aspect-ratio: auto; }
}

@media (max-width: 600px) {
  .qh { --qh-gutter: 16px; font-size: 16px; }
  .qh .qh-logo img { height: 34px; }
  .qh .qh-announce__inner { justify-content: flex-start; padding-right: 40px; }
  .qh .qh-announce p { text-align: left; font-size: 0.85rem; }
  .qh .qh-actions .qh-btn { flex: 1 1 100%; }
  .qh .qh-hero__checks { flex-direction: column; gap: 8px; }
  .qh .qh-stats > div { padding: 18px 16px; }
  .qh .qh-finder { grid-template-columns: 1fr; padding: 18px; }
  .qh .qh-models { grid-template-columns: 1fr 1fr; gap: 10px; }
  .qh .qh-model__body { padding: 12px 12px 14px; }
  .qh .qh-model__desc { display: none; }
  .qh .qh-model__name { font-size: 1rem; }
  .qh .qh-model__tag { font-size: 0.8rem; }
  .qh .qh-model__specs li { font-size: 0.72rem; padding: 2px 6px; }
  .qh .qh-model__link { font-size: 0.82rem; }
  .qh .qh-badge { font-size: 0.62rem; }
  .qh .qh-promo { flex-wrap: wrap; }
  .qh .qh-promo__text { flex-basis: calc(100% - 64px); }
  .qh .qh-tabs__list { justify-content: flex-start; width: auto; margin-inline: calc(var(--qh-gutter) * -1); border-radius: 0; border-inline: 0; padding-inline: var(--qh-gutter); }
  .qh .qh-tabs__media--light { padding: 12px; }
  .qh .qh-industries { grid-template-columns: 1fr 1fr; gap: 10px; }
  .qh .qh-industry { aspect-ratio: 1 / 1; }
  .qh .qh-industry__body { padding: 12px 14px; }
  .qh .qh-industry h3 { font-size: 0.98rem; }
  .qh .qh-industry h3 .qh-icon { width: 15px; height: 15px; }
  .qh .qh-industry p { display: none; }
  .qh .qh-roi__grid { grid-template-columns: 1fr 1fr; }
  .qh .qh-roi__grid > div:last-child { grid-column: 1 / -1; }
  .qh .qh-posts { gap: 12px; }
  .qh .qh-posts .qh-post__media { flex: 0 0 108px; }
  .qh .qh-posts .qh-post__media img { height: 100%; aspect-ratio: auto; }
  .qh .qh-post__body { padding: 14px 16px; }
  .qh .qh-post__title { margin-top: 4px; font-size: 0.98rem; }
  .qh .qh-post p { display: none; }
  .qh .qh-form--inline form:not(.wpcf7-form) { grid-template-columns: 1fr; }
  .qh .qh-form--inline form:not(.wpcf7-form) input[type="submit"] { width: 100%; }
  .qh .qh-floatcard { padding: 12px 16px; }
  .qh .qh-floatcard__value { font-size: 1.5rem; }
  .qh .qh-footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
}

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