/*
 * JaimeDiaz.TV Portal Reboot
 * Compact site footer — v1.0.0
 */

.jdr-site-footer {
    margin-top: 0;
    background:
        radial-gradient(
            circle at 90% 0,
            rgba(200, 154, 61, 0.08),
            transparent 28%
        ),
        #0d3037;
    color: rgba(255, 255, 255, 0.72);
}

.jdr-site-footer__inner {
    width: min(
        calc(100% - (var(--jdr-page-gutter) * 2)),
        var(--jdr-shell-max)
    );
    display: grid;
    grid-template-columns:
        minmax(230px, 1.25fr)
        repeat(3, minmax(120px, 0.65fr))
        minmax(220px, 0.95fr);
    gap: 28px;
    margin: 0 auto;
    padding: 34px 0 30px;
}

.jdr-site-footer__brand,
.jdr-site-footer__column,
.jdr-site-footer__status {
    min-width: 0;
}

.jdr-site-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.jdr-site-footer__mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--jdr-orange-500);
    color: #173239;
    font-size: 0.72rem;
    font-weight: 900;
}

.jdr-site-footer__name {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.jdr-site-footer__name strong {
    color: var(--jdr-orange-500);
}

.jdr-site-footer__brand p {
    max-width: 300px;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.61rem;
    line-height: 1.55;
}

.jdr-site-footer__socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.jdr-site-footer__socials a {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.72rem;
    transition:
        border-color var(--jdr-duration-fast)
        var(--jdr-ease-standard),
        color var(--jdr-duration-fast)
        var(--jdr-ease-standard);
}

.jdr-site-footer__socials a:hover {
    border-color: rgba(200, 154, 61, 0.55);
    color: var(--jdr-orange-500);
}

.jdr-site-footer__column {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.jdr-site-footer__column h2 {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 850;
}

.jdr-site-footer__column a {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.57rem;
    line-height: 1.3;
}

.jdr-site-footer__column a:hover {
    color: var(--jdr-orange-500);
}

.jdr-site-footer__status {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
}

.jdr-site-footer__status-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(200, 154, 61, 0.13);
    color: var(--jdr-orange-500);
}

.jdr-site-footer__status small,
.jdr-site-footer__status strong,
.jdr-site-footer__status span {
    display: block;
}

.jdr-site-footer__status small {
    color: var(--jdr-orange-500);
    font-size: 0.47rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.jdr-site-footer__status strong {
    margin-top: 4px;
    color: #ffffff;
    font-size: 0.69rem;
}

.jdr-site-footer__status span {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.52rem;
    line-height: 1.45;
}

.jdr-site-footer__bottom {
    width: min(
        calc(100% - (var(--jdr-page-gutter) * 2)),
        var(--jdr-shell-max)
    );
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.48rem;
}

.jdr-site-footer__bottom > div {
    display: flex;
    align-items: center;
    gap: 16px;
}

.jdr-site-footer__bottom a {
    color: inherit;
}

.jdr-site-footer__online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.jdr-site-footer__online i {
    color: #35d07f;
    font-size: 0.38rem;
}

@media (max-width: 899px) {
    .jdr-site-footer__inner {
        grid-template-columns:
            minmax(220px, 1.2fr)
            repeat(2, minmax(120px, 0.7fr));
    }

    .jdr-site-footer__status {
        grid-column: 2 / -1;
    }
}

@media (max-width: 649px) {
    .jdr-site-footer__inner {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 24px 18px;
        padding: 28px 0 24px;
    }

    .jdr-site-footer__brand {
        grid-column: 1 / -1;
    }

    .jdr-site-footer__column:nth-of-type(3) {
        display: none;
    }

    .jdr-site-footer__status {
        grid-column: 1 / -1;
    }

    .jdr-site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
        padding: 13px 0 18px;
    }

    .jdr-site-footer__bottom > div {
        flex-wrap: wrap;
        gap: 10px 14px;
    }
}

/* =========================================================
   Full-width portal footer — v1.1.0
   ========================================================= */

.jdr-site-footer {
    position: relative;

    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    border-radius: 0;

    background:
        radial-gradient(
            circle at 86% 0,
            rgba(200, 154, 61, 0.09),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #0d3037,
            #0a282f
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/*
 * La banda oscura cubre todo el viewport.
 * El contenido permanece centrado y alineado con el portal.
 */

.jdr-site-footer::before {
    position: absolute;
    inset: 0 50% 0 50%;

    width: 100vw;

    background: inherit;

    transform: translateX(-50%);

    content: "";
    pointer-events: none;
}

.jdr-site-footer__inner,
.jdr-site-footer__bottom {
    position: relative;
    z-index: 1;
}

/*
 * Más respiración arriba para que se perciba claramente
 * el comienzo del footer.
 */

.jdr-site-footer__inner {
    padding-top: 38px;
    padding-bottom: 32px;
}

.jdr-site-footer__bottom {
    padding-top: 15px;
    padding-bottom: 17px;
}

/* Footer móvil claramente separado del newsletter */

@media (max-width: 649px) {
    .jdr-site-footer__inner {
        padding-top: 30px;
    }
}
