@font-face {
  font-family: 'Baloo 2';
  src: url('../fonts/Baloo2-Bold-subset.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans-Regular-subset.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans-ExtraBold-subset.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans-SemiBold-subset.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans-Bold-subset.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FFFFFF;
  --surface: #F5F8FC;
  --ink: #12233F;
  --ink-soft: #4A5C78;
  --accent: #F2610F;
  --accent-ink: #FFFFFF;
  --brand: #0B4E9C;
  --success: #1E8E3E;
  --border: #E3E9F1;

  --font-heading: 'Baloo 2', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-heading-weight: 700;

  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 32px;
  --sp-xl: 64px;

  --r-sm: 8px;
  --r-md: 16px;
  --r-pill: 999px;

  --content-width: 1160px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

:where(h1, h2, h3, h4) {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.08;
  margin: 0 0 var(--sp-md);
  color: var(--brand);
}

:where(p) { margin: 0 0 var(--sp-md); max-width: 65ch; }

a { color: var(--brand); text-decoration: none; }

img { max-width: 100%; display: block; }

.qh-container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

/* Header */
.qh-header {
  border-bottom: 1px solid var(--border);
}
.qh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.qh-logo { display: flex; align-items: center; }
.qh-logo img { height: 44px; width: auto; display: block; }

.qh-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}
.qh-nav a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
}
.qh-lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
}
.qh-lang-toggle span {
  padding: 6px 14px;
  color: var(--ink-soft);
}
.qh-lang-toggle span.active { background: var(--surface); color: var(--brand); }

.qh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: transform 150ms ease, opacity 150ms ease;
  text-align: center;
}
.qh-btn:active { transform: scale(0.97); }
.qh-btn-primary { background: var(--accent); color: var(--accent-ink); }
.qh-btn-primary:hover { opacity: 0.92; }
.qh-btn-secondary { background: transparent; color: var(--brand); border: 2px solid var(--brand); padding: 12px 26px; }
.qh-btn-secondary:hover { background: var(--surface); }
.qh-btn-sm { font-size: 14px; padding: 9px 18px; }

/* Hero */
.qh-hero {
  padding: var(--sp-xl) 0;
}
.qh-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-xl);
  align-items: center;
}
.qh-eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 12px;
}
.qh-hero h1 {
  font-size: 46px;
  margin-bottom: 16px;
}
.qh-hero .qh-sub {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.qh-hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.qh-trust-strip {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.qh-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.qh-trust-item svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; }

/* Hero card */
.qh-hero-card {
  background: var(--surface);
  border-radius: 24px;
  padding: var(--sp-lg);
  border: 1px solid var(--border);
  position: relative;
}
.qh-hero-card::before {
  content: '';
  position: absolute;
  top: -14px;
  right: 28px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.14;
  z-index: 0;
}
.qh-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.qh-card-top span:first-child { font-weight: 700; color: var(--ink); }
.qh-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--accent-ink);
}
.qh-badge-outline {
  background: transparent;
  border: 1.5px solid var(--success);
  color: var(--success);
}
.qh-card-photo {
  height: 190px;
  border-radius: var(--r-md);
  background: #E4EDF9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.qh-card-photo svg { width: 52px; height: 52px; color: var(--brand); opacity: 0.35; }
.qh-card-meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}
.qh-card-actions {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.qh-card-actions .qh-btn { flex: 1; }
.qh-skip-btn {
  flex: 0 0 auto;
  width: 48px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: #C23B22;
  border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
}
.qh-skip-btn svg { width: 18px; height: 18px; }

/* How it works */
.qh-section { padding: var(--sp-xl) 0; border-top: 1px solid var(--border); }
.qh-section h2 { font-size: 28px; margin-bottom: var(--sp-lg); }
.qh-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
}
.qh-step-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.qh-step-icon svg { width: 24px; height: 24px; color: var(--accent); }
.qh-step h3 { font-family: var(--font-body); font-weight: 700; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.qh-step p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* Nearby items */
.qh-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--sp-lg);
}
.qh-section-head h2 { margin-bottom: 0; }
.qh-see-all { font-size: 14px; font-weight: 700; color: var(--accent); }
.qh-nearby-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}
.qh-item-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px;
}
.qh-item-photo {
  height: 96px;
  border-radius: var(--r-sm);
  background: #E4EDF9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.qh-item-photo svg { width: 28px; height: 28px; color: var(--brand); opacity: 0.4; }
.qh-item-name { font-weight: 700; font-size: 14px; color: var(--ink); margin: 0; }
.qh-item-meta { font-size: 12px; color: var(--ink-soft); margin: 3px 0 0; }

/* Stats */
.qh-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
  text-align: left;
}
.qh-stat-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
}
.qh-stat-label { font-size: 14px; color: var(--ink-soft); }

/* Footer */
.qh-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--sp-xl) 0 var(--sp-lg);
}
.qh-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-lg);
  padding-bottom: var(--sp-lg);
}
.qh-footer-brand img { height: 36px; width: auto; margin-bottom: 12px; }
.qh-footer-brand p {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 32ch;
  margin: 0 0 var(--sp-md);
}
.qh-footer-social {
  display: flex;
  gap: 10px;
}
.qh-footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--r-pill);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
}
.qh-footer-social a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.qh-footer-social svg { width: 17px; height: 17px; }
.qh-footer-col h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}
.qh-footer-col ul { list-style: none; margin: 0; padding: 0; }
.qh-footer-col li { margin-bottom: 10px; }
.qh-footer-col a { color: var(--ink-soft); font-size: 14px; }
.qh-footer-col a:hover { color: var(--brand); }
.qh-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: var(--sp-md);
}
.qh-footer-bottom p { margin: 0; font-size: 13px; color: var(--ink-soft); }

/* Responsive */
@media (max-width: 860px) {
  .qh-hero-grid { grid-template-columns: 1fr; }
  .qh-hero h1 { font-size: 32px; }
  .qh-steps { grid-template-columns: repeat(2, 1fr); }
  .qh-nearby-grid { grid-template-columns: repeat(2, 1fr); }
  .qh-stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); }
  .qh-footer-top { grid-template-columns: 1fr 1fr; }
  .qh-footer-brand { grid-column: 1 / -1; }
  .qh-nav a, .qh-nav .qh-lang-toggle { display: none; }
  .qh-container { padding: 0 var(--sp-md); }
}
