@font-face {
  font-display: swap;
  font-family: 'ClashDisplay';
  font-style: normal;
  font-weight: 600;
  src: url('/dist/assets/fonts/ClashDisplay-Semibold.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'ClashDisplay';
  font-style: normal;
  font-weight: 500;
  src: url('/dist/assets/fonts/ClashDisplay-Medium.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  src: url('/dist/assets/fonts/Archivo-Regular.woff2') format('woff2');
}

.cert-page {
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f8f8f8;
  padding: clamp(88px, 10vw, 128px) 16px 64px;
  box-sizing: border-box;
  min-height: min(100vh, 100dvh);
}

.cert-page__inner {
  max-width: 1312px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cert-page__breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 14px;
  line-height: 1.5;
  font-family: 'Archivo', sans-serif;
}

.cert-page__breadcrumb a {
  color: #717182;
  text-decoration: none;
  transition: color 0.2s;
}

.cert-page__breadcrumb a:hover {
  color: #0a0a0a;
}

.cert-page__breadcrumb-sep {
  color: #717182;
  display: flex;
  align-items: center;
}

.cert-page__breadcrumb-current {
  color: #0a0a0a;
}

.cert-page__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 100%;
}

.cert-page__title {
  font-family: 'ClashDisplay', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.13;
  letter-spacing: -0.015em;
  color: #0a0a0a;
  margin: 0;
}

.cert-page__lead {
  margin: 0;
  max-width: 602px;
  font-size: 18px;
  line-height: 1.33;
  color: #525252;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 720px) {
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (min-width: 1100px) {
  .cert-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }

  .cert-grid .cert-card:nth-child(4) {
    grid-column: 1 / -1;
    max-width: 400px;
    width: 100%;
    justify-self: center;
  }
}

.cert-card {
  background: #fff;
  border: 1px solid #f1f1f1;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  box-sizing: border-box;
}

.cert-card__media {
  width: 100%;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-card__media--tall {
  min-height: 180px;
}

.cert-card__media img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.cert-card__name {
  font-family: 'ClashDisplay', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.35;
  text-align: center;
  color: #0a0a0a;
  margin: 0;
  width: 100%;
}

.cert-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  color: #525252;
  width: 100%;
}

.cert-about {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f1f1f1;
  border-radius: 32px;
  padding: clamp(48px, 10vw, 128px) clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 27px;
  box-sizing: border-box;
}

.cert-about__decor {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url('/dist/assets/img/about/about-bg.svg');
  background-size: 120% auto;
  background-position: 80% 40%;
  background-repeat: no-repeat;
}

.cert-about__eyebrow {
  position: relative;
  z-index: 1;
  font-family: 'ClashDisplay', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.55;
  color: #1a1a1a;
  margin: 0;
}

.cert-about__title {
  position: relative;
  z-index: 1;
  font-family: 'ClashDisplay', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.2;
  color: #1a1a1a;
  margin: 0;
  max-width: 900px;
}

.cert-about__text {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 895px;
  font-size: 18px;
  line-height: 1.7;
  color: #1a1a1a;
}

.cert-about__logos {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 27px;
  margin-top: 8px;
}

.cert-about__logos img {
  max-height: 88px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
