.zfooter-section,
.zfooter-section * {
    box-sizing: border-box;
}

.zfooter-section {
    --zfooter-green: #0b9444;
    --zfooter-red: #ed1c24;
    width: 100%;
    margin: 0 auto;
    padding: 58px clamp(20px, 4vw, 72px) 24px;
    color: #1d2420;
    background: #fff;
    font-family: "Roboto", Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    border-top: 1px solid #ecefec;
}

.zfooter-main {
    display: grid;
    grid-template-columns: minmax(250px, .9fr) minmax(320px, 1.05fr) minmax(430px, 1.3fr);
    gap: 32px;
    max-width: 1500px;
    margin: 0 auto;
    align-items: stretch;
}

.zfooter-company {
    min-width: 0;
}

.zfooter-logo-img {
    display: block;
    max-width: 280px;
    max-height: 115px;
    object-fit: contain;
    object-position: left center;
}

.zfooter-logo-fallback {
    display: inline-flex;
    flex-direction: column;
    color: var(--zfooter-red);
}

.zfooter-logo-fallback strong {
    font-size: clamp(46px, 4vw, 74px);
    font-weight: 950;
    line-height: .9;
    letter-spacing: -.05em;
}

.zfooter-logo-fallback span {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
}

.zfooter-green-line {
    width: 48px;
    height: 3px;
    margin: 22px 0;
    background: var(--zfooter-green);
}

.zfooter-company-text {
    max-width: 360px;
    color: #424b45;
    font-size: 16px;
    line-height: 1.85;
}

.zfooter-quality-box {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    max-width: 380px;
    margin-top: 28px;
    padding: 18px 20px;
    border: 1px solid rgba(11,148,68,.16);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(29,54,37,.10);
}

.zfooter-quality-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--zfooter-green);
    border-radius: 50%;
    color: var(--zfooter-green);
    background: #f5fcf7;
}

.zfooter-quality-icon svg,
.zfooter-title-icon svg,
.zfooter-row-icon svg,
.zfooter-feature svg,
.zfooter-cert-logo svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zfooter-quality-box strong,
.zfooter-quality-box small {
    display: block;
}

.zfooter-quality-box strong {
    margin-bottom: 4px;
    font-size: 15px;
}

.zfooter-quality-box small {
    color: #727b75;
    font-size: 13px;
    line-height: 1.45;
}

.zfooter-card {
    border: 1px solid #ebeeeb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(22,50,29,.11);
}

.zfooter-contact-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    padding: 22px 28px;
}

.zfooter-contact-title {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
    padding-bottom: 18px;
    text-align: center;
}

.zfooter-contact-main-icon {
    width: 78px;
    height: 78px;
    min-width: 78px;
    border: 2px solid rgba(11,148,68,.18);
    box-shadow: 0 10px 24px rgba(11,148,68,.12);
}

.zfooter-contact-main-icon svg {
    width: 36px;
    height: 36px;
}

.zfooter-contact-card .zfooter-contact-row {
    flex: 1 1 0;
    min-height: 0;
    justify-content: flex-start;
    width: 100%;
}

.zfooter-card-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(11,148,68,.12);
    font-size: 20px;
    font-weight: 850;
}

.zfooter-title-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: var(--zfooter-green);
    background: #eaf7ee;
}

.zfooter-contact-row {
    display: flex !important;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 12px 4px;
    color: #252c27 !important;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none !important;
    border-bottom: 1px solid #ecefec;
}

.zfooter-contact-row:last-child {
    border-bottom: 0;
}

.zfooter-contact-row:hover,
.zfooter-contact-row:focus {
    color: var(--zfooter-green) !important;
}

.zfooter-row-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--zfooter-green);
}

.zfooter-fax-row {
    color: #454d48;
}

.zfooter-services-cert {
    display: grid;
    gap: 18px;
}

.zfooter-services-card {
    padding: 22px 28px;
}

.zfooter-service-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: #273028;
    font-size: 16px;
}

.zfooter-check {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: var(--zfooter-green);
    font-size: 22px;
    font-weight: 900;
}

