.cert-page {
    background: #fff;
}

.cert-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(105deg, rgba(10, 10, 10, 0.96) 0%, rgba(20, 20, 20, 0.92) 48%, rgba(63, 18, 20, 0.95) 100%),
        radial-gradient(circle at right top, rgba(227, 30, 36, 0.28), transparent 36%);
}

.cert-hero-glow {
    position: absolute;
    top: -90px;
    right: -40px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.25), transparent 70%);
    pointer-events: none;
}

.cert-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    min-height: 600px;
    padding: 78px 0;
}

.cert-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 8px 14px;
    margin-bottom: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cert-hero-copy h1 {
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.05;
    margin: 0 0 18px;
    max-width: 720px;
}

.cert-hero-copy h1 span {
    color: var(--hottex-red);
}

.cert-hero-copy p {
    max-width: 620px;
    margin: 0 0 28px;
    color: #d2d2d2;
    font-size: 17px;
    line-height: 1.8;
}

.cert-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.cert-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
}

.cert-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #c5c5c5;
}

.cert-trust-row i {
    color: var(--hottex-red);
}

.cert-hero-panel {
    display: flex;
    justify-content: flex-end;
}

.cert-panel-card {
    width: 100%;
    max-width: 420px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.cert-panel-card div {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 18px 14px;
    text-align: center;
}

.cert-panel-card strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 4px;
}

.cert-panel-card span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #bdbdbd;
}

.cert-marquee {
    background: var(--hottex-red);
    color: #fff;
    overflow: hidden;
}

.cert-marquee-track {
    display: flex;
    width: max-content;
    animation: cert-marquee 22s linear infinite;
}

.cert-marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 14px 0;
}

.cert-marquee-group span {
    white-space: nowrap;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.cert-marquee-group .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 16px;
}

@keyframes cert-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.cert-head {
    max-width: 760px;
    margin: 0 auto 36px;
}

.cert-head.center {
    text-align: center;
}

.cert-head h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.12;
    margin: 0 0 14px;
}

.cert-head h2 span {
    color: var(--hottex-red);
}

.cert-head p {
    margin: 0 auto;
    color: #666;
    font-size: 15px;
    line-height: 1.75;
    max-width: 640px;
}

.cert-grid-section {
    background: #fff;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.cert-card {
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 24px 22px;
    transition: 0.25s ease;
    height: 100%;
}

.cert-card:hover {
    background: #fff;
    border-color: #ffd0d2;
    box-shadow: 0 16px 34px rgba(227, 30, 36, 0.08);
    transform: translateY(-4px);
}

.cert-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.cert-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #fff1f1;
    color: var(--hottex-red);
    display: grid;
    place-items: center;
    font-size: 20px;
}

.cert-num {
    font-size: 11px;
    font-weight: 800;
    color: #cfcfcf;
    letter-spacing: 0.7px;
}

.cert-code {
    color: var(--hottex-red);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.1;
}

.cert-card h3 {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 10px;
    line-height: 1.35;
}

.cert-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: #666;
}

.cert-file-preview {
    margin-top: 16px;
}

.cert-file-preview img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
    padding: 10px;
}

.cert-file-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--hottex-red);
    text-decoration: none;
}

.cert-file-link:hover {
    color: #b81218;
}

.cert-process {
    background:
        radial-gradient(circle at top right, rgba(227, 30, 36, 0.06), transparent 32%),
        #f7f7f8;
}

.cert-process-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: start;
}

.cert-process-copy h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.12;
    margin: 0 0 16px;
}

.cert-process-copy h2 span {
    color: var(--hottex-red);
}

.cert-process-copy p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.75;
    max-width: 500px;
}

.cert-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cert-step {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 22px 20px;
    height: 100%;
}

.cert-step strong {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--hottex-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.cert-step h4 {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.cert-step p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}

.cert-cta {
    background: linear-gradient(100deg, #111, #2a2a2a);
    color: #fff;
    padding: 56px 0;
}

.cert-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.cert-cta-label {
    color: var(--hottex-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cert-cta h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 10px;
    max-width: 600px;
}

.cert-cta p {
    margin: 0;
    color: #c3c3c3;
    font-size: 15px;
    line-height: 1.7;
    max-width: 620px;
}

.cert-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 991px) {
    .cert-hero-grid,
    .cert-process-grid {
        grid-template-columns: 1fr;
    }

    .cert-hero-grid {
        min-height: auto;
        padding: 64px 0;
    }

    .cert-grid,
    .cert-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575px) {
    .cert-panel-card,
    .cert-grid,
    .cert-steps {
        grid-template-columns: 1fr;
    }

    .cert-hero-actions,
    .cert-trust-row,
    .cert-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
