.vof-cert {
    padding: 100px 0;
    background: var(--bg);
}

.vof-cert__header {
    text-align: center;
    margin-bottom: 56px;
}

.vof-cert__header .label-caps {
    display: block;
    text-align: center;
}

.vof-cert__header h2 { margin-bottom: 16px; }

.vof-cert__header p {
    color: var(--muted);
    font-size: 1rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   6列网格
   ======================================== */
.vof-cert__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.vof-cert__card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.vof-cert__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.05);
    border-color: var(--accent);
}

/* ========================================
   图片区域
   ======================================== */
.vof-cert__img {
    width: 100%;
    height: 160px;
    background: var(--surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.vof-cert__lightbox-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: zoom-in;
    padding: 12px;
}

.vof-cert__lightbox-trigger img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

.vof-cert__card:hover .vof-cert__lightbox-trigger img {
    transform: scale(1.03);
}

.vof-cert__zoom {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.92);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.vof-cert__zoom svg {
    width: 12px;
    height: 12px;
    color: var(--ink);
}

.vof-cert__card:hover .vof-cert__zoom { opacity: 1; }

.vof-cert__icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vof-cert__icon-wrap svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.vof-cert__badge {
    position: absolute;
    top: 6px;
    right: 6px;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-weight: 500;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border-light);
    padding: 2px 6px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ========================================
   文字区域
   ======================================== */
.vof-cert__body {
    padding: 12px 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vof-cert__body h3 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

.vof-cert__body p {
    font-size: 0.6875rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ========================================
   Lightbox
   ======================================== */
.vof-cert-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.vof-cert-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.vof-cert-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 29, 35, 0.92);
    cursor: pointer;
}

.vof-cert-lightbox__inner {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vof-cert-lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 32px 80px rgba(0,0,0,0.4);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.vof-cert-lightbox.is-open .vof-cert-lightbox__img {
    transform: scale(1);
}

.vof-cert-lightbox__close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.vof-cert-lightbox__close:hover {
    background: rgba(255,255,255,0.2);
}

.vof-cert-lightbox__close svg {
    width: 14px;
    height: 14px;
    color: #fff;
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1200px) {
    .vof-cert__grid { grid-template-columns: repeat(3, 1fr); }
    .vof-cert__img { height: 180px; }
}

@media (max-width: 768px) {
    .vof-cert { padding: 64px 0; }
    .vof-cert__grid { grid-template-columns: repeat(2, 1fr); }
    .vof-cert__img { height: 160px; }
}

@media (max-width: 480px) {
    .vof-cert__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .vof-cert__img { height: 130px; }
}