.zfooter-cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.zfooter-cert-card {
    display: grid;
    grid-template-rows: minmax(110px, 1fr) auto;
    min-width: 0;
    padding: 18px;
    border: 1px solid #ebeeeb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(22,50,29,.09);
}

.zfooter-cert-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    text-align: center;
    color: var(--zfooter-green);
}

.zfooter-cert-logo img {
    display: block;
    max-width: 100%;
    max-height: 95px;
    object-fit: contain;
}

.zfooter-cert-logo strong {
    color: #2a312c;
    font-size: 13px;
    line-height: 1.3;
}

.zfooter-cert-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 14px;
    padding: 10px 14px !important;
    border: 1px solid var(--zfooter-green) !important;
    border-radius: 8px !important;
    color: var(--zfooter-green) !important;
    background: #fff !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    text-decoration: none !important;
}

.zfooter-cert-button:hover,
.zfooter-cert-button:focus {
    color: #fff !important;
    background: var(--zfooter-green) !important;
}

.zfooter-feature-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1500px;
    margin: 46px auto 0;
    padding: 26px 0;
    border-top: 1px solid #ecefec;
    border-bottom: 1px solid #ecefec;
}

.zfooter-feature-strip > img {
    display: block;
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    grid-column: 1 / -1;
}

.zfooter-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 90px;
    padding: 10px 24px;
    border-left: 1px solid #ecefec;
}

.zfooter-feature:first-child {
    border-left: 0;
}

.zfooter-feature > span {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    min-width: 62px;
    border-radius: 50%;
    color: var(--zfooter-green);
    background: #eaf7ee;
}

.zfooter-feature strong {
    font-size: 16px;
    line-height: 1.25;
}

.zfooter-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 24px 0 0;
    color: #5d665f;
    font-size: 14px;
}

.zfooter-legal a {
    color: #5d665f !important;
    text-decoration: none !important;
}

.zfooter-legal a:hover,
.zfooter-legal a:focus {
    color: var(--zfooter-green) !important;
}

.zfooter-separator {
    width: 1px;
    height: 20px;
    background: #d8ded9;
}

@media (max-width: 1180px) {
    .zfooter-main {
        grid-template-columns: 1fr 1fr;
    }

    .zfooter-services-cert {
        grid-column: 1 / -1;
        grid-template-columns: .85fr 1.15fr;
        align-items: stretch;
    }

    .zfooter-services-card {
        height: 100%;
    }
}

@media (max-width: 820px) {
    .zfooter-section {
        padding: 38px 18px 18px;
    }

    .zfooter-main,
    .zfooter-services-cert {
        grid-template-columns: 1fr;
    }

    .zfooter-company {
        text-align: center;
    }

    .zfooter-logo-img,
    .zfooter-green-line,
    .zfooter-company-text,
    .zfooter-quality-box {
        margin-left: auto;
        margin-right: auto;
    }

    .zfooter-logo-img {
        object-position: center;
    }

    .zfooter-cert-grid {
        grid-template-columns: 1fr 1fr;
    }

    .zfooter-feature-strip {
        grid-template-columns: 1fr;
    }

    .zfooter-feature {
        border-left: 0;
        border-top: 1px solid #ecefec;
    }

    .zfooter-feature:first-child {
        border-top: 0;
    }
}

@media (max-width: 560px) {
    .zfooter-cert-grid {
        grid-template-columns: 1fr;
    }

    .zfooter-contact-card,
    .zfooter-services-card {
        padding: 20px 18px;
    }

    .zfooter-contact-row {
        font-size: 17px;
    }

    .zfooter-legal {
        gap: 10px;
        text-align: center;
    }

    .zfooter-separator {
        display: none;
    }
}


@media (min-width: 821px) {
    .zfooter-contact-card {
        align-self: stretch;
    }

    .zfooter-contact-card .zfooter-contact-row {
        min-height: 70px;
    }
}

@media (max-width: 820px) {
    .zfooter-contact-card {
        height: auto;
        min-height: 0;
    }

    .zfooter-contact-title {
        padding-bottom: 16px;
    }

    .zfooter-contact-main-icon {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }

    .zfooter-contact-card .zfooter-contact-row {
        min-height: 62px;
        flex: 0 0 auto;
    }
}
