.footer-wrapper {
    background: #1e293b;
    color: #ecf0f1;
    padding: 2rem 0 0.75rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column,
.footer-widget {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-widget,
.footer-widget-title,
.footer-widget ul {
    margin: 0;
    padding: 0;
}

.footer-widget-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.footer-widget ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-widget p,
.footer-widget li,
.footer-widget div,
.footer-widget span,
.footer-widget a {
    color: #bdc3c7;
}

.footer-widget a {
    text-decoration: none;
}

.footer-widget a:hover {
    color: #fff;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.45;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 0.625rem;
    margin-top: 0.5rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-icon {
    width: 16px;
    height: 16px;
    color: currentColor;
    display: block;
    flex-shrink: 0;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.footer-bottom {
    display: grid;
    grid-template-columns: max-content 1fr max-content;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
}

.footer-social {
    margin-top: 0;
    justify-self: start;
}

.footer-copyright {
    margin: 0;
    color: #95a5a6;
    font-size: 0.85rem;
    text-align: center;
    white-space: nowrap;
    justify-self: center;
}

.footer-links-widget,
.footer-links-widget .footer-widget,
.footer-links-widget ul,
.footer-links-widget .menu,
.footer-links-widget .menu-privacy-container ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.footer-links-widget {
    justify-self: end;
    white-space: nowrap;
}

.footer-links-widget li {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.footer-links-widget a {
    white-space: nowrap;
    font-size: 0.85rem;
}

.footer-links-widget .footer-widget-title {
    display: none;
}

.footer-links-widget li:not(:last-child)::after {
    content: '|';
    color: #7f8c8d;
    margin-left: 0.5rem;
}

.footer-notes {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.footer-note-item {
    color: #9fb0b8;
    font-size: 0.8rem;
    line-height: 1.45;
}

.footer-note-item strong {
    color: #c7d1d6;
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 1rem;
    }

    .footer-top,
    .footer-notes {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .footer-copyright {
        white-space: normal;
        text-align: left;
    }

    .footer-links-widget,
    .footer-links-widget .footer-widget,
    .footer-links-widget ul,
    .footer-links-widget .menu,
    .footer-links-widget .menu-privacy-container ul {
        flex-wrap: wrap;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .footer-wrapper {
        padding-top: 1.5rem;
    }

    .footer-social a {
        width: 30px;
        height: 30px;
    }
}
