/* 启秘 GEO 企业宣传站 — 专业版设计系统 */
:root {
  --qg-ink: #0b0b0f;
  --qg-ink-2: #16161d;
  --qg-ink-soft: #3a3a44;
  --qg-muted: #6e6e78;
  --qg-line: rgba(0,0,0,0.08);
  --qg-bg: #f5f5f7;
  --qg-bg-2: #eeeef2;
  --qg-white: #ffffff;
  --qg-accent: #0066cc;
  --qg-accent-2: #0077ed;
  --qg-human: #2dd4bf;
  --qg-human-glow: rgba(45,212,191,0.35);
  --qg-ai: #6366f1;
  --qg-media: #0ea5e9;
  --qg-film: #f43f5e;
  --qg-exhibit: #a855f7;
  --qg-code: #f59e0b;
  --qg-radius: 20px;
  --qg-radius-sm: 14px;
  --qg-radius-xs: 10px;
  --qg-shadow: 0 8px 30px rgba(0,0,0,0.06);
  --qg-shadow-lg: 0 24px 80px rgba(0,0,0,0.14);
  --qg-header-h: 56px;
  --qg-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --qg-max: 1120px;
  --qg-wide: 1280px;
  --qg-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--qg-ink); background: var(--qg-white);
  font-family: var(--qg-font); font-size: 17px; line-height: 1.55;
  letter-spacing: -0.018em; -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--qg-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.qg-skip { position: absolute; left: -9999px; top: 0; z-index: 999; padding: 8px 16px; background: var(--qg-accent); color: #fff; }
.qg-skip:focus { left: 16px; top: 16px; }
.qg-container { width: min(var(--qg-max), calc(100% - 48px)); margin: 0 auto; }
.qg-container-wide { width: min(var(--qg-wide), calc(100% - 48px)); margin: 0 auto; }

/* Header */
.qg-header {
  position: sticky; top: 0; z-index: 200; height: var(--qg-header-h);
  background: rgba(255,255,255,0.72); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--qg-line);
}
.qg-header-inner { height: var(--qg-header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.qg-logo img { height: 30px; width: auto; }
.qg-nav > ul { display: flex; align-items: center; gap: 2px; }
.qg-nav > ul > li { position: relative; }
/* 父项与子菜单之间的透明桥，保证 hover 不断开 */
.qg-nav > ul > li:has(> .qg-submenu)::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px;
}
.qg-nav > ul > li > a {
  display: block; padding: 8px 14px; color: var(--qg-ink-soft); font-size: 13px; font-weight: 500;
  border-radius: 999px; white-space: nowrap; transition: 0.2s var(--qg-ease); text-decoration: none;
}
.qg-nav > ul > li > a:hover, .qg-nav > ul > li.is-active > a { color: var(--qg-ink); background: rgba(0,0,0,0.05); text-decoration: none; }
.qg-submenu {
  position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 200px; padding: 8px; background: rgba(255,255,255,0.92); backdrop-filter: blur(24px);
  border-radius: var(--qg-radius-sm); box-shadow: var(--qg-shadow-lg); border: 1px solid var(--qg-line);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s var(--qg-ease), visibility 0.2s var(--qg-ease), transform 0.2s var(--qg-ease);
  transition-delay: 0.12s;
}
/* 向上延伸透明热区，避免鼠标移向子菜单时经过间隙导致菜单消失 */
.qg-submenu::before {
  content: ""; position: absolute; left: -12px; right: -12px; top: -14px; height: 14px;
}
.qg-nav > ul > li:hover > .qg-submenu, .qg-nav > ul > li:focus-within > .qg-submenu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.qg-submenu a { display: block; padding: 10px 14px; color: var(--qg-ink-soft); font-size: 13px; border-radius: var(--qg-radius-xs); text-decoration: none; }
.qg-submenu a:hover { background: var(--qg-bg); color: var(--qg-ink); text-decoration: none; }
.qg-header-actions { display: flex; align-items: center; gap: 10px; }
.qg-btn-contact {
  display: inline-flex; align-items: center; padding: 8px 18px; border-radius: 999px;
  background: var(--qg-ink); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; transition: 0.2s;
}
.qg-btn-contact:hover { background: #000; text-decoration: none; color: #fff; transform: scale(1.02); }
.qg-menu-toggle { display: none; width: 40px; height: 40px; position: relative; border-radius: 10px; }
.qg-menu-toggle::before, .qg-menu-toggle::after, .qg-menu-toggle span {
  content: ""; position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--qg-ink); transition: 0.2s;
}
.qg-menu-toggle::before { top: 13px; } .qg-menu-toggle span { top: 19px; } .qg-menu-toggle::after { top: 25px; }
.qg-menu-toggle[aria-expanded="true"]::before { top: 19px; transform: rotate(45deg); }
.qg-menu-toggle[aria-expanded="true"] span { opacity: 0; }
.qg-menu-toggle[aria-expanded="true"]::after { top: 19px; transform: rotate(-45deg); }
.qg-mobile-nav {
  display: none; position: fixed; inset: var(--qg-header-h) 0 0; overflow: auto; padding: 20px 24px 48px;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(20px); z-index: 190;
}
.qg-mobile-nav.is-open { display: block; }
.qg-mobile-nav > ul > li { border-bottom: 1px solid var(--qg-line); }
.qg-mobile-nav > ul > li > a { display: block; padding: 16px 0; font-size: 17px; font-weight: 600; color: var(--qg-ink); text-decoration: none; }
.qg-mobile-nav ul ul { padding: 0 0 12px 16px; }
.qg-mobile-nav ul ul a { display: block; padding: 8px 0; color: var(--qg-muted); font-size: 15px; text-decoration: none; }
body.menu-open { overflow: hidden; }

/* Hero — premium dark */
.qg-hero {
  position: relative; overflow: hidden; color: #f5f5f7;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(45,212,191,0.18), transparent 55%),
              linear-gradient(180deg, #0a0f1a 0%, #0d1524 45%, #060a12 100%);
}
.qg-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.4;
  background: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
              linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(180deg, #000 30%, transparent 90%);
}
.qg-hero-grid {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center; padding: 72px 0 88px; text-align: left;
}
.qg-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 6px 14px; border-radius: 999px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--qg-human);
  background: rgba(45,212,191,0.1); border: 1px solid rgba(45,212,191,0.25);
}
.qg-hero h1 {
  margin: 0 0 20px; font-size: clamp(38px, 5.5vw, 58px); font-weight: 700;
  line-height: 1.08; letter-spacing: -0.035em;
}
.qg-hero h1 em { font-style: normal; background: linear-gradient(135deg, #5eead4, #2dd4bf); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.qg-hero-lead { margin: 0 0 28px; max-width: 560px; font-size: clamp(16px, 2vw, 19px); line-height: 1.6; color: rgba(245,245,247,0.72); }
.qg-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.qg-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px;
  font-size: 16px; font-weight: 600; text-decoration: none; transition: 0.25s var(--qg-ease);
}
.qg-btn:hover { transform: translateY(-2px); text-decoration: none; }
.qg-btn-primary { background: linear-gradient(135deg, #2dd4bf, #14b8a6); color: #042f2e; box-shadow: 0 8px 32px var(--qg-human-glow); }
.qg-btn-primary:hover { color: #042f2e; box-shadow: 0 12px 40px var(--qg-human-glow); }
.qg-btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28); background: rgba(255,255,255,0.06); }
.qg-btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.qg-btn-dark { background: var(--qg-ink); color: #fff; }
.qg-btn-dark:hover { background: #000; color: #fff; }
.qg-hero-proof { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 13px; color: rgba(245,245,247,0.55); }
.qg-hero-proof li::before { content: "✦ "; color: var(--qg-human); font-size: 10px; }
.qg-hero-visual { position: relative; }
.qg-hero-visual img, .qg-hero-visual video {
  border-radius: var(--qg-radius); box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
}
.qg-hero-glow {
  position: absolute; width: 60%; height: 60%; right: -10%; top: 20%;
  background: radial-gradient(circle, var(--qg-human-glow), transparent 70%);
  filter: blur(40px); pointer-events: none;
}

/* Stats */
.qg-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--qg-white); border-bottom: 1px solid var(--qg-line);
}
.qg-stats > div { padding: 36px 24px; text-align: center; border-right: 1px solid var(--qg-line); }
.qg-stats > div:last-child { border-right: none; }
.qg-stats strong { display: block; font-size: 42px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.qg-stats span { display: block; margin-top: 8px; font-size: 13px; color: var(--qg-muted); line-height: 1.45; }

/* Sections */
.qg-section { padding: 96px 0; }
.qg-section.is-soft { background: var(--qg-bg); }
.qg-section.is-dark { color: #f5f5f7; background: var(--qg-ink); }
.qg-section-head { text-align: center; margin-bottom: 56px; }
.qg-section-head h2 { margin: 10px 0 14px; font-size: clamp(32px, 4vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; }
.qg-section-head p { margin: 0 auto; max-width: 640px; color: var(--qg-muted); font-size: 17px; line-height: 1.55; }
.is-dark .qg-section-head p { color: rgba(245,245,247,0.62); }
.qg-kicker { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--qg-accent); }
.is-dark .qg-kicker { color: var(--qg-human); }

/* Cards */
.qg-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.qg-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qg-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.qg-card {
  padding: 28px; border-radius: var(--qg-radius); background: var(--qg-white);
  border: 1px solid var(--qg-line); box-shadow: var(--qg-shadow);
  transition: transform 0.3s var(--qg-ease), box-shadow 0.3s;
}
.qg-card:hover { transform: translateY(-4px); box-shadow: var(--qg-shadow-lg); }
.qg-card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.qg-card p { margin: 0; font-size: 15px; color: var(--qg-muted); line-height: 1.55; }
.qg-card-icon {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  font-size: 18px; font-weight: 700; margin-bottom: 16px;
}
.qg-card-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--qg-accent); text-decoration: none; }
.qg-card-link:hover { text-decoration: underline; }

/* Product / video cards */
.qg-product-card {
  border-radius: var(--qg-radius); overflow: hidden; background: var(--qg-white);
  border: 1px solid var(--qg-line); box-shadow: var(--qg-shadow); transition: 0.3s var(--qg-ease);
}
.qg-product-card:hover { transform: translateY(-6px); box-shadow: var(--qg-shadow-lg); }
.qg-product-card .qg-media-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--qg-bg-2); }
.qg-product-card img, .qg-product-card video { width: 100%; height: 100%; object-fit: cover; }
.qg-product-card-body { padding: 22px 24px 26px; }
.qg-product-card-body h3 { margin: 0 0 8px; font-size: 18px; font-weight: 650; }
.qg-product-card-body p { margin: 0; font-size: 14px; color: var(--qg-muted); line-height: 1.5; }
.qg-tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.qg-tag { padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--qg-accent); background: rgba(0,102,204,0.08); }

