/* =========================================================
   H-TECH INNOVATIONS HUB
   CERTIFICATIONS PAGE
   Uses the existing shared.css brand system and Outfit font
   ========================================================= */

/* BASE */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  overflow-x: hidden;
}

.cert-container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.cert-hero,
.cert-hero *,
.cert-intro *,
.cert-process-section *,
.cert-pathways-section *,
.cert-iso-section *,
.cert-faq-section *,
.cert-cta-section * {
  box-sizing: border-box;
}

.cert-hero h1,
.cert-hero h2,
.cert-hero p,
.cert-hero small,
.cert-hero strong,
.cert-hero span,
.cert-hero a,
.cert-hero button {
  font-family: "Outfit", sans-serif;
}

.cert-hero {
  min-height: 690px;
  padding: 130px 0 88px;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.cert-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 55% 80% at 82% 48%,
      rgba(0, 180, 166, 0.12),
      transparent 68%
    ),
    radial-gradient(
      ellipse 38% 48% at 12% 100%,
      rgba(255, 219, 67, 0.07),
      transparent 70%
    );
}

.cert-hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  top: -190px;
  border: 1px solid rgba(255, 219, 67, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.cert-hero-glow::before,
.cert-hero-glow::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(0, 180, 166, 0.15);
  border-radius: 50%;
}

.cert-hero-glow::before {
  inset: 35px;
}

.cert-hero-glow::after {
  inset: 75px;
}

.cert-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cert-hero-content {
  max-width: 610px;
}

.cert-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 219, 67, 0.3);
  background: rgba(255, 219, 67, 0.07);
  color: var(--yellow);
  border-radius: 100px;
  padding: 8px 15px;
  margin-bottom: 25px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.5;
}

.cert-hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(38px, 5.1vw, 62px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.cert-hero h1 span {
  display: block;
  color: var(--yellow);
}

.cert-hero-content > p {
  max-width: 510px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
}

.cert-hero-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
}

.cert-hero-actions .btn-yellow,
.cert-hero-actions .btn-outline-dark {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
}

.cert-hero-actions .btn-outline-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.cert-hero-actions .btn-outline-dark:hover {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
}

.cert-hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.6;
}

.cert-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--teal, #00b4a6);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 180, 166, 0.12);
}

/* HERO VISUAL */

.cert-hero-visual {
  min-width: 0;
  position: relative;
  padding: 20px 14px;
}

.cert-visual-panel {
  position: relative;
  max-width: 460px;
  margin: auto;
  padding: 24px;
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.cert-visual-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--light2);
}

.cert-visual-mark,
.cert-iso-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--yellow);
  font-size: 23px;
  font-weight: 900;
}

.cert-visual-top strong,
.cert-iso-card-head strong {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.cert-visual-top small,
.cert-iso-card-head small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.cert-visual-check {
  margin-left: auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 180, 166, 0.12);
  color: #008f83;
  font-weight: 800;
}

.cert-visual-main {
  padding: 27px 0 18px;
}

.cert-visual-label {
  margin-bottom: 10px;
  color: #008f83;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.cert-visual-main h2 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.cert-visual-main > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.cert-journey {
  display: grid;
  gap: 10px;
  margin-top: 23px;
}

.cert-journey-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  background: var(--light);
  border: 1px solid var(--light2);
  border-radius: 11px;
}

.cert-journey-number {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  flex: 0 0 35px;
  border-radius: 9px;
  color: var(--navy);
  background: rgba(255, 219, 67, 0.3);
  font-size: 11px;
  font-weight: 800;
}

.cert-journey-item:nth-child(2) .cert-journey-number {
  background: rgba(0, 180, 166, 0.12);
}

.cert-journey-item:nth-child(3) .cert-journey-number {
  background: rgba(20, 36, 62, 0.08);
}

.cert-journey-item strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.cert-journey-item small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.cert-journey-arrow {
  margin-left: auto;
  color: #008f83;
  font-size: 17px;
}

.cert-visual-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 17px;
  border-top: 1px solid var(--light2);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.cert-visual-footer span {
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border-radius: 50%;
}

