.hk-certificates {
    background: #f5f6f8;
}

.hk-certificates__overview {
    margin-top: 88px;
}

.hk-certificates__overview > a {
    position: relative;
    display: block;
    max-width: 100%;
    margin: 0 auto;
    padding: 34px;
    overflow: hidden;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 15px 30px rgba(21, 23, 27, 0.05);
}

.hk-certificates__overview img {
    width: 100%;
}

.hk-certificates__overview > a > span {
    position: absolute;
    right: 54px;
    bottom: 54px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border-radius: 999px;
    background: rgba(21, 23, 27, 0.92);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.hk-certificates__overview > a > span b {
    color: var(--hk-red);
    font-size: 18px;
}

.hk-certificates__overview figcaption {
    max-width: 100%;
    margin: 20px auto 0;
    color: #777b82;
    font-size: 14px;
    text-align: right;
}

.hk-certificates__highlights,
.hk-certificates__patents {
    padding-top: 130px;
}

.hk-certificates__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 52px;
}

.hk-certificates__grid article {
    min-height: 280px;
    padding: 34px 30px;
    border-top: 3px solid var(--hk-red);
    background: #fff;
}

.hk-certificates__grid article > span {
    color: var(--hk-red);
    font-size: 15px;
    font-weight: 700;
}

.hk-certificates__grid strong {
    display: block;
    margin-top: 50px;
    font-family: Arial, sans-serif;
    font-size: clamp(25px, 2vw, 32px);
    line-height: 1.25;
}

.hk-certificates__grid strong small {
    display: block;
    margin-top: 5px;
    color: #797d84;
    font-size: 0.65em;
}

.hk-certificates__grid p {
    margin-top: 24px;
    color: #6a6e75;
    font-size: 15px;
    line-height: 1.75;
}

.hk-certificates__patents ol {
    margin-top: 52px;
    border-top: 2px solid #191b1f;
    list-style: none;
}

.hk-certificates__patents li {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    min-height: 100px;
    padding: 22px 28px;
    border-bottom: 1px solid #dfe1e4;
    background: #fff;
}

.hk-certificates__patents li > span {
    color: var(--hk-red);
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
}

.hk-certificates__patents strong {
    font-size: 18px;
    font-weight: 600;
}

.hk-certificates__contact {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) minmax(300px, 0.8fr) auto;
    align-items: center;
    gap: 54px;
    margin-top: 130px;
    padding: 54px 58px;
    border-radius: 24px;
    background: #17191d;
    color: #fff;
}

.hk-certificates__contact > div span {
    display: block;
    margin-bottom: 10px;
    color: var(--hk-red);
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.hk-certificates__contact > div strong {
    font-size: 24px;
}

.hk-certificates__contact > p {
    color: rgba(255, 255, 255, 0.68);
}

.hk-certificates__contact > a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-width: 190px;
    height: 54px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.hk-certificates__contact > a span {
    color: var(--hk-red);
}

@media (max-width: 1100px) {
    .hk-certificates__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hk-certificates__contact {
        grid-template-columns: 1fr auto;
    }

    .hk-certificates__contact > p {
        grid-column: 1;
    }

    .hk-certificates__contact > a {
        grid-row: 1 / 3;
        grid-column: 2;
    }
}

@media (max-width: 760px) {
    .hk-certificates__overview {
        margin-top: 48px;
    }

    .hk-certificates__overview > a {
        padding: 12px;
        border-radius: 16px;
    }

    .hk-certificates__overview > a > span {
        right: 22px;
        bottom: 22px;
        padding: 9px 13px;
        font-size: 12px;
    }

    .hk-certificates__overview figcaption {
        font-size: 12px;
        line-height: 1.7;
        text-align: left;
    }

    .hk-certificates__highlights,
    .hk-certificates__patents {
        padding-top: 90px;
    }

    .hk-certificates__grid {
        grid-template-columns: 1fr;
        margin-top: 36px;
    }

    .hk-certificates__grid article {
        min-height: 230px;
        padding: 30px 26px;
    }

    .hk-certificates__grid strong {
        margin-top: 36px;
    }

    .hk-certificates__patents ol {
        margin-top: 36px;
    }

    .hk-certificates__patents li {
        grid-template-columns: 1fr;
        gap: 10px;
        min-height: 112px;
        padding: 24px 18px;
    }

    .hk-certificates__patents li > span {
        font-size: 14px;
    }

    .hk-certificates__patents strong {
        font-size: 16px;
        line-height: 1.6;
    }

    .hk-certificates__contact {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 90px;
        padding: 38px 26px;
        border-radius: 18px;
    }

    .hk-certificates__contact > p,
    .hk-certificates__contact > a {
        grid-row: auto;
        grid-column: auto;
    }
}
