/* Shared layout rules (header/footer) loaded on every page without Vite. */
.site-nav-underline {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    height: 3px;
    border-radius: 9999px;
    background: #ffc928;
}

.site-footer-logo {
    align-items: center;
    line-height: 1;
}

/* Trailing letter-spacing shifts tracked text left; pad it back to optical center. */
.site-footer-logo > span {
    display: block;
    margin-top: 2px;
    padding-left: 0.2em;
    text-align: center;
}

.site-footer-contact-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46%;
    height: 46%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

@media (min-width: 1024px) {
    .site-footer-grid {
        grid-template-columns: 1fr 0.8fr 0.7fr 1.3fr minmax(340px, 1.5fr);
        gap: 32px;
    }

    .site-footer-grid > div:last-child {
        align-items: stretch;
        text-align: left;
    }

    .site-footer-grid > div:last-child > p {
        max-width: none;
        text-align: center;
    }

    .site-footer-cta {
        align-self: center;
        width: auto;
        max-width: 100%;
        min-height: 0;
        padding: 12px 22px;
        gap: 14px;
    }

    .site-footer-cta > span:first-child {
        width: 32px;
        height: 32px;
    }
}

.site-footer-copy strong {
    font-weight: 700;
    color: #fff;
}
