/* ===== Trust ===== */
.trust {
    position: relative;
    color: #fff;
    padding: clamp(56px, 12vh, 120px) 0 64px;
    text-align: center;
    overflow: hidden;
}

.trust__bg {
    position: absolute;
    inset: 0;
    background: url("../assets/img/stopka.png") center/cover no-repeat;
    z-index: -2;
}

.trust__inner {
    max-width: 980px;
    margin: 0 auto;
}

.trust__tagline {
    margin: 0 0 22px;
    font-size: clamp(16px, 2.4vw, 24px);
    font-weight: 600;
    letter-spacing: .02em;
    opacity: .95;
    font-family: Roboto Mono;
}

.trust__logo {
    display: inline-grid;
    grid-auto-flow: column;
    align-items: center;
    gap: 14px;
    margin: 40px 0;
}

.trust__logoText {
    font-weight: 800;
    font-size: clamp(18px, 3.4vw, 30px);
    line-height: 1.05;
    letter-spacing: .02em;
}

.trust__rule {
    display: block;
    width: min(520px, 70%);
    height: 3px;
    margin: 16px auto 18px;
    background: #fff;
    border-radius: 999px;
    opacity: .9;
}

.trust__contacts {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
}

.trust__row {
    font-weight: 700;
    letter-spacing: .04em;
    font-family: Open Sans, Garet;
}

.trust__row a {
    color: #fff;
    text-decoration: none;
}

.trust__row a:hover {
    text-decoration: underline;
}

.trust__cta {
    background: #fff;
    color: #111;
    font-weight: 800;
    padding: 10px 22px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
    margin-top: 40px;
}

/* RWD */
@media (max-width: 640px) {
    .trust {
        padding: 48px 0 56px;
    }

    .trust__rule {
        width: 78%;
    }
}

/* Trust - animation */
.trust__logoMark {
    opacity: 0;
    transform: none !important;
}

.trust__logo {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.trust__logoMark {
    display: inline-block;
    height: 80px;
    width: 400px;
    background-image: url("../assets/img/LOGO_SM.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    opacity: 0;
    transform-origin: center;
    will-change: transform, opacity, filter;
}

.trust__logo {
    position: relative;
    overflow: hidden;
}

.trust__logoMark {
    display: inline-block;
    clip-path: inset(0 50% 0 50%);
    opacity: 0;
    will-change: clip-path, opacity, filter;
}

.trust__logo.trust--in .trust__logoMark {
    animation: trustCurtain 4000ms cubic-bezier(.25, .8, .25, 1) forwards,
        trustGlow 1.1s ease-out forwards;
}

@keyframes trustCurtain {
    0% {
        opacity: 0;
        clip-path: inset(0 50% 0 50%);
    }

    15% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust__logoMark {
        opacity: 1 !important;
        clip-path: inset(0 0 0 0) !important;
        animation: none !important;
        filter: none !important;
    }
}

/* ===== Footer ===== */
.footer {
    background: #000;
    color: #e5e7eb;
    padding: 24px 0 18px;
    font-size: 13px;
}

.footer__topline {
    height: 2px;
    background: rgba(255, 255, 255, .12);
    margin-bottom: 18px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.footer__head {
    font-size: clamp(12px, 3.4vw, 18px);
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #cbd5e1;
    margin: 0 0 14px;
    font-family: Open Sans, Garet;
}

.footer__item {
    margin: 0 0 8px;
    font-weight: 700;
    color: #f3f4f6;
    font-size: clamp(8px, 3.4vw, 14px);
}

.footer__addr {
    color: #d1d5db;
    font-weight: 700;
}

.footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer__list a,
.footer__item a {
    color: #d1d5db;
    text-decoration: none;
}

.footer__list a:hover,
.footer__item a:hover {
    color: #fff;
    text-decoration: underline;
}

/* social */
.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #d1d5db;
}

.footer__social a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

/* bottom */
.footer__bottomline {
    height: 2px;
    background: rgba(255, 255, 255, .12);
    margin: 18px 0 12px;
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    font-size: clamp(8px, 3.4vw, 14px);
}

.footer__copy {
    margin: 0;
}

.footer__legal {
    display: flex;
}

.footer__legal a {
    color: #fff;
    text-decoration: none;
}

.footer__legal a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer__legal a+a::before {
    content: "|";
    margin: 0 6px;
    color: #fff;
    opacity: 0.6;
}

/* RWD */
@media (max-width: 900px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer__legal {
        flex-wrap: wrap;
    }
}

/* hide overflow */
.core,
#services-pro,
.workflow__section {
    overflow-x: hidden;
}