.footer-clock {
    position: relative;
    left: 10px;
    flex: 0 0 100px;
    width: 100px;
    height: 60px;
    z-index: 4;
    margin-right: 8px;
}


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

.clock {
    position: absolute;
    width: 90px;
    height: 90px;

    left: 0;
    top: 50%;
    transform: translateY(-50%);

    z-index: 5;
}
/* FONDO DEL CÍRCULO */
.clock::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;

    background: radial-gradient(circle, #38154b 55%, #2f012c 100%);
    box-shadow: 
        inset 0 0 0 3px var(--codelis-logoL),
        0 0 12px rgba(0,0,0,0.7);
}

/* 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(--codelis-logoR-rgb);
    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: 18px;
    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: 12px;
    opacity: 0.8;
}

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

#clima {
    font-size: 20px;
    font-weight: bold;
}

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

/* 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);
}