.cert-floating-tag {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: #fff;
  border: 1px solid var(--light2);
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.cert-floating-top {
  top: 0;
  right: -8px;
}

.cert-floating-bottom {
  bottom: 0;
  left: -12px;
}

.cert-floating-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 219, 67, 0.28);
  color: var(--navy);
  font-weight: 900;
}

.cert-floating-teal {
  background: rgba(0, 180, 166, 0.13);
  color: #008f83;
}

.cert-floating-tag strong {
  display: block;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}

.cert-floating-tag small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

/* SHARED SECTION HEADINGS */

.cert-section-heading {
  max-width: 700px;
  margin: 0 auto 43px;
}

.cert-section-heading .sec-sub {
  margin-right: auto;
  margin-left: auto;
}

.cert-intro,
.cert-pathways-section,
.cert-faq-section {
  background: #fff;
}

.cert-intro,
.cert-process-section,
.cert-pathways-section,
.cert-iso-section,
.cert-faq-section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.cert-section-heading .sec-h {
  margin-top: 10px;
}

.cert-section-heading .sec-tag {
  margin-bottom: 10px;
}

/* CERTIFICATE TYPES */

.cert-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cert-type-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 29px 25px;
  background: #fff;
  border: 1px solid var(--light2);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(20, 36, 62, 0.035);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cert-type-card:hover,
.cert-pathway-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(20, 36, 62, 0.09);
}

.cert-type-featured {
  border-color: rgba(0, 180, 166, 0.5);
  box-shadow: 0 12px 35px rgba(0, 180, 166, 0.07);
}

.cert-type-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 900;
}

.cert-icon-yellow {
  background: rgba(255, 219, 67, 0.3);
  color: var(--navy);
}

.cert-icon-teal {
  background: rgba(0, 180, 166, 0.13);
  color: #008f83;
}

.cert-icon-navy {
  background: var(--navy);
  color: var(--yellow);
}

.cert-card-label {
  margin-bottom: 9px;
  color: #008f83;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.6;
}

.cert-type-card h3,
.cert-pathway-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.cert-type-card > p,
.cert-pathway-card > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.cert-check-list {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 18px 0 22px;
  margin: auto 0 0;
  list-style: none;
  border-top: 1px solid var(--light2);
}

.cert-check-list li {
  position: relative;
  padding-left: 23px;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.65;
}

.cert-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #008f83;
  font-weight: 900;
}

.cert-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  color: var(--navy);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.cert-text-link span {
  color: #008f83;
  transition: transform 0.2s ease;
}

.cert-text-link:hover span {
  transform: translateX(4px);
}

.cert-important-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 930px;
  padding: 20px 22px;
  margin: 28px auto 0;
  border: 1px solid rgba(255, 219, 67, 0.65);
  background: rgba(255, 219, 67, 0.12);
  border-radius: var(--radius);
}

.cert-note-symbol {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.cert-important-note p {
  margin: 1px 0 0;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.8;
}

.cert-important-note strong {
  font-weight: 800;
}

/* PROCESS */

.cert-process-section {
  background: var(--light);
}

.cert-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.cert-process-card {
  position: relative;
  padding: 25px 21px;
  background: #fff;
  border: 1px solid var(--light2);
  border-radius: var(--radius);
}

.cert-process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  background: var(--navy);
  color: var(--yellow);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
}

.cert-process-line {
  height: 3px;
  width: 43px;
  margin: 23px 0;
  background: var(--yellow);
  border-radius: 10px;
}

.cert-process-card:nth-child(even) .cert-process-line {
  background: #00b4a6;
}

.cert-process-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.cert-process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

/* PROFESSIONAL PATHWAYS */

.cert-pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}

.cert-pathway-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--light2);
  border-radius: var(--radius);
  background: #fff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cert-pathway-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.cert-pathway-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--yellow);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
}

.cert-pathway-card:nth-child(3n + 2) .cert-pathway-icon {
  background: rgba(0, 180, 166, 0.13);
  color: #008f83;
}

.cert-pathway-card:nth-child(3n) .cert-pathway-icon {
  background: rgba(255, 219, 67, 0.3);
  color: var(--navy);
}

