.zs-page-certificates {
    background: #fff;
}

.zs-page-certificates main {
    padding-top: 118px;
}

.zs-page-certificates .zs-wz {
    max-width: 1400px;
}

.zs-cert-hero,
.zs-cert-grid-wrap,
.zs-about-consult,
.zs-cert-news,
.zs-cert-contact {
    padding: 72px 10px;
}

.zs-cert-hero {
    background-color: var(--brand-bg-soft);
    padding: 60px 0;
}

.zs-cert-hero h1,
.zs-cert-form-card h2,
.zs-cert-news h2,
.zs-cert-contact h2 {
    margin: 0 0 16px;
    color: #111;
    font-size: 46px;
    line-height: 1.15;
    font-weight: 800;
}

.zs-cert-hero p {
    margin: 0;
    max-width: 940px;
    color: #222;
    font-size: 22px;
    line-height: 1.6;
}

.zs-page-certificates .zs-cert-hero .hero-inner-box {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    min-height: 240px;
}

.zs-page-certificates .zs-cert-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 50px;
    max-width: 60%;
}

.zs-page-certificates .zs-cert-hero .hero-content h1 {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.2;
}

.zs-page-certificates .zs-cert-hero .hero-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    max-width: none;
}

.zs-cert-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.zs-cert-grid li {
    border: 1px solid #eceff3;
    background: #fff;
    padding: 30px 34px;
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    align-items: start;
    gap: 46px;
    border-radius: 8px;
}

.zs-cert-grid img {
    width: 100%;
    max-width: 340px;
    display: block;
    margin: 0 auto;
}

.zs-cert-card-body {
    max-width: 820px;
    padding-top: 90px;
}

.zs-cert-grid h2 {
    margin: 0 0 16px;
    color: #111;
    font-size: clamp(34px, 2.2vw, 46px);
    line-height: 1.1;
    font-weight: 800;
    margin-left: 56px;
}

.zs-cert-no {
    margin: 0 0 14px;
    color: #4f5d6d;
    font-size: 16px;
    line-height: 1.45;
    margin-left: 56px;
}

.zs-cert-desc {
    margin: 0 0 26px;
    color: #4a5563;
    font-size: 18px;
    line-height: 1.72;
    margin-left: 56px;
    max-width: 640px;
}

.zs-cert-card-body .zs-cert-btn {
    margin-left: 56px;
}

.zs-cert-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 30px;
    border-radius: 4px;
    background: var(--brand-primary);
    color: #fff;
    border: 0;
    text-decoration: none;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease;
}

.zs-cert-btn:hover {
    background: var(--brand-primary-deep);
    transform: translateY(-2px);
}

.zs-about-consult {
    background: var(--brand-bg-soft);
}

.zs-about-consult .zs-as-lead-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.zs-about-consult .zs-as-team-card,
.zs-about-consult .zs-as-lead-form {
    border-radius: 14px;
    background: #fff;
    padding: 16px;
    border: 1px solid #d7d7d7;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.zs-about-consult .zs-as-team-card {
    display: flex;
    flex-direction: column;
}

.zs-about-consult .zs-as-hero-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    display: block;
    object-fit: cover;
    margin: 0 0 18px;
}

