/* =========================================================================
   VEP — Certifications / Certificate verification page (.vc-*)
   Loaded only on /certifications.php
   ========================================================================= */

/* ---------- Hero + search ---------- */
.vc-hero { position: relative; overflow: hidden; color: #fff; padding: 64px 0 72px;
    background:
        radial-gradient(700px 360px at 90% 10%, rgba(255,199,44,.16), transparent 60%),
        radial-gradient(800px 420px at 10% 110%, rgba(37,99,235,.35), transparent 60%),
        #081027; }
.vc-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 36px 36px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
.vc-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.vc-crumbs { display: flex; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.vc-crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.vc-crumbs a:hover { color: var(--gold, #FFC72C); }
.vc-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .76rem/1 var(--mono, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--gold, #FFC72C); }
.vc-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold, #FFC72C); }
.vc-hero h1 { font: 800 clamp(2rem, 4.4vw, 3.2rem)/1.1 var(--display, sans-serif); letter-spacing: -.03em; margin: 14px 0 16px; }
.vc-hero h1 .hl { color: var(--gold, #FFC72C); }
.vc-lede { color: rgba(255,255,255,.78); font-size: 1.05rem; line-height: 1.65; max-width: 560px; margin: 0; }
.vc-trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.vc-trust li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: rgba(255,255,255,.9); }
.vc-trust svg { width: 18px; height: 18px; color: #22C55E; }

.vc-search { position: relative; background: #fff; color: var(--navy-900, #0C1B3A); border-radius: 24px; padding: 30px 28px 24px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.vc-search::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
    background: linear-gradient(135deg, var(--gold, #FFC72C), transparent 40%, transparent 60%, #2563EB);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.vc-search-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-soft, #FFF6DC); color: var(--gold-deep, #B45309); margin-bottom: 14px; }
.vc-search h2 { font: 800 1.35rem/1.2 var(--display, sans-serif); margin: 0 0 16px; }
.vc-search label { display: block; font-size: .8rem; font-weight: 700; color: var(--slate-600, #475569); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.vc-input { display: flex; gap: 8px; background: var(--bg-soft, #F7F9FC); border: 1.5px solid var(--line-strong, #D7DEEC); border-radius: 16px; padding: 6px; transition: border-color .2s, box-shadow .2s; }
.vc-input:focus-within { border-color: var(--navy-900, #0C1B3A); box-shadow: 0 0 0 4px rgba(255,199,44,.35); }
.vc-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 12px 12px; font: 600 1.05rem/1.2 var(--mono, monospace); letter-spacing: .04em; color: var(--navy-900, #0C1B3A); text-transform: uppercase; }
.vc-input input::placeholder { text-transform: none; font-family: var(--body, sans-serif); font-weight: 500; letter-spacing: 0; color: var(--slate-400, #94A3B8); }
.vc-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; border-radius: 12px; padding: 0 20px; min-height: 48px; background: var(--grad-gold, #FFC72C); color: #081027; font: 800 .95rem/1 var(--display, sans-serif); box-shadow: 0 10px 22px rgba(255,183,0,.3); transition: transform .2s, box-shadow .2s; }
.vc-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(255,183,0,.42); }
.vc-btn.is-loading .vc-btn-arrow { animation: vcSpin .8s linear infinite; }
@keyframes vcSpin { to { transform: rotate(360deg); } }
.vc-hint { margin: 12px 0 0; font-size: .82rem; color: var(--slate-500, #64748B); }

/* ---------- Result ---------- */
.vc-result-section { background: var(--bg-soft, #F7F9FC); padding: 56px 0 24px; }
.vc-cert { position: relative; max-width: 860px; margin: 0 auto; background: #fff; border-radius: 26px; padding: 30px 40px 26px;
    box-shadow: 0 30px 70px rgba(12,27,58,.12); border: 1px solid var(--line, #E7EBF3); animation: vcIn .5s ease both; }
.vc-cert::before { content: ""; position: absolute; inset: 12px; border: 2px solid var(--gold, #FFC72C); border-radius: 18px; opacity: .45; pointer-events: none; }
@keyframes vcIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.vc-cert-ribbon { position: relative; display: inline-flex; align-items: center; gap: 8px; background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; font: 800 .82rem/1 var(--display, sans-serif); padding: 9px 14px; border-radius: 999px; }
.vc-cert-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0 8px; padding-bottom: 18px; border-bottom: 1px dashed var(--line-strong, #D7DEEC); }
.vc-cert-org { display: flex; align-items: center; gap: 14px; }
.vc-cert-org img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #fff; }
.vc-cert-org strong { display: block; font: 800 1.1rem/1.2 var(--display, sans-serif); color: var(--navy-900, #0C1B3A); letter-spacing: .02em; }
.vc-cert-org span { font-size: .84rem; color: var(--slate-500, #64748B); }
.vc-seal { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; color: #081027; background: var(--grad-gold, #FFC72C); box-shadow: 0 0 0 6px var(--gold-soft, #FFF6DC), 0 10px 24px rgba(255,183,0,.35); }
.vc-cert-type { position: relative; margin: 18px 0 4px; font: 700 .8rem/1 var(--mono, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep, #B45309); }
.vc-cert-name { position: relative; font: 800 clamp(1.6rem, 3.6vw, 2.3rem)/1.15 var(--display, sans-serif); color: var(--navy-900, #0C1B3A); margin: 6px 0 4px; letter-spacing: -.02em; }
.vc-cert-course { position: relative; margin: 0; color: var(--slate-600, #475569); font-size: 1.02rem; }
.vc-details { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; }
.vc-details > div { background: var(--bg-soft, #F7F9FC); border: 1px solid var(--line, #E7EBF3); border-radius: 14px; padding: 12px 14px; }
.vc-details dt { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-500, #64748B); }
.vc-details dd { margin: 4px 0 0; font-weight: 700; color: var(--navy-900, #0C1B3A); word-break: break-word; }
.vc-mono { font-family: var(--mono, monospace); letter-spacing: .03em; }
.vc-ok { color: #047857 !important; }
.vc-letter { position: relative; margin-top: 18px; border: 1px solid var(--line, #E7EBF3); border-radius: 14px; overflow: hidden; }
.vc-letter summary { cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--navy-900, #0C1B3A); background: var(--bg-soft, #F7F9FC); list-style: none; }
.vc-letter summary::-webkit-details-marker { display: none; }
.vc-letter summary::after { content: "+"; float: right; font-size: 1.2rem; line-height: 1; }
.vc-letter[open] summary::after { content: "−"; }
.vc-letter-body { padding: 16px 18px; font-size: .92rem; line-height: 1.7; color: var(--slate-600, #475569); max-height: 460px; overflow: auto; }
.vc-cert-foot { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line, #E7EBF3); }
.vc-sign strong { display: block; font-family: var(--display, sans-serif); color: var(--navy-900, #0C1B3A); }
.vc-sign span, .vc-contact span { font-size: .84rem; color: var(--slate-500, #64748B); }
.vc-contact { display: flex; flex-direction: column; text-align: right; }
.vc-actions { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.vc-act { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong, #D7DEEC); background: #fff; color: var(--navy-900, #0C1B3A); font: 700 .86rem/1 var(--display, sans-serif); cursor: pointer; text-decoration: none; transition: border-color .2s, transform .2s; }
.vc-act:hover { border-color: var(--navy-900, #0C1B3A); transform: translateY(-1px); }
.vc-act-li { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.vc-act-li:hover { border-color: #004182; background: #004182; }

.vc-none { max-width: 720px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid #FECACA; border-radius: 24px; padding: 34px 30px; box-shadow: 0 20px 50px rgba(12,27,58,.08); animation: vcIn .5s ease both; }
.vc-none-ic { width: 60px; height: 60px; border-radius: 50%; display: inline-grid; place-items: center; background: #FEF2F2; color: #DC2626; }
.vc-none h2 { font: 800 1.5rem/1.2 var(--display, sans-serif); color: var(--navy-900, #0C1B3A); margin: 14px 0 8px; }
.vc-none p { color: var(--slate-600, #475569); margin: 0 0 14px; }
.vc-none ul { text-align: left; max-width: 480px; margin: 0 auto 20px; padding-left: 20px; color: var(--slate-600, #475569); display: grid; gap: 6px; }
.vc-none ul li { list-style: disc; }
.vc-none-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Types ---------- */
.vc-types { padding: 80px 0; background: var(--bg-soft, #F7F9FC); }
.vc-types-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.vc-type { background: #fff; border: 1px solid var(--line, #E7EBF3); border-radius: 20px; padding: 26px 22px; box-shadow: 0 8px 24px rgba(12,27,58,.05); transition: transform .3s, box-shadow .3s; }
.vc-type:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(12,27,58,.1); }
.vc-type-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft, #FFF6DC); color: var(--gold-deep, #B45309); margin-bottom: 16px; }
.vc-type-ic svg { width: 24px; height: 24px; }
.vc-type h3 { font: 800 1.06rem/1.3 var(--display, sans-serif); color: var(--navy-900, #0C1B3A); margin: 0 0 8px; }
.vc-type p { font-size: .9rem; line-height: 1.6; color: var(--slate-600, #475569); margin: 0; }

/* ---------- How ---------- */
.vc-how { padding: 80px 0; background: #fff; }
.vc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vc-steps li { position: relative; padding: 28px 24px; border-radius: 20px; background: var(--bg-soft, #F7F9FC); border: 1px solid var(--line, #E7EBF3); }
.vc-step-no { font: 800 .9rem/1 var(--mono, monospace); color: var(--gold-deep, #B45309); background: var(--gold-soft, #FFF6DC); border-radius: 10px; padding: 8px 10px; display: inline-block; margin-bottom: 14px; }
.vc-steps h3 { font: 800 1.08rem/1.3 var(--display, sans-serif); color: var(--navy-900, #0C1B3A); margin: 0 0 8px; }
.vc-steps p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--slate-600, #475569); }
.vc-employer { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 34px 40px; border-radius: 24px; color: #fff; background: radial-gradient(600px 260px at 90% 0%, rgba(255,199,44,.18), transparent 60%), var(--grad-dark, #0C1B3A); box-shadow: 0 30px 70px rgba(8,16,39,.22); }
.vc-employer h3 { font: 800 clamp(1.3rem, 2.6vw, 1.7rem)/1.2 var(--display, sans-serif); margin: 0 0 6px; }
.vc-employer p { margin: 0; color: rgba(255,255,255,.75); max-width: 520px; }
.vc-employer-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.vc-faq { background: var(--bg-soft, #F7F9FC); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .vc-hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .vc-types-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vc-steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .vc-hero { padding: 40px 0 44px; }
    .vc-search { padding: 24px 18px 20px; border-radius: 20px; }
    .vc-input { flex-direction: column; }
    .vc-btn { justify-content: center; }
    .vc-cert { padding: 22px 18px 20px; border-radius: 20px; }
    .vc-cert::before { inset: 8px; border-radius: 14px; }
    .vc-details { grid-template-columns: 1fr 1fr; }
    .vc-seal { width: 50px; height: 50px; }
    .vc-contact { text-align: left; }
    .vc-actions .vc-act { flex: 1 1 100%; justify-content: center; }
    .vc-types-grid { grid-template-columns: 1fr; }
    .vc-types, .vc-how { padding: 52px 0; }
    .vc-employer { padding: 26px 20px; }
    .vc-employer-actions, .vc-employer-actions .cx-btn, .vc-none-actions .cx-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .vc-cert, .vc-none { animation: none; } }

/* ---------- Print: only the certificate ---------- */
@media print {
    .site-header, .site-footer, .announce-bar, .float-whatsapp, .mobile-bottom-nav, .vc-hero, .vc-types, .vc-how, .vc-faq, .no-print, .lead-modal-overlay, .video-modal { display: none !important; }
    .site-main { padding: 0 !important; }
    .vc-result-section { background: #fff; padding: 0; }
    .vc-cert { box-shadow: none; animation: none; }
    .vc-cert::before, .vc-seal, .vc-cert-ribbon { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .vc-letter[open] .vc-letter-body, .vc-letter-body { max-height: none; overflow: visible; }
}