/* Video play overlay */
.qg-play-btn {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,0.22); transition: 0.25s; cursor: pointer; border: 0;
}
.qg-play-btn:hover { background: rgba(0,0,0,0.35); }
.qg-play-btn::after {
  content: ""; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230066cc'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/22px no-repeat;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* Video grid */
.qg-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.qg-video-item {
  border-radius: var(--qg-radius-sm); overflow: hidden; background: var(--qg-white);
  border: 1px solid var(--qg-line); cursor: pointer; transition: 0.25s;
}
.qg-video-item:hover { transform: scale(1.02); box-shadow: var(--qg-shadow); }
.qg-video-item .thumb { position: relative; aspect-ratio: 16/9; background: var(--qg-ink-2); overflow: hidden; }
.qg-video-item .thumb.is-loading {
  background: linear-gradient(145deg, #1c1c24 0%, #2a2a36 100%);
}
.qg-video-item .thumb.is-fallback {
  background: linear-gradient(145deg, #1c1c24 0%, #2a2a36 100%);
}
.qg-video-poster {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transition: opacity 0.35s var(--qg-ease);
}
.qg-video-poster.is-ready { opacity: 1; }
.qg-video-item video { display: none; }
.qg-product-card .qg-card-video-thumb { width: 100%; height: 100%; }
.qg-product-card .qg-card-video-thumb .qg-video-poster { opacity: 0; }
.qg-product-card .qg-card-video-thumb .qg-video-poster.is-ready { opacity: 1; }
.qg-video-item .label { padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--qg-ink); }

/* Feature split */
.qg-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.qg-feature.is-reverse .qg-feature-media { order: 2; }
.qg-feature-media img, .qg-feature-media video { border-radius: var(--qg-radius); box-shadow: var(--qg-shadow-lg); }
.qg-feature-copy h2 { margin: 10px 0 16px; font-size: clamp(28px, 3.5vw, 38px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.qg-feature-copy p { color: var(--qg-muted); font-size: 16px; line-height: 1.6; margin: 0 0 12px; }
.qg-check-list li { padding: 7px 0 7px 26px; position: relative; font-size: 15px; color: var(--qg-ink-soft); }
.qg-check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--qg-human); font-weight: 700; }

/* Gallery */
.qg-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.qg-gallery-item { border-radius: var(--qg-radius-sm); overflow: hidden; background: var(--qg-bg); border: 1px solid var(--qg-line); }
.qg-gallery-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.qg-gallery-item figcaption { padding: 12px 14px; font-size: 13px; color: var(--qg-muted); background: #fff; }

/* Tabs / filter */
.qg-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.qg-filter-btn {
  padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--qg-muted); background: var(--qg-white); border: 1px solid var(--qg-line); transition: 0.2s;
}
.qg-filter-btn.is-active, .qg-filter-btn:hover { color: #fff; background: var(--qg-ink); border-color: var(--qg-ink); }

/* Steps */
.qg-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.qg-step { padding: 22px 14px; border-radius: var(--qg-radius-sm); background: var(--qg-bg); text-align: center; border: 1px solid var(--qg-line); }
.qg-step-num { display: block; font-size: 11px; font-weight: 700; color: var(--qg-accent); margin-bottom: 8px; letter-spacing: 0.08em; }
.qg-step h3 { margin: 0 0 6px; font-size: 14px; font-weight: 650; }
.qg-step p { margin: 0; font-size: 12px; color: var(--qg-muted); line-height: 1.45; }

/* FAQ */
.qg-faq { max-width: 720px; margin: 0 auto; }
.qg-faq details { border-bottom: 1px solid var(--qg-line); padding: 20px 0; }
.qg-faq summary { font-size: 17px; font-weight: 650; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.qg-faq summary::-webkit-details-marker { display: none; }
.qg-faq summary::after { content: "+"; font-size: 22px; color: var(--qg-muted); font-weight: 300; }
.qg-faq details[open] summary::after { content: "−"; }
.qg-faq p { margin: 12px 0 0; color: var(--qg-muted); font-size: 15px; line-height: 1.6; }

/* CTA */
.qg-cta {
  padding: 88px 0; text-align: center;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(45,212,191,0.12), transparent 60%), var(--qg-bg);
}
.qg-cta h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 38px); font-weight: 700; letter-spacing: -0.03em; }
.qg-cta p { margin: 0 auto 28px; max-width: 520px; color: var(--qg-muted); }

/* Page hero */
.qg-page-hero {
  padding: 56px 0 64px; text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0,102,204,0.08), transparent 60%), var(--qg-bg);
  border-bottom: 1px solid var(--qg-line);
}
.qg-page-hero h1 { margin: 10px 0 14px; font-size: clamp(36px, 5vw, 52px); font-weight: 700; letter-spacing: -0.035em; }
.qg-page-hero p { margin: 0 auto; max-width: 680px; color: var(--qg-muted); font-size: 18px; line-height: 1.55; }

