/* ==========================================================================
   udi-theme — site footer (Figma node 1:2867)
   Footer uses Roboto (per design); container is 1280px, centered on the
   1440px page grid.
   ========================================================================== */

/* Roboto variable (self-hosted), weights 400–600, footer only */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/roboto-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/roboto-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.site-footer {
    background: var(--c-footer-bg);
    color: var(--c-white);
    font-family: 'Roboto', var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
}

.site-footer__inner {
    /* Content on a 1280 grid; mauve background is full-bleed */
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 80px 64px;
}

.site-footer__content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 64px;
}

/* --------------------------------------------------------------------------
   Contact column
   -------------------------------------------------------------------------- */
.site-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex-shrink: 0;
}

.site-footer__logo {
    display: block;
    width: fit-content;
    margin-bottom: 48px;
}

.site-footer__logo-img {
    display: block;
    width: 186px;
    height: auto;
    /* Horizontal logo rendered white on the mauve footer */
    filter: brightness(0) invert(1);
}

.site-footer__contact-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 424px;
    max-width: 100%;
}

.site-footer__contact-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.site-footer__heading {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--c-white);
}

.site-footer__groups {
    display: grid;
    grid-template-columns: repeat(2, 202px);
    gap: 20px;
}

.site-footer__group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer__group-title {
    margin: 0;
    font-weight: 600;
    color: var(--c-white);
}

.site-footer__group-lines {
    color: var(--c-rose-200);
}

.site-footer__group-lines p {
    margin: 0 0 8px;
}

.site-footer__group-lines p:last-child {
    margin-bottom: 0;
}

.site-footer__group-lines a:hover,
.site-footer__group-lines a:focus-visible {
    text-decoration: underline;
    text-underline-position: from-font;
}

.site-footer__social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--c-white);
    transition: opacity 0.15s ease;
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
    opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Link columns (headings aligned with KONTAKT via top padding, per design)
   -------------------------------------------------------------------------- */
.site-footer__col {
    width: 202px;
    flex-shrink: 0;
}

.site-footer__col .site-footer__heading {
    padding: 8px 0;
}

.site-footer__links {
    display: flex;
    flex-direction: column;
}

.site-footer__links a {
    display: block;
    padding: 8px 0;
    font-size: 15px;
    color: var(--c-rose-200);
    text-decoration: underline;
    text-underline-position: from-font;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
    color: var(--c-white);
}

/* --------------------------------------------------------------------------
   Credits
   -------------------------------------------------------------------------- */
.site-footer__credits {
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid var(--c-rose-200);
}

.site-footer__copy {
    margin: 0 0 12px;
    font-size: 14px;
}

.site-footer__note {
    margin: 0;
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
    .site-footer__inner {
        padding-block: 56px;
        padding-inline: var(--pad-x);
    }

    .site-footer__content {
        flex-wrap: wrap;
        gap: 40px 64px;
    }

    .site-footer__col {
        padding-top: 0;
    }
}

@media (max-width: 767px) {
    .site-footer__inner {
        padding-block: 40px;
    }

    .site-footer__content {
        gap: 32px;
    }

    .site-footer__contact-body {
        width: 100%;
    }

    .site-footer__groups {
        grid-template-columns: 1fr;
    }

    .site-footer__col {
        width: 100%;
    }

    .site-footer__credits {
        margin-top: 48px;
    }
}
