:root {
  --black: #030404;
  --white: #ffffff;
  --paper: #f1f1ef;
  --ink: #090a0a;
  --muted: #d9ddde;
  --line: rgba(0, 0, 0, 0.18);
  --line-dark: rgba(255, 255, 255, 0.16);
  --teal: #0085CA;
  --red: #C8102E;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.cert-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 92px;
  padding: 18px clamp(28px, 4vw, 64px);
  color: var(--white);
  background: #000;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 275px;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--teal);
  border: 2px solid var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.brand strong,
h1,
h2,
h3,
.eyebrow {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand strong {
  display: block;
  font-size: 42px;
  line-height: 0.86;
}

.brand small {
  display: block;
  margin-top: 6px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.cert-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.cert-nav a,
.call-button,
.button {
  text-decoration: none;
}

.nav-item {
  position: relative;
}

.has-menu > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  min-width: 210px;
  padding: 12px 0;
  background: rgba(3, 4, 4, 0.96);
  border: 1px solid rgba(16, 177, 197, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-menu a {
  padding: 10px 16px;
  white-space: nowrap;
}

.has-menu:hover .nav-menu,
.has-menu:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.call-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.call-button {
  border-color: var(--red);
}

.call-button img,
.button img {
  width: 21px;
  filter: brightness(0) saturate(100%) invert(20%) sepia(96%) saturate(3432%) hue-rotate(345deg) brightness(95%) contrast(93%);
}

.cert-hero {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.cert-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #030404 0%, rgba(3, 4, 4, 0.94) 44%, rgba(3, 4, 4, 0.16) 100%);
}

.cert-hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 56%;
}

.cert-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cert-hero-copy {
  position: relative;
  z-index: 2;
  width: min(600px, calc(100% - 48px));
  padding: 82px 0 64px;
  margin-left: clamp(28px, 4.3vw, 64px);
}

h1 {
  max-width: 590px;
  margin: 0;
  font-size: clamp(56px, 6.3vw, 82px);
  font-weight: 400;
  line-height: 1.02;
}

.red-rule {
  display: block;
  width: 74px;
  height: 4px;
  margin: 24px 0 24px;
  background: var(--red);
}

.cert-hero-copy p {
  max-width: 550px;
  margin: 0;
  color: #f3f4f5;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.6;
}

.cert-meaning {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(480px, 1.22fr);
  gap: 52px;
  padding: clamp(44px, 5vw, 68px) clamp(28px, 6vw, 90px);
  color: var(--white);
  background: #080909;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 24px;
  line-height: 1;
}

.cert-meaning h2 {
  max-width: 360px;
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  line-height: 0.96;
}

.cert-meaning .red-rule {
  margin-top: 20px;
}

.meaning-grid {
  display: grid;
  gap: 1px;
  background: var(--line-dark);
}

.meaning-grid article {
  padding: 24px 28px;
  background: #121414;
}

.meaning-grid h3 {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

.meaning-grid p {
  margin: 0;
  color: #e7eeee;
  font-size: 16px;
  line-height: 1.6;
}

.cert-list {
  padding: 0 clamp(28px, 6vw, 90px);
  background:
    radial-gradient(circle at 92% 20%, rgba(0, 0, 0, 0.06), transparent 30%),
    var(--paper);
}

.cert-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  max-width: 880px;
  min-height: 220px;
  padding: 32px 0;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.cert-item:last-child {
  border-bottom: 0;
}

.cert-item > img {
  justify-self: center;
  max-width: 190px;
  max-height: 190px;
}

.cert-item h2 {
  margin: 0 0 8px;
  font-size: clamp(38px, 4.2vw, 48px);
  font-weight: 400;
  line-height: 0.98;
}

.cert-item h3 {
  margin: 0 0 16px;
  color: #a8171d;
  font-size: clamp(21px, 2.3vw, 27px);
  font-weight: 400;
  line-height: 1.05;
}

.cert-item p {
  max-width: 660px;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.65;
}

.cert-item p:last-child {
  margin-bottom: 0;
}

.client-note {
  padding-left: 16px;
  color: #242424;
  border-left: 4px solid var(--red);
  font-weight: 700;
}

.cert-cta {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(260px, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 170px;
  padding: 28px clamp(28px, 6vw, 90px);
  overflow: hidden;
  color: var(--white);
  background: #030404;
}

.cert-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(3, 4, 4, 0.98) 0%, rgba(3, 4, 4, 0.92) 56%, rgba(3, 4, 4, 0.5) 100%);
}

.cert-cta-bg {
  position: absolute;
  inset: 0 0 0 auto;
  width: 38%;
  opacity: 0.45;
}

.cert-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cert-cta-icon,
.cert-cta-copy,
.cert-cta-actions {
  position: relative;
  z-index: 2;
}

.cert-cta-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 2px solid var(--red);
  border-radius: 50%;
}

.cert-cta-icon img {
  width: 34px;
  filter: brightness(0) saturate(100%) invert(20%) sepia(96%) saturate(3432%) hue-rotate(345deg) brightness(95%) contrast(93%);
}

.cert-cta-copy h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.03;
}

.cert-cta-copy p {
  max-width: 470px;
  margin: 0;
  color: var(--white);
  font-size: 15px;
  line-height: 1.5;
}

.cert-cta-actions {
  display: flex;
  gap: 20px;
}

.button.primary {
  background: var(--red);
}

.button.outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.85);
}

.cert-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  min-height: 40px;
  padding: 12px clamp(28px, 4vw, 64px);
  color: var(--white);
  background: #050606;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
}

.cert-footer span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 24px;
  vertical-align: middle;
  background: var(--red);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .cert-header {
    flex-wrap: wrap;
  }

  .cert-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .cert-hero-media {
    width: 75%;
    opacity: 0.6;
  }

  .cert-item {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 28px;
  }

  .cert-meaning {
    grid-template-columns: 1fr;
  }

  .cert-cta {
    grid-template-columns: 80px 1fr;
  }

  .cert-cta-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .cert-header {
    padding: 16px 20px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 34px;
  }

  .call-button,
  .button {
    width: 100%;
  }

  .cert-hero-media {
    width: 100%;
    opacity: 0.38;
  }

  .cert-hero-copy {
    width: calc(100% - 40px);
    margin: 0 20px;
  }

  .cert-item {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .cert-item p {
    max-width: none;
  }

  .cert-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cert-cta-icon {
    margin: 0 auto;
  }

  .cert-cta-actions {
    flex-direction: column;
  }
}
