/* certifications.css — prefix: srt- */
:root {
  --srt-navy: #082a46;
  --srt-ink: #0a2540;
  --srt-blue: #24a9df;
  --srt-blue-dark: #12629b;
  --srt-muted: #6b7c93;
  --srt-soft: #f6f9fc;
  --srt-line: #e6edf5;
  --srt-shadow: 0 28px 80px rgba(8,42,70,.14);
  --srt-shadow-soft: 0 14px 40px rgba(8,42,70,.07);
}

/* ── Hero ─────────────────────────────────────────────── */
.srt-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 8%, rgba(36,169,223,.12), transparent 30%),
              radial-gradient(circle at 90% 12%, rgba(8,42,70,.08), transparent 24%),
              linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  padding: 82px 0 106px;
}
.srt-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 82px;
  background: #fff;
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}
.srt-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}

/* ── Kicker & Typography ──────────────────────────────── */
.srt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--srt-blue-dark);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 18px;
}
.srt-kicker i {
  width: 9px; height: 9px;
  border-radius: 99px;
  background: var(--srt-blue);
  box-shadow: 0 0 0 6px rgba(36,169,223,.12);
}
.srt-h1 {
  margin: 0;
  color: var(--srt-ink);
  font-size: clamp(44px, 5vw, 74px);
  line-height: 1.02;
  letter-spacing: -.06em;
  font-weight: 900;
}
.srt-lead {
  margin: 24px 0 0;
  color: #4f6177;
  font-size: 20px;
  line-height: 1.68;
  max-width: 760px;
}
.srt-btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.srt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  min-height: 52px;
  padding: 0 28px;
  font-weight: 900;
  cursor: pointer;
  transition: .18s ease;
  white-space: nowrap;
  text-decoration: none;
  font-size: 15px;
}
.srt-btn--primary {
  background: var(--srt-blue);
  color: #fff;
  box-shadow: 0 16px 36px rgba(36,169,223,.28);
}
.srt-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 22px 44px rgba(36,169,223,.34); }
.srt-btn--secondary {
  border: 1px solid #dce6f1;
  background: #fff;
  color: #24384f;
  box-shadow: 0 12px 30px rgba(8,42,70,.06);
}