.zs-about-consult .zs-as-feature-list {
    list-style: none;
    margin: 0;
    padding: 20px 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.zs-about-consult .zs-as-feature-list li {
    text-align: center;
}

.zs-about-consult .zs-as-feature-list li img {
    width: 62px;
    height: 62px;
    display: block;
    margin: 0 auto 14px;
    object-fit: contain;
}

.zs-about-consult .zs-as-feature-list li h3 {
    margin: 0 0 10px;
    color: #111;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

.zs-about-consult .zs-as-feature-list li p {
    margin: 0;
    color: #333;
    font-size: 14px;
    line-height: 1.45;
}

.zs-about-consult .zs-as-red-logo {
    width: 168px;
    display: block;
    margin: 2px auto 26px;
}

.zs-about-consult .zs-as-lead-form h2 {
    margin: 0 0 34px;
    font-size: 23px;
    line-height: 1.35;
    text-align: center;
    color: #1a1a1a;
    font-weight: 800;
}

.zs-about-consult .zs-as-lead-form form,
.zs-cert-contact form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
}

.zs-about-consult .zs-as-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zs-about-consult .zs-as-field label {
    color: #202020;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
}

.zs-about-consult .zs-as-field--full {
    grid-column: 1/-1;
}

.zs-about-consult .zs-as-lead-form input,
.zs-about-consult .zs-as-lead-form textarea,
.zs-cert-contact input,
.zs-cert-contact textarea {
    width: 100%;
    border: 1px solid #cfcfcf;
    padding: 12px 14px;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
    line-height: 1.5;
    color: #111;
    font-family: inherit;
}

.zs-about-consult .zs-as-lead-form textarea,
.zs-cert-contact textarea,
.zs-about-consult .zs-as-lead-form .zs-as-btn,
.zs-cert-contact button {
    grid-column: 1/-1;
}

.zs-about-consult .zs-as-lead-form textarea {
    min-height: 174px;
    resize: vertical;
}

.zs-about-consult .zs-as-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 24px;
    border-radius: 6px;
    border: 0;
    background: #006d72;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
    line-height: 1;
    transition: background-color .25s ease, transform .25s ease;
    min-height: 36px;
    font-size: 15px;
    margin-top: 0;
}

.zs-about-consult .zs-as-btn:hover {
    background: #005b5f;
    transform: translateY(-2px);
}

.zs-about-consult .zs-as-note {
    margin: 12px 0 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    color: #111;
    font-weight: 500;
}

.zs-cert-news .zs-help-head {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
}

.zs-cert-news .zs-help-head h2 {
    text-align: center;
    margin: 0;
    font-size: 32px;
    font-family: "Arial Black", Arial, sans-serif;
    font-weight: 900;
    color: #000;
}

.zs-cert-news .zs-help-line {
    width: 220px;
    height: 2px;
    background: var(--brand-primary);
    display: block;
}

.zs-cert-news .zs-pd-news-list {
    display: grid;
    gap: 24px;
}

.zs-cert-news .zs-pd-news-item {
    display: grid;
    grid-template-columns: minmax(380px, 46%) 1fr;
    gap: 30px;
    align-items: center;
    padding: 18px;
    border: 1px solid #eceff3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 27, 40, .05);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.zs-cert-news .zs-pd-news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(15, 27, 40, .1);
    border-color: #e0e6ee;
}

.zs-cert-news .zs-pd-news-cover {
    border-radius: 14px;
    overflow: hidden;
    display: block;
}

.zs-cert-news .zs-pd-news-cover img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.zs-cert-news .zs-pd-news-item:hover .zs-pd-news-cover img {
    transform: scale(1.03);
}

.zs-cert-news .zs-pd-news-body h3 {
    margin: 0 0 8px;
    font-size: clamp(22px, 1.75vw, 26px);
    line-height: 1.2;
    font-family: Arial, sans-serif;
    font-weight: 800;
}

