.credentials-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid #dbe4f0;
  background:
    radial-gradient(circle at 78% 22%, rgba(127, 86, 217, 0.13), transparent 26%),
    radial-gradient(circle at 12% 72%, rgba(46, 144, 250, 0.16), transparent 30%),
    linear-gradient(180deg, #f6f9ff 0%, #fff 100%);
}

.credentials-hero-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 92, 211, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 92, 211, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.credentials-hero-glow {
  position: absolute;
  z-index: -1;
  top: 110px;
  right: -160px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(23, 92, 211, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 64px rgba(23, 92, 211, 0.025),
    0 0 0 128px rgba(23, 92, 211, 0.018);
}

.credentials-hero-inner {
  padding: 28px 0 78px;
}

.credentials-hero .breadcrumb {
  margin-bottom: 68px;
}

.credentials-hero-copy {
  max-width: 870px;
}

.credentials-hero-copy h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.credentials-hero-copy h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(92deg, #175cd3 4%, #2e90fa 52%, #7f56d9 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.credentials-hero-copy > p:last-child {
  max-width: 720px;
  margin: 28px 0 0;
  color: #475467;
  font-size: 17px;
  line-height: 1.9;
}

.credentials-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 910px;
  margin-top: 64px;
  overflow: hidden;
  border: 1px solid rgba(208, 213, 221, 0.88);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.06);
  backdrop-filter: blur(14px);
}

.credentials-summary > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 24px 28px;
}

.credentials-summary > div + div {
  border-left: 1px solid #e4e7ec;
}

.credentials-summary strong {
  color: #101828;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.credentials-summary span {
  color: #667085;
  font-size: 13px;
}

.iso-section,
.trademark-section {
  padding: 112px 0;
}

.credentials-section-heading {
  align-items: end;
  margin-bottom: 52px;
}

.credentials-section-heading > div {
  min-width: 0;
}

.credentials-section-heading > p {
  max-width: 490px;
}

#trademark-title {
  font-size: clamp(28px, 4vw, 48px);
  white-space: nowrap;
}

.iso-overview {
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1.5fr);
  gap: 28px;
  align-items: start;
}

.iso-detail-card {
  position: sticky;
  top: 104px;
  padding: 34px;
  border: 1px solid #dbe4f0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(46, 144, 250, 0.13), transparent 34%),
    #fff;
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.06);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid #abefc6;
  border-radius: 100px;
  color: #067647;
  background: #ecfdf3;
  font-size: 12px;
  font-weight: 700;
}

.status-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #17b26a;
  box-shadow: 0 0 0 4px rgba(23, 178, 106, 0.1);
}

.credential-facts {
  margin: 28px 0 0;
}

.credential-facts > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #eaecf0;
}

.credential-facts dt,
.credential-facts dd {
  margin: 0;
}

.credential-facts dt {
  color: #98a2b3;
  font-size: 13px;
}

.credential-facts dd {
  color: #344054;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.scope-note {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid #b2ddff;
  border-radius: 12px;
  background: #eff8ff;
}

.scope-note span {
  color: #175cd3;
  font-size: 12px;
  font-weight: 700;
}

.scope-note p {
  margin: 8px 0 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.75;
}

.credential-note {
  margin: 18px 0 0;
  color: #98a2b3;
  font-size: 12px;
  line-height: 1.7;
}

.iso-certificate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.certificate-sheet {
  margin: 0;
  overflow: hidden;
  border: 1px solid #e4e7ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.07);
}

.certificate-image-frame {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 14px;
  background: #f2f4f7;
}

.certificate-image-frame img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 7px;
  box-shadow: 0 5px 18px rgba(16, 24, 40, 0.13);
}

.certificate-image-button {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
}

.certificate-image-button img {
  margin: 0 auto;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.certificate-image-button:hover img {
  filter: brightness(0.97);
  transform: scale(1.012);
}

.certificate-image-button:focus-visible {
  border-radius: 8px;
  outline: 3px solid #84adff;
  outline-offset: 4px;
}

.zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 100px;
  color: #fff;
  background: rgba(16, 24, 40, 0.78);
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.18);
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
}