.cert-pathway-count {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cert-pathway-card h3 {
  font-size: 18px;
}

.cert-tags {
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding: 17px 0;
  border-top: 1px solid var(--light2);
}

.cert-tags span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  color: var(--navy);
  background: var(--light);
  border: 1px solid var(--light2);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}

.cert-disclaimer {
  max-width: 850px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  text-align: center;
}

/* ISO READINESS */

.cert-iso-section {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.cert-iso-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -220px;
  top: -250px;
  border: 1px solid rgba(0, 180, 166, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(0, 180, 166, 0.025),
    0 0 0 90px rgba(255, 219, 67, 0.025);
}

.cert-iso-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 75px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cert-iso-content .sec-tag {
  margin-bottom: 15px;
}

.cert-iso-content .sec-h {
  margin-bottom: 18px;
}

.cert-iso-content .sec-sub {
  margin-bottom: 28px;
}

.cert-iso-list {
  display: grid;
  gap: 19px;
  margin-bottom: 31px;
}

.cert-iso-list > div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cert-iso-list > div > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  flex: 0 0 35px;
  background: rgba(255, 219, 67, 0.12);
  color: var(--yellow);
  border: 1px solid rgba(255, 219, 67, 0.22);
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
}

.cert-iso-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 12px;
  line-height: 1.8;
}

.cert-iso-list strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.cert-iso-visual {
  padding: 15px;
}

.cert-iso-card {
  max-width: 440px;
  padding: 27px;
  margin: auto;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 17px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.22);
}

.cert-iso-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--light2);
}

.cert-iso-symbol {
  background: var(--navy);
}

.cert-iso-progress-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 26px 0 10px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cert-iso-progress {
  width: 100%;
  height: 6px;
  overflow: hidden;
  background: var(--light2);
  border-radius: 10px;
  margin-bottom: 19px;
}

.cert-iso-progress span {
  display: block;
  height: 100%;
  background: var(--yellow);
  border-radius: inherit;
}

.cert-iso-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  color: var(--navy);
  border-bottom: 1px solid var(--light2);
  font-size: 12px;
  font-weight: 600;
}

.cert-iso-step > span:last-child {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}

.cert-iso-step-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: #00b4a6;
  border-radius: 50%;
}

.cert-iso-step:last-of-type .cert-iso-step-dot {
  background: var(--yellow);
}

.cert-iso-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  margin-top: 20px;
  background: rgba(255, 219, 67, 0.15);
  border-radius: 9px;
}

.cert-iso-warning > span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
}

.cert-iso-warning p {
  margin: 0;
  color: var(--navy);
  font-size: 10px;
  line-height: 1.75;
}

/* FAQ */

.cert-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 75px;
}

.cert-faq-intro .sec-tag {
  margin-bottom: 12px;
}

.cert-faq-intro .sec-h {
  margin-bottom: 16px;
}

.cert-faq-intro .sec-sub {
  margin-bottom: 25px;
}

.cert-faq-list {
  display: grid;
  gap: 11px;
}

.cert-faq-item {
  background: #fff;
  border: 1px solid var(--light2);
  border-radius: 10px;
  transition: border-color 0.2s ease;
}

.cert-faq-item[open] {
  border-color: rgba(0, 180, 166, 0.55);
}

.cert-faq-item summary {
  position: relative;
  padding: 19px 48px 19px 19px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.65;
}

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

.cert-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: var(--light);
  border-radius: 7px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 500;
}

.cert-faq-item[open] summary::after {
  content: "−";
  background: rgba(0, 180, 166, 0.13);
  color: #008f83;
}

.cert-faq-item > p {
  padding: 0 19px 20px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

/* CTA */

.cert-cta-section {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background: var(--light);
  text-align: center;
}

.cert-cta-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  top: -190px;
  left: calc(50% - 160px);
  border-radius: 50%;
  background: rgba(255, 219, 67, 0.2);
  filter: blur(3px);
  pointer-events: none;
}

.cert-cta-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.cert-cta-content .sec-tag {
  margin-bottom: 15px;
}

