/* Charming Ever — Quality Control (single page) */
.ce-qc-intro {
  padding: 40px 0 8px;
  background: #fff;
}

.ce-qc-intro__head {
  max-width: 820px;
  margin: 0 0 28px;
}

.ce-qc-intro__head h1 {
  margin: 8px 0 16px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  color: var(--ce-dark, #121316);
  line-height: 1.2;
}

.ce-qc-intro__head p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
}

.ce-qc-intro__tagline {
  margin-top: 8px !important;
  font-weight: 700;
  color: var(--ce-dark, #121316) !important;
}

.ce-qc-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.ce-qc-jump a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f7f8fa;
  font-size: 13px;
  font-weight: 700;
  color: var(--ce-dark, #121316);
  transition: background 0.15s ease, color 0.15s ease;
}

.ce-qc-jump a:hover {
  background: var(--ce-orange, #ff6a00);
  color: #fff;
}

.ce-qc-block {
  padding: 56px 0;
  background: #fff;
}

.ce-qc-block--alt {
  background: #f5f6f8;
}

.ce-qc-block__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 20px;
  align-items: start;
  margin-bottom: 32px;
}

.ce-qc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 72px;
  padding: 0 14px;
  border-radius: 18px;
  background: var(--ce-orange, #ff6a00);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.ce-qc-block__head h2 {
  margin: 6px 0 8px;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  color: var(--ce-dark, #121316);
  line-height: 1.2;
}

.ce-qc-lead {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
}

.ce-qc-split {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 36px;
}

@media (min-width: 900px) {
  .ce-qc-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
  }

  .ce-qc-split--rev .ce-qc-split__media {
    order: 2;
  }
}

.ce-qc-split__media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #eceff3;
  box-shadow: 0 10px 28px rgba(18, 19, 22, 0.06);
}

.ce-qc-split__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ce-qc-split__body p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: #4b5563;
}

.ce-qc-mini-title {
  margin: 18px 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ce-dark, #121316);
}

.ce-qc-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ce-qc-partners li {
  padding: 8px 14px;
  border-radius: 999px;
  background: #f7f8fa;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ce-dark, #121316);
}

.ce-qc-subhead {
  max-width: 760px;
  margin: 8px 0 22px;
}

.ce-qc-subhead h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ce-dark, #121316);
}

.ce-qc-subhead p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
}

.ce-qc-steps {
  display: grid;
  gap: 14px;
  margin: 0 0 36px;
}

@media (min-width: 700px) {
  .ce-qc-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .ce-qc-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ce-qc-step {
  padding: 18px 18px 20px;
  background: #f7f8fa;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(18, 19, 22, 0.04);
}

.ce-qc-block--alt .ce-qc-step {
  background: #fff;
}

.ce-qc-step strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ce-orange, #ff6a00);
}

.ce-qc-step span {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ce-dark, #121316);
}

.ce-qc-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
}

.ce-qc-trio {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .ce-qc-trio {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ce-qc-trio__card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(18, 19, 22, 0.06);
}

.ce-qc-block:not(.ce-qc-block--alt) .ce-qc-trio__card {
  background: #f7f8fa;
  box-shadow: none;
}

.ce-qc-trio__card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.ce-qc-trio__card > div {
  padding: 18px 18px 20px;
}

.ce-qc-trio__card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ce-dark, #121316);
}

.ce-qc-trio__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
}

.ce-qc-stages {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .ce-qc-stages {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .ce-qc-stages {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ce-qc-stages li {
  padding: 20px 18px 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(18, 19, 22, 0.04);
}

.ce-qc-stages strong {
  display: block;
  margin-bottom: 10px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  color: var(--ce-orange, #ff6a00);
}

.ce-qc-stages span {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ce-dark, #121316);
}

.ce-qc-stages p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #6b7280;
}

.ce-qc-gallery {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

@media (min-width: 700px) {
  .ce-qc-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .ce-qc-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ce-qc-gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #eceff3;
}

.ce-qc-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ce-qc-gallery figcaption {
  padding: 10px 12px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ce-dark, #121316);
  background: #fff;
}

.ce-qc-footnote {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ce-dark, #121316);
}

.ce-qc-train-grid {
  display: grid;
  gap: 24px;
  margin: 8px 0 20px;
}

@media (min-width: 900px) {
  .ce-qc-train-grid {
    grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
    align-items: stretch;
  }
}

.ce-qc-train-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 26px;
  background: #f7f8fa;
  border-radius: 14px;
  height: 100%;
}

.ce-qc-train-list h3 {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ce-dark, #121316);
}

.ce-qc-train-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ce-qc-train-list li {
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
}

.ce-qc-train-list li:first-child {
  padding-top: 0;
}

.ce-qc-train-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ce-qc-train-list strong {
  color: var(--ce-dark, #121316);
}

.ce-qc-train-photos {
  display: grid;
  gap: 14px;
  height: 100%;
}

.ce-qc-train-photos img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 10px 28px rgba(18, 19, 22, 0.06);
}

.ce-qc-dual {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

@media (min-width: 900px) {
  .ce-qc-dual {
    grid-template-columns: 1fr 1fr;
  }
}

.ce-qc-dual__card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(18, 19, 22, 0.06);
}

.ce-qc-dual__card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.ce-qc-dual__card > div {
  padding: 20px 20px 22px;
}

.ce-qc-dual__card h3 {
  margin: 6px 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ce-dark, #121316);
}

.ce-qc-dual__meta {
  margin: 0 0 10px !important;
  font-size: 13px !important;
  font-weight: 700;
  color: var(--ce-orange, #ff6a00) !important;
}

.ce-qc-dual__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
}

.ce-qc-goal {
  margin-bottom: 28px;
  padding: 28px 28px;
  border-radius: 14px;
  background: #121316;
  color: #fff;
  text-align: center;
}

.ce-qc-goal h3 {
  margin: 8px 0 8px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  color: #fff;
}

.ce-qc-goal p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
}

.ce-qc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 19, 22, 0.06);
}

.ce-qc-cta h2 {
  margin: 8px 0 10px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  color: var(--ce-dark, #121316);
  line-height: 1.25;
}

.ce-qc-cta p {
  margin: 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.65;
  color: #4b5563;
}

@media (max-width: 699px) {
  .ce-qc-block {
    padding: 40px 0;
  }

  .ce-qc-block__head {
    gap: 12px;
  }

  .ce-qc-num {
    min-width: 60px;
    height: 60px;
    font-size: 22px;
    border-radius: 16px;
  }
}