.certificate-image-button:hover .zoom-hint,
.certificate-image-button:focus-visible .zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.certificate-sheet figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px 22px;
}

.certificate-sheet figcaption span {
  color: #175cd3;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.certificate-sheet figcaption b {
  color: #344054;
  font-size: 14px;
  line-height: 1.55;
}

.trademark-section {
  border-top: 1px solid #eaecf0;
  background: #f8fafc;
}

.trademark-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.trademark-card {
  display: grid;
  grid-template-columns: minmax(225px, 0.82fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #e4e7ec;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 15px 42px rgba(16, 24, 40, 0.055);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.trademark-card:hover {
  border-color: #b2ccff;
  box-shadow: 0 24px 55px rgba(16, 24, 40, 0.09);
  transform: translateY(-3px);
}

.trademark-card-top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  border-bottom: 1px solid #eaecf0;
}

.trademark-card-top span {
  padding: 6px 10px;
  border-radius: 7px;
  color: #175cd3;
  background: #eff8ff;
  font-size: 12px;
  font-weight: 750;
}

.trademark-card-top b {
  color: #344054;
  font-size: 14px;
}

.trademark-image-frame {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 14px;
  background: #f2f4f7;
}

.trademark-image-frame img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(16, 24, 40, 0.1);
}

.trademark-card-copy {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
}

.trademark-card-copy dl {
  margin: 0;
}

.trademark-card-copy dl > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #f2f4f7;
}

.trademark-card-copy dt,
.trademark-card-copy dd {
  margin: 0;
  font-size: 12px;
}

.trademark-card-copy dt {
  color: #98a2b3;
}

.trademark-card-copy dd {
  color: #344054;
  font-weight: 700;
}

.trademark-card-copy > p {
  margin: 18px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.8;
}

.credentials-faq {
  padding: 112px 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.45fr;
  gap: 90px;
}

.faq-layout h2 {
  margin: 0;
  font-size: clamp(36px, 4.5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.faq-list details {
  border-bottom: 1px solid #e4e7ec;
}

.faq-list summary {
  position: relative;
  padding: 24px 44px 24px 0;
  color: #101828;
  cursor: pointer;
  font-size: 17px;
  font-weight: 650;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 21px;
  right: 0;
  color: #175cd3;
  content: "+";
  font-size: 26px;
  font-weight: 350;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 720px;
  margin: -4px 0 24px;
  color: #667085;
  font-size: 14px;
  line-height: 1.85;
}

.credential-cta {
  padding: 0 0 112px;
}

.credential-cta-card {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 80px;
  padding: 60px 64px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 0% 100%, rgba(46, 144, 250, 0.34), transparent 38%),
    radial-gradient(circle at 100% 0%, rgba(127, 86, 217, 0.3), transparent 38%),
    #101828;
}

.credential-cta-card .eyebrow {
  color: #84adff;
}

.credential-cta-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.credential-cta-card > div:last-child {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.credential-cta-card > div:last-child p {
  margin: 0 0 24px;
  color: #d0d5dd;
  font-size: 15px;
  line-height: 1.85;
}

.certificate-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 24px;
  overflow: auto;
  border: 0;
  background: transparent;
}

.certificate-dialog[open] {
  display: grid;
  place-items: center;
  animation: certificate-dialog-fade-in 220ms ease-out both;
}

.certificate-dialog::backdrop {
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(5px) saturate(0.92);
}

.certificate-dialog[open]::backdrop {
  animation: certificate-backdrop-in 240ms ease-out both;
}

.certificate-dialog.is-closing {
  animation: certificate-dialog-fade-out 180ms ease-in both;
}

.certificate-dialog.is-closing::backdrop {
  animation: certificate-backdrop-out 180ms ease-in both;
}

.certificate-dialog-panel {
  position: relative;
  width: min(94vw, 1160px);
  max-height: 94vh;
  padding: 18px 56px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.84);
  box-shadow:
    0 32px 90px rgba(16, 24, 40, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: certificate-panel-in 300ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  backdrop-filter: blur(18px) saturate(1.08);
}

.certificate-dialog.is-closing .certificate-dialog-panel {
  animation: certificate-panel-out 180ms ease-in both;
}

.certificate-dialog-panel figure {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 0;
}

.certificate-dialog-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}