.zs-cert-news .zs-pd-news-body h3 a {
    color: #000;
    text-decoration: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.zs-cert-news .zs-pd-news-date {
    margin: 0 0 10px;
    color: #98a0aa;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.zs-cert-news .zs-pd-news-body > p:not(.zs-pd-news-date) {
    margin: 0 0 16px;
    color: #5a6470;
    font-size: clamp(15px, .98vw, 18px);
    line-height: 1.58;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.zs-cert-news .zs-pd-news-more {
    color: #111;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    font-family: Arial, sans-serif;
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: .01em;
}

.zs-cert-news .zs-pd-news-more:hover,
.zs-cert-news .zs-pd-news-body h3 a:hover {
    color: var(--brand-primary);
}

.zs-cert-contact h3 {
    margin: -6px 0 24px;
    text-align: center;
    color: #111;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
}

.zs-cert-anim {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s ease, transform .6s ease;
}

.zs-cert-anim.is-in {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .zs-page-certificates main {
        padding-top: 96px;
    }

    .zs-cert-hero h1,
    .zs-about-consult .zs-as-lead-form h2,
    .zs-cert-news h2,
    .zs-cert-contact h2 {
        font-size: 34px;
    }

    .zs-cert-grid,
    .zs-about-consult .zs-as-lead-wrap {
        grid-template-columns: 1fr;
    }

    .zs-cert-grid li {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 22px 24px;
    }

    .zs-cert-grid img {
        max-width: 300px;
    }

    .zs-cert-news .zs-pd-news-item {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .zs-cert-news .zs-pd-news-cover img {
        height: 220px;
    }


    .zs-page-certificates .zs-cert-hero .hero-content {
        max-width: 100%;
        padding: 30px 24px;
    }
}

@media (max-width: 767px) {
    .zs-page-certificates main {
        padding-top: 82px;
    }

    .zs-cert-hero h1 {
        font-size: 32px;
    }

    .zs-page-certificates .zs-cert-hero .hero-bg-img {
        width: 100%;
        -webkit-mask-image: linear-gradient(to top, transparent, black 45%);
        mask-image: linear-gradient(to top, transparent, black 45%);
    }

    .zs-page-certificates .zs-cert-hero .hero-content {
        max-width: 100%;
        padding: 20px 18px;
        background: rgba(255, 255, 255, 0.94);
        border-radius: 10px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        filter: none;
        opacity: 1;
    }

    .zs-cert-hero p,
    .zs-cert-news .zs-pd-news-body > p:not(.zs-pd-news-date) {
        font-size: 16px;
    }

    .zs-page-certificates .zs-cert-hero .hero-content h1 {
        color: #0f0f0f;
        text-shadow: none;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .zs-page-certificates .zs-cert-hero .hero-content p {
        color: #1f1f1f;
        text-shadow: none;
        font-weight: 500;
    }

    .zs-cert-grid h2 {
        font-size: 24px;
        margin: 0 0 10px;
        margin-left: 0;
        line-height: 1.25;
    }

    .zs-cert-grid li {
        padding: 16px 14px;
        gap: 14px;
        justify-items: start;
    }

    .zs-cert-grid img {
        max-width: 260px;
        margin-left: 0;
        margin-left: 40px;
        margin-right: 40px;
    }

    .zs-cert-card-body {
        max-width: 100%;
        padding-top: 0;
        margin-left: 40px;
        margin-right: 40px;
    }

    .zs-cert-no {
        font-size: 14px;
        margin: 0 0 10px;
        margin-left: 0;
    }

    .zs-cert-desc {
        font-size: 15px;
        line-height: 1.6;
        margin: 0 0 18px;
        margin-left: 0;
        max-width: 100%;
    }

    .zs-cert-card-body .zs-cert-btn {
        margin-left: 0;
        min-height: 46px;
        padding: 0 20px;
    }

    .zs-about-consult .zs-as-feature-list,
    .zs-about-consult .zs-as-lead-form form,
    .zs-cert-contact form {
        grid-template-columns: 1fr;
    }

    .zs-about-consult .zs-as-team-card {
        display: flex;
    }

    .zs-about-consult .zs-as-team-card,
    .zs-about-consult .zs-as-lead-form {
        padding: 14px;
    }

    .zs-about-consult .zs-as-red-logo {
        width: 148px;
        margin-bottom: 20px;
    }

    .zs-about-consult .zs-as-lead-form h2 {
        margin-bottom: 24px;
    }

    .zs-about-consult .zs-as-feature-list {
        gap: 22px;
    }

    .zs-about-consult .zs-as-feature-list li img {
        width: 54px;
        height: 54px;
    }

    .zs-cert-news .zs-help-head h2 {
        font-size: 28px;
    }

    .zs-cert-news .zs-pd-news-item {
        padding: 14px;
        border-radius: 12px;
    }

    .zs-cert-news .zs-pd-news-cover {
        border-radius: 10px;
    }

    .zs-cert-news .zs-pd-news-cover img {
        height: 200px;
    }

    .zs-cert-news .zs-pd-news-body h3 {
        font-size: 22px;
    }

    .zs-cert-news .zs-pd-news-more {
        font-size: 15px;
    }
}

