/* ForDo IT compact footer (matches home page: Oswald headings, Jost body) */
.fd-footer {
    --fd-footer-bg: #043a34; /* deep shade of the brand teal #065a51 */
    --fd-footer-text: #cfe3df;
    --fd-footer-line: rgba(255, 255, 255, 0.14);
    --fd-amber: #f59e0b;
    background: var(--fd-footer-bg);
    color: var(--fd-footer-text);
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    padding: 56px 0 0;
}

/* Room for the CTA card that overlaps the top edge of the footer */
body:has(.fd-cta) .fd-footer {
    padding-top: 116px;
}

.fd-footer a {
    color: var(--fd-footer-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.fd-footer a:hover {
    color: var(--fd-amber);
}

.fd-footer a:focus-visible {
    outline: 2px solid var(--fd-amber);
    outline-offset: 3px;
    border-radius: 2px;
}

.fd-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .fd-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .fd-footer__grid {
        grid-template-columns: 1.4fr 0.8fr 1.8fr 1.3fr;
        gap: 40px;
    }
}

.fd-footer__logo img {
    display: block;
    max-width: 100%;
    max-height: 44px;
    object-fit: contain;
}

.fd-footer__about {
    max-width: 340px;
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 1.65;
}

.fd-footer__title {
    margin: 0 0 16px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}

.fd-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fd-footer__list li + li {
    margin-top: 8px;
}

.fd-footer__list--cols {
    columns: 2;
    column-gap: 24px;
}

.fd-footer__list--cols li {
    break-inside: avoid;
}

@media (max-width: 575px) {
    .fd-footer__list--cols {
        columns: 1;
    }
}

.fd-footer__list i {
    width: 18px;
    margin-right: 6px;
    color: var(--fd-amber);
}

.fd-footer__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid var(--fd-footer-line);
    font-size: 14px;
}

.fd-footer__bar p {
    margin: 0;
}

.fd-footer__bar ul {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 767px) {
    body:has(.fd-cta) .fd-footer {
        padding-top: 108px;
    }

    .fd-footer__bar {
        padding-right: 64px; /* keep clear of the back-to-top button */
    }
}

/* Back-to-top button: a white disc with an amber progress ring and a teal arrow,
   so it stays visible on both white pages and the teal footer */
.progress-wrap {
    background: #fff;
    box-shadow: inset 0 0 0 2px rgba(6, 90, 81, 0.15), 0 6px 18px rgba(2, 30, 26, 0.3);
}

.progress-wrap::after {
    color: #065a51;
}

.progress-wrap::before {
    color: #fff;
}

.progress-wrap svg.progress-circle path {
    stroke: #f59e0b;
}

.progress-wrap:hover {
    background: #065a51;
}

.progress-wrap:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 3px;
}