.certificate-dialog-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(94vh - 86px);
  border-radius: 7px;
  object-fit: contain;
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.32);
}

.certificate-dialog figcaption {
  margin-top: 12px;
  color: #344054;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.certificate-dialog-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0 0 3px;
  border: 1px solid rgba(52, 64, 84, 0.18);
  border-radius: 50%;
  color: #344054;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 25px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.certificate-dialog-close:hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.12);
  transform: rotate(5deg) scale(1.04);
}

.certificate-dialog-close:focus-visible {
  outline: 3px solid #84adff;
  outline-offset: 3px;
}

@keyframes certificate-dialog-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes certificate-dialog-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes certificate-backdrop-in {
  from {
    background: rgba(15, 23, 42, 0);
    backdrop-filter: blur(0) saturate(1);
  }
  to {
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(5px) saturate(0.92);
  }
}

@keyframes certificate-backdrop-out {
  from {
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(5px) saturate(0.92);
  }
  to {
    background: rgba(15, 23, 42, 0);
    backdrop-filter: blur(0) saturate(1);
  }
}

@keyframes certificate-panel-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.965);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes certificate-panel-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .certificate-dialog[open],
  .certificate-dialog[open]::backdrop,
  .certificate-dialog.is-closing,
  .certificate-dialog.is-closing::backdrop,
  .certificate-dialog-panel,
  .certificate-dialog.is-closing .certificate-dialog-panel {
    animation: none;
  }

  .certificate-image-button img,
  .zoom-hint,
  .certificate-dialog-close {
    transition: none;
  }
}

@media (max-width: 1050px) {
  .iso-overview {
    grid-template-columns: 1fr;
  }

  .iso-detail-card {
    position: static;
  }

  .trademark-card {
    grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .credentials-section-heading,
  .faq-layout,
  .credential-cta-card {
    grid-template-columns: 1fr;
  }

  .credentials-section-heading {
    align-items: start;
  }

  .credentials-section-heading > p {
    max-width: 680px;
  }

  .trademark-grid {
    grid-template-columns: 1fr;
  }

  .faq-layout,
  .credential-cta-card {
    gap: 38px;
  }
}

@media (max-width: 680px) {
  .credentials-hero-inner {
    padding-bottom: 56px;
  }

  .credentials-hero .breadcrumb {
    margin-bottom: 48px;
  }

  .credentials-hero-copy h1 {
    font-size: clamp(43px, 14vw, 62px);
  }

  .credentials-hero-copy > p:last-child {
    font-size: 15px;
  }

  .credentials-summary {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .credentials-summary > div {
    padding: 18px 22px;
  }

  .credentials-summary > div + div {
    border-top: 1px solid #e4e7ec;
    border-left: 0;
  }

  .iso-section,
  .trademark-section,
  .credentials-faq {
    padding: 78px 0;
  }

  .credentials-section-heading {
    margin-bottom: 34px;
  }

  .iso-detail-card {
    padding: 24px;
  }

  .iso-certificate-grid {
    grid-template-columns: 1fr;
  }

  .trademark-card {
    grid-template-columns: 1fr;
  }

  .trademark-image-frame {
    padding: 18px 32px;
  }

  .credential-cta {
    padding-bottom: 78px;
  }

  .credential-cta-card {
    padding: 40px 28px;
    border-radius: 18px;
  }

  .zoom-hint {
    right: 8px;
    bottom: 8px;
    opacity: 1;
    transform: none;
  }

  .certificate-dialog-panel {
    width: 100%;
    padding: 46px 10px 12px;
    border-radius: 14px;
  }

  .certificate-dialog-media img {
    max-height: calc(94vh - 104px);
  }

  .certificate-dialog-close {
    top: 8px;
    right: 8px;
  }
}
