/* ISO 9001 certificate proof — 20260814-v1 */
html body .iso-proof {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-top: 40px;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid #e5e5e7;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

html body #certifications,
html body #iso9001-certificate {
  scroll-margin-top: 96px;
}

html:not(.page-home) body.page-quality main .section figure.iso-proof__document {
  margin: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .iso-proof__image-link {
  display: block;
  padding: 14px;
  border: 1px solid #dedee2;
  border-radius: 18px;
  background: #f5f5f7;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

html body .iso-proof__image-link:hover {
  transform: translateY(-2px);
  border-color: #b8b8bd;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.09);
}

html body .iso-proof__image-link:focus-visible {
  outline: 2px solid #007a70;
  outline-offset: 4px;
}

html body .iso-proof__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 986 / 1396;
  border-radius: 10px;
  background: #f7eccd;
  object-fit: contain;
}

html body .iso-proof__status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 5px 10px;
  border: 1px solid rgba(0, 122, 112, 0.22);
  border-radius: 999px;
  color: #006b63;
  background: rgba(0, 122, 112, 0.07);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html body .iso-proof__details h3 {
  margin: 0 0 14px;
  color: #1d1d1f;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

html body .iso-proof__lead {
  max-width: 58ch;
  margin: 0 0 26px;
  color: #515154;
  font-size: 16px;
  line-height: 1.75;
}

html body .iso-proof__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 28px;
  border-top: 1px solid #e5e5e7;
}

html body .iso-proof__fact {
  min-width: 0;
  padding: 16px 18px 16px 0;
  border-bottom: 1px solid #e5e5e7;
}

html body .iso-proof__fact:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid #e5e5e7;
}

html body .iso-proof__fact dt {
  margin: 0 0 6px;
  color: #86868b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html body .iso-proof__fact dd {
  margin: 0;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

html body .iso-proof__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

html body .iso-proof__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid #1d1d1f;
  border-radius: 999px;
  color: #fff;
  background: #1d1d1f;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

html body .iso-proof__actions a:hover {
  background: #000;
}

html body .cert-grid--support {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

html.page-home body #services a.cert-item {
  color: inherit;
  text-decoration: none;
}

html.page-home body #services a.cert-item:hover {
  border-color: rgba(0, 122, 112, 0.34) !important;
}

html body.page-about .story-certs a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(0, 122, 112, 0.22);
  border-radius: 8px;
  color: #007a70;
  background: rgba(0, 122, 112, 0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  html body .iso-proof {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-top: 28px;
    padding: 18px;
    border-radius: 20px;
  }

  html body #certifications,
  html body #iso9001-certificate {
    scroll-margin-top: 82px;
  }

  html body .iso-proof__document {
    width: min(100%, 430px);
    margin-inline: auto;
  }

  html body .iso-proof__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  html body .iso-proof__fact,
  html body .iso-proof__fact:nth-child(even) {
    padding: 14px 0;
    border-left: 0;
  }

  html body .cert-grid--support {
    grid-template-columns: minmax(0, 1fr);
  }
}
