/* A lábléc önálló, strukturált lezárás: világos feliratok, grafit háttér, zöld részletek. */
.site-footer {
    position: relative;
    padding: 0;
    overflow: hidden;
    background:
        linear-gradient(135deg, #ffffff03 25%, transparent 25%) 0 0 / 8px 8px,
        #1b2529;
    color: #c5cece;
    font-size: 16px;
}
.site-footer::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #42671e, #9ad400 35%, #4e7c1b 70%, #283b2c);
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    padding-block: 48px 36px;
    border-bottom: 1px solid #ffffff17;
}
.site-footer .footer-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-self: start;
    gap: 4px;
    text-decoration: none;
}
.footer-brand-name {
    color: #fff;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .02em;
}
.footer-brand-name > span {
    color: #9cda13;
}
.footer-brand > span:last-child {
    font-size: 16px;
    color: #c4ceca;
}
.footer-intro {
    justify-self: end;
}
.footer-intro > p {
    margin: 0 0 12px;
    color: #eff4ed;
    font-size: 22px;
    font-weight: 600;
}
.site-footer .footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border: 1px solid #a5cb7052;
    border-radius: 9px;
    background: #a8ce7210;
    color: #d7edb6;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
}
.footer-contact .ui-icon:last-child {
    margin-left: 12px;
    transition: transform 250ms ease;
}
.footer-contact:hover .ui-icon:last-child {
    transform: translateX(4px);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .85fr .95fr 1.1fr;
    gap: 32px;
    padding-block: 36px 40px;
}
.site-footer .footer-heading {
    margin: 0 0 14px;
    color: #9fb18c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.footer-profile p {
    margin: 0;
}
.footer-profile .footer-person {
    color: #f3f5f1;
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 3px;
}
.footer-profile > p:not(.footer-heading):not(.footer-person) {
    max-width: 27ch;
    font-size: 15px;
}
.footer-since {
    display: flex;
    align-items: baseline;
    gap: 9px;
    max-width: 34ch;
    margin-top: 22px;
    font-size: 13px;
    color: #aab7ae;
}
.footer-since > span {
    flex: 0 0 5px;
    height: 5px;
    border-radius: 50%;
    background: #94bd4c;
}
.site-footer nav.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    min-width: 0;
}
.site-footer .footer-column a,
.site-footer .footer-column button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #d0d8d5;
    font: inherit;
    text-align: left;
    text-decoration: none;
    transition: color 200ms ease;
}
.site-footer .footer-column [aria-current="page"] {
    color: #c7e698;
}
.site-footer a:hover,
.site-footer button:hover {
    color: #d0f09d;
}
.site-footer :is(a, button):focus-visible {
    outline: 2px solid #b7df7c;
    outline-offset: 5px;
}
.site-footer .ui-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
}
.site-footer [hidden] {
    display: none !important;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding-block: 18px;
    border-top: 1px solid #ffffff17;
    color: #a7b5b0;
    font-size: 13px;
}
.site-footer .footer-bottom small {
    margin: 0;
    font-size: inherit;
}
.site-footer .footer-bottom a {
    gap: 10px;
    min-height: 36px;
    text-decoration: none;
}
@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 48px;
    }
}
@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
        padding-top: 34px;
    }
    .footer-intro {
        justify-self: start;
    }
    .footer-intro > p {
        font-size: 21px;
        max-width: 26ch;
    }
    .footer-grid {
        gap: 28px 20px;
        padding-block: 28px;
    }
    .footer-profile {
        grid-column: 1 / -1;
    }
    .footer-grid > nav:last-child {
        grid-column: 1 / -1;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .footer-contact .ui-icon,
    .site-footer .footer-column a,
    .site-footer .footer-column button {
        transition: none;
    }
}
