/* ── CERTIFICATIONS SECTION ───────────────────────────── */
.certifications-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1400px;
    margin: 50px auto;
    padding: 10px 60px;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

/* ── LOGOS ─────────────────────────────────────────────── */
.cert-logos {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
}

.cert-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cert-logo-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cert-logo-item img {
    height: 98px;
    width: auto;
    object-fit: contain;

    transition: filter 0.3s ease, transform 0.3s ease;
}

.cert-logo-item:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

/* ── DIVIDER ───────────────────────────────────────────── */
.cert-divider {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(0, 0, 0, 0.15),
            transparent);
    flex-shrink: 0;
}

/* ── CONTENT ───────────────────────────────────────────── */
.cert-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;

    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease 0.15s,
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.cert-content.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.cert-accent {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-shrink: 0;
}

.cert-line {
    display: block;
    height: 1.5px;
    border-radius: 2px;
}

.cert-line--red {
    width: 32px;
    background: #ffca45;
}

.cert-line--dark {
    width: 20px;
    background: #2e7d32;
}

.cert-text-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cert-title {
    font-size: 30px;
    font-weight: 700;
    color: #111;
    line-height: 1.1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    margin: 0;
}

.cert-cta {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.cert-cta:hover {
    color: #111;
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
    .certifications-section {
        flex-wrap: wrap;
        padding: 40px 32px;
        gap: 32px;
    }

    .cert-divider {
        display: none;
    }

    .cert-content {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .certifications-section {
        padding: 32px 20px;
    }

    .cert-logos {
        gap: 24px;
        flex-wrap: wrap;
    }

    .cert-logo-item img {
        height: 36px;
    }

    .cert-title {
        font-size: 15px;
    }
}