.trust{background:linear-gradient(180deg,#f4f7fc,#fff)}
.trust .kicker-dk{color:var(--red)}
.trust h2{color:var(--navy);margin:.2em 0 .3em}
.trust-lead{color:#51617c;max-width:62ch;margin:0 0 clamp(24px,4vw,40px)}
.certs{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(18px,3vw,34px);perspective:1400px}
.cert{display:grid;grid-template-columns:minmax(170px,1.05fr) 1.2fr;gap:clamp(14px,2vw,26px);align-items:center;padding:clamp(16px,2.2vw,26px);border-radius:20px;background:#fff;border:1px solid #dbe4f2;box-shadow:0 18px 40px rgba(11,47,106,.10)}
.cert-view{all:unset;cursor:zoom-in;display:block;position:relative;border-radius:10px;transform-style:preserve-3d;transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s}
.cert-view:focus-visible{outline:3px solid var(--red);outline-offset:4px}
.cert-frame{display:block;border-radius:6px;overflow:hidden;box-shadow:0 14px 30px rgba(7,31,74,.28),0 2px 0 rgba(255,255,255,.6) inset;background:#fff}
.cert-frame img{display:block;width:100%;height:auto}
.cert-zoom{position:absolute;inset-inline:8px;bottom:8px;padding:6px 8px;border-radius:8px;background:rgba(7,31,74,.88);color:#fff;font-size:.74rem;text-align:center;opacity:0;transform:translateY(6px);transition:.25s}
.cert-view:hover .cert-zoom,.cert-view:focus-visible .cert-zoom{opacity:1;transform:none}
.cert-badge{display:inline-block;padding:4px 12px;border-radius:999px;background:var(--red);color:#fff;font-size:.78rem;font-weight:700;margin-bottom:10px}
.cert-body h3{margin:0 0 8px;color:var(--navy);font-size:1.12rem;line-height:1.3}
.cert-body p{margin:0 0 14px;color:#51617c;font-size:.92rem;line-height:1.65}
.cert-facts{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.cert-facts li{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-top:1px dashed #cfd9ea;font-size:.85rem}
.cert-facts .k{color:#6b7b96}.cert-facts b{color:var(--navy);text-align:end}
.lines-h{margin:clamp(34px,5vw,56px) 0 16px;color:var(--navy)}
.lines{overflow:hidden;border-radius:16px;border:1px solid #dbe4f2;background:#fff;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.lines-track{list-style:none;margin:0;padding:18px 0;display:flex;gap:clamp(30px,5vw,64px);width:max-content;animation:lmq 38s linear infinite}
.lines:hover .lines-track{animation-play-state:paused}
.lines-track li{flex:none;display:grid;place-items:center;height:60px}
.lines-track img{height:54px;width:auto;max-width:170px;object-fit:contain}
@keyframes lmq{to{transform:translateX(-50%)}}
html[data-lang=ar] .lines-track{animation-name:lmqr}
@keyframes lmqr{to{transform:translateX(50%)}}
@media (prefers-reduced-motion:reduce){.lines-track{animation:none;flex-wrap:wrap;width:auto;justify-content:center}.lines-track li[aria-hidden]{display:none}.lines{-webkit-mask-image:none;mask-image:none}}
.cert-dlg{border:0;padding:0;background:transparent;max-width:min(92vw,720px);max-height:92vh;overflow:visible}
.cert-dlg::backdrop{background:rgba(4,16,40,.82);backdrop-filter:blur(4px)}
.cert-dlg img{display:block;max-width:100%;max-height:90vh;margin:auto;border-radius:8px;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.cert-x{position:absolute;top:-14px;inset-inline-end:-14px;width:38px;height:38px;border-radius:50%;border:0;background:#fff;color:var(--navy);font-size:24px;line-height:1;cursor:pointer;box-shadow:0 6px 16px rgba(0,0,0,.35)}
@media (max-width:980px){.certs{grid-template-columns:1fr}}
@media (max-width:520px){.cert{grid-template-columns:1fr}.cert-view{max-width:260px;margin-inline:auto}}

/* v8: certificates fill their cards edge to edge */
.cert{padding:0;overflow:hidden;align-items:stretch;gap:0;grid-template-columns:minmax(170px,.95fr) 1.25fr}
.cert-view{border-radius:0;height:100%;transform-style:flat}
.cert-frame{height:100%;border-radius:0;box-shadow:none}
.cert-frame img{height:100%;object-fit:cover;object-position:top center}
.cert-body{padding:clamp(18px,2.4vw,30px);align-self:center}
@media (max-width:520px){.cert{grid-template-columns:1fr}.cert-view{max-width:none;height:340px}}
