/* Tarea site additions (ISO/IEC 27001 certification mark)
   Mark usage per ICR Adriatica rules (RU 04): original colors and
   proportions, clear space around the mark, never larger than the
   company logo. */

/* --- Footer: CERTIFIKATI column --------------------------------- */
footer.primary .footer-cert {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

footer.primary .footer-cert .cert-seal {
    width: 92px;
    height: auto;
    display: block;
    margin-bottom: 18px;
}

footer.primary .footer-cert .cert-caption {
    font-size: 11px;
    line-height: 1.9;
    opacity: .55;
    margin: 0;
    max-width: 220px;
    letter-spacing: .3px;
}

/* Show the Tarea logo in the bottom footer bar on desktop (theme
   hides it) so the certification mark never outranks the brand. */
footer.primary .footer-bottom .logo {
    display: block;
}

footer.primary .footer-bottom .logo img {
    width: 100px;
    height: auto;
}

/* Mobile: theme switches .footer-top to a column with explicit order
   (cta 1, menu 2, contact 3) — slot the certification block last and
   center it like the rest of the mobile footer. */
@media (max-width: 767px) {
    footer.primary .footer-cert {
        order: 4;
        width: 100%;
        align-items: center;
        text-align: center;
        margin: 0 0 50px;
    }
}

/* --- Home page: certification strip ----------------------------- */
section.certificates-strip {
    background: #fff;
    padding: 64px 0 96px;
    text-align: center;
    position: relative;
}

section.certificates-strip .strip-rule {
    position: relative;
    height: 1px;
    background: #ececec;
    margin-bottom: 60px;
}

section.certificates-strip .strip-rule span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 5px 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #262831;
}

section.certificates-strip .cert-seal {
    width: 118px;
    height: auto;
    display: block;
    margin: 0 auto 28px;
}

section.certificates-strip .cert-caption {
    font-size: 14px;
    line-height: 1.85;
    color: #5a6065;
    max-width: 540px;
    margin: 0 auto;
}

section.certificates-strip .cert-caption b {
    font-weight: 615;
    color: #262831;
}

@media (max-width: 767px) {
    section.certificates-strip {
        padding: 48px 0 72px;
    }

    section.certificates-strip .cert-seal {
        width: 96px;
    }
}

/* --- Contact page: reassurance block ---------------------------- */
section.contact-form .contact-cert {
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 340px;
}

section.contact-form .contact-cert .cert-seal {
    width: 72px;
    height: auto;
    flex-shrink: 0;
}

section.contact-form .contact-cert p {
    font-size: 11px;
    line-height: 1.8;
    opacity: .65;
    margin: 0;
    color: #fff;
    letter-spacing: .3px;
}
