/* Marslia Footer */

.marslia-footer,
.marslia-footer * {
    font-family: 'Cairo', sans-serif;
}

.marslia-footer {
    position: relative;
    margin-top: 3rem;
    background: linear-gradient(165deg, #061e3d 0%, #0a3d47 42%, #0d5a68 100%);
    color: #e2f3f7;
    overflow: hidden;
}

.marslia-footer__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.18), transparent 42%),
        radial-gradient(circle at 85% 80%, rgba(13, 122, 140, 0.35), transparent 45%);
    pointer-events: none;
}

.marslia-footer__inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.25rem 1.5rem;
}

.marslia-footer__top {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: 2.5rem;
    align-items: start;
}

.marslia-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.marslia-footer__logo img,
.marslia-footer__logo .custom-logo,
.marslia-footer__logo .marslia-site-logo {
    max-height: 56px;
    width: auto;
    filter: brightness(0) invert(1);
}

.marslia-footer__site-title {
    color: #fff;
    font-size: 1.65rem;
    font-weight: 800;
    text-decoration: none;
}

.marslia-footer__tagline {
    margin: 0;
    color: rgba(226, 243, 247, 0.82);
    line-height: 1.75;
    font-size: 0.98rem;
    max-width: 36ch;
}

.marslia-footer__cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.marslia-footer__heading {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    position: relative;
    padding-bottom: 0.55rem;
}

.marslia-footer__heading::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #38bdf8, #0d7a8c);
}

.marslia-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.marslia-footer__menu a {
    color: rgba(226, 243, 247, 0.88);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.marslia-footer__menu a:hover,
.marslia-footer__menu a:focus {
    color: #fff;
    transform: translateX(-4px);
}

.marslia-footer__divider {
    height: 1px;
    margin: 2rem 0 1.25rem;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
}

.marslia-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.marslia-footer__copy {
    margin: 0;
    color: rgba(226, 243, 247, 0.9);
}

.marslia-footer__copy a {
    color: #7dd3fc;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.marslia-footer__copy a:hover,
.marslia-footer__copy a:focus {
    color: #fff;
    border-bottom-color: #7dd3fc;
}

.marslia-footer__site {
    margin: 0;
    color: rgba(226, 243, 247, 0.75);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.marslia-footer__site a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.marslia-footer__site a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .marslia-footer__top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .marslia-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .marslia-footer__cols {
        grid-template-columns: 1fr;
    }
}