/* ── Hero board ───────────────────────────────────────── */
.srt-hero-board {
  position: relative;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(226,236,246,.96);
  border-radius: 36px;
  box-shadow: var(--srt-shadow);
  padding: 28px;
  overflow: hidden;
  min-height: 430px;
}
.srt-hero-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(36,169,223,.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(36,169,223,.07) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .72;
}
.srt-cert-stack {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}
.srt-cert-mini {
  background: #fff;
  border: 1px solid var(--srt-line);
  border-radius: 22px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 14px 34px rgba(8,42,70,.07);
}
.srt-cert-mini strong { display: block; font-size: 18px; letter-spacing: -.035em; }
.srt-cert-mini span   { display: block; margin-top: 4px; color: var(--srt-muted); font-size: 13px; line-height: 1.4; }
.srt-certified {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: #ecf8fd;
  color: var(--srt-blue-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-style: normal;
}

/* ── Sections ─────────────────────────────────────────── */
.srt-section { padding: 76px 0; background: #fff; }
.srt-section--soft { background: var(--srt-soft); }
.srt-section-head { text-align: center; max-width: 800px; margin: 0 auto 42px; }
.srt-section-head span { font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--srt-blue-dark); }
.srt-section-head h2 { margin: 12px 0 0; font-size: 38px; letter-spacing: -.05em; color: var(--srt-ink); line-height: 1.14; }
.srt-section-head p  { margin: 16px auto 0; color: var(--srt-muted); line-height: 1.65; max-width: 720px; }

/* ── Certificate cards ────────────────────────────────── */
.srt-cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.srt-cert-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--srt-line);
  border-radius: 30px;
  padding: 30px;
  box-shadow: var(--srt-shadow-soft);
  overflow: hidden;
  transition: .18s ease;
}
.srt-cert-card:hover { transform: translateY(-3px); box-shadow: var(--srt-shadow); }
.srt-cert-card::before {
  content: attr(data-code);
  position: absolute;
  right: 24px; top: 18px;
  font-size: 52px;
  font-weight: 900;
  color: #eef5fb;
  letter-spacing: -.08em;
  line-height: 1;
}
.srt-cert-card--featured {
  grid-column: span 2;
  background: radial-gradient(circle at 12% 10%, rgba(36,169,223,.12), transparent 32%),
              linear-gradient(180deg, #fff, #fbfdff);
}
.srt-cert-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.srt-cert-code {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: #ecf8fd;
  color: var(--srt-blue-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}
.srt-cert-card h3 { position: relative; z-index: 2; margin: 0 0 12px; font-size: 28px; line-height: 1.14; letter-spacing: -.05em; }
.srt-cert-card p  { position: relative; z-index: 2; margin: 0; color: var(--srt-muted); line-height: 1.72; }
.srt-cert-actions { position: relative; z-index: 2; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.srt-mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #dce6f1;
  background: #fff;
  color: #24384f;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: .15s ease;
}
.srt-mini-link--primary { background: var(--srt-blue); color: #fff; border-color: var(--srt-blue); }
.srt-mini-link:hover { opacity: .85; }

/* ── Value grid ───────────────────────────────────────── */
.srt-value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.srt-value-card { background: #fff; border: 1px solid var(--srt-line); border-radius: 24px; padding: 22px; box-shadow: 0 14px 40px rgba(8,42,70,.06); }
.srt-value-icon { width: 44px; height: 44px; border-radius: 16px; background: #ecf8fd; color: var(--srt-blue-dark); display: flex; align-items: center; justify-content: center; font-weight: 900; margin-bottom: 16px; }
.srt-value-card strong { display: block; font-size: 17px; letter-spacing: -.035em; margin-bottom: 8px; }
.srt-value-card p { margin: 0; color: var(--srt-muted); font-size: 14px; line-height: 1.55; }

/* ── Proof section ────────────────────────────────────── */
.srt-proof-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.srt-proof-card {
  background: #082a46;
  color: #fff;
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--srt-shadow);
  overflow: hidden;
  position: relative;
}
.srt-proof-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/cubes-pattern.svg');
  background-size: 420px;
  opacity: .14;
}
.srt-proof-card > * { position: relative; z-index: 2; }
.srt-proof-card > span { display: block; color: #aee5fb; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.srt-proof-card h2 { margin: 0 0 14px; color: #fff; font-size: 36px; line-height: 1.12; letter-spacing: -.05em; }
.srt-proof-card > p { margin: 0; color: rgba(255,255,255,.74); line-height: 1.7; }
.srt-proof-list { display: grid; gap: 14px; }
.srt-proof-item { background: #fff; border: 1px solid var(--srt-line); border-radius: 24px; padding: 22px; box-shadow: 0 14px 40px rgba(8,42,70,.06); }
.srt-proof-item strong { display: block; font-size: 18px; margin-bottom: 7px; }
.srt-proof-item p { margin: 0; color: var(--srt-muted); line-height: 1.55; font-size: 14px; }

/* ── Lightbox ─────────────────────────────────────────── */
.srt-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(8,42,70,.88);
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(6px);
}
.srt-lightbox.open { display: flex; }
.srt-lightbox__inner { position: relative; max-width: 860px; width: 100%; max-height: 90vh; }
.srt-lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
}
.srt-lightbox__close {
  position: absolute;
  top: -18px; right: -18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #0a2540;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: background .15s;
}
.srt-lightbox__close:hover { background: #eef5fb; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1020px) {
  .srt-hero-grid,
  .srt-proof-wrap { grid-template-columns: 1fr; }
  .srt-value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .srt-hero { padding: 54px 0 86px; }
  .srt-lead { font-size: 17px; }
  .srt-btn-row { flex-direction: column; }
  .srt-btn-row .srt-btn { width: 100%; }
  .srt-hero-board { border-radius: 26px; padding: 18px; }
  .srt-section { padding: 56px 0; }
  .srt-section-head h2 { font-size: 30px; }
  .srt-cert-grid,
  .srt-value-grid { grid-template-columns: 1fr; }
  .srt-cert-card--featured { grid-column: span 1; }
  .srt-cert-card { border-radius: 24px; padding: 22px; }
  .srt-cert-card::before { font-size: 36px; right: 16px; top: 16px; }
  .srt-cert-card h3 { font-size: 23px; }
  .srt-lightbox__close { top: -12px; right: -12px; width: 38px; height: 38px; }
}