/* Video modal */
.qg-modal {
  position: fixed; inset: 0; z-index: 500; display: none; place-items: center;
  background: rgba(0,0,0,0.88); backdrop-filter: blur(8px); padding: 24px;
}
.qg-modal.is-open { display: grid; }
.qg-modal-box { width: min(960px, 100%); background: #000; border-radius: var(--qg-radius); overflow: hidden; position: relative; }
.qg-modal-box video { width: 100%; max-height: 80vh; }
.qg-modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(255,255,255,0.15); color: #fff; font-size: 22px; line-height: 1;
}
.qg-modal-title { padding: 14px 20px; color: #fff; font-size: 14px; background: rgba(255,255,255,0.06); }

/* Footer */
.qg-footer { padding: 56px 0 28px; background: var(--qg-ink); color: rgba(255,255,255,0.55); font-size: 13px; }
.qg-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; margin-bottom: 36px; }
.qg-footer-brand img { height: 26px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.9; }
.qg-footer-brand p { margin: 0; line-height: 1.65; max-width: 300px; }
.qg-footer h4 { margin: 0 0 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.qg-footer a { color: rgba(255,255,255,0.55); text-decoration: none; }
.qg-footer a:hover { color: var(--qg-human); }
.qg-footer ul li { margin-bottom: 8px; }
.qg-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.qg-footer-contacts { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 20px; margin-left: auto; line-height: 1.8; }
.qg-footer-contacts > span { white-space: nowrap; }
.qg-footer-contacts a:focus-visible { outline: 2px solid var(--qg-human); outline-offset: 4px; }
@media (max-width: 760px) {
  .qg-footer-contacts { width: 100%; margin-left: 0; justify-content: flex-start; gap: 8px 16px; }
}

/* Breadcrumb */
.qg-breadcrumb { padding: 14px 0; font-size: 13px; color: var(--qg-muted); }
.qg-breadcrumb a { color: var(--qg-muted); text-decoration: none; }

/* Content prose from docs */
.qg-prose { max-width: 760px; margin: 0 auto; color: var(--qg-ink-soft); font-size: 16px; line-height: 1.75; }
.qg-prose h3 { margin: 32px 0 12px; font-size: 22px; color: var(--qg-ink); }
.qg-prose p { margin: 0 0 16px; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--qg-ease), transform 0.8s var(--qg-ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Contact */
.qg-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.qg-contact-item { margin-bottom: 20px; }
.qg-contact-item strong { display: block; font-size: 15px; margin-bottom: 4px; }
.qg-contact-item span { font-size: 14px; color: var(--qg-muted); }

/* Gallery & lightbox */
.qg-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px;
}
.qg-gallery-item {
  margin: 0; border-radius: var(--qg-radius-xs); overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; background: var(--qg-bg); border: 1px solid var(--qg-line); transition: 0.2s var(--qg-ease);
}
.qg-gallery-item:hover { transform: translateY(-2px); box-shadow: var(--qg-shadow); }
.qg-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.qg-gallery-item figcaption { padding: 8px 10px; font-size: 12px; color: var(--qg-muted); }

.qg-image-modal .qg-image-modal-box { background: #111; max-width: min(1100px, 100%); }
.qg-image-modal img { width: 100%; max-height: 75vh; object-fit: contain; margin: 0 auto; }
.qg-lightbox-prev, .qg-lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; font-size: 28px;
}
.qg-lightbox-prev { left: 12px; } .qg-lightbox-next { right: 12px; }

/* Exhibition projects */
.qg-exhibition-project {
  padding: 48px 0; border-bottom: 1px solid var(--qg-line);
}
.qg-exhibition-project:last-child { border-bottom: none; }
.qg-exhibition-project-head { margin-bottom: 28px; max-width: 760px; }
.qg-exhibition-project-head h2 { margin: 8px 0 12px; font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
.qg-exhibition-block { margin-bottom: 32px; }
.qg-exhibition-block h3 { margin: 0 0 16px; font-size: 18px; font-weight: 650; color: var(--qg-ink-soft); }

/* Documents */
.qg-doc-item {
  border: 1px solid var(--qg-line); border-radius: var(--qg-radius-sm); margin-bottom: 12px;
  background: var(--qg-white); overflow: hidden;
}
.qg-doc-item summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 20px;
  cursor: pointer; list-style: none; font-weight: 600;
}
.qg-doc-item summary::-webkit-details-marker { display: none; }
.qg-doc-type {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; padding: 4px 8px;
  border-radius: 6px; background: var(--qg-bg); color: var(--qg-accent);
}
.qg-doc-meta { font-size: 13px; font-weight: 400; color: var(--qg-muted); margin-left: auto; }
.qg-doc-body { padding: 0 20px 20px; border-top: 1px solid var(--qg-line); }
.qg-doc-download { margin: 16px 0; display: inline-flex; }
.qg-doc-text { max-height: 480px; overflow-y: auto; padding: 16px; background: var(--qg-bg); border-radius: var(--qg-radius-xs); }

/* Search bar */
.qg-search-bar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px;
}
.qg-search-bar input {
  flex: 1; min-width: 200px; padding: 12px 16px; border-radius: 999px;
  border: 1px solid var(--qg-line); font: inherit; background: var(--qg-white);
}
.qg-search-bar input:focus { outline: none; border-color: var(--qg-accent); box-shadow: 0 0 0 3px rgba(0,102,204,0.12); }
.qg-result-count { font-size: 14px; color: var(--qg-muted); }
.qg-video-meta { display: block; font-size: 12px; color: var(--qg-muted); margin-top: 4px; font-weight: 400; }
.qg-empty { text-align: center; color: var(--qg-muted); padding: 40px 0; }

/* Responsive */
@media (max-width: 1068px) {
  .qg-nav { display: none; } .qg-menu-toggle { display: block; }
  .qg-hero-grid, .qg-feature, .qg-contact-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .qg-hero-grid .qg-hero-actions, .qg-hero-proof { justify-content: center; }
  .qg-grid-4, .qg-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .qg-stats { grid-template-columns: repeat(2, 1fr); }
  .qg-steps { grid-template-columns: repeat(3, 1fr); }
  .qg-footer-grid { grid-template-columns: 1fr 1fr; }
  .qg-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 734px) {
  .qg-container, .qg-container-wide { width: calc(100% - 32px); }
  .qg-section { padding: 72px 0; }
  .qg-grid-2, .qg-grid-3, .qg-grid-4 { grid-template-columns: 1fr; }
  .qg-stats, .qg-steps { grid-template-columns: 1fr; }
  .qg-footer-grid, .qg-gallery { grid-template-columns: 1fr; }
}