.cert-cta-content h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.cert-cta-content > p {
  max-width: 620px;
  margin: 0 auto 27px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.cert-cta-content .cert-hero-actions {
  justify-content: center;
}

.cert-cta-content .btn-outline-dark {
  color: var(--navy);
  border-color: rgba(20, 36, 62, 0.35);
}

.cert-cta-content .btn-outline-dark:hover {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

/* FOOTER */

.cert-footer-text {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.8;
}

/* NAVIGATION ACTIVE LINK */

#site-nav .nav-links a[aria-current="page"] {
  color: var(--yellow);
}

/* ACCESSIBILITY */

.cert-hero a:focus-visible,
.cert-type-card a:focus-visible,
.cert-pathway-card a:focus-visible,
.cert-faq-item summary:focus-visible,
.cert-cta-section a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .cert-type-card,
  .cert-pathway-card,
  .cert-text-link span {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* TABLET */

@media (max-width: 1000px) {
  .cert-hero {
    min-height: auto;
    padding: 120px 0 75px;
  }

  .cert-hero-grid {
    gap: 35px;
  }

  .cert-hero h1 {
    font-size: clamp(38px, 5.2vw, 52px);
  }

  .cert-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cert-type-card:last-child {
    grid-column: 1 / -1;
  }

  .cert-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cert-pathway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cert-iso-grid {
    gap: 35px;
  }

  .cert-faq-layout {
    gap: 40px;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .cert-container {
    width: calc(100% - 40px);
  }

  .cert-hero {
    padding: 110px 0 65px;
  }

  .cert-hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .cert-hero-content {
    max-width: 600px;
  }

  .cert-hero h1 {
    font-size: clamp(37px, 8.5vw, 51px);
  }

  .cert-hero-content > p {
    font-size: 14px;
  }

  .cert-hero-visual {
    width: 100%;
    max-width: 520px;
    margin: auto;
    padding: 10px 8px;
  }

  .cert-visual-panel {
    padding: 20px;
  }

  .cert-floating-top {
    right: -2px;
  }

  .cert-floating-bottom {
    left: -2px;
  }

  .cert-intro,
  .cert-process-section,
  .cert-pathways-section,
  .cert-iso-section,
  .cert-faq-section {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .cert-section-heading {
    margin-bottom: 30px;
  }

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

  .cert-type-card:last-child {
    grid-column: auto;
  }

  .cert-type-card {
    padding: 25px 22px;
  }

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

  .cert-process-card {
    padding: 23px;
  }

  .cert-process-line {
    margin: 16px 0;
  }

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

  .cert-pathway-card {
    padding: 23px;
  }

  .cert-iso-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .cert-iso-content .sec-h {
    font-size: 30px;
    line-height: 1.2;
  }

  .cert-iso-visual {
    padding: 0;
  }

  .cert-faq-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .cert-cta-section {
    padding: 65px 0;
  }

  .cert-cta-content h2 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .cert-container {
    width: calc(100% - 32px);
  }

  .cert-hero {
    padding-top: 100px;
  }

  .cert-eyebrow {
    font-size: 9px;
    padding: 7px 11px;
  }

  .cert-hero h1 {
    font-size: 36px;
  }

  .cert-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cert-hero-actions > a {
    width: 100%;
    text-align: center;
  }

  .cert-hero-note {
    align-items: flex-start;
    font-size: 11px;
  }

  .cert-visual-panel {
    padding: 16px;
    border-radius: 15px;
  }

  .cert-visual-main h2 {
    font-size: 23px;
  }

  .cert-journey-item {
    padding: 10px;
  }

  .cert-journey-item small {
    font-size: 9px;
  }

  .cert-floating-tag {
    padding: 9px 10px;
  }

  .cert-floating-icon {
    width: 28px;
    height: 28px;
  }

  .cert-floating-tag strong {
    font-size: 10px;
  }

  .cert-floating-tag small {
    font-size: 9px;
  }

  .cert-section-heading .sec-h {
    font-size: 28px;
    line-height: 1.2;
  }

  .cert-iso-card {
    padding: 20px;
  }

  .cert-faq-item summary {
    padding: 16px 42px 16px 15px;
    font-size: 12px;
  }

  .cert-faq-item > p {
    padding: 0 15px 17px;
  }

  .cert-cta-content h2 {
    font-size: 29px;
  }
}
