.qc-hero {
  position: relative;
  height: 460px;
  color: #fff;
  background-color: #04275f;
  background-image:
    linear-gradient(180deg, rgba(4, 18, 48, .42), rgba(4, 18, 48, .28)),
    linear-gradient(100deg, rgba(4, 18, 48, .78) 0%, rgba(4, 18, 48, .48) 52%, rgba(4, 18, 48, .22) 100%),
    var(--page-banner, url("../images/hero-quality.webp"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.qc-hero__inner { padding-top: 168px; }
.qc-hero .eyebrow { color: rgba(255,255,255,.86); }
.qc-hero .eyebrow::before { background: rgba(255,255,255,.85); }
.qc-hero h1 {
  margin-top: 16px;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
}
.qc-hero__lead {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 600;
}
.qc-hero__desc {
  margin-top: 12px;
  max-width: 560px;
  color: rgba(255,255,255,.86);
  font-size: 15px;
  line-height: 1.9;
}

.qc-tabs {
  position: sticky;
  top: 0;
  z-index: 8;
  background: #fff;
  border-bottom: 1px solid #e8ebf0;
}
.qc-tabs__list {
  display: flex;
  align-items: stretch;
  gap: 4px;
  min-height: 72px;
  overflow-x: auto;
}
.qc-tabs a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: #5c6775;
  font-size: 15px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.qc-tabs a b {
  color: #b0b7c0;
  font-size: 12px;
  font-weight: 600;
}
.qc-tabs a.is-on,
.qc-tabs a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.qc-tabs a.is-on b,
.qc-tabs a:hover b { color: var(--blue); }

.qc-photos {
  --qc-gap: 16px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: var(--qc-gap);
  margin-top: 28px;
}
.qc-photos__item {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc((100% - (var(--qc-n, 3) - 1) * var(--qc-gap)) / var(--qc-n, 3));
}
.qc-photos img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 380px;
}
.qc-lead {
  max-width: 920px;
  margin-top: 28px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.9;
}
.qc-sub {
  margin-top: 36px;
  font-size: 20px;
  font-weight: 700;
}
.qc-note {
  margin-top: 22px;
  padding: 16px 20px;
  background: #f4f7fb;
  border-left: 3px solid var(--blue);
  color: #3d4a5c;
  font-size: 14px;
  line-height: 1.8;
}
.band .qc-note { background: #fff; }

.qc-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.qc-cards article {
  padding: 24px 22px 28px;
  background: #f6f8fb;
}
.qc-cards p:first-child {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: .08em;
}
.qc-cards h3 { margin-top: 16px; font-size: 22px; }
.qc-cards article p:last-child {
  margin-top: 10px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}

.qc-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
  counter-reset: qc;
}
.qc-points li {
  counter-increment: qc;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid #e4e8ee;
  color: #3d4a5c;
  font-size: 15px;
  line-height: 1.7;
}
.qc-points li::before {
  content: counter(qc, decimal-leading-zero);
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  padding-top: 2px;
}

.qc-limits {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}
.qc-limits li {
  padding: 22px 16px;
  background: #f6f8fb;
  text-align: center;
}
.qc-limits b {
  display: block;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}
.qc-limits span {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
}
.qc-limits small {
  display: block;
  margin-top: 6px;
  color: #8b95a3;
  font-size: 12px;
}
.qc-notes {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 24px;
  margin-top: 22px;
}
.qc-notes p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.9;
}

.qc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}
.qc-tags li {
  padding: 10px 16px;
  border: 1px solid #e1e6ee;
  background: #fff;
  color: #1b2430;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .qc-hero { height: 400px; }
  .qc-hero h1 { font-size: 44px; }
  .qc-hero__inner { padding-top: 128px; }
  .qc-cards,
  .qc-limits { grid-template-columns: 1fr 1fr; }
  .qc-notes { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .qc-photos { --qc-gap: 8px; }
  .qc-hero { height: auto; min-height: 360px; }
  .qc-hero__inner { padding: 108px 0 36px; }
  .qc-hero h1 { font-size: 34px; }
  .qc-hero__lead { font-size: 18px; }
  .qc-cards,
  .qc-points,
  .qc-limits { grid-template-columns: 1fr; }
  .qc-limits b { font-size: 24px; }
}
