.qc-page {
  --qc-accent: #9fb153;
  --qc-deep: #595757;
  --qc-ink: #595757;
  --qc-muted: #595757;
  --qc-paper: #fff;
  --qc-panel: #fff;
  --qc-line: rgba(89, 87, 87, .14);
  color: var(--qc-ink);
  background: #fff;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.qc-page *,
.qc-page *::before,
.qc-page *::after { box-sizing: border-box; }
.qc-page .container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

.qc-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 170px 0 110px;
  border-bottom: 1px solid var(--qc-line);
  background: #fff;
}
.qc-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .18) 46%, transparent 68%);
}
.qc-hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.qc-hero-inner { position: relative; z-index: 1; }
.qc-hero-copy { min-width: 0; max-width: 540px; }
.qc-kicker,
.qc-section-head > span,
.qc-section-head-main > span {
  display: block;
  margin-bottom: 14px;
  color: var(--qc-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.qc-hero h1,
.qc-split-head h2,
.qc-section-head h2,
.qc-pack-title h2 {
  margin: 0;
  color: var(--qc-ink);
  font-weight: 760;
  letter-spacing: -.035em;
}
.qc-hero h1 { font-size: clamp(38px, 4.2vw, 62px); line-height: 1.04; }
.qc-hero-copy > p { max-width: min(500px, 100%); margin: 24px 0 0; color: var(--qc-muted); font-size: 17px; line-height: 1.75; }
.qc-hero-actions,
.qc-pack-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.qc-btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid var(--qc-deep); border-radius: 999px; color: var(--qc-ink); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.qc-btn:hover { transform: translateY(-2px); }
.qc-btn.primary { border-color: var(--qc-accent); color: #fff; background: var(--qc-accent); }
.qc-btn.secondary { background: transparent; }
.qc-btn.dark { border-color: var(--qc-deep); color: #fff; background: var(--qc-deep); }
.qc-btn:focus-visible,
.qc-dossier-thumbs button:focus-visible,
.qc-faq-list summary:focus-visible,
.qc-lightbox-close:focus-visible { outline: 3px solid rgba(159, 177, 83, .45); outline-offset: 3px; }

.qc-dossier-card { width: 100%; max-width: 610px; }
.qc-dossier-visual { position: relative; height: 490px; }
.qc-dossier-stack { position: relative; height: 420px; }
.qc-dossier-image { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; box-shadow: 0 24px 54px rgba(45, 48, 38, .16); }
.qc-dossier-image.is-back { position: absolute; top: 12px; left: 4%; width: 47%; height: 78%; transform: rotate(-5deg); opacity: .7; }
.qc-dossier-image-link { position: absolute; top: 18px; right: 3%; width: 62%; height: 92%; transition: transform .25s ease; }
.qc-dossier-image-link:hover { transform: translateY(-5px) rotate(1deg); }
.qc-dossier-thumbs { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: center; gap: 8px; }
.qc-dossier-thumbs button { width: 64px; padding: 5px; border: 1px solid var(--qc-line); border-radius: 8px; color: var(--qc-muted); background: rgba(255, 255, 255, .82); cursor: pointer; }
.qc-dossier-thumbs button.is-active { border-color: var(--qc-accent); color: var(--qc-ink); box-shadow: 0 0 0 2px rgba(159, 177, 83, .18); }
.qc-dossier-thumbs img { display: block; width: 100%; height: 42px; object-fit: cover; object-position: top; }
.qc-dossier-thumbs span { display: block; overflow: hidden; margin-top: 4px; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.qc-dossier-summary { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--qc-line); }
.qc-dossier-summary p { margin: 4px 0 0; color: var(--qc-muted); font-size: 14px; line-height: 1.55; }
.qc-dossier-summary .qc-dossier-current-title { margin: 0; color: var(--qc-ink); font-size: 16px; font-weight: 800; }

.qc-section { padding: clamp(72px, 8vw, 112px) 0; }
.qc-certification-section { padding: 24px 0; border-bottom: 0; background: #fff; }
.qc-certification-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qc-certification-grid > * { display: flex; min-height: 252px; align-items: center; justify-content: center; padding: clamp(20px, 3vw, 36px); background: transparent; }
.qc-certification-grid img { display: block; width: 100%; height: 168px; object-fit: contain; }
.qc-certification-footer { display: flex; flex-direction: column; align-items: center; margin-top: 24px; text-align: center; }
.qc-certification-footer h2 { margin: 0; color: var(--qc-deep); font-size: clamp(30px, 3vw, 44px); line-height: 1.12; letter-spacing: -.035em; }
.qc-certification-footer p { width: min(680px, 100%); margin: 16px 0 0; color: var(--qc-muted); font-size: 15px; line-height: 1.75; }
.qc-certification-footer .qc-btn { margin-top: 24px; }
.qc-management-section { padding-top: 0; border-top: 0; box-shadow: none; background: #fff; }
.qc-split-head,
.qc-section-head.is-left { display: grid; grid-template-columns: minmax(0, .9fr) minmax(340px, .7fr); gap: clamp(42px, 7vw, 90px); align-items: end; margin-bottom: 48px; }
.qc-split-head h2,
.qc-section-head h2,
.qc-pack-title h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.12; }
.qc-split-head p,
.qc-section-head > p { margin: 0; color: var(--qc-muted); font-size: 16px; line-height: 1.75; }
.qc-standard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--qc-line); border-left: 1px solid var(--qc-line); }
.qc-standard-item { display: grid; grid-template-columns: 56px 1fr; gap: 22px; min-height: 245px; padding: 34px; border-right: 1px solid var(--qc-line); border-bottom: 1px solid var(--qc-line); background: var(--qc-paper); }
.qc-standard-icon { display: flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; }
.qc-standard-icon img { width: 52px; height: 52px; }
.qc-standard-item h3 { max-width: 430px; margin: 0; font-size: 20px; line-height: 1.35; }
.qc-standard-item p { margin: 12px 0 0; color: var(--qc-muted); font-size: 14px; line-height: 1.7; }
.qc-standard-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.qc-standard-actions a { color: var(--qc-accent); font-size: 12px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.qc-standard-actions span { color: var(--qc-deep); font-size: 11px; white-space: nowrap; }

.qc-section-head { margin-bottom: 44px; }
.qc-workflow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: checkpoint; border-top: 1px solid var(--qc-line); border-left: 1px solid var(--qc-line); }
.qc-workflow-grid article { position: relative; min-height: 270px; padding: 30px 26px; border-right: 1px solid var(--qc-line); border-bottom: 1px solid var(--qc-line); background: rgba(255, 255, 255, .48); transition: background .2s ease; }
.qc-workflow-grid article:hover { background: #fff; }
.qc-step-mark { display: block; width: 48px; height: 48px; margin-bottom: 30px; }
.qc-step-mark img { display: block; width: 100%; height: 100%; }
.qc-workflow-grid h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.qc-workflow-grid p { margin: 12px 0 0; color: var(--qc-muted); font-size: 13px; line-height: 1.65; }

.qc-equipment-section { padding-top: 0; background: #fff; }
.qc-equipment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.qc-equipment-card { overflow: hidden; border: 1px solid var(--qc-line); background: #fff; }
.qc-equipment-card img { display: block; width: 100%; height: 240px; padding: 18px; object-fit: contain; background: #fff; }
.qc-equipment-copy { padding: 22px 22px 24px; }
.qc-equipment-copy h3 { margin: 0; font-size: 20px; line-height: 1.35; }
.qc-equipment-copy p { margin: 12px 0 0; color: var(--qc-muted); font-size: 14px; line-height: 1.7; }

.qc-faq-section { padding-top: 0; }
.qc-faq-layout { display: grid; justify-items: center; gap: 38px; }
.qc-faq-head { width: min(760px, 100%); margin: 0 auto; text-align: center; }
.qc-faq-head h2 { margin: 0; color: var(--qc-ink); font-size: clamp(30px, 3vw, 44px); line-height: 1.12; letter-spacing: -.035em; }
.qc-faq-head p { margin: 16px auto 0; max-width: 720px; color: var(--qc-muted); font-size: 15px; line-height: 1.75; }
.qc-faq-list { border-top: 1px solid var(--qc-line); }
.qc-faq-list { width: min(860px, 100%); }
.qc-faq-list details { border-bottom: 1px solid var(--qc-line); text-align: center; }
.qc-faq-list summary { position: relative; display: block; padding: 25px 56px; cursor: pointer; list-style: none; }
.qc-faq-list summary::-webkit-details-marker { display: none; }
.qc-faq-list summary h3 { margin: 0; font-size: 18px; line-height: 1.4; }
.qc-faq-list summary::after { position: absolute; top: 24px; right: 18px; color: var(--qc-accent); content: "+"; font-size: 26px; line-height: 1; }
.qc-faq-list details[open] summary::after { content: "−"; }
.qc-faq-list p { max-width: 720px; margin: -5px auto 24px; color: var(--qc-muted); font-size: 15px; line-height: 1.7; text-align: center; }

.qc-lightbox { position: fixed; z-index: 1100; inset: 0; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(20, 20, 18, .82); }
.qc-lightbox.is-open { display: flex; }
.qc-lightbox-panel { position: relative; max-width: min(900px, 94vw); max-height: 92vh; padding: 14px; background: #fff; }
.qc-lightbox-panel img { display: block; max-width: 100%; max-height: 80vh; object-fit: contain; }
.qc-lightbox-panel p { margin: 12px 4px 2px; color: var(--qc-muted); font-size: 13px; text-align: center; }
.qc-lightbox-close { position: absolute; top: -15px; right: -15px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: #fff; background: var(--qc-deep); cursor: pointer; font-size: 22px; }

@media (max-width: 980px) {
  .qc-hero-copy { max-width: 520px; }
  .qc-dossier-card { max-width: 640px; }
  .qc-workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .qc-page { width: 100%; max-width: 100vw; overflow: hidden; }
  .qc-page .container { width: calc(100vw - 30px); }
  .qc-hero { min-height: 560px; padding: 112px 0 64px; }
  .qc-hero-background { object-position: 64% center; opacity: .38; }
  .qc-hero::after { background: linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .62)); }
  .qc-hero h1 { font-size: 36px; }
  .qc-dossier-visual { height: 395px; }
  .qc-dossier-stack { height: 330px; }
  .qc-dossier-image.is-back { left: 1%; width: 52%; }
  .qc-dossier-image-link { right: 0; width: 56%; }
  .qc-dossier-thumbs { gap: 5px; }
  .qc-dossier-thumbs button { width: 54px; }
  .qc-dossier-thumbs img { height: 34px; }
  .qc-section { padding: 66px 0; }
  .qc-certification-section { padding: 24px 0; }
  .qc-management-section { padding-top: 0; }
  .qc-split-head,
  .qc-section-head.is-left,
  .qc-faq-layout { grid-template-columns: 1fr; gap: 20px; margin-bottom: 34px; }
  .qc-standard-grid,
  .qc-certification-grid,
  .qc-workflow-grid,
  .qc-equipment-grid { grid-template-columns: 1fr; }
  .qc-certification-grid > * { min-height: 208px; padding: 24px; }
  .qc-certification-grid img { height: 148px; }
  .qc-standard-item { grid-template-columns: 46px 1fr; min-height: 0; padding: 26px 20px; }
  .qc-standard-icon,
  .qc-standard-icon img { width: 42px; height: 42px; }
  .qc-workflow-grid article { min-height: 0; }
  .qc-faq-section { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .qc-page * { scroll-behavior: auto !important; transition: none !important; }
}
