.page-manufacturing-quality {
  background: #fff;
}

.mq-hero {
  position: relative;
  overflow: hidden;
  padding: var(--page-hero-padding);
  color: var(--page-hero-color);
  background: var(--page-hero-background);
}

.mq-hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -210px auto;
  width: 420px;
  height: 420px;
  border: 70px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
}

.mq-hero .container {
  position: relative;
  z-index: 1;
}

.mq-breadcrumb {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.mq-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.mq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #9fdee0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mq-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #78cdd0;
}

.mq-hero h1 {
  max-width: 850px;
  margin: 0 0 18px;
  color: var(--page-hero-color);
  font-size: var(--page-hero-title-size);
  line-height: var(--page-hero-title-line-height);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.mq-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--page-hero-copy-color);
  font-size: var(--page-hero-copy-size);
  line-height: 1.72;
}

.mq-section {
  padding: 82px 0;
}

.mq-section.alt {
  background: var(--bg-alt);
}

.mq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.mq-grid.reverse .mq-media {
  order: 2;
}

.mq-copy,
.mq-media {
  min-width: 0;
}

.mq-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mq-copy h2,
.mq-section-heading h2 {
  margin: 0 0 20px;
  color: var(--dark-soft);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.mq-copy h3 {
  margin: 28px 0 10px;
  color: var(--dark-soft);
  font-size: 1.12rem;
}

.mq-copy p,
.mq-section-heading p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.78;
}

.mq-copy p + p {
  margin-top: 14px;
}

.mq-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 36, 56, 0.12);
}

.mq-figure img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  background: #edf2f6;
}

.mq-figure.contain img {
  object-fit: contain;
}

.mq-figure figcaption {
  padding: 15px 18px 17px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  color: var(--text-light);
  font-size: 0.86rem;
  line-height: 1.55;
}

.mq-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.mq-fact {
  padding: 19px;
  border: 1px solid rgba(30, 110, 184, 0.14);
  border-radius: 12px;
  background: #f8fbfd;
}

.mq-fact strong {
  display: block;
  margin-bottom: 6px;
  color: var(--dark-soft);
  font-size: 0.92rem;
}

.mq-fact span {
  color: var(--text-light);
  font-size: 0.83rem;
  line-height: 1.5;
}

.mq-inspection-card {
  padding: 26px;
  border: 1px solid rgba(30, 110, 184, 0.14);
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  background: #fff;
}

.mq-reading {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0 0 8px;
  color: var(--dark-soft);
}

.mq-reading strong {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.mq-reading span {
  font-size: 1.25rem;
  font-weight: 700;
}

.mq-boundary {
  margin-top: 22px;
  padding: 17px 19px;
  border-radius: 10px;
  background: #fff8e8;
  color: #6f541e;
  font-size: 0.9rem;
  line-height: 1.65;
}

.mq-boundary strong {
  color: #5f4515;
}

.mq-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 22px;
}

.mq-gallery .mq-figure img {
  height: 420px;
}

.mq-stator-process + .mq-color-anodizing-overview {
  margin-top: 82px;
  padding-top: 72px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.mq-process-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.mq-process-gallery .mq-process-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

.mq-process-steps {
  margin-top: 28px;
}

.mq-stator-leak-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid rgba(30, 110, 184, 0.16);
  border-radius: 14px;
  background: #fff;
}

.mq-stator-leak-link p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.7;
}

.mq-stator-leak-link .btn {
  white-space: nowrap;
}

.mq-stator-boundary {
  margin-top: 22px;
}

.mq-section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.mq-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  counter-reset: mq-control;
}

.mq-control {
  position: relative;
  padding: 24px 24px 24px 66px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 36, 56, 0.05);
  counter-increment: mq-control;
}

.mq-control::before {
  content: counter(mq-control, decimal-leading-zero);
  position: absolute;
  top: 24px;
  left: 22px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
}

.mq-control h3 {
  margin: 0 0 7px;
  color: var(--dark-soft);
  font-size: 1rem;
}

.mq-control p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.65;
}

.mq-evidence {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
  padding: 38px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #17344e, #1e5970);
}

.mq-evidence h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.25;
}

.mq-evidence ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mq-evidence li {
  position: relative;
  padding: 0 0 14px 26px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.mq-evidence li:last-child {
  padding-bottom: 0;
}

.mq-evidence li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid #8bd3d5;
  border-radius: 50%;
}

.mq-subpage-feature {
  padding-top: 42px;
  padding-bottom: 42px;
  background: #eef7f7;
}

.mq-subpage-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: 30px 34px;
  border: 1px solid #b9dfe1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 42, 58, 0.07);
}

.mq-subpage-card h2 {
  margin: 0 0 10px;
  color: #10283f;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.mq-subpage-card p {
  max-width: 820px;
  margin: 0;
  color: #536775;
  line-height: 1.7;
}

.mq-subpage-card .btn {
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .mq-hero {
    padding: var(--page-hero-padding-tablet);
  }

  .mq-hero h1 {
    font-size: var(--page-hero-title-size-tablet);
  }
}

@media (max-width: 900px) {
  .mq-grid,
  .mq-evidence {
    grid-template-columns: 1fr;
  }

  .mq-grid.reverse .mq-media {
    order: 0;
  }

  .mq-fact-grid {
    grid-template-columns: 1fr;
  }

  .mq-subpage-card {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 1100px) {
  .mq-process-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mq-process-gallery > .mq-process-figure:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 22px) / 2);
    justify-self: center;
  }

  .mq-stator-leak-link {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 700px) {
  .mq-hero {
    padding: var(--page-hero-padding-mobile);
  }

  .mq-hero p {
    font-size: 0.98rem;
  }

  .mq-section {
    padding: 56px 0;
  }

  .mq-grid {
    gap: 30px;
  }

  .mq-gallery,
  .mq-controls,
  .mq-process-gallery {
    grid-template-columns: 1fr;
  }

  .mq-process-gallery > .mq-process-figure:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .mq-stator-process + .mq-color-anodizing-overview {
    margin-top: 58px;
    padding-top: 52px;
  }

  .mq-stator-leak-link > * {
    min-width: 0;
  }

  .mq-stator-leak-link .btn {
    width: 100%;
    white-space: normal;
  }

  .mq-gallery .mq-figure img {
    height: auto;
    max-height: 540px;
  }

  .mq-grid .mq-figure img {
    height: auto;
    max-height: 620px;
    object-fit: contain;
  }

  .mq-section-heading {
    margin-bottom: 28px;
    text-align: left;
  }

  .mq-evidence {
    gap: 24px;
    padding: 26px 22px;
  }

  .mq-subpage-card {
    padding: 24px 22px;
  }

  .mq-subpage-card > * {
    min-width: 0;
  }

  .mq-subpage-card .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .mq-hero h1 {
    font-size: var(--page-hero-title-size-mobile);
  }

  .mq-copy h2,
  .mq-section-heading h2 {
    font-size: 1.45rem;
  }

  .mq-control {
    padding: 22px 20px 22px 58px;
  }

  .mq-control::before {
    left: 18px;
  }

  .mq-inspection-card {
    padding: 20px;
  }
}
