/* Saint-Gobain brand tones */
.accreditations-page {
  --sg-blue-dark: #005a8f;
  --sg-blue-mid: #0077b6;
  --sg-cyan: #00a9ce;
  --sg-cyan-light: #4dc4e0;
  --sg-bg-tint: #eef8f9;
  --sg-bg-soft: #e3f3f7;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    165deg,
    #dceef4 0%,
    var(--sg-bg-tint) 28%,
    #f4fbfc 58%,
    #ffffff 100%
  );
}

.accreditations-page::before,
.accreditations-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.accreditations-page::before {
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 169, 206, 0.14) 0%, transparent 68%);
}

.accreditations-page::after {
  bottom: 8%;
  left: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(0, 90, 143, 0.1) 0%, transparent 70%);
}

.accreditations-banner,
.accreditations-hero,
.accreditations-grid-section {
  position: relative;
  z-index: 1;
}

.accreditations-banner {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  background: #dceef4;
}

.accreditations-banner picture,
.accreditations-banner__image {
  display: block;
  width: 100%;
  height: auto;
}

.accreditations-banner__image {
  object-fit: cover;
  object-position: center center;
}

.accreditations-hero {
  padding: 48px 0 48px;
  background: transparent;
  text-align: center;
}

.accreditations-hero__title {
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--sg-blue-dark);
  font-family: "Ubuntu", sans-serif;
  letter-spacing: 0.3px;
}

.accreditations-hero__title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sg-blue-dark), var(--sg-cyan-light));
}

.accreditations-hero__intro {
  max-width: 820px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
  color: #3d5563;
  font-family: "Roboto", sans-serif;
}

.accreditations-grid-section {
  padding: 10px 0 40px;
  background: transparent;
}

.accreditations-disclaimer {
  position: relative;
  z-index: 1;
  padding: 0 0 70px;
}

.accreditations-disclaimer__text {
  margin: 0 0 10px;
  font-size: 6pt;
  line-height: 1.6;
  color: #4d5f6b;
  font-family: "Roboto", sans-serif;
}

.accreditations-disclaimer__text:last-child {
  margin-bottom: 0;
}

.accreditations-grid {
  justify-content: center;
  row-gap: 10px;
}

.accreditations-grid__item {
  margin-bottom: 32px;
}

.accreditation-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 90, 143, 0.1);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 90, 143, 0.08);
  overflow: hidden;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.accreditation-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 169, 206, 0.25);
  box-shadow: 0 20px 44px rgba(0, 90, 143, 0.14);
}

.accreditation-card__tagline {
  display: block;
  margin: 24px 20px 0;
  padding: 0;
  background: none;
  color: var(--sg-blue-dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  font-family: "Ubuntu", sans-serif;
  text-align: center;
}

.accreditation-card--bottom .accreditation-card__tagline {
  margin: 24px 20px 0;
  font-size: 18px;
  color: var(--sg-blue-dark);
}

.accreditation-card__image-wrap {
  width: 100%;
  height: 200px;
  margin: 20px 0 0;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #f7fcfd 100%);
  border-top: 1px solid rgba(0, 169, 206, 0.12);
  border-bottom: 1px solid rgba(0, 169, 206, 0.12);
}

.accreditation-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

/* Square logo assets need extra scale to match wide ISO certificate images */
.accreditation-card__image-wrap--zoom {
  padding: 8px 12px;
  overflow: hidden;
}

.accreditation-card__image--zoom {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  transform: scale(1.65);
  transform-origin: center center;
}

.accreditation-card__body {
  flex: 1;
  padding: 24px 28px 30px;
  text-align: center;
}

.accreditation-card__title {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  color: #111;
  font-family: "Ubuntu", sans-serif;
}

.accreditation-card__title--iso {
  text-transform: uppercase;
  color: var(--sg-blue-dark);
}

.accreditation-card--bottom .accreditation-card__title {
  font-size: 18px;
  line-height: 1.5;
  text-transform: none;
  color: #111;
}

.accreditation-card__description {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: #4d5f6b;
  font-family: "Roboto", sans-serif;
}

@media (max-width: 1199px) {
  .accreditation-card__image-wrap {
    height: 240px;
    padding: 22px 24px;
  }
}

@media (max-width: 991px) {
  .accreditations-hero {
    padding: 36px 0 36px;
  }

  .accreditations-hero__title {
    font-size: 32px;
  }

  .accreditations-hero__intro {
    font-size: 18px;
  }

  .accreditation-card__image-wrap {
    height: 200px;
  }
}

@media (max-width: 767px) {
  .accreditations-page::before {
    width: 260px;
    height: 260px;
    right: -60px;
  }

  .accreditations-hero__title {
    font-size: 28px;
  }

  .accreditation-card__tagline {
    margin-top: 20px;
    font-size: 18px;
  }

  .accreditation-card__image-wrap {
    height: 180px;
    padding: 16px 18px;
  }

  .accreditation-card__body {
    padding: 20px 18px 24px;
  }
}
