/* Certificate verification portal + home-page certificate section (prefix: vf-) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.vf-body { margin: 0; font-family: Poppins, Arial, sans-serif; color: #0f172a; background: #f8fafc; line-height: 1.6; -webkit-text-size-adjust: 100%; }
.vf-body *, .vf-hero *, .vf-home * { box-sizing: border-box; }

/* top bar (verify page only) */
.vf-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 5%; background: #57091c; }
.vf-top-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.vf-top-brand strong { font-size: 22px; color: #ffd27d; }
.vf-top-brand span { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: #fff; }
.vf-top-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.vf-top-nav a { color: #ffd27d; font-size: 14px; font-weight: 600; text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.vf-top-nav a:hover, .vf-top-nav a.active { border-bottom-color: #ffd27d; }

/* hero */
.vf-hero { text-align: center; padding: 56px 20px 44px; background: linear-gradient(180deg, #eef4ff 0%, #f8fafc 100%); }
.vf-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; color: #0f172a; margin-bottom: 14px; }
.vf-logo { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #57091c; color: #ffd27d; font-weight: 800; font-size: 14px; }
.vf-badge { display: table; margin: 0 auto 18px; padding: 8px 20px; border-radius: 999px; background: #eff6ff; border: 1px solid #dbeafe; color: #2563eb; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; }
.vf-hero h1 { font-size: clamp(30px, 5.2vw, 46px); font-weight: 800; color: #0f172a; line-height: 1.15; letter-spacing: -0.5px; margin: 0 0 14px; }
.vf-sub { max-width: 640px; margin: 0 auto 30px; color: #64748b; font-size: clamp(14px, 2.2vw, 17px); }

/* search card (shared) */
.vf-form { display: flex; align-items: center; gap: 12px; max-width: 900px; margin: 0 auto; padding: 14px; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: 0 10px 30px rgba(30, 64, 175, .08); }
.vf-ic { flex: 0 0 auto; color: #94a3b8; display: grid; place-items: center; padding-left: 6px; }
.vf-form input { flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid #e2e8f0; border-radius: 12px; font: 400 15px Poppins, Arial, sans-serif; color: #0f172a; background: #fff; }
.vf-form input::placeholder { color: #94a3b8; }
.vf-form input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.vf-form button { flex: 0 0 auto; height: 52px; padding: 0 30px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; font: 700 15px Poppins, Arial, sans-serif; cursor: pointer; box-shadow: 0 10px 20px rgba(37, 99, 235, .3); transition: transform .15s, box-shadow .15s; }
.vf-form button:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(37, 99, 235, .36); }
.vf-form button:disabled { opacity: .7; cursor: wait; }

/* result */
.vf-result-wrap { max-width: 900px; margin: 22px auto 0; text-align: left; }
.vf-result { background: #fff; border-radius: 18px; padding: 24px; border: 1px solid #e2e8f0; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }
.vf-result.ok { border-color: #bbf7d0; }
.vf-result.bad { border-color: #fecaca; }
.vf-result.warn { border-color: #fde68a; }
.vf-res-head { display: flex; gap: 14px; align-items: flex-start; }
.vf-res-head h2 { font-size: 20px; margin: 0 0 2px; font-weight: 700; color: #0f172a; }
.vf-res-head p { margin: 0; color: #64748b; font-size: 14px; }
.vf-res-head a { color: #2563eb; }
.vf-res-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 800; }
.ok .vf-res-ic { background: #dcfce7; color: #16a34a; }
.bad .vf-res-ic { background: #fee2e2; color: #dc2626; }
.warn .vf-res-ic { background: #fef3c7; color: #d97706; }
.vf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 22px 0 0; padding-top: 20px; border-top: 1px solid #eef2f7; }
.vf-grid div { min-width: 0; }
.vf-grid .wide { grid-column: 1 / -1; }
.vf-grid dt { font-size: 12px; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.vf-grid dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: #0f172a; word-break: break-word; }
.vf-pill { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.vf-pill.ok { background: #dcfce7; color: #166534; }
.vf-res-act { margin-top: 22px; }
.vf-cta { display: inline-block; padding: 13px 26px; border-radius: 12px; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 10px 20px rgba(37, 99, 235, .28); }
.vf-cta:hover { filter: brightness(1.06); }

/* content sections */
.vf-section { max-width: 900px; margin: 0 auto; padding: 40px 20px 8px; }
.vf-section h2 { font-size: clamp(22px, 3.4vw, 28px); font-weight: 800; margin: 0 0 18px; text-align: center; color: #0f172a; }
.vf-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.vf-steps li { counter-increment: s; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.vf-steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: #eff6ff; color: #2563eb; font-weight: 800; display: grid; place-items: center; margin-bottom: 6px; }
.vf-steps b { font-size: 16px; }
.vf-steps span { color: #64748b; font-size: 14px; }
.vf-faq details { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.vf-faq summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.vf-faq p { margin: 10px 0 2px; color: #64748b; font-size: 14px; }
.vf-foot { text-align: center; padding: 34px 20px 40px; color: #64748b; font-size: 13px; }
.vf-foot a { color: #2563eb; }

/* ---------- Home page certificate section ---------- */
.vf-home { padding: 70px 5%; background: linear-gradient(180deg, #eef4ff 0%, #f8fafc 100%); text-align: center; font-family: Poppins, Arial, sans-serif; }
.vf-home-inner { max-width: 900px; margin: 0 auto; }
.vf-home h2 { font-size: clamp(26px, 4.4vw, 38px); font-weight: 800; color: #0f172a; margin: 0 0 12px; line-height: 1.2; }
.vf-home h2 span { color: #2563eb; }
.vf-home .vf-sub { margin-bottom: 26px; }
.vf-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.vf-points li { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 14px 16px; font-size: 14px; color: #475569; display: flex; gap: 10px; align-items: flex-start; }
.vf-points li::before { content: "\2713"; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-weight: 800; display: grid; place-items: center; font-size: 13px; }
.vf-home .vf-more { display: inline-block; margin-top: 18px; color: #2563eb; font-weight: 600; font-size: 14px; text-decoration: none; }
.vf-home .vf-more:hover { text-decoration: underline; }

@media (max-width: 760px) {
    .vf-hero { padding: 40px 16px 32px; }
    .vf-home { padding: 52px 16px; }
    .vf-form { flex-wrap: wrap; padding: 12px; gap: 10px; }
    .vf-ic { display: none; }
    .vf-form input { flex: 1 1 100%; height: 48px; font-size: 13px; padding: 0 12px; }
    .vf-form button { flex: 1 1 100%; height: 48px; }
    .vf-grid { grid-template-columns: 1fr; }
    .vf-steps, .vf-points { grid-template-columns: 1fr; }
    .hide-sm { display: none; }
    .vf-result { padding: 18px; }
    .vf-cta { display: block; text-align: center; }
}
