.footer-clock {
    position: relative;

    left: 10px;

    flex: 0 0 130px;

    width: 130px;

    /* MISMA ALTURA DEL FOOTER */
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: var(--c247-z-clock);

    margin-right: 8px;
}


/* -------------------------------------------------------------------------------------------------------------------
🕒 RELOJ CIRCULAR - FOOTER
------------------------------------------------------------------------------------------------------------------- */

.clock {
    position: absolute;

    width: 130px;
    height: 130px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    z-index: calc(var(--c247-z-clock) + 1);
}
/* FONDO DEL CÍRCULO */
/* FONDO GLASS / GLOSSY */
.clock::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 50%;

    background:

        /* brillo superior izquierdo */
        radial-gradient(
            circle at 30% 25%,
            rgba(255,255,255,.22),
            rgba(255,255,255,0) 18%
        ),

        /* brillo superior derecho */
        radial-gradient(
            circle at 75% 20%,
            rgba(255,255,255,.16),
            rgba(255,255,255,0) 14%
        ),

        /* degradé principal */
        linear-gradient(
            180deg,
            #2f0152 0%,
            #3b0d69 35%,
            #4b1784 60%,
            #7d2ca8 100%
        );

    /*border: 1px solid rgba(255,255,255,.08);*/

    box-shadow:
        inset 0 2px 8px rgba(255,255,255,.12),
        inset 0 -8px 18px rgba(0,0,0,.28),

        inset 0 0 0 3px var(--codelis-logoL),

        0 0 12px rgba(0,0,0,.55),
        0 0 28px rgba(112,56,142,.22);
}

/* SVG */
.clock svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    position: relative;
    /*z-index: 2;*/
}

/* ARO */
.ring-bg {
    fill: none;
    stroke: rgba(112, 56, 142,0.45);
    stroke-width: 4;
}
/* ARO SEGUNDERO */
.ring-progress {
    fill: none;
    stroke: var(--warning);
    stroke-width: 4;
    stroke-linecap: round;

    stroke-dasharray: 251;
    stroke-dashoffset: 251;
}

/* -------------------------------------------------------------------------------------------------------------------
🧠 CONTENIDO INTERNO DEL RELOJ
------------------------------------------------------------------------------------------------------------------- */

.inner {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 3;

    transform-style: preserve-3d;
    perspective: 900px;
}

/* ambos ocupan el mismo lugar */
#contenido-reloj,
#contenido-logo {
    position: absolute;
    text-align: center;
    transition: opacity 0.5s ease;
}

/* estado inicial */
#contenido-reloj {
    opacity: 1;
}

#contenido-logo {
    opacity: 0;
}

/* TEXTO RELOJ */
#time {
    font-size: 26px;
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 2px;
    line-height: 1;
}

/* EL ":" */
.tick {
    margin-bottom: 4px;
    display: inline-block;
    opacity: 1;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* estado apagado */
.tick.off {
    opacity: 0.2;
}

#month {
    font-size: 18px;
    opacity: 0.8;
}

#day {
    font-size: 20px;
    opacity: 0.8;
}

#clima {
    margin-top: 8px !important;
    font-size: 30px;
    font-weight: bold;
}

#valor {
    margin-top: -2px;
    font-size: 28px;
}

/* LOGO */
.logo-container {
    width: 90px;
    height: 90px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#contenido-reloj,
#contenido-logo {
    backface-visibility: hidden;
}

/* BLUR DURANTE FLIP */
.flip-blur {
    filter: blur(4px);
}

/* GLOW CUANDO ESTÁ EL LOGO */
.clock.glow::before {
    box-shadow: 
        inset 0 0 0 3px var(--codelis-logoL),
        0 0 18px rgba(143, 85, 155, 0.6),
        0 0 35px rgba(112, 56, 142, 0.25);
}