/* ============================================================
   CERTIFICATIONS — DPIIT certificate page
   ============================================================ */

/* ---------- hero: left-aligned, full width, same as other inner pages ---------- */
.crt-hero { text-align: left; }
.crt-hero .wrap { max-width: var(--maxw); }
.crt-hero h1 { max-width: 20ch; }
.crt-hero .kicker { justify-content: flex-start; }
.crt-hero .lead { margin-inline: 0; max-width: 60ch; }
.crt-hero .pg-hero__cta, .crt-hero__feats { justify-content: flex-start; }

.crt-section { padding-top: clamp(8px, 2vw, 16px); }
.crt-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 4vw, 56px); align-items: start; }

/* ---------- certificate frame ---------- */
.crt-frame {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: 22px;
  padding: 14px; box-shadow: var(--shadow-md);
}
.crt-frame img {
  display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border);
}
.crt-frame__badge {
  position: absolute; top: -14px; left: 24px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy-800); color: #fff; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 7px 14px; border-radius: 999px; box-shadow: 0 10px 22px -10px rgba(8, 24, 47, .45); z-index: 2;
}
.crt-frame__badge svg { width: 14px; height: 14px; color: var(--teal); }
.crt-frame__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding: 0 6px 4px; }
.crt-frame__actions svg { width: 17px; height: 17px; }

/* ---------- details panel ---------- */
.crt-details {
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 18px);
}
.crt-details__head {
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em;
  color: var(--navy-800); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.crt-row { display: flex; align-items: flex-start; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.crt-row:last-of-type { border-bottom: 0; padding-bottom: 4px; }
.crt-row .ic {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--tint-2); color: var(--violet);
}
.crt-row .ic svg { width: 18px; height: 18px; }
.crt-row > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; line-height: 1.45; color: var(--navy-700); }
.crt-row > span:last-child b { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.crt-note { margin-top: 16px; font-size: 0.82rem; line-height: 1.55; color: var(--muted); }

/* ---------- why it matters ---------- */
.crt-why { padding-top: 0; }
.crt-why__inner {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 48px);
  text-align: left;
  background: linear-gradient(135deg, var(--tint-2), var(--tint));
  border: 1px solid var(--border); border-radius: 24px; padding: clamp(32px, 4vw, 48px) clamp(28px, 4.5vw, 56px);
}
.crt-why__text { flex: 1; min-width: 0; }
.crt-why__inner h2 { margin-bottom: 14px; }
.crt-why__inner p { color: var(--muted); max-width: 62ch; }
.crt-cta { display: flex; flex-wrap: wrap; gap: 13px; flex-shrink: 0; }

@media (max-width: 860px) {
  .crt-why__inner { flex-direction: column; align-items: flex-start; }
  .crt-cta { margin-top: 6px; }
}

@media (max-width: 980px) {
  .crt-grid { grid-template-columns: 1fr; }
  .crt-details { position: static; }
}
@media (max-width: 640px) {
  .crt-frame { padding: 10px; border-radius: 18px; }
  .crt-frame__badge { left: 16px; top: -12px; font-size: 0.72rem; padding: 6px 12px; }
  .crt-frame__actions { flex-direction: column; }
  .crt-frame__actions .btn { width: 100%; justify-content: center; }
  .crt-row { gap: 11px; }
}
