.topbar--qualitybase {
    gap: 18px;
}

.brand--qualitybase {
    display: grid;
    grid-template-columns: 148px auto;
    gap: 12px;
    align-items: center;
}

.brand--qualitybase img {
    display: block;
    width: 148px;
    height: auto;
}

.brand--qualitybase .brand__location {
    padding-left: 12px;
    border-left: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    font-weight: 720;
}

.topbar__sales-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.topbar__phone {
    color: var(--accent-strong);
    font-size: 14px;
    font-weight: 820;
    text-decoration: none;
    white-space: nowrap;
}

.topbar__phone:hover {
    text-decoration: underline;
}

.hero__sales-actions {
    align-items: stretch;
}

.hero__sales-actions .button {
    justify-content: center;
    text-align: center;
}

.hero h1 {
    hyphens: manual;
    overflow-wrap: break-word;
    word-break: normal;
}

.trust-bar--proof {
    background: color-mix(in srgb, var(--panel) 88%, var(--accent-soft));
}

.trust-badge--link {
    border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
    background: var(--panel);
    text-decoration: none;
}

.trust-badge--link:hover {
    border-color: var(--accent);
    text-decoration: underline;
}

.section--proof {
    background: var(--paper-soft);
}

.proof-provider {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 54px;
    align-items: end;
    margin-bottom: 30px;
}

.proof-provider .section__head {
    margin-bottom: 0;
}

.proof-provider__contact {
    display: grid;
    gap: 8px;
    padding: 22px;
    border: 1px solid var(--line);
    border-left: 5px solid var(--accent);
    border-radius: 9px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.proof-provider__contact strong {
    font-size: 20px;
}

.proof-provider__contact span {
    color: var(--muted);
}

.proof-provider__contact a {
    color: var(--accent-strong);
    font-size: 21px;
    font-weight: 820;
    text-decoration: none;
}

.proof-provider__contact a:hover {
    text-decoration: underline;
}

.contact-direct {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.contact-direct .button {
    justify-content: center;
    text-align: center;
}

.site-footer small {
    flex-basis: 100%;
    color: var(--muted);
}

@media (max-width: 1180px) {
    .topbar--qualitybase .nav {
        gap: 13px;
        font-size: 13px;
    }

    .topbar__phone {
        display: none;
    }
}

@media (max-width: 980px) {
    .topbar__sales-actions {
        display: none;
    }

    .brand--qualitybase {
        grid-template-columns: 128px auto;
        gap: 8px;
    }

    .brand--qualitybase img {
        width: 128px;
    }

    .brand--qualitybase .brand__location {
        padding-left: 8px;
        font-size: 11px;
    }

    .proof-provider {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero:not(.hero--assessment) {
        grid-template-areas:
            "head"
            "intent"
            "media"
            "panel";
    }

    .hero--assessment {
        grid-template-areas:
            "head"
            "media"
            "panel";
    }
}

@media (max-width: 600px) {
    .brand--qualitybase {
        grid-template-columns: 122px;
        width: 122px;
        max-width: 122px;
    }

    .brand--qualitybase img {
        width: 122px;
    }

    .brand--qualitybase .brand__location {
        display: none;
    }

    .hero__sales-actions .button:nth-child(2) {
        border-color: var(--accent);
        color: var(--accent-strong);
    }

    .trust-bar--proof {
        gap: 10px;
    }

    .trust-bar--proof .trust-bar__items {
        display: grid;
        grid-template-columns: 1fr;
    }

    .trust-bar--proof .trust-badge {
        justify-content: center;
        text-align: center;
    }

    .proof-provider__contact a {
        font-size: 18px;
    }
}
