:root {
    --footer-padding-x-mobile: 0;
    --footer-padding-x-tablet: 0;
    --footer-padding-x-laptop: 0;
    --footer-padding-x-desktop: 0;
    --footer-padding-x-sm-laptop: 0;

    --footer-row-padding-x-mobile: 0;
    --footer-row-padding-x-tablet: 0;
    --footer-row-padding-x-laptop: 0;
    --footer-row-padding-x-desktop: 0;
    --footer-row-padding-x-sm-laptop: 0;
}

/* ==========================================================================
   Footer — Lovable match
   navy-950 = hsl(220 30% 8%)
   accent   = hsl(15 90% 55%)
   ========================================================================== */

.site-footer {
    background: hsl(220 30% 8%);
    color: #ffffff;
}

/* --- Main row --- */

.site-footer__row {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}

.site-footer__row:not(.site-footer__row--bottom) {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* --- Bottom row --- */

.site-footer__row--bottom {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem;
}

.site-footer__bottom-border {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Column base --- */

.footer-row__column {
    min-width: 0;
}

/* --- Logo --- */

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-logo__house {
    color: #ffffff;
    flex-shrink: 0;
}

.footer-logo__text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* --- Description --- */

.footer-column__description {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    font-size: 0.8125rem;
}

/* --- Social links --- */

.footer-column__socials {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    background: hsl(15 90% 55%);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
}

/* --- Column titles --- */

.site-footer .footer-column__title,
.site-footer .menu-title,
.site-footer .site-footer-menu__title {
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #ffffff;
}

/* --- Menu lists --- */

.site-footer .footer-menu,
.site-footer .menu,
.site-footer .footer-column__texts,
.site-footer .footer-column__text,
.site-footer .footer-column__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .footer-menu li,
.site-footer .menu li {
    margin: 0 0 0.5rem;
}

.site-footer .footer-menu li:last-child,
.site-footer .menu li:last-child {
    margin-bottom: 0;
}

.site-footer .footer-menu a,
.site-footer .menu a,
.site-footer .footer-column__links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-footer .footer-menu a,
.site-footer .menu a {
    font-size: 0.8125rem;
}
.site-footer .footer-menu li a:hover {
    opacity: 1;
}

.site-footer .footer-menu a:hover,
.site-footer .footer-menu a:focus-visible,
.site-footer .menu a:hover,
.site-footer .menu a:focus-visible,
.site-footer .footer-column__links a:hover,
.site-footer .footer-column__links a:focus-visible {
    color: hsl(15 90% 55%);
}

/* --- Contact info --- */

.footer-contact__info {
    display: grid;
    gap: 1rem;
}

.footer-contact__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
    line-height: 1.65;
}

.footer-contact__item svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: hsl(15 90% 55%);
    margin-top: 0.125rem;
}

.footer-contact__item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact__item a:hover,
.footer-contact__item a:focus-visible {
    color: hsl(15 90% 55%);
}

.footer-contact__item span {
    color: rgba(255, 255, 255, 0.6);
}

/* --- Copyright --- */

.footer-row__column--bottom-left,
.footer-row__column--bottom-right {
    flex: none !important;
}

.footer-column__copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    text-align: left;
}

/* --- Bottom links --- */

.footer-row__column--bottom-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.footer-bottom__link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-bottom__link:hover,
.footer-bottom__link:focus-visible {
    color: hsl(15 90% 55%);
}

/* --- Responsive --- */

@media (max-width: 1024px) {
    .site-footer__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .site-footer__row {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .site-footer__row--bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-row__column--bottom-right {
        margin-left: 0;
    }
    .site-footer__row--bottom .footer-row__column {
        align-self: anchor-center;
    }
}