/* Footer (php/footer.php)
   Clases nuevas (.kd-footer, .kd-ft-*) para no heredar nada de las reglas de #pie de k.css. */

.kd-footer {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 52px 20px 64px;
    box-sizing: border-box;
    background: radial-gradient(ellipse at 50% 0%, #0a2a6b 0%, #041a47 60%, #031338 100%);
    border-top: 3px solid #1a6dff;
    color: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    text-align: left;
}

.kd-footer .kd-ft-ondas {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.kd-footer .kd-ft-contenido {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    max-width: 1000px;
    margin: 0 auto;
}

.kd-footer .kd-ft-item {
    display: flex;
    align-items: center;
    gap: 34px;
    min-width: 0;
}

.kd-footer .kd-ft-icono {
    flex: 0 0 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    box-sizing: border-box;
    border: 2px solid #2f7bff;
    border-radius: 50%;
    background: rgba(13, 60, 160, .45);
    box-shadow: 0 0 18px rgba(47, 123, 255, .55), inset 0 0 12px rgba(47, 123, 255, .35);
    color: #fff;
    font-size: 36px;
}

.kd-footer .kd-ft-texto {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.kd-footer .kd-ft-label {
    margin-bottom: 6px;
    color: #5b9bff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.kd-footer .kd-ft-valor {
    max-width: 290px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
}

.kd-footer .kd-ft-sub {
    margin-top: 2px;
    color: #6fa4ff;
    font-size: 17px;
}

.kd-footer .kd-ft-separador {
    flex: 0 0 1px;
    align-self: stretch;
    background: rgba(80, 140, 255, .4);
}

/* Celular: las dos columnas se apilan */
@media screen and (max-width: 700px) {
    .kd-footer {
        padding: 36px 20px 48px;
    }

    .kd-footer .kd-ft-contenido {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        max-width: 360px;
    }

    .kd-footer .kd-ft-item {
        gap: 20px;
    }

    .kd-footer .kd-ft-icono {
        flex-basis: 60px;
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .kd-footer .kd-ft-separador {
        flex-basis: auto;
        height: 1px;
    }

    .kd-footer .kd-ft-valor {
        font-size: 18px;
    }

    .kd-footer .kd-ft-sub {
        font-size: 15px;
    }
}
